command

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupCommand

type BackupCommand struct {
	Meta
	Version string
}

BackupCommand for running backups

func (*BackupCommand) Help

func (c *BackupCommand) Help() string

Help for the command

func (*BackupCommand) Run

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

Run the backup via backup.Runner

func (*BackupCommand) Synopsis

func (c *BackupCommand) Synopsis() string

Synopsis of the command

type Meta

type Meta struct {
	UI cli.Ui
}

Meta for command metadata

type RestoreCommand

type RestoreCommand struct {
	Meta
	Version string
}

RestoreCommand for running restores

func (*RestoreCommand) Help

func (c *RestoreCommand) Help() string

Help for the command

func (*RestoreCommand) Run

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

Run the restore through restore.Runner

func (*RestoreCommand) Synopsis

func (c *RestoreCommand) Synopsis() string

Synopsis of the command

type VersionCommand

type VersionCommand struct {
	Meta

	Version string
}

VersionCommand for getting the version

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

Help for the command

func (*VersionCommand) Run

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

Run is the runner for the command

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

Synopsis for the command

Jump to

Keyboard shortcuts

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