PodResourceClaimPatch class

PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod.

It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.

When the DRAWorkloadResourceClaims feature gate is enabled and this Pod belongs to a PodGroup, a PodResourceClaim is matched to a PodGroupResourceClaim if all of their fields are equal (Name, ResourceClaimName, and ResourceClaimTemplateName). A matched claim references a single ResourceClaim shared across all Pods in the PodGroup, reserved for the PodGroup in ResourceClaimStatus.ReservedFor rather than for individual Pods.

Constructors

PodResourceClaimPatch({Input<String>? name, Input<String>? resourceClaimName, Input<String>? resourceClaimTemplateName, Input<ClaimSourcePatch>? source})
Creates a new PodResourceClaimPatch. name Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL. resourceClaimName ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod. resourceClaimTemplateName ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod. source Source describes where to find the ResourceClaim.
const
PodResourceClaimPatch.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>?
Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.
final
resourceClaimName → Input<String>?
ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
final
resourceClaimTemplateName → Input<String>?
ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → Input<ClaimSourcePatch>?
Source describes where to find the ResourceClaim.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited