instancetype

package
v0.58.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2022 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddInstancetypeNameAnnotations

func AddInstancetypeNameAnnotations(vm *virtv1.VirtualMachine, target metav1.Object)

func AddPreferenceNameAnnotations

func AddPreferenceNameAnnotations(vm *virtv1.VirtualMachine, target metav1.Object)

func ApplyDevicePreferences added in v0.57.0

func ApplyDevicePreferences(preferenceSpec *instancetypev1alpha2.VirtualMachinePreferenceSpec, vmiSpec *virtv1.VirtualMachineInstanceSpec)

func CreateControllerRevision added in v0.58.0

func CreateControllerRevision(vm *virtv1.VirtualMachine, object runtime.Object) (*appsv1.ControllerRevision, error)

func GenerateRevisionNamePatch

func GenerateRevisionNamePatch(instancetypeRevision, preferenceRevision *appsv1.ControllerRevision) ([]byte, error)

func GetRevisionName

func GetRevisionName(vmName, resourceName string, resourceUID types.UID, resourceGeneration int64) string

Types

type Conflicts

type Conflicts []*k8sfield.Path

func (Conflicts) String

func (c Conflicts) String() string

Jump to

Keyboard shortcuts

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