Package core contains modules that interface with the core api group
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. A pod is charged for quota if the following are not 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.
func V1ResourceByStorageClass(storageClass string, resourceName corev1.ResourceName) corev1.ResourceName
V1ResourceByStorageClass returns a quota resource name by storage class.