- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for FindNetnsForPods (0.33 sec)
-
cni/pkg/nodeagent/podcgroupns.go
} type PodNetnsFinder interface { FindNetnsForPods(filter map[types.UID]*corev1.Pod) (PodToNetns, error) } type PodNetnsProcFinder struct { proc fs.FS } func NewPodNetnsProcFinder(proc fs.FS) *PodNetnsProcFinder { return &PodNetnsProcFinder{proc: proc} } func isNotNumber(r rune) bool { return r < '0' || r > '9' }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 11K bytes - Viewed (0) -
cni/pkg/nodeagent/net.go
} func (s *NetServer) scanProcForPodsAndCache(pods map[types.UID]*corev1.Pod) error { // TODO: maybe remove existing uids in s.currentPodSnapshot from the filter set. res, err := s.podNs.FindNetnsForPods(pods) if err != nil { return err } for uid, wl := range res { s.currentPodSnapshot.UpsertPodCacheWithNetns(uid, wl) } return nil }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.2K bytes - Viewed (1)