Documentation ¶
Index ¶
- Constants
- type CPService
- type RPService
- type VmopMachineService
- func (v *VmopMachineService) FetchVSphereCluster(c client.Client, cluster *clusterv1.Cluster, ...) (context.MachineContext, error)
- func (v *VmopMachineService) FetchVSphereMachine(client client.Client, name types.NamespacedName) (context.MachineContext, error)
- func (v VmopMachineService) GetHostInfo(c context.MachineContext) (string, error)
- func (v *VmopMachineService) ReconcileDelete(c context.MachineContext) error
- func (v *VmopMachineService) ReconcileNormal(c context.MachineContext) (bool, error)
- func (v *VmopMachineService) SyncFailureReason(c context.MachineContext) (bool, error)
Constants ¶
View Source
const ( ControlPlaneVMClusterModuleGroupName = "control-plane-group" ClusterModuleNameAnnotationKey = "vsphere-cluster-module-group" ProviderTagsAnnotationKey = "vsphere-tag" ControlPlaneVMVMAntiAffinityTagValue = "CtrlVmVmAATag" WorkerVMVMAntiAffinityTagValue = "WorkerVmVmAATag" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPService ¶
type CPService struct{}
CPService represents the ability to reconcile a ControlPlaneEndpoint.
func (CPService) ReconcileControlPlaneEndpointService ¶
func (s CPService) ReconcileControlPlaneEndpointService(ctx *vmware.ClusterContext, netProvider services.NetworkProvider) (*clusterv1.APIEndpoint, error)
ReconcileControlPlaneEndpointService manages the lifecycle of a control plane endpoint managed by a vmoperator VirtualMachineService.
type RPService ¶
type RPService struct{}
RPService represents the ability to reconcile a VirtualMachineSetResourcePolicy via vmoperator.
func (RPService) ReconcileResourcePolicy ¶
func (s RPService) ReconcileResourcePolicy(ctx *vmware.ClusterContext) (string, error)
ReconcileResourcePolicy ensures that a VirtualMachineSetResourcePolicy exists for the cluster Returns the name of a policy if it exists, otherwise returns an error.
type VmopMachineService ¶
type VmopMachineService struct {
// contains filtered or unexported fields
}
func (*VmopMachineService) FetchVSphereCluster ¶
func (v *VmopMachineService) FetchVSphereCluster(c client.Client, cluster *clusterv1.Cluster, machineContext context.MachineContext) (context.MachineContext, error)
func (*VmopMachineService) FetchVSphereMachine ¶
func (v *VmopMachineService) FetchVSphereMachine(client client.Client, name types.NamespacedName) (context.MachineContext, error)
func (VmopMachineService) GetHostInfo ¶ added in v1.3.2
func (v VmopMachineService) GetHostInfo(c context.MachineContext) (string, error)
func (*VmopMachineService) ReconcileDelete ¶
func (v *VmopMachineService) ReconcileDelete(c context.MachineContext) error
func (*VmopMachineService) ReconcileNormal ¶
func (v *VmopMachineService) ReconcileNormal(c context.MachineContext) (bool, error)
func (*VmopMachineService) SyncFailureReason ¶
func (v *VmopMachineService) SyncFailureReason(c context.MachineContext) (bool, error)
Click to show internal directories.
Click to hide internal directories.