package local

import "github.com/dotcloud/docker/volume/local"

Index

Constants

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.

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

Source Files

local.go

Version
v1.7.1
Published
Jul 14, 2015
Platform
js/wasm
Imports
8 packages
Last checked
34 minutes ago

Tools for package owners.