io.k8s.api.resource.v1alpha3.ResourceClaim
See theResourceClaim companion object
final case class ResourceClaim(spec: ResourceClaimSpec, status: Option[ResourceClaimStatus], metadata: Option[ObjectMeta]) extends KObject
ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.
This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.
Attributes
- Companion
- object
- Source
- ResourceClaim.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Attributes
- Definition Classes
- Source
- ResourceClaim.scala
if metadata has a value, transforms to the result of function
transforms spec to result of function
if status has a value, transforms to the result of function
Returns a new data with metadata set to new value
Returns a new data with spec set to new value
Returns a new data with status 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