mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-06-26 18:18:24 +00:00
Add config search paths option to driver root.
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
@@ -126,6 +126,13 @@ func WithCSVIgnorePatterns(csvIgnorePatterns []string) Option {
|
||||
}
|
||||
}
|
||||
|
||||
// WithConfigSearchPaths sets the search paths for config files.
|
||||
func WithConfigSearchPaths(paths []string) Option {
|
||||
return func(o *nvcdilib) {
|
||||
o.configSearchPaths = paths
|
||||
}
|
||||
}
|
||||
|
||||
// WithLibrarySearchPaths sets the library search paths.
|
||||
// This is currently only used for CSV-mode.
|
||||
func WithLibrarySearchPaths(paths []string) Option {
|
||||
|
||||
Reference in New Issue
Block a user