nvidia-container-toolkit/internal/discover
Jared Baur 838493b8b9
Allow for customizing the path to ldconfig
Since the `createContainer` `runc` hook runs with the environment that
the container's config.json specifies, the path to `ldconfig` may not be
easily resolvable if the host environment differs enough from the
container (e.g. on a NixOS host where all binaries are under hashed
paths in /nix/store with an Ubuntu container whose PATH contains
FHS-style paths such as /bin and /usr/bin). This change allows for
specifying exactly where ldconfig comes from.

Signed-off-by: Jared Baur <jaredbaur@fastmail.com>
2024-01-17 21:07:00 -08: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
discover_mock.go Regenerate mocks for formatting 2023-04-25 11:26:55 +02:00
discover.go Remove discover.Config 2023-05-10 15:03:37 +02:00
filter.go Define a basic logger interface 2023-06-12 10:46:10 +02:00
gds.go Simplify meta device discovery 2023-11-20 21:29:35 +01:00
graphics.go Locate libnvidia-egl-gbm.so.* 2023-11-22 21:57:36 +01:00
hooks.go Use tags.cncf.io for CDI imports 2023-11-01 12:40:51 +01:00
icp_test.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
ipc.go Fix append assignments 2023-10-24 20:11:34 +02:00
ldconfig_test.go Allow for customizing the path to ldconfig 2024-01-17 21:07:00 -08:00
ldconfig.go Allow for customizing the path to ldconfig 2024-01-17 21:07:00 -08:00
list.go Fix misspellings 2023-10-24 20:00:24 +02:00
mofed.go Simplify meta device discovery 2023-11-20 21:29:35 +01:00
mounts_test.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
mounts.go Replace logger.Warn(f) with logger.Warning(f) 2023-06-12 10:48:04 +02:00
none_test.go Add CSV-based discovery of mounts 2022-04-07 10:44:14 +02:00
none.go Add discovery for ldconfig hook that updates the LDCache 2022-04-07 20:25:19 +02:00
nvswitch.go Add support for injecting NVSWITCH devices 2023-11-22 21:59:39 +01:00