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

validator

package
v1.91.2 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 13 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) 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