Documentation
¶
Overview ¶
SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors
SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
View Source
const (
// Name is a name for a validation webhook.
Name = "registry-mirror-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 CloudProfile resources.
func NewShootValidator ¶
func NewShootValidator(decoder runtime.Decoder) extensionswebhook.Validator
NewShootValidator returns a new instance of a shoot validator that validates: - the registry-mirror providerConfig - the registry-mirror providerConfig against registry-cache providerConfig (if there is any)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.