Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Name is a name for a validation webhook.
Name = "validator"
)
Variables ¶
This section is empty.
Functions ¶
func FindRegistryCacheExtension ¶ added in v0.2.0
FindRegistryCacheExtension finds the registry-cache extension. The first return argument is index of the extension in the list. -1 is returned if the extension is not found. The second return argument is the extension itself. An empty extension is returned if the extension is not found.
func New ¶
func New(mgr manager.Manager) (*extensionswebhook.Webhook, error)
New creates a new webhook that validates Shoot and CloudProfile resources.
func NewShootValidator ¶
func NewShootValidator(apiReader client.Reader, decoder runtime.Decoder) 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.