Versions in this module Expand all Collapse all v1 v1.13.1 Mar 11, 2020 Changes in this version + const DefaultHostname + const DefaultRepoPrefix + const DefaultTag + const LegacyDefaultHostname + var ErrDoesNotExist = errors.New("reference does not exist") + func IsNameOnly(ref Named) bool + type Association struct + ID digest.Digest + Ref Named + type Canonical interface + Digest func() digest.Digest + func WithDigest(name Named, digest digest.Digest) (Canonical, error) + type Named interface + FullName func() string + Hostname func() string + Name func() string + RemoteName func() string + String func() string + func ParseIDOrReference(idOrRef string) (digest.Digest, Named, error) + func ParseNamed(s string) (Named, error) + func TrimNamed(ref Named) Named + func WithDefaultTag(ref Named) Named + func WithName(name string) (Named, error) + type NamedTagged interface + Tag func() string + func WithTag(name Named, tag string) (NamedTagged, error) + type Store interface + AddDigest func(ref Canonical, id digest.Digest, force bool) error + AddTag func(ref Named, id digest.Digest, force bool) error + Delete func(ref Named) (bool, error) + Get func(ref Named) (digest.Digest, error) + References func(id digest.Digest) []Named + ReferencesByName func(ref Named) []Association + func NewReferenceStore(jsonPath string) (Store, error)