package local
import "github.com/dotcloud/docker/volume/local"
Index ¶
- Constants
- type Root
- func New(scope string) (*Root, error)
- func (r *Root) Create(name string) (volume.Volume, error)
- func (r *Root) DataPath(volumeName string) string
- func (r *Root) Name() string
- func (r *Root) Remove(v volume.Volume) error
- type Volume
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 (*Root) Create ¶
func (*Root) DataPath ¶
func (*Root) Name ¶
func (*Root) Remove ¶
type Volume ¶
type Volume struct {
// contains filtered or unexported fields
}
func (*Volume) DriverName ¶
func (*Volume) Mount ¶
func (*Volume) Name ¶
func (*Volume) Path ¶
func (*Volume) Unmount ¶
Source Files ¶
- Version
- v1.7.1
- Published
- Jul 14, 2015
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 34 minutes ago –
Tools for package owners.