Documentation
¶
Overview ¶
Package scheduler contains code for the scheduler backend that handles managing background jobs for the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager contains data for managing a scheduler instance.
func New ¶ added in v0.244.2
New will create a Manager containing the scheduler and job queue. New does not start the scheduler; call Run() to start it. The returned Manager can however be used to manage jobs (schedule/delete/query jobs).
func (*Manager) InitAdminJobs ¶ added in v0.235.0
InitAdminJobs loads the listed jobs into the scheduler. These are administrative jobs that should always be scheduled.
func (*Manager) LoadUpdateFeedJobs ¶ added in v0.235.0
LoadUpdateFeedJobs will ensure that all feeds have an update job scheduled.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package jobs provides primitives to interact with the openapi HTTP API.
|
Package jobs provides primitives to interact with the openapi HTTP API. |
|
Package queue implements a quartz.JobQueue using Elasticsearch as the storage backend.
|
Package queue implements a quartz.JobQueue using Elasticsearch as the storage backend. |
Click to show internal directories.
Click to hide internal directories.