type PluginManager … const loopSleepDuration … // NewPluginManager returns a new concrete instance implementing the // PluginManager interface. func NewPluginManager( sockDir string, recorder record.EventRecorder) PluginManager { … } type pluginManager … var _ … func (pm *pluginManager) Run(sourcesReady config.SourcesReady, stopCh <-chan struct{ … } func (pm *pluginManager) AddHandler(pluginType string, handler cache.PluginHandler) { … }