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§
- Image
Reference - A canonical registry/repository image identity and exactly one selector.
- Image
Tag - 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.
- Registry
Name - A canonical registry authority: a DNS host, IPv4 address, or explicitly bracketed IPv6 literal, optionally followed by a TCP port.
- Repository
Name - A lowercase OCI Distribution repository path without a registry or selector.
Enums§
- Image
Selector - The mutually exclusive mutable or immutable selector of an image.
- Reference
Error - A secret-safe parse error for OCI identity values.