Documentation ¶
Index ¶
- type ClusterContext
- type GuestClusterContext
- type SupervisorMachineContext
- func (c *SupervisorMachineContext) GetClusterContext() *ClusterContext
- func (c *SupervisorMachineContext) GetObjectMeta() v1.ObjectMeta
- func (c *SupervisorMachineContext) GetVSphereMachine() context.VSphereMachine
- func (c *SupervisorMachineContext) Patch() error
- func (c *SupervisorMachineContext) SetBaseMachineContext(base *context.BaseMachineContext)
- func (c *SupervisorMachineContext) String() string
- type VMModifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterContext ¶
type ClusterContext struct { *context.ControllerContext Cluster *clusterv1.Cluster VSphereCluster *vmwarev1b1.VSphereCluster PatchHelper *patch.Helper Logger logr.Logger }
ClusterContext is a Go context used with a CAPI cluster.
func (*ClusterContext) Patch ¶
func (c *ClusterContext) Patch() error
Patch updates the object and its status on the API server.
func (*ClusterContext) String ¶
func (c *ClusterContext) String() string
String returns ControllerManagerName/ControllerName/ClusterAPIVersion/ClusterNamespace/ClusterName.
type GuestClusterContext ¶
type GuestClusterContext struct { *ClusterContext // GuestClient can be used to access the guest cluster. GuestClient client.Client }
GuestClusterContext is the context used for GuestClusterControllers.
func (*GuestClusterContext) String ¶
func (c *GuestClusterContext) String() string
String returns ClusterGroupVersionKind ClusterNamespace/ClusterName.
type SupervisorMachineContext ¶
type SupervisorMachineContext struct { *context.BaseMachineContext VSphereCluster *vmwarev1.VSphereCluster VSphereMachine *vmwarev1.VSphereMachine VMModifiers []VMModifier }
SupervisorMachineContext is a Go context used with a VSphereMachine.
func (*SupervisorMachineContext) GetClusterContext ¶ added in v1.3.0
func (c *SupervisorMachineContext) GetClusterContext() *ClusterContext
func (*SupervisorMachineContext) GetObjectMeta ¶
func (c *SupervisorMachineContext) GetObjectMeta() v1.ObjectMeta
func (*SupervisorMachineContext) GetVSphereMachine ¶
func (c *SupervisorMachineContext) GetVSphereMachine() context.VSphereMachine
func (*SupervisorMachineContext) Patch ¶
func (c *SupervisorMachineContext) Patch() error
Patch updates the object and its status on the API server.
func (*SupervisorMachineContext) SetBaseMachineContext ¶
func (c *SupervisorMachineContext) SetBaseMachineContext(base *context.BaseMachineContext)
func (*SupervisorMachineContext) String ¶
func (c *SupervisorMachineContext) String() string
String returns VSphereMachineGroupVersionKind VSphereMachineNamespace/VSphereMachineName.
Click to show internal directories.
Click to hide internal directories.