- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetPodResourceAllocation (0.31 sec)
-
pkg/kubelet/status/state/state_checkpoint.go
defer sc.mux.RUnlock() return sc.cache.GetContainerResourceAllocation(podUID, containerName) } // GetPodResourceAllocation returns current pod resource allocation func (sc *stateCheckpoint) GetPodResourceAllocation() PodResourceAllocation { sc.mux.RLock() defer sc.mux.RUnlock() return sc.cache.GetPodResourceAllocation() } // GetPodResizeStatus returns the last resize decision for a pod
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 13 00:16:44 UTC 2023 - 6.9K bytes - Viewed (0) -
pkg/kubelet/status/state/state.go
} return prCopy } // Reader interface used to read current pod resource allocation state type Reader interface { GetContainerResourceAllocation(podUID string, containerName string) (v1.ResourceList, bool) GetPodResourceAllocation() PodResourceAllocation GetPodResizeStatus(podUID string) (v1.PodResizeStatus, bool) GetResizeStatus() PodResizeStatus } type writer interface {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 2K bytes - Viewed (0) -
pkg/kubelet/status/state/state_mem.go
s.RLock() defer s.RUnlock() alloc, ok := s.podAllocation[podUID][containerName] return alloc.DeepCopy(), ok } func (s *stateMemory) GetPodResourceAllocation() PodResourceAllocation { s.RLock() defer s.RUnlock() return s.podAllocation.Clone() } func (s *stateMemory) GetPodResizeStatus(podUID string) (v1.PodResizeStatus, bool) { s.RLock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 4K bytes - Viewed (0)