Documentation ¶
Index ¶
- Constants
- func Register(plugins *admission.Plugins)
- type ManagedSeed
- func (v *ManagedSeed) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error
- func (v *ManagedSeed) AssignReadyFunc(f admission.ReadyFunc)
- func (v *ManagedSeed) SetInternalCoreClientset(c gardencoreclientset.Interface)
- func (v *ManagedSeed) SetInternalCoreInformerFactory(f gardencoreinformers.SharedInformerFactory)
- func (v *ManagedSeed) SetKubeInformerFactory(f kubeinformers.SharedInformerFactory)
- func (v *ManagedSeed) SetSeedManagementClientset(c seedmanagementclientset.Interface)
- func (v *ManagedSeed) ValidateInitialization() error
Constants ¶
View Source
const (
// PluginName is the name of this admission plugin.
PluginName = "ManagedSeed"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ManagedSeed ¶
ManagedSeed contains listers and admission handler.
func (*ManagedSeed) Admit ¶
func (v *ManagedSeed) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error
Admit validates and if appropriate mutates the given managed seed against the shoot that it references.
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 gardencoreclientset.Interface)
SetInternalCoreClientset sets the garden core clientset.
func (*ManagedSeed) SetInternalCoreInformerFactory ¶
func (v *ManagedSeed) SetInternalCoreInformerFactory(f gardencoreinformers.SharedInformerFactory)
SetInternalCoreInformerFactory gets Lister from SharedInformerFactory.
func (*ManagedSeed) SetKubeInformerFactory ¶
func (v *ManagedSeed) SetKubeInformerFactory(f kubeinformers.SharedInformerFactory)
SetKubeInformerFactory gets Lister from SharedInformerFactory.
func (*ManagedSeed) SetSeedManagementClientset ¶
func (v *ManagedSeed) SetSeedManagementClientset(c seedmanagementclientset.Interface)
SetSeedManagementClientset sets the garden seedmanagement clientset.
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.