Documentation ¶
Index ¶
- Constants
- func Register(plugins *admission.Plugins)
- type ValidateSeed
- func (v *ValidateSeed) AssignReadyFunc(f admission.ReadyFunc)
- func (v *ValidateSeed) SetInternalCoreInformerFactory(f coreinformers.SharedInformerFactory)
- func (v *ValidateSeed) Validate(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error
- func (v *ValidateSeed) ValidateInitialization() error
Constants ¶
View Source
const (
// PluginName is the name of this admission plugin.
PluginName = "SeedValidator"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ValidateSeed ¶
ValidateSeed contains listers and and admission handler.
func (*ValidateSeed) AssignReadyFunc ¶
func (v *ValidateSeed) AssignReadyFunc(f admission.ReadyFunc)
AssignReadyFunc assigns the ready function to the admission handler.
func (*ValidateSeed) SetInternalCoreInformerFactory ¶
func (v *ValidateSeed) SetInternalCoreInformerFactory(f coreinformers.SharedInformerFactory)
SetInternalCoreInformerFactory gets Lister from SharedInformerFactory.
func (*ValidateSeed) Validate ¶
func (v *ValidateSeed) Validate(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error
Validate validates the Seed details against existing Shoots and BackupBuckets
func (*ValidateSeed) ValidateInitialization ¶
func (v *ValidateSeed) ValidateInitialization() error
ValidateInitialization checks whether the plugin was correctly initialized.
Click to show internal directories.
Click to hide internal directories.