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

mutator

package
v1.120.3 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(plugins *admission.Plugins)

Register registers a plugin.

Types

type MutateSeed

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

MutateSeed contains listers and admission handler.

func New

func New() (*MutateSeed, error)

New creates a new MutateSeed admission plugin.

func (*MutateSeed) Admit

Admit mutates the Seed.

func (*MutateSeed) AssignReadyFunc

func (m *MutateSeed) AssignReadyFunc(f admission.ReadyFunc)

AssignReadyFunc assigns the ready function to the admission handler.

func (*MutateSeed) SetCoreInformerFactory

func (m *MutateSeed) SetCoreInformerFactory(f gardencoreinformers.SharedInformerFactory)

SetCoreInformerFactory gets Lister from SharedInformerFactory.

func (*MutateSeed) SetSeedManagementInformerFactory

func (m *MutateSeed) SetSeedManagementInformerFactory(f seedmanagementinformers.SharedInformerFactory)

SetSeedManagementInformerFactory gets Lister from SharedInformerFactory.

func (*MutateSeed) ValidateInitialization

func (m *MutateSeed) 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