Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ValidatorName is a common name for a validation webhook. ValidatorName = "validator" // ValidatorPath is a common path for a validation webhook. ValidatorPath = "/webhooks/validate" )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(mgr manager.Manager) (*extensionswebhook.Webhook, error)
New creates a new webhook that validates Shoot resources.
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.