package
0.0.0-20250307102023-3989c0d2e7ba
Repository: https://github.com/keel-hq/keel.git
Documentation: pkg.go.dev

# Functions

IsNameOnly returns true if reference only contains a repo name.
Parse returns a Reference from analyzing the given remote identifier.
ParseNamed parses s and returns a syntactically valid reference implementing the Named interface.
ParseRepo - parses remote pretty much the same as Parse but better for testing.
ValidateID checks whether an ID string is a valid image ID.
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

No description provided by the author
DefaultRepoPrefix is the prefix used for default repositories in default host.
DefaultScheme is default scheme for registries.
DefaultTag defines the default tag used when performing images related actions and no tag or digest is specified.
DefaultRegistryHostname is the default built-in hostname DefaultRegistryHostname = "index.docker.io".

# Structs

Reference is an opaque object that include identifier such as a name, tag, repository, registry, etc...
Repository is an object created from Named interface.

# 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.