AllocationResultArgs

data class AllocationResultArgs(val controller: Output<String>? = null, val devices: Output<DeviceAllocationResultArgs>? = null, val nodeSelector: Output<NodeSelectorArgs>? = null) : ConvertibleToJava<AllocationResultArgs>

AllocationResult contains attributes of an allocated resource.

Constructors

Link copied to clipboard
constructor(controller: Output<String>? = null, devices: Output<DeviceAllocationResultArgs>? = null, nodeSelector: Output<NodeSelectorArgs>? = null)

Properties

Link copied to clipboard
val controller: Output<String>? = null

Controller is the name of the DRA driver which handled the allocation. That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver. A driver may allocate devices provided by other drivers, so this driver name here can be different from the driver names listed for the results. This is an alpha field and requires enabling the DRAControlPlaneController feature gate.

Link copied to clipboard
val devices: Output<DeviceAllocationResultArgs>? = null

Devices is the result of allocating devices.

Link copied to clipboard
val nodeSelector: Output<NodeSelectorArgs>? = null

NodeSelector defines where the allocated resources are available. If unset, they are available everywhere.

Functions

Link copied to clipboard
open override fun toJava(): AllocationResultArgs