Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoBasePathSet = JobError{"empty BBBasePath: Must be set"} ErrParentJobNotFound = JobError{"parent job not found"} ErrParentJobCancelled = JobError{"parent job cancelled"} )
Functions ¶
This section is empty.
Types ¶
type AlrWorker ¶
type AlrWorker struct { *postgres.AlrRepository repository.Repository StagingDir string `conf:"FHIR_STAGING_DIR"` }
func NewAlrWorker ¶
func (*AlrWorker) ProcessAlrJob ¶
ProcessAlrJob is a function called by the Worker to serve ALR data to users
type MockWorker ¶
MockWorker is an autogenerated mock type for the Worker type
func (*MockWorker) ProcessJob ¶
func (_m *MockWorker) ProcessJob(ctx context.Context, job models.Job, jobArgs models.JobEnqueueArgs) error
ProcessJob provides a mock function with given fields: ctx, job, jobArgs
func (*MockWorker) ValidateJob ¶
func (_m *MockWorker) ValidateJob(ctx context.Context, jobArgs models.JobEnqueueArgs) (*models.Job, error)
ValidateJob provides a mock function with given fields: ctx, jobArgs
Click to show internal directories.
Click to hide internal directories.