tegra

package
v1.14.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Option) (discover.Discover, error)

New creates a new tegra discoverer using the supplied options.

Types

type Option

type Option func(*tegraOptions)

Option defines a functional option for configuring a Tegra discoverer.

func WithCSVFiles

func WithCSVFiles(csvFiles []string) Option

WithCSVFiles sets the CSV files for the discoverer.

func WithDriverRoot

func WithDriverRoot(driverRoot string) Option

WithDriverRoot sets the driver root for the discoverer.

func WithIngorePatterns added in v1.14.2

func WithIngorePatterns(ignorePatterns ...string) Option

WithIngorePatterns sets patterns to ignore in the CSV files

func WithLibrarySearchPaths

func WithLibrarySearchPaths(librarySearchPaths ...string) Option

WithLibrarySearchPaths sets the library search paths for the discoverer.

func WithLogger

func WithLogger(logger logger.Interface) Option

WithLogger sets the logger for the discoverer.

func WithNVIDIACTKPath

func WithNVIDIACTKPath(nvidiaCTKPath string) Option

WithNVIDIACTKPath sets the path to the nvidia-container-toolkit binary.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL