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 { DefaultRuntime() string AddRuntime(string, string, bool) error Set(string, interface{}) RemoveRuntime(string) error Save(string) (int64, error) GetRuntimeConfig(string) (RuntimeConfig, error) }
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.