type ResourceAnalyzer … type resourceAnalyzer … var _ … // NewResourceAnalyzer returns a new ResourceAnalyzer func NewResourceAnalyzer(statsProvider Provider, calVolumeFrequency time.Duration, eventRecorder record.EventRecorder) ResourceAnalyzer { … } // Start starts background functions necessary for the ResourceAnalyzer to function func (ra *resourceAnalyzer) Start() { … }