package
1.11.0-rc2
Repository: https://github.com/hewlettpackard/docker.git
Documentation: pkg.go.dev

# Functions

IsNameOnly returns true if reference only contains a repo name.
NewReferenceStore creates a new reference store, tied to a file path where the set of references are serialized in JSON format.
ParseIDOrReference parses string for a image ID or a reference.
ParseNamed parses s and returns a syntactically valid reference implementing the Named interface.
WithDefaultTag adds a default tag to a reference if it only has a repo name.
WithDigest combines the name from "name" and the digest from "digest" to form a reference incorporating both the name and the digest.
WithName returns a named object representing the given string.
WithTag combines the name from "name" and the tag from "tag" to form a reference incorporating both the name and the tag.

# Constants

DefaultHostname is the default built-in hostname.
DefaultRepoPrefix is the prefix used for default repositories in default host.
DefaultTag defines the default tag used when performing images related actions and no tag or digest is specified.
LegacyDefaultHostname is automatically converted to DefaultHostname.

# Variables

ErrDoesNotExist is returned if a reference is not found in the store.

# Structs

An Association is a tuple associating a reference with an image ID.

# Interfaces

Canonical reference is an object with a fully unique name including a name with hostname and digest.
Named is an object with a full name.
NamedTagged is an object including a name and tag.
Store provides the set of methods which can operate on a tag store.