crio

package
v1.13.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlushConfig

func FlushConfig(config string, cfg *toml.Tree) error

FlushConfig flushes the updated/reverted config out to disk

func LoadConfig

func LoadConfig(config string) (*toml.Tree, error)

LoadConfig loads the cri-o config from disk

func RevertConfig

func RevertConfig(config *toml.Tree, runtimeClass string) error

RevertConfig reverts the cri-o config to remove the NVIDIA Container Runtime

func UpdateConfig

func UpdateConfig(config *toml.Tree, runtimeClass string, runtimePath string, setAsDefault bool) error

UpdateConfig updates the cri-o config to include the NVIDIA Container Runtime

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL