Class DeviceRequestAllocationResult

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<DeviceRequestAllocationResultBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class DeviceRequestAllocationResult
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<DeviceRequestAllocationResultBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    DeviceRequestAllocationResult contains the allocation result for one request.
    See Also:
    Serialized Form
    • Constructor Detail

      • DeviceRequestAllocationResult

        public DeviceRequestAllocationResult()
        No args constructor for use in serialization
      • DeviceRequestAllocationResult

        public DeviceRequestAllocationResult​(Boolean adminAccess,
                                             String device,
                                             String driver,
                                             String pool,
                                             String request)
    • Method Detail

      • getAdminAccess

        public Boolean getAdminAccess()
        AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.


        This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.

      • setAdminAccess

        public void setAdminAccess​(Boolean adminAccess)
        AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.


        This is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.

      • getDevice

        public String getDevice()
        Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
      • setDevice

        public void setDevice​(String device)
        Device references one device instance via its name in the driver's resource pool. It must be a DNS label.
      • getDriver

        public String getDriver()
        Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.


        Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.

      • setDriver

        public void setDriver​(String driver)
        Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.


        Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.

      • getPool

        public String getPool()
        This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).


        Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.

      • setPool

        public void setPool​(String pool)
        This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).


        Must not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.

      • getRequest

        public String getRequest()
        Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.
      • setRequest

        public void setRequest​(String request)
        Request is the name of the request in the claim which caused this device to be allocated. Multiple devices may have been allocated per request.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)