Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInitializer ¶
func NewInitializer(jm *manager.JobManager, maxWorkers int64) *watcherInitializer
NewInitializer creates and returns a new watcherInitializer instance.
Types ¶
type WantsJobManager ¶
type WantsJobManager interface { registry.Watcher SetJobManager(jm *manager.JobManager) }
WantsJobManager defines a function which sets job manager for watcher plugins that need it.
type WantsMaxWorkers ¶
WantsMaxWorkers defines a function which sets max workers for watcher plugins that need it.
type WatcherInitializer ¶
WatcherInitializer is used for initialization of shareable resources between watcher plugins. After initialization the resources have to be set separately.
Click to show internal directories.
Click to hide internal directories.