Documentation ¶
Overview ¶
Package native implements a Launcher that will configure and launch a container with Singularity's own (native) runtime.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Launcher ¶
type Launcher struct {
// contains filtered or unexported fields
}
Launcher will holds configuration for, and will launch a container using Singularity's own (native) runtime.
func NewLauncher ¶
NewLauncher returns a native.Launcher with an initial configuration set by opts.
func (*Launcher) Exec ¶
Exec prepares an EngineConfig defining how a container should be launched, then calls the starter binary to execute it. This includes interactive containers, instances, and joining an existing instance.
func (*Launcher) SetGPUConfig ¶
SetGPUConfig sets up EngineConfig entries for NV / ROCm usage, if requested.
Click to show internal directories.
Click to hide internal directories.