Documentation ¶
Index ¶
- func NewIDFromString(idStr string) vim.ID
- func NewVimIDFromPEID(peid astrolabe.ProtectedEntityID) vim.ID
- type FSProtectedEntity
- func (this FSProtectedEntity) DeleteSnapshot(ctx context.Context, snapshotToDelete astrolabe.ProtectedEntitySnapshotID) (bool, error)
- func (this FSProtectedEntity) GetCombinedInfo(ctx context.Context) ([]astrolabe.ProtectedEntityInfo, error)
- func (this FSProtectedEntity) GetComponents(ctx context.Context) ([]astrolabe.ProtectedEntity, error)
- func (this FSProtectedEntity) GetDataReader(context.Context) (io.ReadCloser, error)
- func (this FSProtectedEntity) GetID() astrolabe.ProtectedEntityID
- func (this FSProtectedEntity) GetInfo(ctx context.Context) (astrolabe.ProtectedEntityInfo, error)
- func (this FSProtectedEntity) GetInfoForSnapshot(ctx context.Context, snapshotID astrolabe.ProtectedEntitySnapshotID) (*astrolabe.ProtectedEntityInfo, error)
- func (this FSProtectedEntity) GetMetadataReader(context.Context) (io.Reader, error)
- func (this FSProtectedEntity) ListSnapshots(ctx context.Context) ([]astrolabe.ProtectedEntitySnapshotID, error)
- func (this FSProtectedEntity) Snapshot(ctx context.Context) (astrolabe.ProtectedEntitySnapshotID, error)
- type FSProtectedEntityTypeManager
- func (this *FSProtectedEntityTypeManager) Copy(ctx context.Context, pe astrolabe.ProtectedEntity, ...) (astrolabe.ProtectedEntity, error)
- func (this *FSProtectedEntityTypeManager) CopyFromInfo(ctx context.Context, pe astrolabe.ProtectedEntityInfo, ...) (astrolabe.ProtectedEntity, error)
- func (this *FSProtectedEntityTypeManager) GetProtectedEntities(ctx context.Context) ([]astrolabe.ProtectedEntityID, error)
- func (this *FSProtectedEntityTypeManager) GetProtectedEntity(ctx context.Context, id astrolabe.ProtectedEntityID) (astrolabe.ProtectedEntity, error)
- func (this *FSProtectedEntityTypeManager) GetTypeName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIDFromString ¶
func NewVimIDFromPEID ¶
func NewVimIDFromPEID(peid astrolabe.ProtectedEntityID) vim.ID
Types ¶
type FSProtectedEntity ¶
type FSProtectedEntity struct {
// contains filtered or unexported fields
}
func (FSProtectedEntity) DeleteSnapshot ¶
func (this FSProtectedEntity) DeleteSnapshot(ctx context.Context, snapshotToDelete astrolabe.ProtectedEntitySnapshotID) (bool, error)
func (FSProtectedEntity) GetCombinedInfo ¶
func (this FSProtectedEntity) GetCombinedInfo(ctx context.Context) ([]astrolabe.ProtectedEntityInfo, error)
func (FSProtectedEntity) GetComponents ¶
func (this FSProtectedEntity) GetComponents(ctx context.Context) ([]astrolabe.ProtectedEntity, error)
func (FSProtectedEntity) GetDataReader ¶
func (this FSProtectedEntity) GetDataReader(context.Context) (io.ReadCloser, error)
func (FSProtectedEntity) GetID ¶
func (this FSProtectedEntity) GetID() astrolabe.ProtectedEntityID
func (FSProtectedEntity) GetInfo ¶
func (this FSProtectedEntity) GetInfo(ctx context.Context) (astrolabe.ProtectedEntityInfo, error)
func (FSProtectedEntity) GetInfoForSnapshot ¶
func (this FSProtectedEntity) GetInfoForSnapshot(ctx context.Context, snapshotID astrolabe.ProtectedEntitySnapshotID) (*astrolabe.ProtectedEntityInfo, error)
func (FSProtectedEntity) GetMetadataReader ¶
func (FSProtectedEntity) ListSnapshots ¶
func (this FSProtectedEntity) ListSnapshots(ctx context.Context) ([]astrolabe.ProtectedEntitySnapshotID, error)
func (FSProtectedEntity) Snapshot ¶
func (this FSProtectedEntity) Snapshot(ctx context.Context) (astrolabe.ProtectedEntitySnapshotID, error)
* Snapshot APIs
type FSProtectedEntityTypeManager ¶
type FSProtectedEntityTypeManager struct {
// contains filtered or unexported fields
}
func NewFSProtectedEntityTypeManagerFromConfig ¶
func NewFSProtectedEntityTypeManagerFromConfig(params map[string]interface{}, s3URLBase string, logger logrus.FieldLogger) (*FSProtectedEntityTypeManager, error)
func (*FSProtectedEntityTypeManager) Copy ¶
func (this *FSProtectedEntityTypeManager) Copy(ctx context.Context, pe astrolabe.ProtectedEntity, options astrolabe.CopyCreateOptions) (astrolabe.ProtectedEntity, error)
func (*FSProtectedEntityTypeManager) CopyFromInfo ¶
func (this *FSProtectedEntityTypeManager) CopyFromInfo(ctx context.Context, pe astrolabe.ProtectedEntityInfo, options astrolabe.CopyCreateOptions) (astrolabe.ProtectedEntity, error)
func (*FSProtectedEntityTypeManager) GetProtectedEntities ¶
func (this *FSProtectedEntityTypeManager) GetProtectedEntities(ctx context.Context) ([]astrolabe.ProtectedEntityID, error)
func (*FSProtectedEntityTypeManager) GetProtectedEntity ¶
func (this *FSProtectedEntityTypeManager) GetProtectedEntity(ctx context.Context, id astrolabe.ProtectedEntityID) ( astrolabe.ProtectedEntity, error)
func (*FSProtectedEntityTypeManager) GetTypeName ¶
func (this *FSProtectedEntityTypeManager) GetTypeName() string
Click to show internal directories.
Click to hide internal directories.