Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DaemonCmd = cli.Command{ Name: "daemon", Usage: "daemon related commands", Subcommands: []cli.Command{ DaemonStartCmd, }, } 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: /etc/nvd/nvd.json): `[--config /etc/nvd/nvd.json]`", }, }, Action: cmdDaemonStart, } )
View Source
var ( VolumeCmd = cli.Command{ Name: "volume", Usage: "Volume related commands", Subcommands: []cli.Command{ VolumeCreateCmd, VolumeDeleteCmd, VolumeListCmd, VolumeMountCmd, VolumeUnmountCmd, }, } VolumeCreateCmd = cli.Command{ Name: "create", Usage: "create a new volume: `create [options] NAME`", Flags: []cli.Flag{ cli.StringFlag{ Name: "name", Usage: "volume name", }, cli.StringFlag{ Name: "size", Usage: "size of volume in bytes ", }, cli.BoolFlag{ Name: "verbose, v", Usage: "Enable verbose/debug logging: `[--verbose]`", }, }, Action: cmdCreateVolume, } VolumeDeleteCmd = cli.Command{ Name: "delete", Usage: "delete an existing volume: `delete NAME`", Flags: []cli.Flag{ cli.BoolFlag{ Name: "verbose, v", Usage: "Enable verbose/debug logging: `[--verbose]`", }, }, Action: cmdDeleteVolume, } VolumeListCmd = cli.Command{ Name: "list", Usage: "list existing volumes", Flags: []cli.Flag{ cli.BoolFlag{ Name: "verbose, v", Usage: "Enable verbose/debug logging: `[--verbose]`", }, }, Action: cmdListVolumes, } VolumeMountCmd = cli.Command{ Name: "mount", Usage: "mount an existing volume: `mount NAME`", Flags: []cli.Flag{ cli.BoolFlag{ Name: "verbose, v", Usage: "Enable verbose/debug logging: `[--verbose]`", }, }, Action: cmdMountVolume, } VolumeUnmountCmd = cli.Command{ Name: "unmount", Usage: "unmount an existing volume: `unmount NAME`", Flags: []cli.Flag{ cli.BoolFlag{ Name: "verbose, v", Usage: "Enable verbose/debug logging: `[--verbose]`", }, }, Action: cmdUnmountVolume, } )
Functions ¶
func NvdCmdNotFound ¶
func NvdInitialize ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.