Documentation ¶
Index ¶
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) Admit ¶
func (q *QuotaValidator) Admit(a admission.Attributes) error
Admit checks that the requested Shoot resources are within the quota limits.
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) ValidateInitialization ¶
func (q *QuotaValidator) ValidateInitialization() error
ValidateInitialization checks whether the plugin was correctly initialized.
Click to show internal directories.
Click to hide internal directories.