io.k8s.api.resource.v1alpha3.DeviceClassSpec
See theDeviceClassSpec companion object
final case class DeviceClassSpec(config: Option[Seq[DeviceClassConfiguration]], selectors: Option[Seq[DeviceSelector]], suitableNodes: Option[NodeSelector])
DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.
Attributes
- Companion
- object
- Source
- DeviceClassSpec.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Appends new values to config
Appends new values to selectors
if config has a value, transforms to the 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
- DeviceClassSpec.scala
if suitableNodes has a value, transforms to the result of function
if suitableNodes has a value, transforms to the result of function
Attributes
- Source
- DeviceClassSpec.scala
Returns a new data with config set to new value
Returns a new data with selectors set to new value
Returns a new data with suitableNodes set to new value
In this article