tegra

package
v1.14.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: Apache-2.0 Imports: 4 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 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.

Jump to

Keyboard shortcuts

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