// GetPod retrieves the specified pod from the cache. It returns nil if a pod is not found.
GetPod retrieves the specified pod from the cache. It returns nil if a pod is not found.
// GetPod retrieves the specified pod from the cache . It returns nil if a pod is not found .
func (rm *ResourceManager) GetPod(namespace, name string) *v1.Pod {
	rm.RLock()
	defer rm.RUnlock()
	if p, ok := rm.pods[rm.getStoreKey(namespace, name)]; ok {
		return p
	}
	return nil
}
func ( rm * ResourceManager ) GetPod ( namespace , name string ) * v1 . Pod { rm . RLock ( ) defer rm . RUnlock ( ) if p , ok := rm . pods [ rm . getStoreKey ( namespace , name ) ] ; ok { return p } return nil }
GetPod retrieves the specified pod from the cache.
GetPod retrieves the specified pod from the cache .