Documentation ¶
Index ¶
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 and Cloduprofile resources.
func NewCloudProfileValidator ¶
func NewCloudProfileValidator() extensionswebhook.Validator
NewCloudProfileValidator returns a new instance of a cloud profile validator.
func NewShootValidator ¶
func NewShootValidator() 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.