cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2014 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HumanDuration added in v0.1.0

func HumanDuration(d time.Duration) string

HumanDuration returns a human-readable approximation of a duration (eg. "About a minute", "4 hours ago", etc.)

func NewCmdContainers

func NewCmdContainers() (cli.Command, error)

func NewCmdDeploy

func NewCmdDeploy() (cli.Command, error)

func NewCmdStatus

func NewCmdStatus() (cli.Command, error)

Types

type CmdContainers

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

func (*CmdContainers) Help

func (c *CmdContainers) Help() string

func (*CmdContainers) Run

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

func (*CmdContainers) Synopsis

func (c *CmdContainers) Synopsis() string

type CmdDeploy

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

func (*CmdDeploy) Help

func (c *CmdDeploy) Help() string

func (*CmdDeploy) Run

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

func (*CmdDeploy) Synopsis

func (c *CmdDeploy) Synopsis() string

type CmdStatus

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

func (*CmdStatus) Help

func (c *CmdStatus) Help() string

func (*CmdStatus) Run

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

func (*CmdStatus) Synopsis

func (c *CmdStatus) Synopsis() string

Jump to

Keyboard shortcuts

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