Help us shape the future of Go! Take the 2026 Go Developer Survey

extensionlabels

package
v1.151.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2026 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory(_ io.Reader) (admission.Interface, error)

NewFactory creates a new PluginFactory.

func Register

func Register(plugins *admission.Plugins)

Register registers a plugin.

Types

type ExtensionLabels

type ExtensionLabels struct {
	*admission.Handler
	// contains filtered or unexported fields
}

ExtensionLabels contains the admission handler

func New

func New() (*ExtensionLabels, error)

New creates a new ExtensionLabels admission plugin.

func (*ExtensionLabels) Admit

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL