volume

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: May 16, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(docker *client.Docker, name, driver string, labels []string) error

Create creates a docker volume with the given name returns: error

func Exists

func Exists(docker *client.Docker, name string) (*types.Volume, bool, error)

Exists returns type.Volume and true if the volume name exists, otherwise false.

func List

func List(docker *client.Docker, all bool) (volumetypes.VolumesListOKBody, error)

List returns array of types.Containers and error

Types

This section is empty.

Jump to

Keyboard shortcuts

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