Documentation ¶
Index ¶
- type ClientProtectedEntity
- func (this ClientProtectedEntity) DeleteSnapshot(ctx context.Context, snapshotToDelete astrolabe.ProtectedEntitySnapshotID, ...) (bool, error)
- func (this ClientProtectedEntity) GetCombinedInfo(ctx context.Context) ([]astrolabe.ProtectedEntityInfo, error)
- func (this ClientProtectedEntity) GetComponents(ctx context.Context) ([]astrolabe.ProtectedEntity, error)
- func (this ClientProtectedEntity) GetDataReader(ctx context.Context) (io.ReadCloser, error)
- func (this ClientProtectedEntity) GetID() astrolabe.ProtectedEntityID
- func (this ClientProtectedEntity) GetInfo(ctx context.Context) (astrolabe.ProtectedEntityInfo, error)
- func (this ClientProtectedEntity) GetInfoForSnapshot(ctx context.Context, snapshotID astrolabe.ProtectedEntitySnapshotID) (*astrolabe.ProtectedEntityInfo, error)
- func (this ClientProtectedEntity) GetMetadataReader(ctx context.Context) (io.ReadCloser, error)
- func (this ClientProtectedEntity) ListSnapshots(ctx context.Context) ([]astrolabe.ProtectedEntitySnapshotID, error)
- func (this ClientProtectedEntity) Overwrite(ctx context.Context, sourcePE astrolabe.ProtectedEntity, ...) error
- func (this ClientProtectedEntity) Snapshot(ctx context.Context, snapshotParams map[string]map[string]interface{}) (astrolabe.ProtectedEntitySnapshotID, error)
- type ClientProtectedEntityManager
- func (this *ClientProtectedEntityManager) GetProtectedEntity(ctx context.Context, id astrolabe.ProtectedEntityID) (astrolabe.ProtectedEntity, error)
- func (this *ClientProtectedEntityManager) GetProtectedEntityTypeManager(peType string) astrolabe.ProtectedEntityTypeManager
- func (this *ClientProtectedEntityManager) ListEntityTypeManagers() []astrolabe.ProtectedEntityTypeManager
- type ClientProtectedEntityTypeManager
- func (this ClientProtectedEntityTypeManager) Copy(ctx context.Context, pe astrolabe.ProtectedEntity, ...) (astrolabe.ProtectedEntity, error)
- func (this ClientProtectedEntityTypeManager) CopyFromInfo(ctx context.Context, info astrolabe.ProtectedEntityInfo, ...) (astrolabe.ProtectedEntity, error)
- func (this ClientProtectedEntityTypeManager) Delete(ctx context.Context, id astrolabe.ProtectedEntityID) error
- func (this ClientProtectedEntityTypeManager) GetProtectedEntities(ctx context.Context) ([]astrolabe.ProtectedEntityID, error)
- func (this ClientProtectedEntityTypeManager) GetProtectedEntity(ctx context.Context, id astrolabe.ProtectedEntityID) (astrolabe.ProtectedEntity, error)
- func (this ClientProtectedEntityTypeManager) GetTypeName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientProtectedEntity ¶
type ClientProtectedEntity struct {
// contains filtered or unexported fields
}
func NewClientProtectedEntity ¶
func NewClientProtectedEntity(id astrolabe.ProtectedEntityID, petm *ClientProtectedEntityTypeManager) ClientProtectedEntity
func (ClientProtectedEntity) DeleteSnapshot ¶
func (this ClientProtectedEntity) DeleteSnapshot(ctx context.Context, snapshotToDelete astrolabe.ProtectedEntitySnapshotID, params map[string]map[string]interface{}) (bool, error)
func (ClientProtectedEntity) GetCombinedInfo ¶
func (this ClientProtectedEntity) GetCombinedInfo(ctx context.Context) ([]astrolabe.ProtectedEntityInfo, error)
func (ClientProtectedEntity) GetComponents ¶
func (this ClientProtectedEntity) GetComponents(ctx context.Context) ([]astrolabe.ProtectedEntity, error)
func (ClientProtectedEntity) GetDataReader ¶
func (this ClientProtectedEntity) GetDataReader(ctx context.Context) (io.ReadCloser, error)
func (ClientProtectedEntity) GetID ¶
func (this ClientProtectedEntity) GetID() astrolabe.ProtectedEntityID
func (ClientProtectedEntity) GetInfo ¶
func (this ClientProtectedEntity) GetInfo(ctx context.Context) (astrolabe.ProtectedEntityInfo, error)
func (ClientProtectedEntity) GetInfoForSnapshot ¶
func (this ClientProtectedEntity) GetInfoForSnapshot(ctx context.Context, snapshotID astrolabe.ProtectedEntitySnapshotID) (*astrolabe.ProtectedEntityInfo, error)
func (ClientProtectedEntity) GetMetadataReader ¶
func (this ClientProtectedEntity) GetMetadataReader(ctx context.Context) (io.ReadCloser, error)
func (ClientProtectedEntity) ListSnapshots ¶
func (this ClientProtectedEntity) ListSnapshots(ctx context.Context) ([]astrolabe.ProtectedEntitySnapshotID, error)
func (ClientProtectedEntity) Overwrite ¶
func (this ClientProtectedEntity) Overwrite(ctx context.Context, sourcePE astrolabe.ProtectedEntity, params map[string]map[string]interface{}, overwriteComponents bool) error
func (ClientProtectedEntity) Snapshot ¶
func (this ClientProtectedEntity) Snapshot(ctx context.Context, snapshotParams map[string]map[string]interface{}) (astrolabe.ProtectedEntitySnapshotID, error)
type ClientProtectedEntityManager ¶
type ClientProtectedEntityManager struct {
// contains filtered or unexported fields
}
func NewClientProtectedEntityManager ¶
func NewClientProtectedEntityManager(restClient *client.Astrolabe) (*ClientProtectedEntityManager, error)
func (*ClientProtectedEntityManager) GetProtectedEntity ¶
func (this *ClientProtectedEntityManager) GetProtectedEntity(ctx context.Context, id astrolabe.ProtectedEntityID) (astrolabe.ProtectedEntity, error)
func (*ClientProtectedEntityManager) GetProtectedEntityTypeManager ¶
func (this *ClientProtectedEntityManager) GetProtectedEntityTypeManager(peType string) astrolabe.ProtectedEntityTypeManager
func (*ClientProtectedEntityManager) ListEntityTypeManagers ¶
func (this *ClientProtectedEntityManager) ListEntityTypeManagers() []astrolabe.ProtectedEntityTypeManager
type ClientProtectedEntityTypeManager ¶
type ClientProtectedEntityTypeManager struct {
// contains filtered or unexported fields
}
func NewClientProtectedEntityTypeManager ¶
func NewClientProtectedEntityTypeManager(typeName string, entityManager *ClientProtectedEntityManager) ClientProtectedEntityTypeManager
func (ClientProtectedEntityTypeManager) Copy ¶
func (this ClientProtectedEntityTypeManager) Copy(ctx context.Context, pe astrolabe.ProtectedEntity, params map[string]map[string]interface{}, options astrolabe.CopyCreateOptions) (astrolabe.ProtectedEntity, error)
func (ClientProtectedEntityTypeManager) CopyFromInfo ¶
func (this ClientProtectedEntityTypeManager) CopyFromInfo(ctx context.Context, info astrolabe.ProtectedEntityInfo, params map[string]map[string]interface{}, options astrolabe.CopyCreateOptions) (astrolabe.ProtectedEntity, error)
func (ClientProtectedEntityTypeManager) Delete ¶
func (this ClientProtectedEntityTypeManager) Delete(ctx context.Context, id astrolabe.ProtectedEntityID) error
func (ClientProtectedEntityTypeManager) GetProtectedEntities ¶
func (this ClientProtectedEntityTypeManager) GetProtectedEntities(ctx context.Context) ([]astrolabe.ProtectedEntityID, error)
func (ClientProtectedEntityTypeManager) GetProtectedEntity ¶
func (this ClientProtectedEntityTypeManager) GetProtectedEntity(ctx context.Context, id astrolabe.ProtectedEntityID) (astrolabe.ProtectedEntity, error)
func (ClientProtectedEntityTypeManager) GetTypeName ¶
func (this ClientProtectedEntityTypeManager) GetTypeName() string
Click to show internal directories.
Click to hide internal directories.