Documentation ¶
Index ¶
- Constants
- func Register(plugins *admission.Plugins)
- type ValidateShoot
- func (v *ValidateShoot) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error
- func (v *ValidateShoot) AssignReadyFunc(f admission.ReadyFunc)
- func (v *ValidateShoot) SetAuthorizer(authorizer authorizer.Authorizer)
- func (v *ValidateShoot) SetInternalCoreInformerFactory(f gardencoreinformers.SharedInformerFactory)
- func (v *ValidateShoot) ValidateInitialization() error
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(ctx context.Context, a admission.Attributes, o 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) SetInternalCoreInformerFactory ¶ added in v1.0.0
func (v *ValidateShoot) SetInternalCoreInformerFactory(f gardencoreinformers.SharedInformerFactory)
SetInternalCoreInformerFactory 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.