package
0.0.0-20221205081027-fb1d94189521
Repository: https://github.com/ti-net2/apiserver.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CheckRequest is a static version of quotaEvaluator.checkRequest, possible to be called from outside.
IsDefaultDeny returns true if the error is defaultDeny.
LoadConfiguration loads the provided configuration.
NewQuotaEvaluator configures an admission controller that can enforce quota constraints using the provided registry.
NewResourceQuota configures an admission controller that can enforce quota constraints using the provided registry.
Register registers a plugin.

# Constants

PluginName is a string with the name of the plugin.

# Structs

QuotaAdmission implements an admission controller that can enforce quota constraints.

# Interfaces

Evaluator is used to see if quota constraints are satisfied.
QuotaAccessor abstracts the get/set logic from the rest of the Evaluator.