Module oci_spec::distribution
source · Expand description
OCI distribution spec types and definitions.
The Open Container Initiative Distribution Specification (a.k.a. “OCI Distribution Spec”) defines an API protocol to facilitate and standardize the distribution of content.
While OCI Image is the most prominent, the specification is designed to be agnostic of content types. Concepts such as “manifests” and “digests”, are currently defined in the Open Container Initiative Image Format Specification (a.k.a. “OCI Image Spec”).
To support other artifact types, please see the Open Container Initiative Artifact Authors Guide (a.k.a. “OCI Artifacts”).
Structs§
- Describes a server error returned from a registry.
- Builder for
ErrorInfo
. - ErrorResponse is returned by a registry on an invalid request.
- Builder for
ErrorResponse
. - Reference provides a general type to represent any way of referencing images within an OCI registry.
- RepositoryList returns a catalog of repositories maintained on the registry.
- Builder for
RepositoryList
. - A list of tags for a given repository.
- Builder for
TagList
.
Enums§
- Unique identifier representing error code.
- Reasons that parsing a string as a Reference can fail.
Constants§
- The string returned by and ErrorResponse error.
- Indicates development branch. Releases will be empty string.
- API incompatible changes.
- Changing functionality in a backwards-compatible manner
- Backwards-compatible bug fixes.
Functions§
- Retrieve the version as string representation.