Documentation ¶
Index ¶
- func NewIDFromString(idStr string) vim.ID
- 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.Reader, error)
- func (this IVDProtectedEntity) ListSnapshots(ctx context.Context) ([]astrolabe.ProtectedEntitySnapshotID, error)
- func (this IVDProtectedEntity) Snapshot(ctx context.Context) (astrolabe.ProtectedEntitySnapshotID, error)
- type IVDProtectedEntityTypeManager
- func NewIVDProtectedEntityTypeManagerFromConfig(params map[string]interface{}, s3URLBase string, logger logrus.FieldLogger) (*IVDProtectedEntityTypeManager, error)
- func NewIVDProtectedEntityTypeManagerFromURL(url *url.URL, s3URLBase string, insecure bool, logger logrus.FieldLogger) (*IVDProtectedEntityTypeManager, 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIDFromString ¶
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) (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 (IVDProtectedEntity) ListSnapshots ¶
func (this IVDProtectedEntity) ListSnapshots(ctx context.Context) ([]astrolabe.ProtectedEntitySnapshotID, error)
func (IVDProtectedEntity) Snapshot ¶
func (this IVDProtectedEntity) Snapshot(ctx context.Context) (astrolabe.ProtectedEntitySnapshotID, error)
* Snapshot APIs
type IVDProtectedEntityTypeManager ¶
type IVDProtectedEntityTypeManager struct {
// contains filtered or unexported fields
}
func NewIVDProtectedEntityTypeManagerFromConfig ¶
func NewIVDProtectedEntityTypeManagerFromConfig(params map[string]interface{}, s3URLBase string, logger logrus.FieldLogger) (*IVDProtectedEntityTypeManager, error)
func NewIVDProtectedEntityTypeManagerFromURL ¶
func NewIVDProtectedEntityTypeManagerFromURL(url *url.URL, s3URLBase string, insecure bool, logger logrus.FieldLogger) (*IVDProtectedEntityTypeManager, error)
func (*IVDProtectedEntityTypeManager) Copy ¶
func (this *IVDProtectedEntityTypeManager) Copy(ctx context.Context, sourcePE astrolabe.ProtectedEntity, options astrolabe.CopyCreateOptions) (astrolabe.ProtectedEntity, error)
func (*IVDProtectedEntityTypeManager) CopyFromInfo ¶
func (this *IVDProtectedEntityTypeManager) CopyFromInfo(ctx context.Context, peInfo astrolabe.ProtectedEntityInfo, 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
Click to show internal directories.
Click to hide internal directories.