Documentation ¶
Index ¶
- Constants
- func Register(plugins *admission.Plugins)
- type Shoot
- func (v *Shoot) AssignReadyFunc(f admission.ReadyFunc)
- func (v *Shoot) SetInternalCoreInformerFactory(f coreinformers.SharedInformerFactory)
- func (v *Shoot) SetSeedManagementClientset(c seedmanagementclientset.Interface)
- func (v *Shoot) Validate(ctx context.Context, a admission.Attributes, _ admission.ObjectInterfaces) error
- func (v *Shoot) ValidateInitialization() error
Constants ¶
View Source
const (
// PluginName is the name of this admission plugin.
PluginName = "ManagedSeedShoot"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Shoot ¶
Shoot contains listers and and admission handler.
func (*Shoot) AssignReadyFunc ¶
AssignReadyFunc assigns the ready function to the admission handler.
func (*Shoot) SetInternalCoreInformerFactory ¶
func (v *Shoot) SetInternalCoreInformerFactory(f coreinformers.SharedInformerFactory)
SetInternalCoreInformerFactory gets Lister from SharedInformerFactory.
func (*Shoot) SetSeedManagementClientset ¶
func (v *Shoot) SetSeedManagementClientset(c seedmanagementclientset.Interface)
SetSeedManagementClientset sets the garden seedmanagement clientset.
func (*Shoot) Validate ¶
func (v *Shoot) Validate(ctx context.Context, a admission.Attributes, _ admission.ObjectInterfaces) error
Validate validates if the Shoot can be deleted. If the
func (*Shoot) ValidateInitialization ¶
ValidateInitialization checks whether the plugin was correctly initialized.
Click to show internal directories.
Click to hide internal directories.