dbjobqueue: Add DeleteJob to database job queue

This adds SQL to delete jobs and dependencies, and implements the
database version of the DeleteJob function.

Related: RHEL-60120
This commit is contained in:
Brian C. Lane 2025-05-22 09:37:21 -07:00 committed by Tomáš Hozza
parent 5cddc4223d
commit c06064c1e2
2 changed files with 110 additions and 10 deletions

2
go.mod
View file

@ -34,6 +34,7 @@ require (
github.com/google/uuid v1.6.0
github.com/gophercloud/gophercloud v1.14.0
github.com/hashicorp/go-retryablehttp v0.7.7
github.com/jackc/pgconn v1.14.3
github.com/jackc/pgtype v1.14.3
github.com/jackc/pgx/v4 v4.18.3
github.com/julienschmidt/httprouter v1.3.0
@ -165,7 +166,6 @@ require (
github.com/hashicorp/go-version v1.7.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
github.com/jackc/pgconn v1.14.3 // indirect
github.com/jackc/pgio v1.0.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgproto3/v2 v2.3.3 // indirect