- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for openNetns (0.12 sec)
-
cni/pkg/nodeagent/net.go
if netNs == "" { return s.getNetns(pod) } return s.openNetns(pod, netNs) } func (s *NetServer) openNetns(pod *corev1.Pod, netNs string) (Netns, error) { return s.currentPodSnapshot.UpsertPodCache(pod, netNs) } func (s *NetServer) getNetns(pod *corev1.Pod) (Netns, error) { openNetns := s.currentPodSnapshot.Get(string(pod.UID)) if openNetns != nil { return openNetns, nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Oct 21 16:48:55 UTC 2024 - 9.1K bytes - Viewed (0)