Class AllocatedDeviceStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1alpha3.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.- 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)
-
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>`).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>`).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.
-
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.
-
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.
-
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.
-
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.
-
edit
public AllocatedDeviceStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AllocatedDeviceStatusBuilder>
-
toBuilder
public AllocatedDeviceStatusBuilder toBuilder()
-
-