validator

package
v1.106.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 13 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 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) Validate

Validate validates the Seed details against existing Shoots and BackupBuckets

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