Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RuntimeName is the default name to use in configs for the NVIDIA Container Runtime RuntimeName = "nvidia" // RuntimeExecutable is the default NVIDIA Container Runtime executable file name RuntimeExecutable = "nvidia-container-runtime" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
Options specifies the options for the NVIDIA Container Runtime w.r.t a container engine such as docker.
func (Options) DefaultRuntime ¶
DefaultRuntime returns the default runtime for the configured options. If the configuration is invalid or the default runtimes should not be set the empty string is returned.
type Runtime ¶
Runtime defines an NVIDIA runtime with a name and a executable
func (Runtime) DockerRuntimesConfig ¶
DockerRuntimesConfig generatest the expected docker config for the specified runtime
Click to show internal directories.
Click to hide internal directories.