Gets a single provisioner job by ID for update. This is used to securely reap jobs that have been hung/pending for a long time.
(ctx context.Context, id uuid.UUID)
| 633 | // Gets a single provisioner job by ID for update. |
| 634 | // This is used to securely reap jobs that have been hung/pending for a long time. |
| 635 | GetProvisionerJobByIDForUpdate(ctx context.Context, id uuid.UUID) (ProvisionerJob, error) |
| 636 | // Gets a provisioner job by ID with exclusive lock. |
| 637 | // Blocks until the row is available for update. |
| 638 | GetProvisionerJobByIDWithLock(ctx context.Context, id uuid.UUID) (ProvisionerJob, error) |
no outgoing calls