Versions in this module Expand all Collapse all v0 v0.5.0 Feb 5, 2016 Changes in this version + var ErrNameIsNotExist = errors.New("image with specified name does not exist") + type Graph struct + func NewGraph(root string, driver graphdriver.Driver, uidMaps, gidMaps []idtools.IDMap) (*Graph, error) + func (graph *Graph) ByParent() map[string][]*image.Image + func (graph *Graph) CheckDepth(img *image.Image) error + func (graph *Graph) Create(layerData io.Reader, containerID, containerImage, comment, author string, ...) (*image.Image, error) + func (graph *Graph) Delete(name string) error + func (graph *Graph) Exists(id string) bool + func (graph *Graph) Get(name string) (*image.Image, error) + func (graph *Graph) GetParent(img *image.Image) (*image.Image, error) + func (graph *Graph) HasChildren(imgID string) bool + func (graph *Graph) IsHeld(layerID string) bool + func (graph *Graph) IsNotExist(err error, id string) bool + func (graph *Graph) Map() map[string]*image.Image + func (graph *Graph) Register(im image.Descriptor, layerData io.Reader) (err error) + func (graph *Graph) Release(sessionID string, layerIDs ...string) + func (graph *Graph) Retain(sessionID string, layerIDs ...string) + type ImagePullConfig struct + AuthConfig *cliconfig.AuthConfig + MetaHeaders map[string][]string + OutStream io.Writer + type ImagePushConfig struct + AuthConfig *cliconfig.AuthConfig + MetaHeaders map[string][]string + OutStream io.Writer + Tag string + type TagStore struct + Repositories map[string]repository + func NewTagStore(path string, cfg *TagStoreConfig) (*TagStore, error) + func (s *TagStore) History(name string) ([]*types.ImageHistory, error) + func (s *TagStore) ImageExport(names []string, outStream io.Writer) error + func (s *TagStore) Images(filterArgs, filter string, all bool) ([]*types.Image, error) + func (s *TagStore) Import(src string, repo string, tag string, msg string, inConfig io.ReadCloser, ...) error + func (s *TagStore) Load(inTar io.ReadCloser, outStream io.Writer) error + func (s *TagStore) Lookup(name string) (*types.ImageInspect, error) + func (s *TagStore) Pull(image string, tag string, imagePullConfig *ImagePullConfig) error + func (s *TagStore) Push(localName string, imagePushConfig *ImagePushConfig) error + func (store *TagStore) ByID() map[string][]string + func (store *TagStore) Delete(repoName, ref string) (bool, error) + func (store *TagStore) GetID(name string) (string, error) + func (store *TagStore) HasReferences(img *image.Image) bool + func (store *TagStore) LookupImage(name string) (*image.Image, error) + func (store *TagStore) Tag(repoName, tag, imageName string, force bool) error + type TagStoreConfig struct + Events *events.Events + Graph *Graph + Key libtrust.PrivateKey + Registry *registry.Service