package
0.21.4
Repository: https://github.com/ceshihao/kubernetes.git
Documentation: pkg.go.dev

# Functions

FilterQuotaPods eliminates pods that no longer have a cost against the quota pods that have a restart policy of always are always returned pods that are in a failed state, but have a restart policy of on failure are always returned pods that are not in a success state or a failure state are included in quota.
IsPodCPUUnbounded returns true if the cpu use is unbounded for any container in pod.
IsPodMemoryUnbounded returns true if the memory use is unbounded for any container in pod.
NewResourceQuotaManager creates a new ResourceQuotaManager.
PodCPU computes total cpu usage of a pod.
PodMemory computes the memory usage of a pod.

# Structs

ResourceQuotaManager is responsible for tracking quota usage status in the system.