io.k8s.api.resource.v1.Device
See theDevice companion object
final case class Device(
name:
String,
allowMultipleAllocations:
Option[
Boolean],
bindingConditions:
Option[
Seq[
String]],
taints:
Option[
Seq[
DeviceTaint]],
nodeName:
Option[
String],
attributes:
Option[
Map[
String,
DeviceAttribute]],
consumesCounters:
Option[
Seq[
DeviceCounterConsumption]],
nodeSelector:
Option[
NodeSelector],
bindsToNode:
Option[
Boolean],
bindingFailureConditions:
Option[
Seq[
String]],
allNodes:
Option[
Boolean],
capacity:
Option[
Map[
String,
DeviceCapacity]])
Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.
Attributes
-
Companion
-
object
-
Source
-
Device.scala
-
Graph
-
-
Supertypes
-
trait Serializable
class Object
trait Matchable
class Any
Show all
Members list
Adds new values to attributes
Adds new values to attributes
Attributes
-
Source
-
Device.scala
Appends new values to bindingConditions
Appends new values to bindingConditions
Attributes
-
Source
-
Device.scala
Appends new values to bindingFailureConditions
Appends new values to bindingFailureConditions
Attributes
-
Source
-
Device.scala
Adds new values to capacity
Appends new values to consumesCounters
Appends new values to consumesCounters
Attributes
-
Source
-
Device.scala
Appends new values to taints
if allNodes has a value, transforms to the result of function
if allNodes has a value, transforms to the result of function
Attributes
-
Source
-
Device.scala
if allowMultipleAllocations has a value, transforms to the result of function
if allowMultipleAllocations has a value, transforms to the result of function
Attributes
-
Source
-
Device.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
-
Device.scala
if bindingConditions has a value, transforms to the result of function
if bindingConditions has a value, transforms to the result of function
Attributes
-
Source
-
Device.scala
if bindingFailureConditions has a value, transforms to the result of function
if bindingFailureConditions has a value, transforms to the result of function
Attributes
-
Source
-
Device.scala
if bindsToNode has a value, transforms to the result of function
if bindsToNode has a value, transforms to the result of function
Attributes
-
Source
-
Device.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
-
Device.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
-
Device.scala
transforms name to result of function
transforms name to result of function
Attributes
-
Source
-
Device.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
-
Device.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
-
Device.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
-
Device.scala
Returns a new data with allNodes set to new value
Returns a new data with allNodes set to new value
Attributes
-
Source
-
Device.scala
Returns a new data with allowMultipleAllocations set to new value
Returns a new data with allowMultipleAllocations set to new value
Attributes
-
Source
-
Device.scala
Returns a new data with attributes set to new value
Returns a new data with attributes set to new value
Attributes
-
Source
-
Device.scala
Returns a new data with bindingConditions set to new value
Returns a new data with bindingConditions set to new value
Attributes
-
Source
-
Device.scala
Returns a new data with bindingFailureConditions set to new value
Returns a new data with bindingFailureConditions set to new value
Attributes
-
Source
-
Device.scala
Returns a new data with bindsToNode set to new value
Returns a new data with bindsToNode set to new value
Attributes
-
Source
-
Device.scala
Returns a new data with capacity set to new value
Returns a new data with capacity set to new value
Attributes
-
Source
-
Device.scala
Returns a new data with consumesCounters set to new value
Returns a new data with consumesCounters set to new value
Attributes
-
Source
-
Device.scala
Returns a new data with name set to new value
Returns a new data with name set to new value
Attributes
-
Source
-
Device.scala
Returns a new data with nodeName set to new value
Returns a new data with nodeName set to new value
Attributes
-
Source
-
Device.scala
Returns a new data with nodeSelector set to new value
Returns a new data with nodeSelector set to new value
Attributes
-
Source
-
Device.scala
Returns a new data with taints set to new value
Returns a new data with taints set to new value
Attributes
-
Source
-
Device.scala