AllocationResult contains attributes of an allocated resource.
Devices is the result of allocating devices.
NodeSelector defines where the allocated resources are available.
If unset, they are available everywhere.
Controller is the name of the DRA driver which handled the allocation.
That driver is also responsible for deallocating the claim. It is empty when the claim can be deallocated without involving a driver.
A driver may allocate devices provided by other drivers, so this driver name here can be different from the driver names listed for the results.
This is an alpha field and requires enabling the DRAControlPlaneController feature gate.
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
AllocationResult contains attributes of an allocated resource.