DeviceInfo

@Serializable
data class DeviceInfo(val source: String? = null, val ID: String? = null)

DeviceInfo represents a device that can be used by a container.

Parameters

source

The origin device driver.

ID

The unique identifier for the device within its source driver. For CDI devices, this would be an FQDN like \"vendor.com/gpu=0\".

Constructors

Link copied to clipboard
constructor(source: String? = null, ID: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "ID")
val ID: String?
Link copied to clipboard
@SerialName(value = "Source")
val source: String?