@Summary Get template version dry-run resources by job ID @ID get-template-version-dry-run-resources-by-job-id @Security CoderSessionToken @Produce json @Tags Templates @Param templateversion path string true "Template version ID" format(uuid) @Param jobID path string true "Job ID" format(uuid) @Suc
(rw http.ResponseWriter, r *http.Request)
| 649 | // @Success 200 {array} codersdk.WorkspaceResource |
| 650 | // @Router /api/v2/templateversions/{templateversion}/dry-run/{jobID}/resources [get] |
| 651 | func (api *API) templateVersionDryRunResources(rw http.ResponseWriter, r *http.Request) { |
| 652 | job, ok := api.fetchTemplateVersionDryRunJob(rw, r) |
| 653 | if !ok { |
| 654 | return |
| 655 | } |
| 656 | |
| 657 | api.provisionerJobResources(rw, r, job.ProvisionerJob) |
| 658 | } |
| 659 | |
| 660 | // @Summary Get template version dry-run logs by job ID |
| 661 | // @ID get-template-version-dry-run-logs-by-job-id |
nothing calls this directly
no test coverage detected