datamover

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRealSource added in v1.14.0

func GetRealSource(sourceNamespace string, pvcName string) string

func GetUploaderType

func GetUploaderType(dataMover string) string

func IsBuiltInUploader

func IsBuiltInUploader(dataMover string) bool

Types

type BackupMicroService added in v1.15.0

type BackupMicroService struct {
	// contains filtered or unexported fields
}

BackupMicroService process data mover backups inside the backup pod

func NewBackupMicroService added in v1.15.0

func NewBackupMicroService(ctx context.Context, client client.Client, kubeClient kubernetes.Interface, dataUploadName string, namespace string, nodeName string,
	sourceTargetPath datapath.AccessPoint, dataPathMgr *datapath.Manager, repoEnsurer *repository.Ensurer, cred *credentials.CredentialGetter,
	duInformer cache.Informer, log logrus.FieldLogger) *BackupMicroService

func (*BackupMicroService) Init added in v1.15.0

func (r *BackupMicroService) Init() error

func (*BackupMicroService) OnDataUploadCancelled added in v1.15.0

func (r *BackupMicroService) OnDataUploadCancelled(ctx context.Context, namespace string, duName string)

func (*BackupMicroService) OnDataUploadCompleted added in v1.15.0

func (r *BackupMicroService) OnDataUploadCompleted(ctx context.Context, namespace string, duName string, result datapath.Result)

func (*BackupMicroService) OnDataUploadFailed added in v1.15.0

func (r *BackupMicroService) OnDataUploadFailed(ctx context.Context, namespace string, duName string, err error)

func (*BackupMicroService) OnDataUploadProgress added in v1.15.0

func (r *BackupMicroService) OnDataUploadProgress(ctx context.Context, namespace string, duName string, progress *uploader.Progress)

func (*BackupMicroService) RunCancelableDataPath added in v1.15.0

func (r *BackupMicroService) RunCancelableDataPath(ctx context.Context) (string, error)

func (*BackupMicroService) Shutdown added in v1.15.0

func (r *BackupMicroService) Shutdown()

type DataUploadDeleteAction

type DataUploadDeleteAction struct {
	// contains filtered or unexported fields
}

func NewDataUploadDeleteAction

func NewDataUploadDeleteAction(logger logrus.FieldLogger, client client.Client) *DataUploadDeleteAction

func (*DataUploadDeleteAction) AppliesTo

func (*DataUploadDeleteAction) Execute

type RestoreMicroService added in v1.15.0

type RestoreMicroService struct {
	// contains filtered or unexported fields
}

RestoreMicroService process data mover restores inside the restore pod

func NewRestoreMicroService added in v1.15.0

func NewRestoreMicroService(ctx context.Context, client client.Client, kubeClient kubernetes.Interface, dataDownloadName string, namespace string, nodeName string,
	sourceTargetPath datapath.AccessPoint, dataPathMgr *datapath.Manager, repoEnsurer *repository.Ensurer, cred *credentials.CredentialGetter,
	ddInformer cache.Informer, log logrus.FieldLogger) *RestoreMicroService

func (*RestoreMicroService) Init added in v1.15.0

func (r *RestoreMicroService) Init() error

func (*RestoreMicroService) OnDataDownloadCancelled added in v1.15.0

func (r *RestoreMicroService) OnDataDownloadCancelled(ctx context.Context, namespace string, ddName string)

func (*RestoreMicroService) OnDataDownloadCompleted added in v1.15.0

func (r *RestoreMicroService) OnDataDownloadCompleted(ctx context.Context, namespace string, ddName string, result datapath.Result)

func (*RestoreMicroService) OnDataDownloadFailed added in v1.15.0

func (r *RestoreMicroService) OnDataDownloadFailed(ctx context.Context, namespace string, ddName string, err error)

func (*RestoreMicroService) OnDataDownloadProgress added in v1.15.0

func (r *RestoreMicroService) OnDataDownloadProgress(ctx context.Context, namespace string, ddName string, progress *uploader.Progress)

func (*RestoreMicroService) RunCancelableDataPath added in v1.15.0

func (r *RestoreMicroService) RunCancelableDataPath(ctx context.Context) (string, error)

func (*RestoreMicroService) Shutdown added in v1.15.0

func (r *RestoreMicroService) Shutdown()

Jump to

Keyboard shortcuts

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