install

package
v1.30.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 100

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL