Documentation ¶
Index ¶
- func NewBootstrapDataSecret(userData []byte) *corev1.Secret
- func NewCluster(clusterName string, kubevirtCluster *infrav1.KubevirtCluster) *clusterv1.Cluster
- func NewExternalVirtualMachineInstance(kubevirtMachine *infrav1.KubevirtMachine, namespace string) *kubevirtv1.VirtualMachineInstance
- func NewKubevirtCluster(clusterName, kubevirtName string) *infrav1.KubevirtCluster
- func NewKubevirtClusterWithNamespacedLB(clusterName, kubevirtName string, lbNamespace string) *infrav1.KubevirtCluster
- func NewKubevirtMachine(kubevirtMachineName, machineName string) *infrav1.KubevirtMachine
- func NewMachine(clusterName, machineName string, kubevirtMachine *infrav1.KubevirtMachine) *clusterv1.Machine
- func NewVirtualMachine(vmi *kubevirtv1.VirtualMachineInstance) *kubevirtv1.VirtualMachine
- func NewVirtualMachineInstance(kubevirtMachine *infrav1.KubevirtMachine) *kubevirtv1.VirtualMachineInstance
- func SetupScheme() *runtime.Scheme
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBootstrapDataSecret ¶
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 NewVirtualMachine ¶
func NewVirtualMachine(vmi *kubevirtv1.VirtualMachineInstance) *kubevirtv1.VirtualMachine
func NewVirtualMachineInstance ¶
func NewVirtualMachineInstance(kubevirtMachine *infrav1.KubevirtMachine) *kubevirtv1.VirtualMachineInstance
func SetupScheme ¶ added in v0.1.1
SetupScheme setups the scheme for a fake client.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.