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