cluster

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

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 basetypv1.ManagedObjectReference) (string, error)
	DeleteModule(ctx context.Context, moduleID string) error
	DoesModuleExist(ctx context.Context, moduleID string, cluster basetypv1.ManagedObjectReference) (bool, error)

	IsMoRefModuleMember(ctx context.Context, moduleID string, moRef basetypv1.ManagedObjectReference) (bool, error)
	AddMoRefToModule(ctx context.Context, moduleID string, moRef basetypv1.ManagedObjectReference) error
	RemoveMoRefFromModule(ctx context.Context, moduleID string, moRef basetypv1.ManagedObjectReference) error
}

Provider exposes methods to interact with the DataCenter module iCenter API Rethink and merge with ClusterModuleService.

func NewProvider

func NewProvider(restClient *basecltv1.Client) Provider

Jump to

Keyboard shortcuts

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