nvidia-container-toolkit/internal/modifier
Evan Lezar 9eccc1659d
Allow cdi mode to work with --gpus flag
This changes ensures that the cdi modifier also removes the NVIDIA
Container Runtime Hook from the incoming spec. This aligns with what is
done for CSV modifications and prevents an error when starting the
container.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2025-02-10 19:21:10 +01:00
..
cdi run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
cdi_test.go Add nvidia-container-runtime.modes.cdi.annotation-prefixes config option. 2023-03-27 16:36:54 +02:00
cdi.go [no-relnote] Use image.CUDA to extract visible devices 2024-10-17 16:53:17 +02:00
csv_test.go [no-relnote] Remove duplicate test case 2025-02-10 19:20:38 +01:00
csv.go Allow cdi mode to work with --gpus flag 2025-02-10 19:21:10 +01:00
discover_test.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
discover.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
gated.go [no-relnote] Use image.CUDA to extract visible devices 2024-10-17 16:53:17 +02:00
graphics_test.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
graphics.go [no-relnote] Use image.CUDA to extract visible devices 2024-10-17 16:53:17 +02:00
hook_remover_test.go Move cmd/nvidia-container-runtime/modifier package to internal/modifier 2022-07-01 14:28:40 +02:00
hook_remover.go Allow cdi mode to work with --gpus flag 2025-02-10 19:21:10 +01:00
list.go [no-relnote] Refactor oci spec modifier list 2025-01-22 14:37:43 +01:00
stable_test.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
stable.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00