package
1.3.2
Repository: https://github.com/hyperhq/hypernetes.git
Documentation: pkg.go.dev

# Functions

NewConfigMapEvaluator returns an evaluator that can evaluate configMaps.
NewPersistentVolumeClaimEvaluator returns an evaluator that can evaluate persistent volume claims.
NewPodEvaluator returns an evaluator that can evaluate pods.
NewRegistry returns a registry that knows how to deal with core kubernetes resources.
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.
PodConstraintsFunc verifies that all required resources are present on the pod In addition, it validates that the resources are valid (i.e.
PodMatchesScopeFunc is a function that knows how to evaluate if a pod matches a scope.
PodUsageFunc knows how to measure usage associated with pods.
QuotaPod returns true if the pod is eligible to track against a quota if it's not in a terminal state according to its phase.
QuotaServiceType returns true if the service type is eligible to track against a quota.
ServiceUsageFunc knows how to measure usage associated with services.