Documentation ¶
Index ¶
- Constants
- func New(mgr manager.Manager) (*extensionswebhook.Webhook, error)
- func NewCloudProfileValidator(mgr manager.Manager) extensionswebhook.Validator
- func NewCredentialsBindingValidator(mgr manager.Manager) extensionswebhook.Validator
- func NewNamespacedCloudProfileValidator(mgr manager.Manager) extensionswebhook.Validator
- func NewSecretBindingValidator(mgr manager.Manager) extensionswebhook.Validator
- func NewSecretValidator() extensionswebhook.Validator
- func NewSecretsWebhook(mgr manager.Manager) (*extensionswebhook.Webhook, error)
- func NewShootValidator(mgr manager.Manager) extensionswebhook.Validator
Constants ¶
View Source
const ( // Name is a name for a validation webhook. Name = "validator" // SecretsValidatorName is the name of the secrets validator. SecretsValidatorName = "secrets." + Name )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(mgr manager.Manager) (*extensionswebhook.Webhook, error)
New creates a new validation webhook for `core.gardener.cloud` and `security.gardener.cloud` resources.
func NewCloudProfileValidator ¶
func NewCloudProfileValidator(mgr manager.Manager) extensionswebhook.Validator
NewCloudProfileValidator returns a new instance of a cloud profile validator.
func NewCredentialsBindingValidator ¶ added in v1.39.0
func NewCredentialsBindingValidator(mgr manager.Manager) extensionswebhook.Validator
NewCredentialsBindingValidator returns a new instance of a credentials binding validator.
func NewNamespacedCloudProfileValidator ¶ added in v1.41.0
func NewNamespacedCloudProfileValidator(mgr manager.Manager) extensionswebhook.Validator
NewNamespacedCloudProfileValidator returns a new instance of a namespaced cloud profile validator.
func NewSecretBindingValidator ¶ added in v1.23.0
func NewSecretBindingValidator(mgr manager.Manager) extensionswebhook.Validator
NewSecretBindingValidator returns a new instance of a secret binding validator.
func NewSecretValidator ¶ added in v1.8.0
func NewSecretValidator() extensionswebhook.Validator
NewSecretValidator returns a new instance of a secret validator.
func NewSecretsWebhook ¶ added in v1.8.0
func NewSecretsWebhook(mgr manager.Manager) (*extensionswebhook.Webhook, error)
NewSecretsWebhook creates a new validation webhook for Secrets.
func NewShootValidator ¶
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.