Documentation
¶
Index ¶
- Constants
- 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) extensionswebhook.Validator
Constants ¶
View Source
const (
// Name is a name for a validation webhook.
Name = "validator"
)
Variables ¶
This section is empty.
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) extensionswebhook.Validator
NewShootValidator returns a new instance of a shoot validator.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.