Documentation
      ¶
    
    
  
    
  
    Index ¶
- func New(opts ...Option) (discover.Discover, error)
 - type Option
 - func WithCSVFiles(csvFiles []string) Option
 - func WithDevRoot(devRoot string) Option
 - func WithDriverRoot(driverRoot string) Option
 - func WithIngorePatterns(ignorePatterns ...string) Option
 - func WithLdconfigPath(ldconfigPath string) Option
 - func WithLibrarySearchPaths(librarySearchPaths ...string) Option
 - func WithLogger(logger logger.Interface) Option
 - func WithNVIDIACDIHookPath(nvidiaCDIHookPath string) Option
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*tegraOptions)
Option defines a functional option for configuring a Tegra discoverer.
func WithCSVFiles ¶
WithCSVFiles sets the CSV files for the discoverer.
func WithDevRoot ¶ added in v1.15.0
WithDevRoot sets the /dev root. If this is unset, the driver root is assumed.
func WithDriverRoot ¶
WithDriverRoot sets the driver root for the discoverer.
func WithIngorePatterns ¶ added in v1.14.2
WithIngorePatterns sets patterns to ignore in the CSV files
func WithLdconfigPath ¶ added in v1.15.0
WithLdconfigPath sets the path to the ldconfig program
func WithLibrarySearchPaths ¶
WithLibrarySearchPaths sets the library search paths for the discoverer.
func WithLogger ¶
WithLogger sets the logger for the discoverer.
func WithNVIDIACDIHookPath ¶ added in v1.16.0
WithNVIDIACDIHookPath sets the path to the nvidia-cdi-hook binary.
 Click to show internal directories. 
   Click to hide internal directories.