_import

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	backupUtil.GenericOptions
	BackupPath string
}

Options contains the input arguments to the restore command

type RestoreManager

type RestoreManager struct {
	StatusUpdater controller.RestoreConditionUpdaterInterface
	Options
	// contains filtered or unexported fields
}

RestoreManager mainly used to manage restore related work

func NewRestoreManager

func NewRestoreManager(
	restoreLister listers.RestoreLister,
	statusUpdater controller.RestoreConditionUpdaterInterface,
	restoreOpts Options) *RestoreManager

NewRestoreManager return a RestoreManager

func (*RestoreManager) ProcessRestore

func (rm *RestoreManager) ProcessRestore() error

ProcessRestore used to process the restore logic

Jump to

Keyboard shortcuts

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