Documentation ¶
Index ¶
- Constants
- type ParaVirtEntityType
- type ParaVirtProtectedEntity
- func (this ParaVirtProtectedEntity) DeleteSnapshot(ctx context.Context, snapshotToDelete astrolabe.ProtectedEntitySnapshotID, ...) (bool, error)
- func (this ParaVirtProtectedEntity) GetCombinedInfo(ctx context.Context) ([]astrolabe.ProtectedEntityInfo, error)
- func (this ParaVirtProtectedEntity) GetComponents(ctx context.Context) ([]astrolabe.ProtectedEntity, error)
- func (this ParaVirtProtectedEntity) GetDataReader(ctx context.Context) (io.ReadCloser, error)
- func (this ParaVirtProtectedEntity) GetID() astrolabe.ProtectedEntityID
- func (this ParaVirtProtectedEntity) GetInfo(ctx context.Context) (astrolabe.ProtectedEntityInfo, error)
- func (this ParaVirtProtectedEntity) GetInfoForSnapshot(ctx context.Context, snapshotID astrolabe.ProtectedEntitySnapshotID) (*astrolabe.ProtectedEntityInfo, error)
- func (this ParaVirtProtectedEntity) GetMetadataReader(ctx context.Context) (io.ReadCloser, error)
- func (this ParaVirtProtectedEntity) ListSnapshots(ctx context.Context) ([]astrolabe.ProtectedEntitySnapshotID, error)
- func (this ParaVirtProtectedEntity) Overwrite(ctx context.Context, sourcePE astrolabe.ProtectedEntity, ...) error
- func (this ParaVirtProtectedEntity) Snapshot(ctx context.Context, params map[string]map[string]interface{}) (astrolabe.ProtectedEntitySnapshotID, error)
- type ParaVirtProtectedEntityTypeManager
- func (this *ParaVirtProtectedEntityTypeManager) Copy(ctx context.Context, pe astrolabe.ProtectedEntity, ...) (astrolabe.ProtectedEntity, error)
- func (this *ParaVirtProtectedEntityTypeManager) CopyFromInfo(ctx context.Context, info astrolabe.ProtectedEntityInfo, ...) (astrolabe.ProtectedEntity, error)
- func (this *ParaVirtProtectedEntityTypeManager) CreateFromMetadata(ctx context.Context, metadata []byte, ...) (astrolabe.ProtectedEntity, error)
- func (this *ParaVirtProtectedEntityTypeManager) GetProtectedEntities(ctx context.Context) ([]astrolabe.ProtectedEntityID, error)
- func (this *ParaVirtProtectedEntityTypeManager) GetProtectedEntity(ctx context.Context, id astrolabe.ProtectedEntityID) (astrolabe.ProtectedEntity, error)
- func (this *ParaVirtProtectedEntityTypeManager) GetTypeName() string
Constants ¶
View Source
const ( ParaVirtPETypePrefix = "paravirt" ParaVirtPETypeSep = "-" )
View Source
const (
CSIDriverName = "csi.vsphere.vmware.com"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParaVirtEntityType ¶
type ParaVirtEntityType string
const ( ParaVirtEntityTypePersistentVolume ParaVirtEntityType = "pv" ParaVirtEntityTypeVirtualMachine ParaVirtEntityType = "vm" ParaVirtEntityTypePersistentService ParaVirtEntityType = "ps" )
type ParaVirtProtectedEntity ¶
type ParaVirtProtectedEntity struct {
// contains filtered or unexported fields
}
func (ParaVirtProtectedEntity) DeleteSnapshot ¶
func (this ParaVirtProtectedEntity) DeleteSnapshot( ctx context.Context, snapshotToDelete astrolabe.ProtectedEntitySnapshotID, params map[string]map[string]interface{}) (bool, error)
func (ParaVirtProtectedEntity) GetCombinedInfo ¶
func (this ParaVirtProtectedEntity) GetCombinedInfo(ctx context.Context) ([]astrolabe.ProtectedEntityInfo, error)
func (ParaVirtProtectedEntity) GetComponents ¶
func (this ParaVirtProtectedEntity) GetComponents(ctx context.Context) ([]astrolabe.ProtectedEntity, error)
func (ParaVirtProtectedEntity) GetDataReader ¶
func (this ParaVirtProtectedEntity) GetDataReader(ctx context.Context) (io.ReadCloser, error)
func (ParaVirtProtectedEntity) GetID ¶
func (this ParaVirtProtectedEntity) GetID() astrolabe.ProtectedEntityID
func (ParaVirtProtectedEntity) GetInfo ¶
func (this ParaVirtProtectedEntity) GetInfo(ctx context.Context) (astrolabe.ProtectedEntityInfo, error)
func (ParaVirtProtectedEntity) GetInfoForSnapshot ¶
func (this ParaVirtProtectedEntity) GetInfoForSnapshot(ctx context.Context, snapshotID astrolabe.ProtectedEntitySnapshotID) (*astrolabe.ProtectedEntityInfo, error)
func (ParaVirtProtectedEntity) GetMetadataReader ¶
func (this ParaVirtProtectedEntity) GetMetadataReader(ctx context.Context) (io.ReadCloser, error)
func (ParaVirtProtectedEntity) ListSnapshots ¶
func (this ParaVirtProtectedEntity) ListSnapshots(ctx context.Context) ([]astrolabe.ProtectedEntitySnapshotID, error)
func (ParaVirtProtectedEntity) Overwrite ¶
func (this ParaVirtProtectedEntity) Overwrite(ctx context.Context, sourcePE astrolabe.ProtectedEntity, params map[string]map[string]interface{}, overwriteComponents bool) error
func (ParaVirtProtectedEntity) Snapshot ¶
func (this ParaVirtProtectedEntity) Snapshot(ctx context.Context, params map[string]map[string]interface{}) (astrolabe.ProtectedEntitySnapshotID, error)
type ParaVirtProtectedEntityTypeManager ¶
type ParaVirtProtectedEntityTypeManager struct {
// contains filtered or unexported fields
}
func NewParaVirtProtectedEntityTypeManagerFromConfig ¶
func NewParaVirtProtectedEntityTypeManagerFromConfig(params map[string]interface{}, s3Config astrolabe.S3Config, logger logrus.FieldLogger) (*ParaVirtProtectedEntityTypeManager, error)
func (*ParaVirtProtectedEntityTypeManager) Copy ¶
func (this *ParaVirtProtectedEntityTypeManager) Copy(ctx context.Context, pe astrolabe.ProtectedEntity, params map[string]map[string]interface{}, options astrolabe.CopyCreateOptions) (astrolabe.ProtectedEntity, error)
func (*ParaVirtProtectedEntityTypeManager) CopyFromInfo ¶
func (this *ParaVirtProtectedEntityTypeManager) CopyFromInfo(ctx context.Context, info astrolabe.ProtectedEntityInfo, params map[string]map[string]interface{}, options astrolabe.CopyCreateOptions) (astrolabe.ProtectedEntity, error)
func (*ParaVirtProtectedEntityTypeManager) CreateFromMetadata ¶
func (this *ParaVirtProtectedEntityTypeManager) CreateFromMetadata(ctx context.Context, metadata []byte, sourceSnapshotID astrolabe.ProtectedEntityID, componentSourcePETM astrolabe.ProtectedEntityTypeManager, cloneFromSnapshotNamespace string, cloneFromSnapshotName string, backupRepositoryName string) (astrolabe.ProtectedEntity, error)
CreateFromMetadata creates CloneFromSnapshot CR in the Supervisor Cluster
func (*ParaVirtProtectedEntityTypeManager) GetProtectedEntities ¶
func (this *ParaVirtProtectedEntityTypeManager) GetProtectedEntities(ctx context.Context) ([]astrolabe.ProtectedEntityID, error)
func (*ParaVirtProtectedEntityTypeManager) GetProtectedEntity ¶
func (this *ParaVirtProtectedEntityTypeManager) GetProtectedEntity(ctx context.Context, id astrolabe.ProtectedEntityID) (astrolabe.ProtectedEntity, error)
func (*ParaVirtProtectedEntityTypeManager) GetTypeName ¶
func (this *ParaVirtProtectedEntityTypeManager) GetTypeName() string
Click to show internal directories.
Click to hide internal directories.