secondary

package
v0.5.14 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2026 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

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

func NewTask

func NewTask(args TaskArgs) (*Task, error)

func (*Task) Execute

func (t *Task) Execute(ctx context.Context) error

type TaskArgs

type TaskArgs struct {
	TaskID string

	SourceClusterID string
	TargetClusterID string

	Backup *backuppb.BackupInfo

	Params *cfg.Config

	BackupDir     string
	BackupStorage storage.Client

	TaskMgr *taskmgr.Mgr
}

Jump to

Keyboard shortcuts

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