Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterContext ¶
type ClusterContext struct { context.Context Cluster *clusterv1.Cluster KubevirtCluster *infrav1.KubevirtCluster Logger logr.Logger }
ClusterContext is a Go context used with a KubeVirt cluster.
func (*ClusterContext) PatchKubevirtCluster ¶
func (c *ClusterContext) PatchKubevirtCluster(patchHelper *patch.Helper) error
PatchKubevirtCluster patches the KubevirtCluster object and status.
func (*ClusterContext) String ¶
func (c *ClusterContext) String() string
String returns KubeVirt cluster GroupVersionKind.
type MachineContext ¶
type MachineContext struct { context.Context Cluster *clusterv1.Cluster Machine *clusterv1.Machine KubevirtCluster *infrav1.KubevirtCluster KubevirtMachine *infrav1.KubevirtMachine BootstrapDataSecret *corev1.Secret Logger logr.Logger }
MachineContext is a Go context used with a KubeVirt machine.
func (*MachineContext) ClusterContext ¶
func (c *MachineContext) ClusterContext() *ClusterContext
ClusterContext returns cluster context from this machine context
func (*MachineContext) HasInjectedCapkSSHKeys ¶
func (c *MachineContext) HasInjectedCapkSSHKeys(sshPublicKey []byte) bool
func (*MachineContext) PatchKubevirtMachine ¶
func (c *MachineContext) PatchKubevirtMachine(patchHelper *patch.Helper) error
PatchKubevirtMachine patches the KubevirtMachine object and status.
func (*MachineContext) String ¶
func (c *MachineContext) String() string
String returns KubeVirt machine GroupVersionKind
Click to show internal directories.
Click to hide internal directories.