OCIPlatform

@Serializable
data class OCIPlatform(val architecture: String? = null, val os: String? = null, val osVersion: String? = null, val osFeatures: List<String>? = null, val variant: String? = null)

Describes the platform which the image in the manifest runs on, as defined in the OCI Image Index Specification.

Parameters

architecture

The CPU architecture, for example amd64 or ppc64.

os

The operating system, for example linux or windows.

osVersion

Optional field specifying the operating system version, for example on Windows 10.0.19041.1165.

osFeatures

Optional field specifying an array of strings, each listing a required OS feature (for example on Windows win32k).

variant

Optional field specifying a variant of the CPU, for example v7 to specify ARMv7 when architecture is arm.

Constructors

Link copied to clipboard
constructor(architecture: String? = null, os: String? = null, osVersion: String? = null, osFeatures: List<String>? = null, variant: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "architecture")
val architecture: String?
Link copied to clipboard
@SerialName(value = "os")
val os: String?
Link copied to clipboard
@SerialName(value = "os.features")
val osFeatures: List<String>?
Link copied to clipboard
@SerialName(value = "os.version")
val osVersion: String?
Link copied to clipboard
@SerialName(value = "variant")
val variant: String?