DeviceRequestAllocationResultPatch

data class DeviceRequestAllocationResultPatch(val adminAccess: Boolean? = null, val device: String? = null, val driver: String? = null, val pool: String? = null, val request: String? = null)

DeviceRequestAllocationResult contains the allocation result for one request.

Constructors

Link copied to clipboard
constructor(adminAccess: Boolean? = null, device: String? = null, driver: String? = null, pool: String? = null, request: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val adminAccess: Boolean? = null

AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode. This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.

Link copied to clipboard
val device: String? = null

Device references one device instance via its name in the driver's resource pool. It must be a DNS label.

Link copied to clipboard
val driver: String? = null

Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.

Link copied to clipboard
val pool: String? = null

This name together with the driver name and the device name field identify which device was allocated (<driver name>/<pool name>/<device name>). Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.

Link copied to clipboard
val request: String? = null

Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.