// NewCgroupNotifier creates a cgroup notifier that does nothing because cgroups do not exist on non-linux systems. func NewCgroupNotifier(path, attribute string, threshold int64) (CgroupNotifier, error) { … } type unsupportedThresholdNotifier … func (*unsupportedThresholdNotifier) Start(_ chan<- struct{ … } func (*unsupportedThresholdNotifier) Stop() { … }