nvidia-container-toolkit/internal/discover
Agustin Henze a85af1d78f Sort links to get consistent and repeateable output
When you run sudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml
multiple times, you get small differences between each run, but only
because the output of links is not sorted. Sorting the links solve the
problem of reproducibility among runs.

Signed-off-by: Agustin Henze <tin@aayy.com.ar>
2025-06-03 16:44:18 +02:00
..
cache.go nvsandboxutils: Add usage of GetGpuResource and GetFileContent APIs 2024-09-24 10:05:14 -07:00
char_devices_test.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
char_devices.go Simplify meta device discovery 2023-11-20 21:29:35 +01:00
compat_libs.go Refactor the way we create CDI Hooks 2025-05-21 10:19:47 +02:00
discover_mock.go Regenerate mocks for formatting 2023-04-25 11:26:55 +02:00
discover.go Add envvar to control debug logging in CDI hooks 2025-05-30 15:27:52 +02:00
filter.go fix minor typos and rm unused logger param 2024-01-22 16:48:11 -08:00
first-valid.go nvsandboxutils: Add usage of GetGpuResource and GetFileContent APIs 2024-09-24 10:05:14 -07:00
gdrcopy.go Add a new gated modifier for GDRCopy which injects the gdrdrv device node 2024-01-24 14:25:58 -08:00
gds.go Simplify meta device discovery 2023-11-20 21:29:35 +01:00
graphics_test.go Add envvar to control debug logging in CDI hooks 2025-05-30 15:27:52 +02:00
graphics.go Refactor the way we create CDI Hooks 2025-05-21 10:19:47 +02:00
hooks.go Add envvar to control debug logging in CDI hooks 2025-05-30 15:27:52 +02:00
ipc_test.go Add rprivate to CDI mount options 2025-05-09 15:16:13 +02:00
ipc.go Revert "Merge pull request #694 from elezar/add-opt-in-to-sockets" 2024-09-20 20:26:45 +02:00
ldconfig_test.go Add envvar to control debug logging in CDI hooks 2025-05-30 15:27:52 +02:00
ldconfig.go Refactor the way we create CDI Hooks 2025-05-21 10:19:47 +02:00
list.go Skip nil discoverers in merge 2025-05-07 12:51:38 +02:00
mofed.go Simplify meta device discovery 2023-11-20 21:29:35 +01:00
mounts_test.go Edit discover.mounts to have a deterministic output 2025-05-22 15:25:03 +02:00
mounts-to-container-path_test.go Add rprivate to CDI mount options 2025-05-09 15:16:13 +02:00
mounts-to-container-path.go Add rprivate to CDI mount options 2025-05-09 15:16:13 +02:00
mounts.go Edit discover.mounts to have a deterministic output 2025-05-22 15:25:03 +02:00
none_test.go Add CSV-based discovery of mounts 2022-04-07 10:44:14 +02:00
none.go Add creation of select driver symlinks to CDI spec 2024-10-01 11:34:58 +02:00
nvswitch.go Add support for injecting NVSWITCH devices 2023-11-22 21:59:39 +01:00
symlinks_test.go Sort links to get consistent and repeateable output 2025-06-03 16:44:18 +02:00
symlinks.go Sort links to get consistent and repeateable output 2025-06-03 16:44:18 +02:00