Class AllocatedDeviceStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1beta1.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 Summary
Constructors Constructor Description AllocatedDeviceStatus()No args constructor for use in serializationAllocatedDeviceStatus(List<io.fabric8.kubernetes.api.model.Condition> conditions, Object data, String device, String driver, NetworkDeviceData networkData, String pool, String shareID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AllocatedDeviceStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<io.fabric8.kubernetes.api.model.Condition>getConditions()Conditions contains the latest observation of the device's state.ObjectgetData()AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it.StringgetDevice()Device references one device instance via its name in the driver's resource pool.StringgetDriver()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.NetworkDeviceDatagetNetworkData()AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it.StringgetPool()This name together with the driver name and the device name field identify which device was allocated (`<driver name>/<pool name>/<device name>`).StringgetShareID()ShareID uniquely identifies an individual allocation share of the device.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)Conditions contains the latest observation of the device's state.voidsetData(Object data)AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it.voidsetDevice(String device)Device references one device instance via its name in the driver's resource pool.voidsetDriver(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.voidsetNetworkData(NetworkDeviceData networkData)AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it.voidsetPool(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>`).voidsetShareID(String shareID)ShareID uniquely identifies an individual allocation share of the device.AllocatedDeviceStatusBuildertoBuilder()
-
-
-
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.
-
edit
public AllocatedDeviceStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AllocatedDeviceStatusBuilder>
-
toBuilder
public AllocatedDeviceStatusBuilder toBuilder()
-
-