ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.
Allocation is set by the resource driver once a resource has been allocated successfully.
If this is not specified, the resource is not yet allocated.
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.
There can be at most 32 such reservations. This may get increased in the future, but not reduced.
DriverName is a copy of the driver name from the ResourceClass at the time when allocation started.
DeallocationRequested indicates that a ResourceClaim is to be deallocated.
The driver then must deallocate this claim and reset the field together with clearing the Allocation field.
While DeallocationRequested is set, no new consumers may be added to ReservedFor.
Returns the class of this.
this
Returns a string representation of this.
This method is used to convert the values of string interpolation expressions to strings.
Returns this |> transform if this is non-null, and null otherwise.
this |> transform
null
This method is the complement of the ?? operator and the equivalent of an Option type's map and flatMap methods.
??
Option
map
flatMap
Tells if this object has a property with the given name.
name
Returns the value of the property with the given name.
Throws if a property with this name does not exist.
Returns null if a property with this name does not exist.
Converts this object to a Dynamic object.
Dynamic
Converts this object to a Map.
Map
ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.