Versions in this module Expand all Collapse all v0 v0.6.0 May 25, 2016 Changes in this version + const FsMagicGPFS — linux/amd64 + var ApplyUncompressedLayer = chrootarchive.ApplyUncompressedLayer type Driver + func NewNaiveDiffDriver(driver ProtoDriver, uidMaps, gidMaps []idtools.IDMap) Driver + type NaiveDiffDriver struct + func (gdw *NaiveDiffDriver) ApplyDiff(id, parent string, diff archive.Reader) (size int64, err error) + func (gdw *NaiveDiffDriver) Changes(id, parent string) ([]archive.Change, error) + func (gdw *NaiveDiffDriver) Diff(id, parent string) (arch archive.Archive, err error) + func (gdw *NaiveDiffDriver) DiffSize(id, parent string) (size int64, err error) v0.5.0 Feb 5, 2016 Changes in this version + const FsMagicAufs — linux/amd64 + const FsMagicBtrfs — linux/amd64 + const FsMagicCramfs — linux/amd64 + const FsMagicExtfs — linux/amd64 + const FsMagicF2fs — linux/amd64 + const FsMagicJffs2Fs — linux/amd64 + const FsMagicJfs — linux/amd64 + const FsMagicNfsFs — linux/amd64 + const FsMagicRAMFs — linux/amd64 + const FsMagicReiserFs — linux/amd64 + const FsMagicSmbFs — linux/amd64 + const FsMagicSquashFs — linux/amd64 + const FsMagicTmpFs — linux/amd64 + const FsMagicUnsupported + const FsMagicVxFS — linux/amd64 + const FsMagicXfs — linux/amd64 + const FsMagicZfs — linux/amd64 + 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 — linux/amd64 + func Register(name string, initFunc InitFunc) error + type Driver interface + ApplyDiff func(id, parent string, diff archive.Reader) (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, uidMaps, gidMaps []idtools.IDMap) (Driver, error) + func New(root string, options []string, uidMaps, gidMaps []idtools.IDMap) (driver Driver, err error) + type FsMagic uint32 + func GetFSMagic(rootpath string) (FsMagic, error) + type ImageRestorer interface + RestoreCustomImages func(tagger Tagger, recorder Recorder) ([]string, error) + type InitFunc func(root string, options []string, uidMaps, gidMaps []idtools.IDMap) (Driver, error) + type ProtoDriver interface + Cleanup func() error + Create func(id, parent, mountLabel string) error + Exists func(id string) bool + Get func(id, mountLabel string) (dir string, err error) + GetMetadata func(id string) (map[string]string, error) + Put func(id string) error + Remove func(id string) error + Status func() [][2]string + String func() string + type Recorder interface + Exists func(id string) bool + Register func(img image.Descriptor, layerData io.Reader) error + type Tagger interface + Tag func(repoName, tag, imageName string, force bool) error