local

package
v1.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	VolumeDataPathName = "_data"
)

VolumeDataPathName is the name of the directory where the volume data is stored. It uses a very distintive name to avoid colissions migrating data between Docker versions.

Variables

This section is empty.

Functions

This section is empty.

Types

type Root

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

func New

func New(scope string) (*Root, error)

func (*Root) Create

func (r *Root) Create(name string) (volume.Volume, error)

func (*Root) DataPath

func (r *Root) DataPath(volumeName string) string

func (*Root) Name

func (r *Root) Name() string

func (*Root) Remove

func (r *Root) Remove(v volume.Volume) error

type Volume

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

func (*Volume) DriverName

func (v *Volume) DriverName() string

func (*Volume) Mount

func (v *Volume) Mount() (string, error)

func (*Volume) Name

func (v *Volume) Name() string

func (*Volume) Path

func (v *Volume) Path() string

func (*Volume) Unmount

func (v *Volume) Unmount() error

Jump to

Keyboard shortcuts

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