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

validator

package
v1.149.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: Apache-2.0 Imports: 20 Imported by: 1

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 ValidateSeed

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

ValidateSeed contains listers and admission handler.

func New

func New() (*ValidateSeed, error)

New creates a new ValidateSeed admission plugin.

func (*ValidateSeed) AssignReadyFunc

func (v *ValidateSeed) AssignReadyFunc(f admission.ReadyFunc)

AssignReadyFunc assigns the ready function to the admission handler.

func (*ValidateSeed) SetCoreInformerFactory added in v1.90.0

func (v *ValidateSeed) SetCoreInformerFactory(f gardencoreinformers.SharedInformerFactory)

SetCoreInformerFactory gets Lister from SharedInformerFactory.

func (*ValidateSeed) SetKubeInformerFactory

func (v *ValidateSeed) SetKubeInformerFactory(f kubeinformers.SharedInformerFactory)

SetKubeInformerFactory gets Lister from SharedInformerFactory.

func (*ValidateSeed) SetSecurityInformerFactory added in v1.118.0

func (v *ValidateSeed) SetSecurityInformerFactory(f gardensecurityinformers.SharedInformerFactory)

SetSecurityInformerFactory gets Lister from SharedInformerFactory.

func (*ValidateSeed) Validate

Validate validates the Seed details against existing Shoots

func (*ValidateSeed) ValidateInitialization

func (v *ValidateSeed) 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