package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
GetQuotableResources returns all resources that the quota system should recognize.
NewController creates a quota controller with specified options.
NewMonitor creates a new instance of a QuotaMonitor.
# Structs
Controller is responsible for tracking quota usage status in the system.
ControllerOptions holds options for creating a quota controller.
QuotaMonitor contains all necessary information to track quotas and trigger replenishments.
# Type aliases
NamespacedResourcesFunc knows how to discover namespaced resources.
ReplenishmentFunc is a signal that a resource changed in specified namespace that may require quota to be recalculated.
UpdateFilter is a function that returns true if the update event should be added to the resourceChanges queue.