nvidia-container-toolkit/internal/config/image
Evan Lezar 1b0f07a124
Make CDI device requests consistent with other methods
Following the refactoring of device request extraction, we can
now make CDI device requests consistent with other methods.

This change moves to using image.VisibleDevices instead of
separate calls to CDIDevicesFromMounts and VisibleDevicesFromEnvVar.
The handling of annotation-based requests will be addressed in a
follow-up.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2025-06-05 21:46:54 +02:00
..
builder.go Refactor extracting requested devices from the container image 2025-06-05 12:38:45 +02:00
capabilities_test.go Refactor handling of DriverCapabilities 2023-08-14 10:40:42 +02:00
capabilities.go Fix misspellings 2023-10-24 20:00:24 +02:00
cuda_image_test.go Make CDI device requests consistent with other methods 2025-06-05 21:46:54 +02:00
cuda_image.go Make CDI device requests consistent with other methods 2025-06-05 21:46:54 +02:00
devices.go Make NewVisibleDevices public 2022-11-14 12:19:59 +01:00
envvars.go [no-relnote] Use image.CUDA to extract visible devices 2024-10-17 16:53:17 +02:00
privileged_test.go Refactor extracting requested devices from the container image 2025-06-05 12:38:45 +02:00
privileged.go Refactor extracting requested devices from the container image 2025-06-05 12:38:45 +02:00