Documentation ¶
Overview ¶
Package clustermodules contains tools for handling Cluster Modules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { CreateModule(ctx context.Context, clusterRef types.ManagedObjectReference) (string, error) DeleteModule(ctx context.Context, moduleID string) error DoesModuleExist(ctx context.Context, moduleID string) (bool, error) IsMoRefModuleMember(ctx context.Context, moduleID string, moRef types.ManagedObjectReference) (bool, error) AddMoRefToModule(ctx context.Context, moduleID string, moRef types.ManagedObjectReference) error RemoveMoRefFromModule(ctx context.Context, moduleID string, moRef types.ManagedObjectReference) error }
Provider exposes methods to interact with the cluster module vCenter API TODO (srm09): Rethink and merge with ClusterModuleService.
func NewProvider ¶
NewProvider returns a new Cluster Module provider.
Click to show internal directories.
Click to hide internal directories.