io.k8s.api.resource.v1beta2.DeviceConstraint
See theDeviceConstraint companion object
final case class DeviceConstraint(distinctAttribute: Option[String], matchAttribute: Option[String], requests: Option[Seq[String]])
DeviceConstraint must have exactly one field set besides Requests.
Attributes
- Companion
- object
- Source
- DeviceConstraint.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Appends new values to requests
if distinctAttribute has a value, transforms to the result of function
if distinctAttribute has a value, transforms to the result of function
Attributes
- Source
- DeviceConstraint.scala
if matchAttribute has a value, transforms to the result of function
if matchAttribute has a value, transforms to the result of function
Attributes
- Source
- DeviceConstraint.scala
if requests has a value, transforms to the result of function
if requests has a value, transforms to the result of function
Attributes
- Source
- DeviceConstraint.scala
Returns a new data with distinctAttribute set to new value
Returns a new data with matchAttribute set to new value
Returns a new data with requests set to new value
In this article