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 ¶
func New(mgr manager.Manager) (*extensionswebhook.Webhook, error)
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.
Click to show internal directories.
Click to hide internal directories.