Versions in this module Expand all Collapse all v0 v0.6.0 May 25, 2016 Changes in this version + const DigestSHA256EmptyTar + var EmptyLayer = &emptyLayer + var ErrActiveMount = errors.New("mount still active") + var ErrLayerDoesNotExist = errors.New("layer does not exist") + var ErrLayerNotRetained = errors.New("layer not retained") + var ErrMaxDepthExceeded = errors.New("max depth exceeded") + var ErrMountDoesNotExist = errors.New("mount does not exist") + var ErrMountNameConflict = errors.New("mount already exists with name") + var ErrNotMounted = errors.New("not mounted") + func GetLayerPath(s Store, layer ChainID) (string, error) — windows/amd64 + func LogReleaseMetadata(metadatas []Metadata) + func ReleaseAndLog(ls Store, l Layer) + type ChainID digest.Digest + func CreateChainID(dgsts []DiffID) ChainID + func (id ChainID) String() string + type DiffID digest.Digest + func (diffID DiffID) String() string + type Layer interface + ChainID func() ChainID + DiffID func() DiffID + DiffSize func() (int64, error) + Metadata func() (map[string]string, error) + Parent func() Layer + Size func() (int64, error) + type Metadata struct + ChainID ChainID + DiffID DiffID + DiffSize int64 + Size int64 + type MetadataStore interface + GetCacheID func(ChainID) (string, error) + GetDiffID func(ChainID) (DiffID, error) + GetInitID func(string) (string, error) + GetMountID func(string) (string, error) + GetMountParent func(string) (ChainID, error) + GetParent func(ChainID) (ChainID, error) + GetSize func(ChainID) (int64, error) + List func() ([]ChainID, []string, error) + Remove func(ChainID) error + RemoveMount func(string) error + SetInitID func(string, string) error + SetMountID func(string, string) error + SetMountParent func(string, ChainID) error + StartTransaction func() (MetadataTransaction, error) + TarSplitReader func(ChainID) (io.ReadCloser, error) + func NewFSMetadataStore(root string) (MetadataStore, error) + type MetadataTransaction interface + Cancel func() error + Commit func(ChainID) error + SetCacheID func(string) error + SetDiffID func(DiffID) error + SetParent func(parent ChainID) error + SetSize func(int64) error + String func() string + TarSplitWriter func(compressInput bool) (io.WriteCloser, error) + type MountInit func(root string) error + type RWLayer interface + Changes func() ([]archive.Change, error) + Metadata func() (map[string]string, error) + Mount func(mountLabel string) (string, error) + Name func() string + Parent func() Layer + Size func() (int64, error) + Unmount func() error + type Store interface + Cleanup func() error + CreateRWLayer func(id string, parent ChainID, mountLabel string, initFunc MountInit) (RWLayer, error) + DriverName func() string + DriverStatus func() [][2]string + Get func(ChainID) (Layer, error) + GetRWLayer func(id string) (RWLayer, error) + Register func(io.Reader, ChainID) (Layer, error) + Release func(Layer) ([]Metadata, error) + ReleaseRWLayer func(RWLayer) ([]Metadata, error) + func NewStoreFromGraphDriver(store MetadataStore, driver graphdriver.Driver) (Store, error) + func NewStoreFromOptions(options StoreOptions) (Store, error) + type StoreOptions struct + GIDMaps []idtools.IDMap + GraphDriver string + GraphDriverOptions []string + MetadataStorePathTemplate string + StorePath string + UIDMaps []idtools.IDMap + type TarStreamer interface + TarStream func() (io.ReadCloser, error)