Documentation
¶
Index ¶
Constants ¶
const DorasAnnotationFrom = "com.unbasical.doras.delta.from"
DorasAnnotationFrom is the constant to extract the from-image from the delta image's manifest.
const DorasAnnotationIsDummy = "com.unbasical.doras.delta.dummy"
DorasAnnotationIsDummy is the constant to extract the information of whether the artifact is a dummy from the image's manifest.
const DorasAnnotationTo = "com.unbasical.doras.delta.to"
DorasAnnotationTo is the constant to extract the to-image from the delta image's manifest.
const OciImageTitle = "org.opencontainers.image.title"
OciImageTitle is used to extract the titles of container layers from annotations.
const OrasContentUnpack = "io.deis.oras.content.unpack"
OrasContentUnpack is used to extract metadata from an OCI manifest. Indicates whether the given artifact is an archive.
const QueryKeyAcceptedAlgorithm = "accepted_algorithm"
QueryKeyAcceptedAlgorithm is used to extract the (repeatable) accepted algorithms parameter from the request.
const QueryKeyFromDigest = "from_digest"
QueryKeyFromDigest is used to extract the from_digest parameter from the request.
const QueryKeyToDigest = "to_digest"
QueryKeyToDigest is used to extract the to_digest parameter from the request.
const QueryKeyToTag = "to_tag"
QueryKeyToTag is used to extract the to_tag parameter from the request.
Variables ¶
This section is empty.
Functions ¶
func DefaultAlgorithms ¶
func DefaultAlgorithms() []string
DefaultAlgorithms returns the Doras default algorithms. Uses a function to ensure immutability of the default algorithms.
Types ¶
This section is empty.