nvidia-container-toolkit/internal/discover
Evan Lezar 986f3db971 Fix race condition in mounts cache
This change switches to using the WithCache decorator for
mounts instead of keeping track of a cache locally.

This addresses a race condition when using the mounts structure.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2025-04-02 16:29:49 +02:00
..
cache.go nvsandboxutils: Add usage of GetGpuResource and GetFileContent APIs 2024-09-24 10:05:14 -07:00
char_devices_test.go
char_devices.go Simplify meta device discovery 2023-11-20 21:29:35 +01:00
compat_libs.go
discover_mock.go
discover.go
filter.go
first-valid.go
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
graphics_test.go Skip explicit creation of libnvidia-allocator.so.1 symlink 2024-09-26 16:34:39 +02:00
graphics.go
hooks.go
ipc_test.go
ipc.go
ldconfig_test.go
ldconfig.go
list.go
mofed.go
mounts_test.go
mounts-to-container-path_test.go
mounts-to-container-path.go
mounts.go
none_test.go
none.go
nvswitch.go
symlinks_test.go
symlinks.go