backup

package
v0.9.4-rc1.0...-49327f6 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2015 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const Suffix = ".pending"

Suffix is a suffix added to the backup while it's in-process.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	// The logger passed to the ticker during execution.
	Logger *log.Logger

	// Standard input/output, overridden for testing.
	Stderr io.Writer
}

Command represents the program execution for "influxd backup".

func NewCommand

func NewCommand() *Command

NewCommand returns a new instance of Command with default settings.

func (*Command) Run

func (cmd *Command) Run(args ...string) error

Run executes the program.

Jump to

Keyboard shortcuts

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