cgroup

package
v0.0.0-...-f95bbe0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendDevicePermissionsFromCgroupRules

func AppendDevicePermissionsFromCgroupRules(devPermissions []specs.LinuxDeviceCgroup, rules []string) ([]specs.LinuxDeviceCgroup, error)

Lifted from Moby's oci/oci.go

func CreateDeviceUpdateResources

func CreateDeviceUpdateResources(rules []string) (*specs.LinuxResources, error)

func InitializeDBus

func InitializeDBus(conn *dbus.Conn)

Types

type CGroupVersion

type CGroupVersion int
const (
	CGroupUnknown CGroupVersion = 0
	CGroupV1
	CGroupV2
)

Jump to

Keyboard shortcuts

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