Versions in this module Expand all Collapse all v1 v1.13.1 Feb 8, 2017 Changes in this version + const TypeLayers + type DigestWalkFunc func(id digest.Digest) error + type Exporter interface + Load func(io.ReadCloser, io.Writer, bool) error + Save func([]string, io.Writer) error + type History struct + Author string + Comment string + Created time.Time + CreatedBy string + EmptyLayer bool + type ID digest.Digest + func IDFromDigest(digest digest.Digest) ID + func (id ID) Digest() digest.Digest + func (id ID) String() string + type Image struct + History []History + OSFeatures []string + OSVersion string + Parent ID + RootFS *RootFS + func NewFromJSON(src []byte) (*Image, error) + func (img *Image) ID() ID + func (img *Image) ImageID() string + func (img *Image) MarshalJSON() ([]byte, error) + func (img *Image) RawJSON() []byte + func (img *Image) RunConfig() *container.Config + type LayerGetReleaser interface + Get func(layer.ChainID) (layer.Layer, error) + Release func(layer.Layer) ([]layer.Metadata, error) + type RootFS struct + DiffIDs []layer.DiffID + Type string + func NewRootFS() *RootFS + func (r *RootFS) Append(id layer.DiffID) + func (r *RootFS) ChainID() layer.ChainID + type Store interface + Children func(id ID) []ID + Create func(config []byte) (ID, error) + Delete func(id ID) ([]layer.Metadata, error) + Get func(id ID) (*Image, error) + GetParent func(id ID) (ID, error) + Heads func() map[ID]*Image + Map func() map[ID]*Image + Search func(partialID string) (ID, error) + SetParent func(id ID, parent ID) error + func NewImageStore(fs StoreBackend, ls LayerGetReleaser) (Store, error) + type StoreBackend interface + Delete func(id digest.Digest) error + DeleteMetadata func(id digest.Digest, key string) error + Get func(id digest.Digest) ([]byte, error) + GetMetadata func(id digest.Digest, key string) ([]byte, error) + Set func(data []byte) (digest.Digest, error) + SetMetadata func(id digest.Digest, key string, data []byte) error + Walk func(f DigestWalkFunc) error + func NewFSStoreBackend(root string) (StoreBackend, error) + type V1Image struct + Architecture string + Author string + Comment string + Config *container.Config + Container string + ContainerConfig container.Config + Created time.Time + DockerVersion string + ID string + OS string + Parent string + Size int64