const noInterval … type collector … func newCollector(id string, getContainerPids func() ([]string, error), interval time.Duration, numberOfNUMANodes int, vendorID string, inHostNamespace bool) *collector { … } func (c *collector) setup() error { … } func (c *collector) checkMonitoringGroup() error { … } func (c *collector) UpdateStats(stats *info.ContainerStats) error { … } func (c *collector) Destroy() { … } func (c *collector) clear() error { … }