Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBinaryPathsForRuntimes ¶ added in v1.17.0
GetBinaryPathsForRuntimes returns the list of binary paths for common runtimes. The following list of runtimes is considered:
the default runtime, "runc", and "crun"
If an nvidia* runtime is set as the default runtime, this is ignored.
func GetLowLevelRuntimes ¶ added in v1.17.0
GetLowLevelRuntimes returns a predefined list low-level runtimes from the specified config. nvidia* runtimes are ignored.
Types ¶
type Interface ¶
type Interface interface {
	AddRuntime(string, string, bool) error
	DefaultRuntime() string
	EnableCDI()
	GetRuntimeConfig(string) (RuntimeConfig, error)
	RemoveRuntime(string) error
	Save(string) (int64, error)
	String() string
}
    Interface defines the API for a runtime config updater.
type RuntimeConfig ¶ added in v1.17.0
type RuntimeConfig interface {
	GetBinaryPath() string
}
    RuntimeConfig defines the interface to query container runtime handler configuration
 Click to show internal directories. 
   Click to hide internal directories.