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 KObjecttrait Producttrait Equalstrait Serializableclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Definition Classes
- Source
- ResourceClass.scala
transforms driverName to result of function
if metadata has a value, transforms to the result of function
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 metadata set to new value
Returns a new data with parametersRef set to new value
Returns a new data with suitableNodes set to new value
Inherited methods
Attributes
- Inherited from:
- KObject
- Source
- ResourceKind.scala
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Inherited fields
Attributes
- Inherited from:
- KObject
- Source
- ResourceKind.scala
Attributes
- Inherited from:
- KObject
- Source
- ResourceKind.scala
Attributes
- Inherited from:
- KObject
- Source
- ResourceKind.scala
In this article