Documentation
      ¶
    
    
  
    
  
    Index ¶
- func ParseArgs(c *cli.Context, o *Options) error
 - type Options
 - func (o Options) Configure(cfg engine.Interface) error
 - func (o Options) Restart(service string, withSignal func(string) error) error
 - func (o Options) RevertConfig(cfg engine.Interface) error
 - func (o Options) SystemdRestart(service string) error
 - func (o Options) Unconfigure(cfg engine.Interface) error
 - func (o Options) UpdateConfig(cfg engine.Interface) error
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
	Config string
	Socket string
	// EnabledCDI indicates whether CDI should be enabled.
	EnableCDI     bool
	RuntimeName   string
	RuntimeDir    string
	SetAsDefault  bool
	RestartMode   string
	HostRootMount string
}
    Options defines the shared options for the CLIs to configure containers runtimes.
func (Options) RevertConfig ¶
RevertConfig reverts the specified config to remove the nvidia runtimes
func (Options) SystemdRestart ¶
SystemdRestart restarts the specified service using systemd
func (Options) Unconfigure ¶
Unconfigure removes the options from the specified config
 Click to show internal directories. 
   Click to hide internal directories.