Documentation ¶
Index ¶
- func DefaultIgnoredResources() map[schema.GroupResource]struct{}
- func DefaultUpdateFilter() func(resource schema.GroupVersionResource, oldObj, newObj interface{}) bool
- func NewQuotaConfigurationForAdmission() quota.Configuration
- func NewQuotaConfigurationForControllers(f quota.ListerForResourceFunc) quota.Configuration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultIgnoredResources ¶
func DefaultIgnoredResources() map[schema.GroupResource]struct{}
DefaultIgnoredResources returns the default set of resources that quota system should ignore. This is exposed so downstream integrators can have access to them.
func DefaultUpdateFilter ¶ added in v1.25.0
func DefaultUpdateFilter() func(resource schema.GroupVersionResource, oldObj, newObj interface{}) bool
DefaultUpdateFilter returns the default update filter for resource update events for consideration for quota.
func NewQuotaConfigurationForAdmission ¶
func NewQuotaConfigurationForAdmission() quota.Configuration
NewQuotaConfigurationForAdmission returns a quota configuration for admission control.
func NewQuotaConfigurationForControllers ¶
func NewQuotaConfigurationForControllers(f quota.ListerForResourceFunc) quota.Configuration
NewQuotaConfigurationForControllers returns a quota configuration for controllers.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.