Documentation ¶
Overview ¶
This package provides container image names, registry info and digests.
It should only be used by the CLI and never be imported by any package that ends up in a container image to avoid circular dependencies.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
Builder is a builder for container images.
func NewBuilder ¶
NewBuilder creates a new builder for container images.
type Image ¶
type Image struct { // Registry is the registry where the image is located. Registry string // Prefix is the prefix of the image name. Prefix string // Name is the name of the image. Name string // Tag is the tag of the image. Tag string // Digest is the digest of the image. Digest string }
Image is a container image reference. It has the following format: <registry>/<prefix>/<name>:<tag>@<digest> where <registry> is the registry where the image is located, <prefix> is the (optional) prefix of the image name, <name> is the name of the image, <tag> is the (optional) tag of the image, <digest> is the digest of the image.