command

package
v0.0.0-...-6f0cfeb Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2014 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commander

type Commander struct {
	// contains filtered or unexported fields
}

func NewCommander

func NewCommander(app *cli.App, cnf *yamlconfig.Config) (*Commander, error)

/////////////////////////////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////////////////////////////

func (*Commander) Execute

func (c *Commander) Execute(fn engine.EngineFunc, ctx *cli.Context)

/////////////////////////////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////////////////////////////

func (*Commander) NewKillCommand

func (c *Commander) NewKillCommand()

kill will call docker kill on all containers, or the specified one(s).

func (*Commander) NewLiftCommand

func (c *Commander) NewLiftCommand()

lift will use specified Dockerfiles to build all the containers, or the specified one(s). If no Dockerfile is given, it will pull the image(s) from the given registry.

func (*Commander) NewProvisionCommand

func (c *Commander) NewProvisionCommand()

provision will use specified Dockerfiles to build all the containers, or the specified one(s). If no Dockerfile is given, it will pull the image(s) from the given registry.

func (*Commander) NewRemoveCommand

func (c *Commander) NewRemoveCommand()

rm will call docker rm on all containers, or the specified one(s).

func (*Commander) NewRunCommand

func (c *Commander) NewRunCommand()

run will call docker run on all containers, or the specified one(s).

func (*Commander) NewStartCommand

func (c *Commander) NewStartCommand()

start will call docker start on all containers, or the specified one(s).

func (*Commander) NewStatusCommand

func (c *Commander) NewStatusCommand()

Displays the current status of all the containers, or the specified one(s).

func (*Commander) NewStopCommand

func (c *Commander) NewStopCommand()

stop will call docker stop on all containers, or the specified one(s).

func (*Commander) Register

func (c *Commander) Register(cmd cli.Command)

/////////////////////////////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////////////////////////////

func (*Commander) Run

func (c *Commander) Run(args []string)

/////////////////////////////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////////////////////////////

Jump to

Keyboard shortcuts

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