Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Poller ¶
Poller represents a poller instance.
func New ¶
func New( ctx context.Context, storage *storage.Storage, searcher *catalog.Searcher, config *config.Config, logger *logger.Logger, ) *Poller
New creates a new poller instance.
func (*Poller) RefreshAll ¶
func (p *Poller) RefreshAll()
RefreshAll triggers a refresh on all the registered poller workers.
func (*Poller) StartWorker ¶
StartWorker starts a new poller worker given a storage provider.
func (*Poller) StopWorker ¶
StopWorker stops an existing poller worker.
func (*Poller) WorkerError ¶
WorkerError returns the error returned on poller worker initialization.
Click to show internal directories.
Click to hide internal directories.