Documentation ¶
Index ¶
- type Commander
- func (c *Commander) Execute(fn engine.EngineFunc, ctx *cli.Context)
- func (c *Commander) NewKillCommand()
- func (c *Commander) NewLiftCommand()
- func (c *Commander) NewProvisionCommand()
- func (c *Commander) NewRemoveCommand()
- func (c *Commander) NewRunCommand()
- func (c *Commander) NewStartCommand()
- func (c *Commander) NewStatusCommand()
- func (c *Commander) NewStopCommand()
- func (c *Commander) Register(cmd cli.Command)
- func (c *Commander) Run(args []string)
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 (*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).