Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DefaultNvidiaDriverRoot specifies the default NVIDIA driver run directory
DefaultNvidiaDriverRoot = "/run/nvidia/driver"
)
Variables ¶
This section is empty.
Functions ¶
func Install ¶
Install installs the components of the NVIDIA container toolkit. Any existing installation is removed.
func TryDelete ¶
TryDelete attempts to remove the specified toolkit folder. A toolkit.pid file -- if present -- is skipped.
func ValidateOptions ¶
ValidateOptions checks whether the specified options are valid
Types ¶
type Options ¶
type Options struct { DriverRoot string DevRoot string DriverRootCtrPath string DevRootCtrPath string ContainerRuntimeMode string ContainerRuntimeDebug string ContainerRuntimeLogLevel string ContainerRuntimeModesCdiDefaultKind string ContainerRuntimeModesCDIAnnotationPrefixes cli.StringSlice ContainerRuntimeRuntimes cli.StringSlice ContainerRuntimeHookSkipModeDetection bool ContainerCLIDebug string // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.