Documentation ¶
Index ¶
- func Register(plugins *admission.Plugins)
- type ValidateShoot
- func (v *ValidateShoot) Admit(ctx context.Context, a admission.Attributes, _ admission.ObjectInterfaces) error
- func (v *ValidateShoot) AssignReadyFunc(f admission.ReadyFunc)
- func (v *ValidateShoot) SetAuthorizer(authorizer authorizer.Authorizer)
- func (v *ValidateShoot) SetCoreInformerFactory(f gardencoreinformers.SharedInformerFactory)
- func (v *ValidateShoot) SetKubeInformerFactory(f kubeinformers.SharedInformerFactory)
- func (v *ValidateShoot) ValidateInitialization() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ValidateShoot ¶
ValidateShoot contains listers and admission handler.
func (*ValidateShoot) Admit ¶
func (v *ValidateShoot) Admit(ctx context.Context, a admission.Attributes, _ admission.ObjectInterfaces) 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) SetAuthorizer ¶ added in v1.54.0
func (v *ValidateShoot) SetAuthorizer(authorizer authorizer.Authorizer)
SetAuthorizer gets the authorizer.
func (*ValidateShoot) SetCoreInformerFactory ¶ added in v1.90.0
func (v *ValidateShoot) SetCoreInformerFactory(f gardencoreinformers.SharedInformerFactory)
SetCoreInformerFactory gets Lister from SharedInformerFactory.
func (*ValidateShoot) SetKubeInformerFactory ¶ added in v1.75.0
func (v *ValidateShoot) SetKubeInformerFactory(f kubeinformers.SharedInformerFactory)
SetKubeInformerFactory 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.