nvidia-container-toolkit/internal/platform-support/tegra
Evan Lezar f63ad3d9e7 Refactor symlink filter
This change refactors the use of the symlink filter to make it extendible.
A blocked filter can be set on the Tegra CSV discoverer to ensure that the correct
symlink libraries are filtered out. Here, globs can be used to select mulitple libraries,
and a **/ prefix on the globs indicates that the pattern that follows is only applied to
the filename of the symlink entry in the CSV file.

A --csv.ignore-pattern command line argument is added to the nvidia-ctk cdi generate
command that allows this to be set.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-09-22 22:04:06 +02:00
..
csv
csv_test.go Refactor symlink filter 2023-09-22 22:04:06 +02:00
csv.go Refactor symlink filter 2023-09-22 22:04:06 +02:00
filter_test.go Refactor symlink filter 2023-09-22 22:04:06 +02:00
filter.go Refactor symlink filter 2023-09-22 22:04:06 +02:00
symlinks.go Refactor CSV discovery for testability 2023-09-22 22:02:30 +02:00
tegra.go Refactor symlink filter 2023-09-22 22:04:06 +02:00