paravirt

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

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 (ParaVirtProtectedEntity) GetComponents

func (ParaVirtProtectedEntity) GetDataReader

func (this ParaVirtProtectedEntity) GetDataReader(ctx context.Context) (io.ReadCloser, error)

func (ParaVirtProtectedEntity) GetID

func (ParaVirtProtectedEntity) GetInfo

func (ParaVirtProtectedEntity) GetInfoForSnapshot

func (ParaVirtProtectedEntity) GetMetadataReader

func (this ParaVirtProtectedEntity) GetMetadataReader(ctx context.Context) (io.ReadCloser, error)

func (ParaVirtProtectedEntity) ListSnapshots

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 (*ParaVirtProtectedEntityTypeManager) CopyFromInfo

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 (*ParaVirtProtectedEntityTypeManager) GetProtectedEntity

func (*ParaVirtProtectedEntityTypeManager) GetTypeName

func (this *ParaVirtProtectedEntityTypeManager) GetTypeName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL