cli

package
v0.0.0-...-cef01b0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2015 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DaemonAlias = "daemon, d"
	DaemonFlag  = "daemon"
	DriverFlag  = "driver"
)

Variables

This section is empty.

Functions

func BlockVolumeCommands

func BlockVolumeCommands(name string) []cli.Command

func DaemonMode

func DaemonMode(c *cli.Context) bool

func DriverCommands

func DriverCommands() []cli.Command

func DriverName

func DriverName(c *cli.Context) string

func FileVolumeCommands

func FileVolumeCommands(name string) []cli.Command

Types

type Format

type Format struct {
	Cmd    string      `json:"cmd,omitempty"`
	Status string      `json:"status,omitempty"`
	Err    string      `json:"error,omitempty"`
	Desc   string      `json:"desc,omitempty"`
	UUID   []string    `json:"uuid,omitempty"`
	Result interface{} `json:"result,omitempty"`
}

type VolDriver

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

type VolumeSzUnits

type VolumeSzUnits uint64
const (
	KB VolumeSzUnits = 1 << (10 * iota)
	MB
	GB
	TB
	PB
)

Jump to

Keyboard shortcuts

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