Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Name is a name for a validation webhook.
Name = "mutator"
)
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(mgr manager.Manager) (*extensionswebhook.Webhook, error)
New creates a new webhook that mutates Shoot and NamespacedCloudProfile resources.
func NewCloudProfileMutator ¶ added in v2.22.0
func NewCloudProfileMutator(mgr manager.Manager) extensionswebhook.Mutator
NewCloudProfileMutator returns a new instance of a CloudProfile mutator.
func NewNamespacedCloudProfileMutator ¶
func NewNamespacedCloudProfileMutator(mgr manager.Manager) extensionswebhook.Mutator
NewNamespacedCloudProfileMutator returns a new instance of a NamespacedCloudProfile mutator. It handles both spec mutations (populating capabilityFlavors) and status mutations (merging provider config).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.