restore

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	StatusUpdater  controller.RestoreConditionUpdaterInterface
	RestoreControl controller.RestoreControlInterface
	Options
	// contains filtered or unexported fields
}

func NewManager

func NewManager(
	restoreLister listers.RestoreLister,
	statusUpdater controller.RestoreConditionUpdaterInterface,
	restoreControl controller.RestoreControlInterface,
	restoreOpts Options) *Manager

NewManager return a RestoreManager

func (*Manager) ProcessRestore

func (rm *Manager) ProcessRestore() error

ProcessRestore used to process the restore logic

type Options

type Options struct {
	backupUtil.GenericOptions
	// Prepare to restore data. It's used in volume-snapshot mode.
	Prepare bool
	// TargetAZ indicates which az the volume snapshots restore to. It's used in volume-snapshot mode.
	TargetAZ string
	// UseFSR to indicate if use FSR for TiKV data volumes during EBS snapshot restore
	UseFSR bool
}

Jump to

Keyboard shortcuts

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