nvidia-container-toolkit/internal/discover
Evan Lezar 9c3c8e038a Add cache for mounts
This change adds a cache to the mounts type. This means that if called to get
a list of folders, for example, the result is reused instead of recalculated.
This also avoids duplicate logging.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2022-04-07 20:25:19 +02:00
..
csv FIX: Rename DefaultRoot to DefaultMountSpecPath 2022-04-07 14:11:52 +02:00
csv_test.go Add cache for mounts 2022-04-07 20:25:19 +02:00
csv.go Add cache for mounts 2022-04-07 20:25:19 +02:00
discover_mock.go Add CSV-based discovery of device nodes 2022-04-07 10:44:14 +02:00
discover.go Add discovery for ldconfig hook that updates the LDCache 2022-04-07 20:25:19 +02:00
ldconfig.go Add discovery for ldconfig hook that updates the LDCache 2022-04-07 20:25:19 +02:00
legacy.go Add discovery for ldconfig hook that updates the LDCache 2022-04-07 20:25:19 +02:00
list.go Add discovery for ldconfig hook that updates the LDCache 2022-04-07 20:25:19 +02:00
mounts_test.go Add cache for mounts 2022-04-07 20:25:19 +02:00
mounts.go Add cache for mounts 2022-04-07 20:25:19 +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