containerutils

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AvailableRuntimes = []string{
	types.RuntimeNameDocker.String(),
	types.RuntimeNameContainerd.String(),
	types.RuntimeNameCrio.String(),
	types.RuntimeNamePodman.String(),
}

Functions

func GetIfacePeers added in v0.25.0

func GetIfacePeers(pid int) ([]*net.Interface, error)

GetIfacePeers returns the networking interfaces on the host side of the container where pid is running in.

func GetMntNs

func GetMntNs(pid int) (uint64, error)

func GetNetNs

func GetNetNs(pid int) (uint64, error)

func ParseOCIState

func ParseOCIState(stateBuf []byte) (id string, pid int, err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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