runc

package
v0.9.235 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrContainerNotFound = errors.New("container id not found")

Functions

func GetBundleByContainerId added in v0.9.228

func GetBundleByContainerId(containerId, root string) (string, error)

func GetContainerIdByName

func GetContainerIdByName(containerName, sandboxName, root string) (string, string, error)

func GetPausePid

func GetPausePid(bundlePath string) (int, error)

func GetPidByContainerId

func GetPidByContainerId(containerId, root string) (int32, error)

func GetSpecById

func GetSpecById(root, containerID string) (spec *rspec.Spec, err error)

func List

func List(root string) error

func RuncGetAll

func RuncGetAll(root, namespace string) ([]runcContainer, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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