Documentation ¶
Overview ¶
Package cgroup implements parsing for all the cgroup categories and functionality in a simple way.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMemoryLimit ¶
GetMemoryLimit - Fetches cgroup memory limit either from a file path at '/sys/fs/cgroup/memory', if path fails then fallback to querying cgroup manager.
Types ¶
Click to show internal directories.
Click to hide internal directories.