AllocationResult contains attributed of an allocated resource.
Shareable determines whether the resource supports more than one consumer at a time.
ResourceHandle contains arbitrary data returned by the driver after a successful allocation.
This is opaque for Kubernetes. Driver documentation may explain to users how to interpret this data if needed.
The maximum size of this field is 16KiB. This may get increased in the future, but not reduced.
This field will get set by the resource driver after it has allocated the resource driver to inform the scheduler where it can schedule Pods using the ResourceClaim.
Setting this field is optional. If null, the resource is available everywhere.
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 attributed of an allocated resource.