agent

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2017 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	command.Meta
	// contains filtered or unexported fields
}

Command is the agent command structure used to track passed args as well as the CLI meta.

func (*Command) Help

func (c *Command) Help() string

Help provides the help information for the agent command.

func (*Command) Run

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

Run triggers a run of the replicator agent by setting up and parsing the configuration and then initiating a new runner.

func (*Command) Synopsis

func (c *Command) Synopsis() string

Synopsis is provides a brief summary of the agent command.

Jump to

Keyboard shortcuts

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