ContainerDeviceRequest class
Constructors
-
ContainerDeviceRequest({Input<List<String>?>? capabilities, Input<int?>? count, Input<List<String>?>? deviceIds, Input<String?>? driver, Input<Map<String, String>?>? options})
-
Creates a new ContainerDeviceRequest.
capabilities List of device capabilities. Only used with nvidia driver (e.g., gpu, compute, utility).
count Number of devices to request. Use -1 for all devices. Only used with nvidia driver.
deviceIds List of device IDs or CDI device identifiers (e.g., nvidia.com/gpu=all).
driver The device driver to use. Common values: cdi for CDI devices, nvidia for NVIDIA GPU requests.
options Driver-specific options.
const
-
ContainerDeviceRequest.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
capabilities
→ Input<List<String>?>?
-
List of device capabilities. Only used with
nvidia driver (e.g., gpu, compute, utility).
final
-
count
→ Input<int?>?
-
Number of devices to request. Use -1 for all devices. Only used with
nvidia driver.
final
-
deviceIds
→ Input<List<String>?>?
-
List of device IDs or CDI device identifiers (e.g.,
nvidia.com/gpu=all).
final
-
driver
→ Input<String?>?
-
The device driver to use. Common values:
cdi for CDI devices, nvidia for NVIDIA GPU requests.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
options
→ Input<Map<String, String>?>?
-
Driver-specific options.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited