package
0.0.0-20170123154100-361643f37a2e
Repository: https://github.com/giuseppe/image.git
Documentation: pkg.go.dev
# Functions
IsNameOnly returns true if reference only contains a repo name.
ParseIDOrReference parses string for an 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.
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.
# 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.