crio

package
v1.17.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "crio"

	// Config-based settings
	DefaultConfig      = "/etc/crio/crio.conf"
	DefaultSocket      = "/var/run/crio/crio.sock"
	DefaultRestartMode = "systemd"
)

Variables

This section is empty.

Functions

func Cleanup

func Cleanup(c *cli.Context, o *container.Options, co *Options) error

Cleanup removes the specified prestart hook

func Flags

func Flags(opts *Options) []cli.Flag

func GetLowlevelRuntimePaths

func GetLowlevelRuntimePaths(o *container.Options) ([]string, error)

func RestartCrio

func RestartCrio(o *container.Options) error

RestartCrio restarts crio depending on the value of restartModeFlag

func Setup

func Setup(c *cli.Context, o *container.Options, co *Options) error

Setup installs the prestart hook required to launch GPU-enabled containers

Types

type Options

type Options struct {
	// contains filtered or unexported fields
}

Options defines the cri-o specific options.

Jump to

Keyboard shortcuts

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