Documentation ¶
Index ¶
- Variables
- type CWMan
- func (cli *CWMan) CmdAPIServer(args ...string) (err error)
- func (cli *CWMan) CmdConfig(args ...string) error
- func (cli *CWMan) CmdDeploy(args ...string) (err error)
- func (cli *CWMan) CmdGitSSH(args ...string) (err error)
- func (cli *CWMan) CmdInstallPlugin(args ...string) error
- func (cli *CWMan) CmdSshd(args ...string) error
- func (cli *CWMan) CmdUpdateProxy(args ...string) (err error)
- func (cli *CWMan) CmdUpgrade(args ...string) error
- func (cli *CWMan) CmdUserAdd(args ...string) (err error)
- func (cli *CWMan) CmdUserDel(args ...string) error
- func (cli *CWMan) Command(name string) func(...string) error
- func (cli *CWMan) Subcmd(name string, synopses ...string) *flag.FlagSet
- type Command
- type CustomUser
Constants ¶
This section is empty.
Variables ¶
View Source
var CommandUsage = []Command{
{"api-server", "Start the API server"},
{"config", "Get or set a configuration value"},
{"install", "Install one or more plugins"},
{"upgrade", "Upgrade application containers"},
{"useradd", "Add a user"},
{"userdel", "Remove a user"},
}
Commands lists the top level commands and their short usage
View Source
var Commands = make(map[string]Command)
Functions ¶
This section is empty.
Types ¶
type CWMan ¶
type CWMan struct { *Cli.Cli container.DockerClient // contains filtered or unexported fields }
func Init ¶
func Init(docker container.DockerClient) *CWMan
func (*CWMan) CmdAPIServer ¶
func (*CWMan) CmdInstallPlugin ¶
func (*CWMan) CmdUpdateProxy ¶
func (*CWMan) CmdUpgrade ¶
func (*CWMan) CmdUserAdd ¶
func (*CWMan) CmdUserDel ¶
type CustomUser ¶
Click to show internal directories.
Click to hide internal directories.