Documentation ¶
Index ¶
- Constants
- func Register(plugins *admission.Plugins)
- type Binding
- func (b *Binding) AssignReadyFunc(f admission.ReadyFunc)
- func (b *Binding) SetExternalCoreInformerFactory(f externalcoreinformers.SharedInformerFactory)
- func (b *Binding) SetInternalCoreInformerFactory(f coreinformers.SharedInformerFactory)
- func (b *Binding) Validate(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error
- func (b *Binding) ValidateInitialization() error
Constants ¶
View Source
const (
// PluginName is the name of this admission plugin.
PluginName = "ShootBinding"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Binding ¶
Binding contains listers and and admission handler.
func (*Binding) AssignReadyFunc ¶
AssignReadyFunc assigns the ready function to the admission handler.
func (*Binding) SetExternalCoreInformerFactory ¶
func (b *Binding) SetExternalCoreInformerFactory(f externalcoreinformers.SharedInformerFactory)
SetExternalCoreInformerFactory sets the external garden core informer factory.
func (*Binding) SetInternalCoreInformerFactory ¶
func (b *Binding) SetInternalCoreInformerFactory(f coreinformers.SharedInformerFactory)
SetInternalCoreInformerFactory gets Lister from SharedInformerFactory.
func (*Binding) Validate ¶
func (b *Binding) Validate(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error
Validate validates the Binding against the existing conditions.
func (*Binding) ValidateInitialization ¶
ValidateInitialization checks whether the plugin was correctly initialized.
Click to show internal directories.
Click to hide internal directories.