PodResourceClaim class
PodResourceClaim references exactly one ResourceClaim through a ClaimSource. 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.
Constructors
- PodResourceClaim({required String name, ClaimSource? source})
-
Default constructor.
const
-
PodResourceClaim.fromJson(Map<
String, dynamic> json) -
Creates a PodResourceClaim from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → ClaimSource?
-
Source describes where to find the ResourceClaim.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a PodResourceClaim instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited