Class PoolStatus

    • Constructor Detail

      • PoolStatus

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

      • getAllocatedDevices

        public Integer getAllocatedDevices()
        AllocatedDevices is the number of devices currently allocated to claims. A value of 0 means no devices are allocated. May be unset when validationError is set.
      • setAllocatedDevices

        public void setAllocatedDevices​(Integer allocatedDevices)
        AllocatedDevices is the number of devices currently allocated to claims. A value of 0 means no devices are allocated. May be unset when validationError is set.
      • getAvailableDevices

        public Integer getAvailableDevices()
        AvailableDevices is the number of devices available for allocation. This equals TotalDevices - AllocatedDevices - UnavailableDevices. A value of 0 means no devices are currently available. May be unset when validationError is set.
      • setAvailableDevices

        public void setAvailableDevices​(Integer availableDevices)
        AvailableDevices is the number of devices available for allocation. This equals TotalDevices - AllocatedDevices - UnavailableDevices. A value of 0 means no devices are currently available. May be unset when validationError is set.
      • getDriver

        public String getDriver()
        Driver is the DRA driver name for this pool. Must be a DNS subdomain (e.g., "gpu.example.com").
      • setDriver

        public void setDriver​(String driver)
        Driver is the DRA driver name for this pool. Must be a DNS subdomain (e.g., "gpu.example.com").
      • getGeneration

        public Long getGeneration()
        Generation is the pool generation observed across all ResourceSlices in this pool. Only the latest generation is reported. During a generation rollout, if not all slices at the latest generation have been published, the pool is included with a validationError and device counts unset.
      • setGeneration

        public void setGeneration​(Long generation)
        Generation is the pool generation observed across all ResourceSlices in this pool. Only the latest generation is reported. During a generation rollout, if not all slices at the latest generation have been published, the pool is included with a validationError and device counts unset.
      • getNodeName

        public String getNodeName()
        NodeName is the node this pool is associated with. When omitted, the pool is not associated with a specific node. Must be a valid DNS subdomain name (RFC1123).
      • setNodeName

        public void setNodeName​(String nodeName)
        NodeName is the node this pool is associated with. When omitted, the pool is not associated with a specific node. Must be a valid DNS subdomain name (RFC1123).
      • getPoolName

        public String getPoolName()
        PoolName is the name of the pool. Must be a valid resource pool name (DNS subdomains separated by "/").
      • setPoolName

        public void setPoolName​(String poolName)
        PoolName is the name of the pool. Must be a valid resource pool name (DNS subdomains separated by "/").
      • getResourceSliceCount

        public Integer getResourceSliceCount()
        ResourceSliceCount is the number of ResourceSlices that make up this pool. May be unset when validationError is set.
      • setResourceSliceCount

        public void setResourceSliceCount​(Integer resourceSliceCount)
        ResourceSliceCount is the number of ResourceSlices that make up this pool. May be unset when validationError is set.
      • getTotalDevices

        public Integer getTotalDevices()
        TotalDevices is the total number of devices in the pool across all slices. A value of 0 means the pool has no devices. May be unset when validationError is set.
      • setTotalDevices

        public void setTotalDevices​(Integer totalDevices)
        TotalDevices is the total number of devices in the pool across all slices. A value of 0 means the pool has no devices. May be unset when validationError is set.
      • getUnavailableDevices

        public Integer getUnavailableDevices()
        UnavailableDevices is the number of devices that are not available due to taints or other conditions, but are not allocated. A value of 0 means all unallocated devices are available. May be unset when validationError is set.
      • setUnavailableDevices

        public void setUnavailableDevices​(Integer unavailableDevices)
        UnavailableDevices is the number of devices that are not available due to taints or other conditions, but are not allocated. A value of 0 means all unallocated devices are available. May be unset when validationError is set.
      • getValidationError

        public String getValidationError()
        ValidationError is set when the pool's data could not be fully validated (e.g., incomplete slice publication). When set, device count fields and ResourceSliceCount may be unset.
      • setValidationError

        public void setValidationError​(String validationError)
        ValidationError is set when the pool's data could not be fully validated (e.g., incomplete slice publication). When set, device count fields and ResourceSliceCount may be unset.
      • getAdditionalProperties

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

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

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