Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DaemonCmd = cli.Command{ Name: "daemon", Usage: "daemon related commands", Subcommands: []cli.Command{ DaemonStartCmd, DaemonStopCmd, }, } DaemonStartCmd = cli.Command{ Name: "start", Usage: "Start the Nexenta Docker Daemon: `start [options] NAME`", Flags: []cli.Flag{ cli.BoolFlag{ Name: "verbose, v", Usage: "Enable verbose/debug logging: `[--verbose]`", }, cli.StringFlag{ Name: "config, c", Usage: "Config file for daemon (default: /opt/nedge/etc/ccow/ndnet.json): `[--config ndnet.json]`", }, }, Action: cmdDaemonStart, } DaemonStopCmd = cli.Command{ Name: "stop", Usage: "Stop the Nedge Docker Daemon: `stop", Action: cmdDaemonStop, } )
View Source
var ( NetworkCmd = cli.Command{ Name: "network", Usage: "Network related commands", Subcommands: []cli.Command{ NetworkCreateCmd, NetworkDeleteCmd, NetworkListCmd, }, Flags: []cli.Flag{}, } NetworkCreateCmd = cli.Command{ Name: "create", Usage: "create a new network: `create [options] NAME`", Flags: []cli.Flag{ cli.StringFlag{ Name: "name", Usage: "network name", }, }, Action: cmdCreateNetwork, } NetworkDeleteCmd = cli.Command{ Name: "delete", Usage: "delete an existing network: `delete NAME`", Flags: []cli.Flag{}, Action: cmdDeleteNetwork, } NetworkListCmd = cli.Command{ Name: "list", Usage: "list existing networks", Flags: []cli.Flag{ cli.StringFlag{ Name: "range", Value: "", Usage: ": range of network`", }, }, Action: cmdListNetworks, } )
Functions ¶
func DaemonStart ¶
func NdnetCmdNotFound ¶
func NdnetInitialize ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.