vmoperator

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

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 (*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)

Jump to

Keyboard shortcuts

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