Documentation
¶
Overview ¶
Package upstream stores credentials for third-party registries (§5.9). Nodes pull public images directly from their registries; with a stored credential (e.g. a Docker Hub account against rate limits, or a private GHCR image) the controller passes it along with the pull.
Index ¶
Constants ¶
const DockerHub = "docker.io"
DockerHub is the canonical host for Docker Hub images.
Variables ¶
This section is empty.
Functions ¶
func ImageHost ¶
ImageHost returns the registry host of an image reference, the way Docker resolves it: "nginx" and "acme/app" are on Docker Hub.
func NormalizeHost ¶
NormalizeHost maps Docker Hub's aliases to docker.io and lowercases.
Types ¶
type ErrInvalid ¶
type ErrInvalid struct{ Err error }
ErrInvalid wraps validation errors.
func (ErrInvalid) Error ¶
func (e ErrInvalid) Error() string