mutation

package
v1.8.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToManager

func AddToManager(ctx *context.ControllerManagerContext, mgr ctrlmgr.Manager) error

AddToManager adds the webhook to the provided manager.

func NewMutator

func NewMutator(_ client.Client) builder.Mutator

NewMutator returns the package's Mutator.

func SetControllerName

func SetControllerName(newObj, oldObj *vmopv1.VirtualMachineClass) bool

SetControllerName preserves the original value of spec.controllerName if an attempt is made to set the field with a non-empty value to empty. Return true if the field was preserved, otherwise false.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL