nvidia-container-toolkit/internal/lookup
Evan Lezar fd135f1a8b Add Relative function to Locator interface
This adds a Relative function to the Locator interface and uses
this to determine the host and container paths for located files
(and devices). This ensures that the root (e.g. the nvidia driver
root) is stripped from the container path.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2022-07-01 16:23:50 +02:00
..
device.go Fix assertCharDevice matching on all files 2022-05-20 10:08:00 +02:00
dir.go Add locators for symlinks and character devices 2022-04-07 10:44:14 +02:00
executable.go Allow globs in filenames for locators 2022-07-01 14:30:33 +02:00
file.go Add Relative function to Locator interface 2022-07-01 16:23:50 +02:00
locator_mock.go Add Relative function to Locator interface 2022-07-01 16:23:50 +02:00
locator.go Add Relative function to Locator interface 2022-07-01 16:23:50 +02:00
path.go Add lookup.GetPath and lookup.GetPaths functions 2022-05-10 14:52:47 +02:00
symlinks.go Allow globs in filenames for locators 2022-07-01 14:30:33 +02:00