DeviceClassSpecPatch

data class DeviceClassSpecPatch(val config: List<DeviceClassConfigurationPatch>? = null, val selectors: List<DeviceSelectorPatch>? = null)

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

Constructors

Link copied to clipboard
constructor(config: List<DeviceClassConfigurationPatch>? = null, selectors: List<DeviceSelectorPatch>? = null)

Types

Link copied to clipboard
object Companion

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

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