flavor

package
v0.55.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFlavorNameAnnotations added in v0.53.0

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

func AddPreferenceNameAnnotations added in v0.54.0

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

func CreateFlavorControllerRevision added in v0.55.0

func CreateFlavorControllerRevision(vm *virtv1.VirtualMachine, revisionName string, flavorApiVersion string, flavorSpec *flavorv1alpha1.VirtualMachineFlavorSpec) (*appsv1.ControllerRevision, error)

func CreatePreferenceControllerRevision added in v0.55.0

func CreatePreferenceControllerRevision(vm *virtv1.VirtualMachine, revisionName string, preferenceApiVersion string, preferenceSpec *flavorv1alpha1.VirtualMachinePreferenceSpec) (*appsv1.ControllerRevision, error)

func GenerateRevisionNamePatch added in v0.55.0

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

func GetRevisionName added in v0.55.0

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

type Methods

func NewMethods

func NewMethods(clientset kubecli.KubevirtClient) Methods

Jump to

Keyboard shortcuts

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