backup

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupCommand

type BackupCommand struct {
	helper.Base
	Formatter *helper.FormatterFlag
	GRPC      *helper.GRPCFlag
}

func (*BackupCommand) DefineFlags

func (c *BackupCommand) DefineFlags()

DefineFlags defines the command flags

func (*BackupCommand) GetBaseCommand

func (c *BackupCommand) GetBaseCommand() string

func (*BackupCommand) GetHelperText

func (c *BackupCommand) GetHelperText() string

GetHelperText returns a simple description of the command

func (*BackupCommand) Help

func (c *BackupCommand) Help() string

Help implements the cli.Command interface

func (*BackupCommand) Run

func (c *BackupCommand) Run(args []string) int

Run implements the cli.Command interface

func (*BackupCommand) Synopsis

func (c *BackupCommand) Synopsis() string

Synopsis implements the cli.Command interface

type BackupResult

type BackupResult struct {
	From uint64 `json:"from"`
	To   uint64 `json:"to"`
	Out  string `json:"out"`
}

func (*BackupResult) Output

func (r *BackupResult) Output() string

Jump to

Keyboard shortcuts

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