info

package
v0.0.0-...-d954f99 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	HasDXCore() (bool, string)
	HasNvml() (bool, string)
	IsTegraSystem() (bool, string)
}

Interface provides the API to the info package

func New

func New(opts ...Option) Interface

New creates a new instance of the 'info' interface

type Option

type Option func(*infolib)

Option defines a function for passing options to the New() call

func WithRoot

func WithRoot(root string) Option

WithRoot provides a Option to set the root of the 'info' interface

Jump to

Keyboard shortcuts

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