command

package
v0.0.0-...-9fef16e Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OK                = 0
	BAD_REQUEST       = 400
	INTERNAL_ERROR    = 500
	DECRYPTION_DENIED = 403
)

Return codes to be used by command implementations and tests

Variables

This section is empty.

Functions

This section is empty.

Types

type GenConfigCommand

type GenConfigCommand struct {
	UI cli.Ui
}

GenConfigCommand attempts to write out an INI configuration file

func (*GenConfigCommand) Help

func (c *GenConfigCommand) Help() string

Long-form help

func (*GenConfigCommand) Run

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

Run the actual command

func (*GenConfigCommand) Synopsis

func (c *GenConfigCommand) Synopsis() string

type SendCommand

type SendCommand struct {
	UI cli.Ui
}

SendCommand sends data to the server

func (*SendCommand) Help

func (c *SendCommand) Help() string

Long-form help

func (*SendCommand) Run

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

Run the actual command

func (*SendCommand) Synopsis

func (c *SendCommand) Synopsis() string

Jump to

Keyboard shortcuts

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