Skip to main content

Module reference

Module reference 

Source
Expand description

Strict, canonical OCI image-reference and platform values.

This module is deliberately protocol-only. It performs no registry I/O and retains no rejected input in its errors. Every public value is validated at construction, so canonical strings are safe to use as identity components in later anonymous registry diagnostics.

Structs§

ImageReference
A canonical registry/repository image identity and exactly one selector.
ImageTag
A validated image tag. Tags are case-sensitive and retain their spelling.
OciDigest
An immutable OCI content digest. The initial implementation intentionally admits only SHA-256 with exactly 64 lowercase hexadecimal digits.
OciPlatform
A canonical OCI target platform independent of any native runtime adapter.
RegistryName
A canonical registry authority: a DNS host, IPv4 address, or explicitly bracketed IPv6 literal, optionally followed by a TCP port.
RepositoryName
A lowercase OCI Distribution repository path without a registry or selector.

Enums§

ImageSelector
The mutually exclusive mutable or immutable selector of an image.
ReferenceError
A secret-safe parse error for OCI identity values.