ResourceClaimStatus class

ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.

Constructors

ResourceClaimStatus({AllocationResult? allocation, bool? deallocationRequested, String? driverName, List<ResourceClaimConsumerReference>? reservedFor})
Default constructor.
const
ResourceClaimStatus.fromJson(Map<String, dynamic> json)
Creates a ResourceClaimStatus from JSON data.
factory

Properties

allocation AllocationResult?
Allocation is set by the resource driver once a resource or set of resources has been allocated successfully. If this is not specified, the resources have not been allocated yet.
final
deallocationRequested bool?
DeallocationRequested indicates that a ResourceClaim is to be deallocated.
final
driverName String?
DriverName is a copy of the driver name from the ResourceClass at the time when allocation started.
final
hashCode int
The hash code for this object.
no setterinherited
reservedFor List<ResourceClaimConsumerReference>?
ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a ResourceClaimStatus instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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