Documentation ¶
Index ¶
- Constants
- func Register(plugins *admission.Plugins)
- type QuotaValidator
- func (q *QuotaValidator) AssignReadyFunc(f admission.ReadyFunc)
- func (q *QuotaValidator) SetInternalGardenInformerFactory(f informers.SharedInformerFactory)
- func (q *QuotaValidator) Validate(a admission.Attributes, o admission.ObjectInterfaces) error
- func (q *QuotaValidator) ValidateInitialization() error
Constants ¶
View Source
const (
// PluginName is the name of this admission plugin.
PluginName = "ShootQuotaValidator"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type QuotaValidator ¶
QuotaValidator contains listers and and admission handler.
func (*QuotaValidator) AssignReadyFunc ¶
func (q *QuotaValidator) AssignReadyFunc(f admission.ReadyFunc)
AssignReadyFunc assigns the ready function to the admission handler.
func (*QuotaValidator) SetInternalGardenInformerFactory ¶
func (q *QuotaValidator) SetInternalGardenInformerFactory(f informers.SharedInformerFactory)
SetInternalGardenInformerFactory gets Lister from SharedInformerFactory.
func (*QuotaValidator) Validate ¶
func (q *QuotaValidator) Validate(a admission.Attributes, o admission.ObjectInterfaces) error
Validate checks that the requested Shoot resources do not exceed the quota limits.
func (*QuotaValidator) ValidateInitialization ¶
func (q *QuotaValidator) ValidateInitialization() error
ValidateInitialization checks whether the plugin was correctly initialized.
Click to show internal directories.
Click to hide internal directories.