cdi

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Option) (nvcdi.Interface, error)

New creates a new instance of this library

Types

type Option

type Option func(*nvcdilib)

func WithClass

func WithClass(class string) Option

WithClass sets the class for the library

func WithNvpciLib

func WithNvpciLib(nvpcilib nvpciInterface) Option

WithNvpciLib sets the nvpci library for the library

func WithVendor

func WithVendor(vendor string) Option

WithVendor sets the vendor for the library

Jump to

Keyboard shortcuts

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