command

package
v0.0.0-...-003cfe7 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2015 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const EnvQuilesServerAddress = "QUILES:SERVER:ADDRESS"
View Source
const EnvQuilesServerVersion = "QUILES:GO:SERVER:VERSION"

Variables

This section is empty.

Functions

This section is empty.

Types

type InitCommand

type InitCommand struct {
	Meta
}

func (*InitCommand) Help

func (c *InitCommand) Help() string

func (*InitCommand) Run

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

func (*InitCommand) Synopsis

func (c *InitCommand) Synopsis() string

type Meta

type Meta struct {
	Ui cli.Ui
}

Meta contains the meta-options and functionality that nearly every Quiles server command inherits.

func (*Meta) Client

func (m *Meta) Client()

type SendCommand

type SendCommand struct {
	Meta
}

func (*SendCommand) Help

func (c *SendCommand) Help() string

func (*SendCommand) Run

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

func (*SendCommand) Synopsis

func (c *SendCommand) Synopsis() string

type StartCommand

type StartCommand struct {
	Meta
}

func (*StartCommand) Help

func (c *StartCommand) Help() string

func (*StartCommand) Run

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

func (*StartCommand) Synopsis

func (c *StartCommand) Synopsis() string

type StopCommand

type StopCommand struct {
	Meta
}

func (*StopCommand) Help

func (c *StopCommand) Help() string

func (*StopCommand) Run

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

func (*StopCommand) Synopsis

func (c *StopCommand) Synopsis() string

type VersionCommand

type VersionCommand struct {
	Revision          string
	Version           string
	VersionPrerelease string
	Ui                cli.Ui
}

VersionCommand is a Command implementation prints the version.

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

func (*VersionCommand) Run

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

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

Jump to

Keyboard shortcuts

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