Expand description
Catalog-backed startup API for keeping handlers, job definitions, schedules, and workflow steps aligned.
JobCatalog is the primary facade. Applications register handlers once,
sync the catalog’s definition defaults to PostgreSQL, and use the catalog
helpers to build enqueue, schedule, and workflow inputs with job-type
validation at the call site.
Catalog defaults apply to every registered entry. This includes
JobCatalogDefaults::is_enabled; per-job enabled overrides are not modeled
by the catalog API yet.
Structs§
- Catalog
JobEnqueue Input - Input for building a
JobEnqueuefrom a catalog-backed job type. - Catalog
JobSchedule Input - Input for building a
JobScheduleUpsertfrom a catalog-backed job type. - Catalog
Workflow DagBuilder - Workflow DAG builder that validates job types against a
JobCatalog. - JobCatalog
- Single-source registry of job handlers, definition defaults, and enqueue helpers.
- JobCatalog
Defaults - Default values applied when syncing catalog jobs to
job_definitions. - JobCatalog
Exact Sync Report - Result returned by
JobCatalog::sync_definitions_exact. - JobCatalog
Sync Report - Result returned by
JobCatalog::sync_definitions. - JobCatalog
Sync Scope - Explicit owned job-type scope used by
JobCatalog::sync_definitions_exact.
Enums§
- Catalog
Error - Error returned by
super::JobCatalogvalidation, sync, and helper methods.