Class AllocatedDeviceStatus

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class AllocatedDeviceStatus
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<AllocatedDeviceStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.


    The combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices.

    See Also:
    Serialized Form
    • Constructor Detail

      • AllocatedDeviceStatus

        public AllocatedDeviceStatus()
        No args constructor for use in serialization
    • Method Detail

      • getConditions

        public List<io.fabric8.kubernetes.api.model.Condition> getConditions()
        Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.


        Must not contain more than 8 entries.

      • setConditions

        public void setConditions​(List<io.fabric8.kubernetes.api.model.Condition> conditions)
        Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.


        Must not contain more than 8 entries.

      • getData

        public Object getData()
        AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.


        The combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices.

      • setData

        public void setData​(Object data)
        AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.


        The combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices.

      • 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.

      • getNetworkData

        public NetworkDeviceData getNetworkData()
        AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.


        The combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices.

      • setNetworkData

        public void setNetworkData​(NetworkDeviceData networkData)
        AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.


        The combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices.

      • 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.

      • getShareID

        public String getShareID()
        ShareID uniquely identifies an individual allocation share of the device.
      • setShareID

        public void setShareID​(String shareID)
        ShareID uniquely identifies an individual allocation share of the device.
      • getAdditionalProperties

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

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

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