volume

package
v0.0.3-rc3 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatDriver

func FormatDriver(obj interface{}) (string, error)

func Volume

func Volume(app *cli.App) cli.Command

Types

type Create

type Create struct {
	L_Label    map[string]string `desc:"Set meta data on a container"`
	D_Driver   string            `desc:"Volume driver to use"`
	T_Template bool              `desc:"Create volume template, not volume"`
	AccessMode string            `desc:"Volume access mode (readWriteOnce|readWriteMany|readOnlyMany)" default:"readWriteOnce"`
}

func (*Create) Run

func (c *Create) Run(app *cli.Context) error

type Data

type Data struct {
	ID     string
	Stack  *client.Stack
	Volume client.Volume
}

type Ls

type Ls struct {
	L_Label map[string]string `desc:"Set meta data on a container"`
}

func (*Ls) Customize

func (l *Ls) Customize(cmd *cli.Command)

func (*Ls) Run

func (l *Ls) Run(app *cli.Context) error

type Rm

type Rm struct {
}

func (*Rm) Run

func (r *Rm) Run(app *cli.Context) error

Jump to

Keyboard shortcuts

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