dbjobqueue: Add AllRootJobIDs implementation

Related: RHEL-60120
This commit is contained in:
Brian C. Lane 2024-05-30 16:44:14 -07:00 committed by Tomáš Hozza
parent d8285a0b74
commit 5cddc4223d
6 changed files with 64 additions and 14 deletions

View file

@ -97,7 +97,7 @@ type JobQueue interface {
DeleteWorker(workerID uuid.UUID) error
// AllRootJobIDs returns a list of top level job UUIDs that the worker knows about
AllRootJobIDs() ([]uuid.UUID, error)
AllRootJobIDs(context.Context) ([]uuid.UUID, error)
// DeleteJob deletes a job and all of its dependencies
DeleteJob(context.Context, uuid.UUID) error