DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.
DeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported.
Attributes
- Companion
- object
- Source
- DeviceSubRequest.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Appends new values to selectors
Appends new values to tolerations
if allocationMode has a value, transforms to the result of function
if allocationMode has a value, transforms to the result of function
Attributes
- Source
- DeviceSubRequest.scala
if count has a value, transforms to the result of function
transforms deviceClassName to result of function
transforms name to result of function
if selectors has a value, transforms to the result of function
if selectors has a value, transforms to the result of function
Attributes
- Source
- DeviceSubRequest.scala
if tolerations has a value, transforms to the result of function
if tolerations has a value, transforms to the result of function
Attributes
- Source
- DeviceSubRequest.scala
Returns a new data with allocationMode set to new value
Returns a new data with count set to new value
Returns a new data with deviceClassName set to new value
Returns a new data with name set to new value
Returns a new data with selectors set to new value
Returns a new data with tolerations set to new value