Versions in this module Expand all Collapse all v0 v0.3.7 Aug 22, 2026 Changes in this version + var ErrNoLimit = errors.New("no cgroup limit set") + var ErrV1Detected = errors.New("cgroup v1 detected; only v2 is supported") + type Cgroup struct + func New() (Cgroup, error) + func NewFromRoot(root string) (Cgroup, error) + func (c Cgroup) CPUQuota() (float64, error) + func (c Cgroup) MemoryLimit() (int64, error)