package
0.0.0-20221205081027-fb1d94189521
Repository: https://github.com/ti-net2/apiserver.git
Documentation: pkg.go.dev
# Functions
CalculateUsageStats is a utility function that knows how to calculate aggregate usage.
ListerFuncForResourceFunc knows how to provision a lister from an informer func.
ListResourceUsingListerFunc 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.
NewConfiguration creates a quota configuration.
NewObjectCountEvaluator returns an evaluator that can perform generic object quota counting.
NewRegistry creates a simple registry with initial list of evaluators.
ObjectCountQuotaResourceNameFor returns the object count quota name for specified groupResource.
# Type aliases
InformerForResourceFunc knows how to provision an informer.
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.