validator

package
v2.17.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var (
	// DefaultAddOptions are the default AddOptions for configuring the validator.
	DefaultAddOptions = AddOptions{}
)

Functions

func New

New creates a new webhook that validates Shoot, CloudProfile, NamespacedCloudProfile, SecretBinding and CredentialsBinding resources.

func NewCloudProfileValidator

func NewCloudProfileValidator(mgr manager.Manager) extensionswebhook.Validator

NewCloudProfileValidator returns a new instance of a cloud profile validator.

func NewNamespacedCloudProfileValidator

func NewNamespacedCloudProfileValidator(mgr manager.Manager) extensionswebhook.Validator

NewNamespacedCloudProfileValidator returns a new instance of a namespaced cloud profile validator.

func NewShootValidator added in v2.16.0

func NewShootValidator(mgr manager.Manager, allowApplicationLoadBalancerController bool) extensionswebhook.Validator

NewShootValidator returns a new instance of a shoot validator.

Types

type AddOptions added in v2.17.0

type AddOptions struct {
	// AllowApplicationLoadBalancerController configures if the application load balancer controller can be used in the ControlPlaneConfig.
	AllowApplicationLoadBalancerController bool
}

AddOptions are options to apply when adding the STACKIT admission webhook to the manager.

Jump to

Keyboard shortcuts

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