Class V1alpha3AllocationResult
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha3AllocationResult
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-07T19:21:52.410010Z[Etc/UTC]")
public class V1alpha3AllocationResult
extends Object
AllocationResult contains attributes of an allocated resource.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontroller
(String controller) devices
(V1alpha3DeviceAllocationResult devices) boolean
Controller is the name of the DRA driver which handled the allocation.Get devicesGet nodeSelectorint
hashCode()
nodeSelector
(V1NodeSelector nodeSelector) void
setController
(String controller) void
setDevices
(V1alpha3DeviceAllocationResult devices) void
setNodeSelector
(V1NodeSelector nodeSelector) toString()
-
Field Details
-
SERIALIZED_NAME_CONTROLLER
- See Also:
-
SERIALIZED_NAME_DEVICES
- See Also:
-
SERIALIZED_NAME_NODE_SELECTOR
- See Also:
-
-
Constructor Details
-
V1alpha3AllocationResult
public V1alpha3AllocationResult()
-
-
Method Details
-
controller
-
getController
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:
- controller
-
setController
-
devices
-
getDevices
Get devices- Returns:
- devices
-
setDevices
-
nodeSelector
-
getNodeSelector
Get nodeSelector- Returns:
- nodeSelector
-
setNodeSelector
-
equals
-
hashCode
public int hashCode() -
toString
-