Documentation ¶
Index ¶
Constants ¶
View Source
const (
// PluginName is the name of this admission plugin.
PluginName = "ShootValidator"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ValidateShoot ¶
ValidateShoot contains listers and and admission handler.
func (*ValidateShoot) Admit ¶
func (v *ValidateShoot) Admit(a admission.Attributes) error
Admit validates the Shoot details against the referenced CloudProfile.
func (*ValidateShoot) AssignReadyFunc ¶
func (v *ValidateShoot) AssignReadyFunc(f admission.ReadyFunc)
AssignReadyFunc assigns the ready function to the admission handler.
func (*ValidateShoot) SetInternalGardenInformerFactory ¶
func (v *ValidateShoot) SetInternalGardenInformerFactory(f informers.SharedInformerFactory)
SetInternalGardenInformerFactory gets Lister from SharedInformerFactory.
func (*ValidateShoot) ValidateInitialization ¶
func (v *ValidateShoot) ValidateInitialization() error
ValidateInitialization checks whether the plugin was correctly initialized.
Click to show internal directories.
Click to hide internal directories.