DeviceClassSpecArgs

data class DeviceClassSpecArgs(val config: Output<List<DeviceClassConfigurationArgs>>? = null, val selectors: Output<List<DeviceSelectorArgs>>? = null) : ConvertibleToJava<DeviceClassSpecArgs>

DeviceClassSpec is used in a DeviceClass to define what can be allocated and how to configure it.

Constructors

Link copied to clipboard
constructor(config: Output<List<DeviceClassConfigurationArgs>>? = null, selectors: Output<List<DeviceSelectorArgs>>? = null)

Properties

Link copied to clipboard

Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver. They are passed to the driver, but are not considered while allocating the claim.

Link copied to clipboard
val selectors: Output<List<DeviceSelectorArgs>>? = null

Each selector must be satisfied by a device which is claimed via this class.

Functions

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