// GetPods returns a list of all known pods assigned to this virtual node.
GetPods returns a list of all known pods assigned to this virtual node.
// GetPods returns a list of all known pods assigned to this virtual node .
func (rm *ResourceManager) GetPods() []*v1.Pod {
	rm.RLock()
	defer rm.RUnlock()
	pods := make([]*v1.Pod, 0, len(rm.pods))
	for _, p := range rm.pods {
		pods = append(pods, p)
	}
	return pods
}
func ( rm * ResourceManager ) GetPods ( ) [ ] * v1 . Pod { rm . RLock ( ) defer rm . RUnlock ( ) pods := make ( [ ] * v1 . Pod , 0 , len ( rm . pods ) ) for _ , p := range rm . pods { pods = append ( pods , p ) } return pods }
GetPods returns a list of all known pods assigned to this virtual node.
GetPods returns a list of all known pods assigned to this virtual node .