Versions in this module Expand all Collapse all v1 v1.0.0 May 11, 2015 Changes in this version + const FsMagicAufs + const FsMagicBtrfs + const FsMagicCramfs + const FsMagicExtfs + const FsMagicJffs2Fs + const FsMagicNfsFs + const FsMagicRamFs + const FsMagicReiserFs + const FsMagicSmbFs + const FsMagicSquashFs + const FsMagicTmpFs + const FsMagicUnsupported + const FsMagicXfs + const FsMagicZfs + var DefaultDriver string + var ErrIncompatibleFS = fmt.Errorf("backing file system is unsupported for this graph driver") + var ErrNotSupported = errors.New("driver not supported") + var ErrPrerequisites = errors.New("prerequisites for driver not satisfied (wrong filesystem?)") + var FsNames = map[FsMagic]string + func Register(name string, initFunc InitFunc) error + type Driver interface + ApplyDiff func(id, parent string, diff archive.ArchiveReader) (size int64, err error) + Changes func(id, parent string) ([]archive.Change, error) + Diff func(id, parent string) (archive.Archive, error) + DiffSize func(id, parent string) (size int64, err error) + func GetDriver(name, home string, options []string) (Driver, error) + func New(root string, options []string) (driver Driver, err error) + type FsMagic uint32 + func GetFSMagic(rootpath string) (FsMagic, error) + type InitFunc func(root string, options []string) (Driver, error) + type ProtoDriver interface + Cleanup func() error + Create func(id, parent string) error + Exists func(id string) bool + Get func(id, mountLabel string) (dir string, err error) + Put func(id string) error + Remove func(id string) error + Status func() [][2]string + String func() string