package
0.0.0-20211020193359-09d837bf40a7
Repository: https://github.com/rhatdan/ocitools.git
Documentation: pkg.go.dev
# Functions
FindCgroup gets cgroup root mountpoint.
GetBlockIOData gets cgroup blockio data.
GetCPUData gets cgroup cpus data.
GetDevicesData gets cgroup devices data.
GetHugepageLimitData gets cgroup hugetlb data.
GetHugePageSize returns a list of the supported Hugepage sizes on the same format as opencontainers/runtime-spec (see pageSize): https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md#huge-page-limits eg.
GetNetworkData gets cgroup network data.
GetPidsData gets cgroup pid ints data.
GetSubsystemPath gets path of subsystem.
# Variables
AbsCgroupPath is absolute path for container's cgroup mount.
HugePageSizeUnitList is a list of the units used by the linux kernel when naming the HugePage control files.
RelCgroupPath is relative path for container's cgroup mount.
# Interfaces
Cgroup represents interfaces for cgroup validation.