Versions in this module Expand all Collapse all v0 v0.0.1 Nov 17, 2023 Changes in this version + type Args struct + ScanRequest *harbor.ScanRequest + type Enqueuer interface + Enqueue func(ctx context.Context, request harbor.ScanRequest) (job.ScanJob, error) + func NewEnqueuer(config etc.JobQueue, rdb *redis.Client, store persistence.Store) Enqueuer + type Job struct + Args Args + ID string + Name string + type Worker interface + Start func(ctx context.Context) + Stop func() + func NewWorker(config etc.JobQueue, rdb *redis.Client, controller scan.Controller) Worker