const cgroupMemorySwapLimit … const cgroupMemoryLimit … const cgroupMemoryUsage … const cgroupMemoryMaxUsage … type MemoryGroup … func (s *MemoryGroup) Name() string { … } func (s *MemoryGroup) Apply(path string, _ *configs.Resources, pid int) error { … } func setMemory(path string, val int64) error { … } func setSwap(path string, val int64) error { … } func setMemoryAndSwap(path string, r *configs.Resources) error { … } func (s *MemoryGroup) Set(path string, r *configs.Resources) error { … } func (s *MemoryGroup) GetStats(path string, stats *cgroups.Stats) error { … } func getMemoryData(path, name string) (cgroups.MemoryData, error) { … } func getPageUsageByNUMA(path string) (cgroups.PageUsageByNUMA, error) { … } func getNUMAField(stats *cgroups.PageUsageByNUMA, name string) *cgroups.PageStats { … }