Skip to main content

Crate use_oci_reference

Crate use_oci_reference 

Source
Expand description

§use-oci-reference

use-oci-reference provides OCI image reference syntax primitives for names, tags, digests, and canonical references.

It is part of the use-oci RustUse workspace for small, focused OCI primitive crates. It does not perform network calls, shell out to runtimes, implement a registry client, or build container images.

§License

Licensed under either of the following, at your option:

  • Apache License, Version 2.0
  • MIT license

Structs§

Digest
A parsed OCI digest such as sha256:<hex>.
DigestedReference
A name plus digest reference.
ImageName
A repository name with an optional registry.
ImageReference
A parsed OCI image reference with optional tag and digest.
Registry
A registry host label.
Repository
A validated repository name.
TagName
A validated OCI tag.
TaggedReference
A name plus tag reference.

Enums§

ReferenceError
Errors returned when image references are invalid.

Type Aliases§

CanonicalReference
A reference that includes a digest.