instancetype

package
v0.57.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 19 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 *instancetypev1alpha1.VirtualMachinePreferenceSpec, vmiSpec *virtv1.VirtualMachineInstanceSpec)

func CreateInstancetypeControllerRevision

func CreateInstancetypeControllerRevision(vm *virtv1.VirtualMachine, revisionName string, instancetypeApiVersion string, instancetypeSpec *instancetypev1alpha1.VirtualMachineInstancetypeSpec) (*appsv1.ControllerRevision, error)

func CreatePreferenceControllerRevision

func CreatePreferenceControllerRevision(vm *virtv1.VirtualMachine, revisionName string, preferenceApiVersion string, preferenceSpec *instancetypev1alpha1.VirtualMachinePreferenceSpec) (*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