Documentation ¶
Index ¶
- func GetRealSource(sourceNamespace string, pvcName string) string
- func GetUploaderType(dataMover string) string
- func IsBuiltInUploader(dataMover string) bool
- type BackupMicroService
- func (r *BackupMicroService) Init() error
- func (r *BackupMicroService) OnDataUploadCancelled(ctx context.Context, namespace string, duName string)
- func (r *BackupMicroService) OnDataUploadCompleted(ctx context.Context, namespace string, duName string, result datapath.Result)
- func (r *BackupMicroService) OnDataUploadFailed(ctx context.Context, namespace string, duName string, err error)
- func (r *BackupMicroService) OnDataUploadProgress(ctx context.Context, namespace string, duName string, ...)
- func (r *BackupMicroService) RunCancelableDataPath(ctx context.Context) (string, error)
- func (r *BackupMicroService) Shutdown()
- type DataUploadDeleteAction
- type RestoreMicroService
- func (r *RestoreMicroService) Init() error
- func (r *RestoreMicroService) OnDataDownloadCancelled(ctx context.Context, namespace string, ddName string)
- func (r *RestoreMicroService) OnDataDownloadCompleted(ctx context.Context, namespace string, ddName string, result datapath.Result)
- func (r *RestoreMicroService) OnDataDownloadFailed(ctx context.Context, namespace string, ddName string, err error)
- func (r *RestoreMicroService) OnDataDownloadProgress(ctx context.Context, namespace string, ddName string, ...)
- func (r *RestoreMicroService) RunCancelableDataPath(ctx context.Context) (string, error)
- func (r *RestoreMicroService) Shutdown()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRealSource ¶ added in v1.14.0
func GetUploaderType ¶
func IsBuiltInUploader ¶
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 (*BackupMicroService) OnDataUploadFailed ¶ added in v1.15.0
func (*BackupMicroService) OnDataUploadProgress ¶ added in v1.15.0
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 (d *DataUploadDeleteAction) AppliesTo() (velero.ResourceSelector, error)
func (*DataUploadDeleteAction) Execute ¶
func (d *DataUploadDeleteAction) Execute(input *velero.DeleteItemActionExecuteInput) error
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 (*RestoreMicroService) OnDataDownloadFailed ¶ added in v1.15.0
func (*RestoreMicroService) OnDataDownloadProgress ¶ added in v1.15.0
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()
Click to show internal directories.
Click to hide internal directories.