Documentation ¶
Index ¶
- func CreateCnsVolumeInCluster(ctx context.Context, vcConfig *vsphere.VirtualCenterConfig, ...) (vim25types.ID, error)
- func FilterLabelsFromMetadataForCnsAPIs(md metadata, prefix string, logger logrus.FieldLogger) metadata
- func FilterLabelsFromMetadataForVslmAPIs(md metadata, vcConfig *vsphere.VirtualCenterConfig, logger logrus.FieldLogger) (metadata, error)
- func NewIDFromString(idStr string) vim.ID
- func NewIVDProtectedEntityTypeManager(params map[string]interface{}, s3Config astrolabe.S3Config, ...) (astrolabe.ProtectedEntityTypeManager, error)
- func NewVimIDFromPEID(peid astrolabe.ProtectedEntityID) vim.ID
- func NewVimSnapshotIDFromPEID(peid astrolabe.ProtectedEntityID) vim.ID
- func NewVimSnapshotIDFromPESnapshotID(peSnapshotID astrolabe.ProtectedEntitySnapshotID) vim.ID
- type IVDProtectedEntity
- func (this IVDProtectedEntity) DeleteSnapshot(ctx context.Context, snapshotToDelete astrolabe.ProtectedEntitySnapshotID, ...) (bool, error)
- func (this IVDProtectedEntity) GetCombinedInfo(ctx context.Context) ([]astrolabe.ProtectedEntityInfo, error)
- func (this IVDProtectedEntity) GetComponents(ctx context.Context) ([]astrolabe.ProtectedEntity, error)
- func (this IVDProtectedEntity) GetDataReader(ctx context.Context) (io.ReadCloser, error)
- func (this IVDProtectedEntity) GetID() astrolabe.ProtectedEntityID
- func (this IVDProtectedEntity) GetInfo(ctx context.Context) (astrolabe.ProtectedEntityInfo, error)
- func (this IVDProtectedEntity) GetInfoForSnapshot(ctx context.Context, snapshotID astrolabe.ProtectedEntitySnapshotID) (*astrolabe.ProtectedEntityInfo, error)
- func (this IVDProtectedEntity) GetMetadataReader(ctx context.Context) (io.ReadCloser, error)
- func (this IVDProtectedEntity) ListSnapshots(ctx context.Context) ([]astrolabe.ProtectedEntitySnapshotID, error)
- func (this IVDProtectedEntity) Overwrite(ctx context.Context, sourcePE astrolabe.ProtectedEntity, ...) error
- func (this IVDProtectedEntity) Snapshot(ctx context.Context, params map[string]map[string]interface{}) (astrolabe.ProtectedEntitySnapshotID, error)
- type IVDProtectedEntityTypeManager
- func (this *IVDProtectedEntityTypeManager) CheckVcenterConnections(ctx context.Context) error
- func (this *IVDProtectedEntityTypeManager) Copy(ctx context.Context, sourcePE astrolabe.ProtectedEntity, ...) (astrolabe.ProtectedEntity, error)
- func (this *IVDProtectedEntityTypeManager) CopyFromInfo(ctx context.Context, peInfo astrolabe.ProtectedEntityInfo, ...) (astrolabe.ProtectedEntity, error)
- func (this *IVDProtectedEntityTypeManager) GetProtectedEntities(ctx context.Context) ([]astrolabe.ProtectedEntityID, error)
- func (this *IVDProtectedEntityTypeManager) GetProtectedEntity(ctx context.Context, id astrolabe.ProtectedEntityID) (astrolabe.ProtectedEntity, error)
- func (this *IVDProtectedEntityTypeManager) GetTypeName() string
- func (this *IVDProtectedEntityTypeManager) ReloadConfig(ctx context.Context, params map[string]interface{}) error
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 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 (this IVDProtectedEntity) GetID() astrolabe.ProtectedEntityID
func (IVDProtectedEntity) GetInfo ¶
func (this IVDProtectedEntity) GetInfo(ctx context.Context) (astrolabe.ProtectedEntityInfo, error)
func (IVDProtectedEntity) GetInfoForSnapshot ¶
func (this IVDProtectedEntity) GetInfoForSnapshot(ctx context.Context, snapshotID astrolabe.ProtectedEntitySnapshotID) (*astrolabe.ProtectedEntityInfo, error)
func (IVDProtectedEntity) GetMetadataReader ¶
func (this IVDProtectedEntity) GetMetadataReader(ctx context.Context) (io.ReadCloser, error)
func (IVDProtectedEntity) ListSnapshots ¶
func (this IVDProtectedEntity) ListSnapshots(ctx context.Context) ([]astrolabe.ProtectedEntitySnapshotID, error)
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 (this *IVDProtectedEntityTypeManager) Copy(ctx context.Context, sourcePE astrolabe.ProtectedEntity, params map[string]map[string]interface{}, options astrolabe.CopyCreateOptions) (astrolabe.ProtectedEntity, error)
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 (this *IVDProtectedEntityTypeManager) GetProtectedEntity(ctx context.Context, id astrolabe.ProtectedEntityID) (astrolabe.ProtectedEntity, error)
func (*IVDProtectedEntityTypeManager) GetTypeName ¶
func (this *IVDProtectedEntityTypeManager) GetTypeName() string
func (*IVDProtectedEntityTypeManager) ReloadConfig ¶
func (this *IVDProtectedEntityTypeManager) ReloadConfig(ctx context.Context, params map[string]interface{}) error
Click to show internal directories.
Click to hide internal directories.