DeviceRequest

io.k8s.api.resource.v1beta2.DeviceRequest
See theDeviceRequest companion object
final case class DeviceRequest(name: String, exactly: Option[ExactDeviceRequest], firstAvailable: Option[Seq[DeviceSubRequest]])

DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. With FirstAvailable it is also possible to provide a prioritized list of requests.

Attributes

Companion
object
Source
DeviceRequest.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Appends new values to firstAvailable

Appends new values to firstAvailable

Attributes

Source
DeviceRequest.scala

if exactly has a value, transforms to the result of function

if exactly has a value, transforms to the result of function

Attributes

Source
DeviceRequest.scala

if firstAvailable has a value, transforms to the result of function

if firstAvailable has a value, transforms to the result of function

Attributes

Source
DeviceRequest.scala

transforms name to result of function

transforms name to result of function

Attributes

Source
DeviceRequest.scala

Returns a new data with exactly set to new value

Returns a new data with exactly set to new value

Attributes

Source
DeviceRequest.scala

Returns a new data with firstAvailable set to new value

Returns a new data with firstAvailable set to new value

Attributes

Source
DeviceRequest.scala

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
DeviceRequest.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product