Documentation
      ¶
    
    
  
    
      Index ¶
- Constants
 - func Cleanup(c *cli.Context, o *container.Options, co *Options) error
 - func Flags(opts *Options) []cli.Flag
 - func GetLowlevelRuntimePaths(o *container.Options, co *Options) ([]string, error)
 - func RestartContainerd(o *container.Options) error
 - func Setup(c *cli.Context, o *container.Options, co *Options) error
 - func SignalContainerd(socket string) error
 - type Options
 
Constants ¶
      View Source
      
  
const ( Name = "containerd" DefaultConfig = "/etc/containerd/config.toml" DefaultSocket = "/run/containerd/containerd.sock" DefaultRestartMode = "signal" )
Variables ¶
This section is empty.
Functions ¶
func Cleanup ¶
Cleanup reverts a containerd configuration to remove the nvidia-containerd-runtime and reloads it
func GetLowlevelRuntimePaths ¶
func RestartContainerd ¶
RestartContainerd restarts containerd depending on the value of restartModeFlag
func Setup ¶
Setup updates a containerd configuration to include the nvidia-containerd-runtime and reloads it
func SignalContainerd ¶
SignalContainerd sends a SIGHUP signal to the containerd daemon
Types ¶
type Options ¶
type Options struct {
	ContainerRuntimeModesCDIAnnotationPrefixes cli.StringSlice
	// contains filtered or unexported fields
}
    Options stores the containerd-specific options
 Click to show internal directories. 
   Click to hide internal directories.