ivd

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCnsVolumeInCluster

func CreateCnsVolumeInCluster(ctx context.Context, vcConfig *vsphere.VirtualCenterConfig, client *govmomi.Client, cnsManager *vsphere.CnsManager, md metadata, logger logrus.FieldLogger) (vim25types.ID, error)

func FilterLabelsFromMetadataForCnsAPIs

func FilterLabelsFromMetadataForCnsAPIs(md metadata, prefix string, logger logrus.FieldLogger) metadata

func FilterLabelsFromMetadataForVslmAPIs

func FilterLabelsFromMetadataForVslmAPIs(md metadata, vcConfig *vsphere.VirtualCenterConfig, logger logrus.FieldLogger) (metadata, error)

func NewIDFromString

func NewIDFromString(idStr string) vim.ID

func NewIVDProtectedEntityTypeManager

func NewIVDProtectedEntityTypeManager(params map[string]interface{},
	s3Config astrolabe.S3Config,
	logger logrus.FieldLogger) (astrolabe.ProtectedEntityTypeManager, error)

func NewVimIDFromPEID

func NewVimIDFromPEID(peid astrolabe.ProtectedEntityID) vim.ID

func NewVimSnapshotIDFromPEID

func NewVimSnapshotIDFromPEID(peid astrolabe.ProtectedEntityID) vim.ID

func NewVimSnapshotIDFromPESnapshotID

func NewVimSnapshotIDFromPESnapshotID(peSnapshotID astrolabe.ProtectedEntitySnapshotID) vim.ID

Types

type IVDProtectedEntity

type IVDProtectedEntity struct {
	// contains filtered or unexported fields
}

func (IVDProtectedEntity) DeleteSnapshot

func (this IVDProtectedEntity) DeleteSnapshot(ctx context.Context, snapshotToDelete astrolabe.ProtectedEntitySnapshotID, params map[string]map[string]interface{}) (bool, error)

func (IVDProtectedEntity) GetCombinedInfo

func (this IVDProtectedEntity) GetCombinedInfo(ctx context.Context) ([]astrolabe.ProtectedEntityInfo, error)

func (IVDProtectedEntity) GetComponents

func (this IVDProtectedEntity) GetComponents(ctx context.Context) ([]astrolabe.ProtectedEntity, error)

func (IVDProtectedEntity) GetDataReader

func (this IVDProtectedEntity) GetDataReader(ctx context.Context) (io.ReadCloser, error)

func (IVDProtectedEntity) GetID

func (IVDProtectedEntity) GetInfo

func (IVDProtectedEntity) GetInfoForSnapshot

func (IVDProtectedEntity) GetMetadataReader

func (this IVDProtectedEntity) GetMetadataReader(ctx context.Context) (io.ReadCloser, error)

func (IVDProtectedEntity) ListSnapshots

func (IVDProtectedEntity) Overwrite

func (this IVDProtectedEntity) Overwrite(ctx context.Context, sourcePE astrolabe.ProtectedEntity, params map[string]map[string]interface{},
	overwriteComponents bool) error

func (IVDProtectedEntity) Snapshot

func (this IVDProtectedEntity) Snapshot(ctx context.Context, params map[string]map[string]interface{}) (astrolabe.ProtectedEntitySnapshotID, error)

* Snapshot APIs

type IVDProtectedEntityTypeManager

type IVDProtectedEntityTypeManager struct {
	// contains filtered or unexported fields
}

func (*IVDProtectedEntityTypeManager) CheckVcenterConnections

func (this *IVDProtectedEntityTypeManager) CheckVcenterConnections(ctx context.Context) error

func (*IVDProtectedEntityTypeManager) Copy

func (*IVDProtectedEntityTypeManager) CopyFromInfo

func (this *IVDProtectedEntityTypeManager) CopyFromInfo(ctx context.Context, peInfo astrolabe.ProtectedEntityInfo,
	params map[string]map[string]interface{}, options astrolabe.CopyCreateOptions) (astrolabe.ProtectedEntity, error)

func (*IVDProtectedEntityTypeManager) GetProtectedEntities

func (this *IVDProtectedEntityTypeManager) GetProtectedEntities(ctx context.Context) ([]astrolabe.ProtectedEntityID, error)

func (*IVDProtectedEntityTypeManager) GetProtectedEntity

func (*IVDProtectedEntityTypeManager) GetTypeName

func (this *IVDProtectedEntityTypeManager) GetTypeName() string

func (*IVDProtectedEntityTypeManager) ReloadConfig

func (this *IVDProtectedEntityTypeManager) ReloadConfig(ctx context.Context, params map[string]interface{}) error

Jump to

Keyboard shortcuts

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