oci_client/
annotations.rs

1//! OCI Annotation key constants, taken from:
2//! <https://github.com/opencontainers/image-spec/blob/master/annotations.md#pre-defined-annotation-keys>
3
4/// Date and time on which the image was built (string, date-time as defined by RFC 3339)
5pub const ORG_OPENCONTAINERS_IMAGE_CREATED: &str = "org.opencontainers.image.created";
6/// Contact details of the people or organization responsible for the image (freeform string)
7pub const ORG_OPENCONTAINERS_IMAGE_AUTHORS: &str = "org.opencontainers.image.authors";
8/// URL to find more information on the image (string)
9pub const ORG_OPENCONTAINERS_IMAGE_URL: &str = "org.opencontainers.image.url";
10/// URL to get documentation on the image (string)
11pub const ORG_OPENCONTAINERS_IMAGE_DOCUMENTATION: &str = "org.opencontainers.image.documentation";
12/// URL to get source code for building the image (string)
13pub const ORG_OPENCONTAINERS_IMAGE_SOURCE: &str = "org.opencontainers.image.source";
14/// Version of the packaged software
15pub const ORG_OPENCONTAINERS_IMAGE_VERSION: &str = "org.opencontainers.image.version";
16/// Source control revision identifier for the packaged software
17pub const ORG_OPENCONTAINERS_IMAGE_REVISION: &str = "org.opencontainers.image.revision";
18/// Name of the distributing entity, organization or individual
19pub const ORG_OPENCONTAINERS_IMAGE_VENDOR: &str = "org.opencontainers.image.vendor";
20/// License(s) under which contained software is distributed as an SPDX License Expression
21pub const ORG_OPENCONTAINERS_IMAGE_LICENSES: &str = "org.opencontainers.image.licenses";
22/// Name of the reference for a target (string)
23pub const ORG_OPENCONTAINERS_IMAGE_REF_NAME: &str = "org.opencontainers.image.ref.name";
24/// Human-readable title of the image (string)
25pub const ORG_OPENCONTAINERS_IMAGE_TITLE: &str = "org.opencontainers.image.title";
26/// Human-readable description of the software packaged in the image (string)
27pub const ORG_OPENCONTAINERS_IMAGE_DESCRIPTION: &str = "org.opencontainers.image.description";
28/// Digest of the image this image is based on (string)
29pub const ORG_OPENCONTAINERS_IMAGE_BASE_DIGEST: &str = "org.opencontainers.image.base.digest";
30/// If the `image.base.name` annotation is specified, the `image.base.digest`
31/// annotation SHOULD be the digest of the manifest referenced by
32/// the `image.ref.name` annotation.
33pub const ORG_OPENCONTAINERS_IMAGE_BASE_NAME: &str = "org.opencontainers.image.base.name";