BasicDevice

io.k8s.api.resource.v1beta1.BasicDevice
See theBasicDevice companion object
final case class BasicDevice(taints: Option[Seq[DeviceTaint]], nodeName: Option[String], attributes: Option[Map[String, DeviceAttribute]], consumesCounters: Option[Seq[DeviceCounterConsumption]], nodeSelector: Option[NodeSelector], allNodes: Option[Boolean], capacity: Option[Map[String, DeviceCapacity]])

BasicDevice defines one device instance.

Attributes

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

Members list

Value members

Concrete methods

Adds new values to attributes

Adds new values to attributes

Attributes

Source
BasicDevice.scala

Adds new values to capacity

Adds new values to capacity

Attributes

Source
BasicDevice.scala

Appends new values to consumesCounters

Appends new values to consumesCounters

Attributes

Source
BasicDevice.scala
def addTaints(newValues: DeviceTaint*): BasicDevice

Appends new values to taints

Appends new values to taints

Attributes

Source
BasicDevice.scala

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

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

Attributes

Source
BasicDevice.scala

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

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

Attributes

Source
BasicDevice.scala

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

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

Attributes

Source
BasicDevice.scala

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

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

Attributes

Source
BasicDevice.scala

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

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

Attributes

Source
BasicDevice.scala

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

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

Attributes

Source
BasicDevice.scala

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

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

Attributes

Source
BasicDevice.scala

Returns a new data with allNodes set to new value

Returns a new data with allNodes set to new value

Attributes

Source
BasicDevice.scala

Returns a new data with attributes set to new value

Returns a new data with attributes set to new value

Attributes

Source
BasicDevice.scala

Returns a new data with capacity set to new value

Returns a new data with capacity set to new value

Attributes

Source
BasicDevice.scala

Returns a new data with consumesCounters set to new value

Returns a new data with consumesCounters set to new value

Attributes

Source
BasicDevice.scala

Returns a new data with nodeName set to new value

Returns a new data with nodeName set to new value

Attributes

Source
BasicDevice.scala

Returns a new data with nodeSelector set to new value

Returns a new data with nodeSelector set to new value

Attributes

Source
BasicDevice.scala

Returns a new data with taints set to new value

Returns a new data with taints set to new value

Attributes

Source
BasicDevice.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product