Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountDeletionWorker ¶
type AccountDeletionWorker struct {
river.WorkerDefaults[jobs.AccountDeletionArgs]
Service *accountclosuresvc.Service
}
func (*AccountDeletionWorker) Register ¶
func (w *AccountDeletionWorker) Register(workers *river.Workers) error
func (*AccountDeletionWorker) Work ¶
func (w *AccountDeletionWorker) Work(ctx context.Context, job *river.Job[jobs.AccountDeletionArgs]) error
type CompletionDispatchRegistrar ¶
type CompletionDispatchRegistrar struct {
// contains filtered or unexported fields
}
func NewCompletionDispatchRegistrar ¶
func NewCompletionDispatchRegistrar(dispatcher consumer.CompletionDispatcher) *CompletionDispatchRegistrar
func (*CompletionDispatchRegistrar) PeriodicJobs ¶
func (*CompletionDispatchRegistrar) PeriodicJobs() ([]*river.PeriodicJob, error)
type ExecutionRegistrar ¶
type ExecutionRegistrar struct {
// contains filtered or unexported fields
}
func NewExecutionRegistrar ¶
func NewExecutionRegistrar( processor executiondelivery.Processor, maxWorkers int, ) (*ExecutionRegistrar, error)
func (*ExecutionRegistrar) Queues ¶
func (r *ExecutionRegistrar) Queues() map[string]river.QueueConfig
type ProofObservationMaintenanceRegistrar ¶
type ProofObservationMaintenanceRegistrar struct {
// contains filtered or unexported fields
}
func NewProofObservationMaintenanceRegistrar ¶
func NewProofObservationMaintenanceRegistrar(maintenance *proofevidencesvc.Maintenance, logger *slog.Logger) (*ProofObservationMaintenanceRegistrar, error)
func (*ProofObservationMaintenanceRegistrar) PeriodicJobs ¶
func (*ProofObservationMaintenanceRegistrar) PeriodicJobs() ([]*river.PeriodicJob, error)
type ProofPublicationRegistrar ¶
type ProofPublicationRegistrar struct {
// contains filtered or unexported fields
}
func NewProofPublicationRegistrar ¶
func NewProofPublicationRegistrar(processor consumer.ProofPublicationProcessor, logger *slog.Logger) (*ProofPublicationRegistrar, error)
type ProofWebhookRegistrar ¶
type ProofWebhookRegistrar struct {
// contains filtered or unexported fields
}
func NewProofWebhookRegistrar ¶
func NewProofWebhookRegistrar(processor consumer.ProofWebhookProcessor, logger *slog.Logger) (*ProofWebhookRegistrar, error)
type QueueConcurrency ¶
type QueueConcurrency struct {
PipelineGit int
Email int
NotificationDelivery int
Events int
EventMaintenance int
PipelineSchedule int
PipelineRetry int
PipelineRun int
DataSourceSchemaImport int
}
QueueConcurrency defines the maximum number of jobs each River queue can run concurrently in one process.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service registers all background workers for the backend runtime.
func New ¶
func New( pipelineGit consumer.PipelineGitExecutor, proposalRecorder consumer.PipelineGitProposalRecorder, proposalAuthorizer consumer.PipelineGitProposalAuthorizer, emailSvc email.Service, events eventService, eventPruner pruneExpiredCustomerDataService, scheduleDispatcher scheduleDispatchService, pipelineRunExecutor pipelineRunExecutionService, schemaImportExecutor dataSourceSchemaImportService, notificationDelivery consumer.NotificationDeliveryService, tokenCipher crypto.AES256, logger *slog.Logger, queueConcurrency QueueConcurrency, pipelineWebhookExecutor pipelineWebhookExecutionService, ) (*Service, error)
func (*Service) PeriodicJobs ¶
func (s *Service) PeriodicJobs() ([]*river.PeriodicJob, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.