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) SetCoreInformerFactory(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) SetCoreInformerFactory ¶ added in v1.90.0
func (e *ExtensionLabels) SetCoreInformerFactory(f gardencoreinformers.SharedInformerFactory)
SetCoreInformerFactory sets the 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.