- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for mantid (0.22 sec)
-
cni/pkg/repair/netns.go
func getPodNetNs(pod *corev1.Pod) (string, error) { // First, find the network namespace id by looking the interface with the given Pod IP. // This could break on some platforms if they do not have an interface-per-pod. wantID, err := findNetworkIDByIP(pod.Status.PodIP) if err != nil { return "", fmt.Errorf("network id: %v", err) } fs, err := procfs.NewFS("/host/proc") if err != nil { return "", fmt.Errorf("read procfs: %v", err)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Dec 20 22:14:13 GMT 2023 - 4.8K bytes - Viewed (0)