type NameGroup … func (s *NameGroup) Name() string { … } func (s *NameGroup) Apply(path string, _ *configs.Resources, pid int) error { … } func (s *NameGroup) Set(_ string, _ *configs.Resources) error { … } func (s *NameGroup) GetStats(path string, stats *cgroups.Stats) error { … }