client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SysDataFile string
	TableFile   string
	DBName      string
	TableName   string

	OpType string

	// redo info.
	RedoFile string

	// set log info.
	LogPath  string
	LogLevel string
)
View Source
var (
	ProjectName = "db-recovery"
	Major       = 1
	Minor       = 0
	Patch       = 0
	GitSHA      = "Not provided"
	BuildTime   = "Not privided"
)

Functions

func FromDataFile

func FromDataFile(cmd *cobra.Command, args []string)

func FromRedoFile

func FromRedoFile(cmd *cobra.Command, args []string)

func Main

func Main()

func NewFromDataFileCommand

func NewFromDataFileCommand() *cobra.Command

func NewFromRedoFileCommand

func NewFromRedoFileCommand() *cobra.Command

func NewRecoveryCommand

func NewRecoveryCommand() *cobra.Command

func NewRootCommand

func NewRootCommand(use, short string) *cobra.Command

func NewVersionCommand

func NewVersionCommand() *cobra.Command
func PrintLogo() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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