Documentation ¶
Index ¶
- func NewFactory(_ io.Reader) (admission.Interface, error)
- func Register(plugins *admission.Plugins)
- type ExtensionLabels
- func (e *ExtensionLabels) Admit(_ context.Context, a admission.Attributes, _ admission.ObjectInterfaces) error
- func (e *ExtensionLabels) AssignReadyFunc(f admission.ReadyFunc)
- func (e *ExtensionLabels) SetInternalCoreInformerFactory(f gardencoreinformers.SharedInformerFactory)
- func (e *ExtensionLabels) ValidateInitialization() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory creates a new PluginFactory.
Types ¶
type ExtensionLabels ¶
ExtensionLabels contains the admission handler
func (*ExtensionLabels) Admit ¶
func (e *ExtensionLabels) Admit(_ context.Context, a admission.Attributes, _ admission.ObjectInterfaces) error
Admit adds extension labels to resources.
func (*ExtensionLabels) AssignReadyFunc ¶
func (e *ExtensionLabels) AssignReadyFunc(f admission.ReadyFunc)
AssignReadyFunc assigns the ready function to the admission handler.
func (*ExtensionLabels) SetInternalCoreInformerFactory ¶
func (e *ExtensionLabels) SetInternalCoreInformerFactory(f gardencoreinformers.SharedInformerFactory)
SetInternalCoreInformerFactory sets the external garden core informer factory.
func (*ExtensionLabels) ValidateInitialization ¶
func (e *ExtensionLabels) ValidateInitialization() error
ValidateInitialization checks whether the plugin was correctly initialized.
Click to show internal directories.
Click to hide internal directories.