validator

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name is a name for a validation webhook.
	Name = "validator"
	// SecretsValidatorName is the name of the secrets' validator.
	SecretsValidatorName = "secrets." + Name
)

Variables

This section is empty.

Functions

func New

New creates a new validation webhook for `core.gardener.cloud` resources.

func NewSecretBindingValidator

func NewSecretBindingValidator(mgr manager.Manager) extensionswebhook.Validator

NewSecretBindingValidator returns a new instance of a secret binding validator.

func NewSecretValidator

func NewSecretValidator() extensionswebhook.Validator

NewSecretValidator returns a new instance of a secret validator.

func NewSecretsWebhook

func NewSecretsWebhook(mgr manager.Manager) (*extensionswebhook.Webhook, error)

NewSecretsWebhook creates a new validation webhook for Secrets.

func NewShootValidator

func NewShootValidator(mgr manager.Manager) 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