testing

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBootstrapDataSecret

func NewBootstrapDataSecret(userData []byte) *corev1.Secret

func NewCluster

func NewCluster(clusterName string, kubevirtCluster *infrav1.KubevirtCluster) *clusterv1.Cluster

func NewExternalVirtualMachineInstance added in v0.1.1

func NewExternalVirtualMachineInstance(kubevirtMachine *infrav1.KubevirtMachine, namespace string) *kubevirtv1.VirtualMachineInstance

NewExternalVirtualMachineInstance instantiates a new external VirtualMachineInstance; i.e. one in a specified namespace that might differ from the kubevirtMachine one.

func NewKubevirtCluster

func NewKubevirtCluster(clusterName, kubevirtName string) *infrav1.KubevirtCluster

func NewKubevirtClusterWithNamespacedLB added in v0.1.8

func NewKubevirtClusterWithNamespacedLB(clusterName, kubevirtName string, lbNamespace string) *infrav1.KubevirtCluster

func NewKubevirtMachine

func NewKubevirtMachine(kubevirtMachineName, machineName string) *infrav1.KubevirtMachine

func NewMachine

func NewMachine(clusterName, machineName string, kubevirtMachine *infrav1.KubevirtMachine) *clusterv1.Machine

func NewVirtualMachineInstance

func NewVirtualMachineInstance(kubevirtMachine *infrav1.KubevirtMachine) *kubevirtv1.VirtualMachineInstance

func SetupScheme added in v0.1.1

func SetupScheme() *runtime.Scheme

SetupScheme setups the scheme for a fake client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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