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