package graphdriver

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

Index

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.Archive) error
}

type Driver

type Driver interface {
	Create(id, parent string) error
	Remove(id string) error

	Get(id string) (dir string, err error)
	Size(id string) (bytes int64, err error)

	Cleanup() error
}

func New

func New(root string) (Driver, error)

type InitFunc

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

Source Files

driver.go

Directories

PathSynopsis
graphdriver/dummy
Version
v0.7.0-rc5
Published
Nov 15, 2013
Platform
windows/amd64
Imports
5 packages
Last checked
4 seconds ago

Tools for package owners.