Skip to main content

Crate use_oci_annotation

Crate use_oci_annotation 

Source
Expand description

§use-oci-annotation

use-oci-annotation provides OCI annotation key, value, and common image annotation helpers.

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§

Annotation
An OCI annotation key/value pair.
AnnotationKey
A validated OCI annotation key.
AnnotationValue
A validated OCI annotation value.

Enums§

AnnotationError
Errors returned when annotation text is invalid.

Constants§

OCI_AUTHORS
Common OCI annotation key for authors.
OCI_CREATED
Common OCI annotation key for creation metadata.
OCI_DESCRIPTION
Common OCI annotation key for a description.
OCI_DOCUMENTATION
Common OCI annotation key for documentation.
OCI_LICENSES
Common OCI annotation key for licenses.
OCI_REVISION
Common OCI annotation key for a revision.
OCI_SOURCE
Common OCI annotation key for a source URL.
OCI_TITLE
Common OCI annotation key for a title.
OCI_URL
Common OCI annotation key for a URL.
OCI_VERSION
Common OCI annotation key for a version.