ResourceClass

io.k8s.api.resource.v1alpha2.ResourceClass
See theResourceClass companion object
final case class ResourceClass(driverName: String, suitableNodes: Option[NodeSelector], parametersRef: Option[ResourceClassParametersReference], metadata: Option[ObjectMeta]) extends KObject

ResourceClass is used by administrators to influence how resources are allocated.

This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.

Attributes

Companion:
object
Source:
ResourceClass.scala
Graph
Supertypes
trait KObject
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def foldTo[T : Builder]: T

Attributes

Definition Classes
Source:
ResourceClass.scala

transforms driverName to result of function

transforms driverName to result of function

Attributes

Source:
ResourceClass.scala

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

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

Attributes

Source:
ResourceClass.scala

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

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

Attributes

Source:
ResourceClass.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:
ResourceClass.scala

Returns a new data with driverName set to new value

Returns a new data with driverName set to new value

Attributes

Source:
ResourceClass.scala

Returns a new data with metadata set to new value

Returns a new data with metadata set to new value

Attributes

Source:
ResourceClass.scala

Returns a new data with parametersRef set to new value

Returns a new data with parametersRef set to new value

Attributes

Source:
ResourceClass.scala

Returns a new data with suitableNodes set to new value

Returns a new data with suitableNodes set to new value

Attributes

Source:
ResourceClass.scala

Inherited methods

final def group: String

Attributes

Inherited from:
KObject
Source:
ResourceKind.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Inherited fields

final lazy val apiVersion: String

Attributes

Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val kind: String

Attributes

Inherited from:
KObject
Source:
ResourceKind.scala
final lazy val version: String

Attributes

Inherited from:
KObject
Source:
ResourceKind.scala