cgroup

package
v0.9.237-test Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyCgroupsOnRestore

func ApplyCgroupsOnRestore(next types.Restore) types.Restore

Adds a initialize hook that applies cgroups to the CRIU process as soon as it is started.

func ManageCgroupsForDump

func ManageCgroupsForDump(mode criu_proto.CriuCgMode) types.Adapter[types.Dump]

func ManageCgroupsForRestore

func ManageCgroupsForRestore(mode criu_proto.CriuCgMode) types.Adapter[types.Restore]

Sets the ManageCgroups field in the criu options to true.

func UseCgroupFreezerIfAvailableForDump

func UseCgroupFreezerIfAvailableForDump(next types.Dump) types.Dump

Types

This section is empty.

Jump to

Keyboard shortcuts

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