validator

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0, MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name is a name for a validation webhook.
	Name = "validator"
)

Variables

This section is empty.

Functions

func FindRegistryCacheExtension added in v0.2.0

func FindRegistryCacheExtension(extensions []core.Extension) (int, core.Extension)

FindRegistryCacheExtension finds the registry-cache extension. The first return argument is index of the extension in the list. -1 is returned if the extension is not found. The second return argument is the extension itself. An empty extension is returned if the extension is not found.

func New

New creates a new webhook that validates Shoot and CloudProfile resources.

func NewShootValidator

func NewShootValidator(apiReader client.Reader, decoder runtime.Decoder) extensionswebhook.Validator

NewShootValidator returns a new instance of a shoot validator.

Types

This section is empty.

Jump to

Keyboard shortcuts

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