Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RestoreManager ¶
type RestoreManager struct { StatusUpdater controller.RestoreConditionUpdaterInterface RestoreOpts // contains filtered or unexported fields }
RestoreManager mainly used to manage backup related work
func NewRestoreManager ¶
func NewRestoreManager( restoreLister listers.RestoreLister, statusUpdater controller.RestoreConditionUpdaterInterface, backupOpts RestoreOpts) *RestoreManager
NewRestoreManager return a RestoreManager
func (*RestoreManager) ProcessRestore ¶
func (rm *RestoreManager) ProcessRestore() error
ProcessRestore used to process the restore logic
type RestoreOpts ¶
type RestoreOpts struct { Namespace string TcName string Password string TidbSvc string User string RestoreName string BackupPath string BackupName string }
RestoreOpts contains the input arguments to the restore command
func (*RestoreOpts) String ¶
func (ro *RestoreOpts) String() string
Click to show internal directories.
Click to hide internal directories.