cgroup

package
v0.0.0-...-7b8a003 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

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 = iota
	CGroupV1
	CGroupV2
)

Jump to

Keyboard shortcuts

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