nvidia-container-toolkit/internal/lookup
Evan Lezar 6237477ba3 Limit number of candidates for executables
This change ensures that the first match of an executable in the path
is retured instead of a list of candidates. This prevents a CDI spec,
for example, from containing multiple entries for a single executable
(e.g. nvidia-smi).

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-01-20 15:10:24 +01:00
..
device_test.go Add test for device locator 2022-12-02 13:55:13 +01:00
device.go Use Options to set FileLocator options 2022-12-02 13:57:33 +01:00
dir.go Use Options to set FileLocator options 2022-12-02 13:57:33 +01:00
executable_test.go Use getSearchPrefixes for all locators 2022-12-02 13:55:13 +01:00
executable.go Limit number of candidates for executables 2023-01-20 15:10:24 +01:00
file_test.go Add support for specifying multiple prefixes 2022-12-02 13:55:13 +01:00
file.go Limit number of candidates for executables 2023-01-20 15:10:24 +01:00
library.go Add a locator for libraries 2022-09-28 16:43:21 +02:00
locator_mock.go Add Relative function to Locator interface 2022-07-01 16:23:50 +02:00
locator.go Remove Relative method from Locator 2022-07-15 16:40:27 +02:00
path.go Add lookup.GetPath and lookup.GetPaths functions 2022-05-10 14:52:47 +02:00
symlinks.go Use Options to set FileLocator options 2022-12-02 13:57:33 +01:00