package graphdriver

import "github.com/dotcloud/docker/daemon/graphdriver"

Index

Variables

var (
	DefaultDriver string
)

Functions

func Register

func Register(name string, initFunc InitFunc) error

Types

type Differ

type Differ interface {
	Diff(id string) (archive.Archive, error)
	Changes(id string) ([]archive.Change, error)
	ApplyDiff(id string, diff archive.ArchiveReader) error
	DiffSize(id string) (bytes int64, err error)
}

type Driver

type Driver interface {
	String() string

	Create(id, parent string) error
	Remove(id string) error

	Get(id, mountLabel string) (dir string, err error)
	Put(id string)
	Exists(id string) bool

	Status() [][2]string

	Cleanup() error
}

func GetDriver

func GetDriver(name, home string) (Driver, error)

func New

func New(root string) (driver Driver, err error)

type InitFunc

type InitFunc func(root string) (Driver, error)

Source Files

driver.go

Directories

PathSynopsis
daemon/graphdriver/aufs
daemon/graphdriver/btrfs
daemon/graphdriver/devmapper
daemon/graphdriver/vfs
Version
v0.11.0
Published
May 7, 2014
Platform
js/wasm
Imports
5 packages
Last checked
1 minute ago

Tools for package owners.