# Functions
NewReader creates and returns a new Reader.
NewReaderOptions creates and returns a new Reader with the given options.
ProcessCgroupPaths is a wrapper around Reader.ProcessCgroupPaths for libraries that only need the slimmer functionality from the gosigar cgroups code.
SubsystemMountpoints returns the mountpoints for each of the given subsystems.
SupportedSubsystems returns the subsystems that are supported by the kernel.
# Variables
ErrCgroupsMissing indicates the /proc/cgroups was not found.
# Structs
ControllerPath wraps the controller path.
Mountpoints organizes info about V1 and V2 cgroup mountpoints V2 uses a "unified" hierarchy, so we have less to keep track of.
PathList contains the V1 and V2 controller paths in a process Separate the V1 and V2 cgroups so we don't have hybrid cgroups fighting for one namespace.
Reader reads cgroup metrics and limits.
ReaderOptions holds options for NewReaderOptions.
StatsV1 contains metrics and limits from each of the cgroup subsystems.
StatsV2 contains metrics and limits from each of the cgroup subsystems.
# Interfaces
CGStats in an interface wrapper around the V2 and V1 cgroup stat objects.
# Type aliases
CgroupsVersion is a version tag that defines what version of cgroups is attached to a process.