- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for closeNetns (0.04 sec)
-
cni/pkg/nodeagent/pod_cache.go
p.currentPodCache[uid] = WorkloadInfo{} } } func (p *podNetnsCache) addToCacheUnderLock(uid string, workload WorkloadInfo) { runtime.SetFinalizer(workload.Netns, closeNetns) p.currentPodCache[uid] = workload } func closeNetns(netns NetnsCloser) { netns.Close() } func (p *podNetnsCache) ReadCurrentPodSnapshot() map[string]WorkloadInfo { p.mu.RLock() defer p.mu.RUnlock()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri May 31 17:18:11 UTC 2024 - 4.3K bytes - Viewed (0)