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

validator

package
v2.28.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 13 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.

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