const cgroupv2MemLimitFile …
type cgroupV2impl …
func NewCgroupV2Manager(cs *CgroupSubsystems, cgroupDriver string) CgroupManager { … }
func (c *cgroupV2impl) Version() int { … }
func (c *cgroupV2impl) Validate(name CgroupName) error { … }
func (c *cgroupV2impl) Exists(name CgroupName) bool { … }
func (c *cgroupV2impl) MemoryUsage(name CgroupName) (int64, error) { … }
func (c *cgroupV2impl) GetCgroupConfig(name CgroupName, resource v1.ResourceName) (*ResourceConfig, error) { … }
func (c *cgroupV2impl) getCgroupCPUConfig(cgroupPath string) (*ResourceConfig, error) { … }
func (c *cgroupV2impl) getCgroupMemoryConfig(cgroupPath string) (*ResourceConfig, error) { … }
func getSupportedUnifiedControllers() sets.Set[string] { … }
func readUnifiedControllers(path string) (sets.Set[string], error) { … }
func (c *cgroupV2impl) buildCgroupUnifiedPath(name CgroupName) string { … }
func cpuSharesToCPUWeight(cpuShares uint64) uint64 { … }
func cpuWeightToCPUShares(cpuWeight uint64) uint64 { … }