cgroups

package
v1.6.0-rc7 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: Apache-2.0 Imports: 8 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 GetCgroupRoot

func GetCgroupRoot() string

GetCgroupRoot returns the path for the cgroupv2 mount

Types

This section is empty.

Jump to

Keyboard shortcuts

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