Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
Interface provides a set of utilities for interacting with NVIDIA devices on the system.
func (*Interface) CreateNVIDIAControlDevices ¶
CreateNVIDIAControlDevices creates the NVIDIA control device nodes at the configured devRoot.
func (*Interface) CreateNVIDIADevice ¶
CreateNVIDIADevice creates the specified NVIDIA device node at the configured devRoot.
type Option ¶
type Option func(*Interface)
Option is a function that sets an option on the Interface struct.
func WithDevRoot ¶
WithDevRoot sets the root directory for the NVIDIA device nodes.
func WithDevices ¶
WithDevices sets the devices for the Interface struct.
func WithDryRun ¶
WithDryRun sets the dry run option for the Interface struct.
func WithLogger ¶
WithLogger sets the logger for the Interface struct.
Click to show internal directories.
Click to hide internal directories.