package
1.11.0-alpha.1
Repository: https://github.com/ceshihao/kubernetes.git
Documentation: pkg.go.dev

# Functions

GetQuotaServiceType returns ServiceType if the service type is eligible to track against a quota, nor return "".
NewEvaluators returns the list of static evaluators that manage more than counts.
NewPersistentVolumeClaimEvaluator returns an evaluator that can evaluate persistent volume claims.
NewPodEvaluator returns an evaluator that can evaluate pods.
NewServiceEvaluator returns an evaluator that can evaluate services.
PodUsageFunc returns the quota usage for a pod.
QuotaPod returns true if the pod is eligible to track against a quota A pod is eligible for quota, unless any of the following are true: - pod has a terminal phase (failed or succeeded) - pod has been marked for deletion and grace period has expired.
QuotaV1Pod returns true if the pod is eligible to track against a quota if it's not in a terminal state according to its phase.
ResourceByStorageClass returns a quota resource name by storage class.
V1ResourceByStorageClass returns a quota resource name by storage class.