package
1.2.4
Repository: https://github.com/opencontainers/runc.git
Documentation: pkg.go.dev

# Functions

GetCgroupParamInt reads a single int64 value from specified cgroup file.
GetCgroupParamString reads a string from the specified cgroup file.
GetCgroupParamUint reads a single uint64 value from the specified cgroup file.
GetValueByKey reads a key-value pairs from the specified cgroup file, and returns a value of the specified key.
ParseKeyValue parses a space-separated "name value" kind of cgroup parameter and returns its key as a string, and its value as uint64 (ParseUint is used to convert the value).
ParseUint converts a string to an uint64 integer.
RdmaGetStats returns rdma stats such as totalLimit and current entries.
RdmaSet sets RDMA resources.

# Variables

Deprecated: use cgroups.OpenFile instead.
Deprecated: use cgroups.ReadFile instead.
Deprecated: use cgroups.WriteFile instead.

# Structs

ParseError records a parse error details, including the file path.