Documentation
¶
Index ¶
- Constants
- Variables
- func New(mgr manager.Manager) (*extensionswebhook.Webhook, error)
- func NewCloudProfileValidator(mgr manager.Manager) extensionswebhook.Validator
- func NewNamespacedCloudProfileValidator(mgr manager.Manager) extensionswebhook.Validator
- func NewShootValidator(mgr manager.Manager, allowApplicationLoadBalancerController bool) extensionswebhook.Validator
- type AddOptions
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.
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.
Click to show internal directories.
Click to hide internal directories.