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

# Functions

CalculateUsageStats is a utility function that knows how to calculate aggregate usage.
ListResourceUsingInformerFunc returns a listing function based on the shared informer factory for the specified resource.
Matches returns true if the quota matches the specified item.
MatchesNoScopeFunc returns false on all match checks.

# Structs

GenericRegistry implements Registry.
ObjectCountEvaluator provides an implementation for quota.Evaluator that associates usage of the specified resource based on the number of items returned by the specified listing function.

# Type aliases

ListFuncByNamespace knows how to list resources in a namespace.
MatchesScopeFunc knows how to evaluate if an object matches a scope.
MatchingResourceNamesFunc is a function that returns the list of resources matched.
UsageFunc knows how to measure usage associated with an object.