Documentation ¶
Overview ¶
Package cluster contains tools for managing ComputeClusters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListHostsFromGroup ¶
func ListHostsFromGroup(ctx context.Context, ccr *object.ClusterComputeResource, hostGroup string) ([]object.Reference, error)
ListHostsFromGroup returns references to hosts for a given hostGroup.
Types ¶
type VMGroup ¶ added in v0.7.10
type VMGroup struct { *object.ClusterComputeResource *types.ClusterVmGroup }
VMGroup represents a VSphere VM Group object.
func FindVMGroup ¶ added in v0.7.10
func FindVMGroup(ctx context.Context, computeClusterCtx computeClusterContext, clusterName, vmGroupName string) (*VMGroup, error)
FindVMGroup returns the VSphereVMGroup object.
Click to show internal directories.
Click to hide internal directories.