DeviceClaimPatch

data class DeviceClaimPatch(val config: List<DeviceClaimConfigurationPatch>? = null, val constraints: List<DeviceConstraintPatch>? = null, val requests: List<DeviceRequestPatch>? = null)

DeviceClaim defines how to request devices with a ResourceClaim.

Constructors

Link copied to clipboard
constructor(config: List<DeviceClaimConfigurationPatch>? = null, constraints: List<DeviceConstraintPatch>? = null, requests: List<DeviceRequestPatch>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.

Link copied to clipboard

These constraints must be satisfied by the set of devices that get allocated for the claim.

Link copied to clipboard

Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.