OCIDescriptor

constructor(mediaType: String? = null, digest: String? = null, propertySize: Long? = null, urls: List<String>? = null, annotations: Map<String, String>? = null, data: String? = null, platform: OCIPlatform? = null, artifactType: String? = null)

Parameters

mediaType

The media type of the object this schema refers to.

digest

The digest of the targeted content.

propertySize

The size in bytes of the blob.

urls

List of URLs from which this object MAY be downloaded.

annotations

Arbitrary metadata relating to the targeted content.

`data`

Data is an embedding of the targeted content. This is encoded as a base64 string when marshalled to JSON (automatically, by encoding/json). If present, Data can be used directly to avoid fetching the targeted content.

platform
artifactType

ArtifactType is the IANA media type of this artifact.