cgroups

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckOrMountCgrpFS

func CheckOrMountCgrpFS(mapRoot string)

CheckOrMountCgrpFS this checks if the cilium cgroup2 root mount point is mounted and if not mounts it. If mapRoot is "" it will mount the default location. It is harmless to have multiple cgroupv2 root mounts so unlike BPFFS case we simply mount at the cilium default regardless if the system has another mount created by systemd or otherwise.

func GetCgroupID added in v1.14.0

func GetCgroupID(cgroupPath string) (uint64, error)

func GetCgroupRoot

func GetCgroupRoot() string

GetCgroupRoot returns the path for the cgroupv2 mount

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