package
1.8.0-alpha.2
Repository: https://github.com/lxpollitt/kubernetes.git
Documentation: pkg.go.dev

# Functions

GetQuotaServiceType returns ServiceType if the service type is eligible to track against a quota, nor return "".
NewConfigMapEvaluator returns an evaluator that can evaluate configMaps.
NewPersistentVolumeClaimEvaluator returns an evaluator that can evaluate persistent volume claims if the specified shared informer factory is not nil, evaluator may use it to support listing functions.
NewPodEvaluator returns an evaluator that can evaluate pods if the specified shared informer factory is not nil, evaluator may use it to support listing functions.
NewRegistry returns a registry that knows how to deal with core kubernetes resources If an informer factory is provided, evaluators will use them.
NewReplicationControllerEvaluator returns an evaluator that can evaluate replication controllers.
NewResourceQuotaEvaluator returns an evaluator that can evaluate resource quotas.
NewSecretEvaluator returns an evaluator that can evaluate secrets.
NewServiceEvaluator returns an evaluator that can evaluate service quotas.
PodUsageFunc knows how to measure usage associated with pods.
QuotaPod returns true if the pod is eligible to track against a quota.
QuotaServiceType returns true if the service type is eligible to track against a quota.
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.