GetPresetsBackoff groups workspace builds by preset ID. Each preset is associated with exactly one template version ID. For each group, the query checks up to N of the most recent jobs that occurred within the lookback period, where N equals the number of desired instances for the corresponding pres
(ctx context.Context, lookback time.Time)
| 622 | // |
| 623 | // The number of failed builds is used downstream to determine the backoff duration. |
| 624 | GetPresetsBackoff(ctx context.Context, lookback time.Time) ([]GetPresetsBackoffRow, error) |
| 625 | GetPresetsByTemplateVersionID(ctx context.Context, templateVersionID uuid.UUID) ([]TemplateVersionPreset, error) |
| 626 | GetPreviousTemplateVersion(ctx context.Context, arg GetPreviousTemplateVersionParams) (TemplateVersion, error) |
| 627 | GetProvisionerDaemons(ctx context.Context) ([]ProvisionerDaemon, error) |
no outgoing calls