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 (h *ValidateShoot) Admit(a admission.Attributes) error
Admit validates the Shoot details against the referenced CloudProfile.
func (*ValidateShoot) SetInternalGardenInformerFactory ¶
func (h *ValidateShoot) SetInternalGardenInformerFactory(f informers.SharedInformerFactory)
SetInternalGardenInformerFactory gets Lister from SharedInformerFactory.
func (*ValidateShoot) SetKubeInformerFactory ¶
func (h *ValidateShoot) SetKubeInformerFactory(f kubeinformers.SharedInformerFactory)
SetKubeInformerFactory gets Lister from SharedInformerFactory.
func (*ValidateShoot) ValidateInitialization ¶
func (h *ValidateShoot) ValidateInitialization() error
ValidateInitialization checks whether the plugin was correctly initialized.
Click to show internal directories.
Click to hide internal directories.