Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Morlock (0.25 sec)

  1. cni/pkg/nodeagent/pod_cache.go

    // If uid is already present, a cached Netns is returned, and the given nspath is ignored.
    func (p *podNetnsCache) Get(uid string) Netns {
    	// lock current snapshot pod map
    	p.mu.RLock()
    	defer p.mu.RUnlock()
    	if info, f := p.currentPodCache[uid]; f {
    		return info.Netns
    	}
    	return nil
    }
    
    // make sure uid is in the cache, even if we don't have a netns
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
Back to top