config

package
v0.0.0-...-435808f Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultConfigPath is the default location of the containerd config file.
	DefaultConfigPath = "/etc/containerd/config.toml"
)

Functions

func GetCRISandboxImage

func GetCRISandboxImage(path string) (string, error)

GetCRISandboxImage returns the sandbox image defined in the containerd config file.

func SetCRISandboxImage

func SetCRISandboxImage(path string, sandboxImage string) error

SetCRISandboxImage sets the sandbox image field of the containerd config file to the specified value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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