@Summary Get template version dry-run logs by job ID @ID get-template-version-dry-run-logs-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) @Param before
(rw http.ResponseWriter, r *http.Request)
| 671 | // @Success 200 {array} codersdk.ProvisionerJobLog |
| 672 | // @Router /api/v2/templateversions/{templateversion}/dry-run/{jobID}/logs [get] |
| 673 | func (api *API) templateVersionDryRunLogs(rw http.ResponseWriter, r *http.Request) { |
| 674 | job, ok := api.fetchTemplateVersionDryRunJob(rw, r) |
| 675 | if !ok { |
| 676 | return |
| 677 | } |
| 678 | |
| 679 | api.provisionerJobLogs(rw, r, job.ProvisionerJob) |
| 680 | } |
| 681 | |
| 682 | // @Summary Cancel template version dry-run by job ID |
| 683 | // @ID cancel-template-version-dry-run-by-job-id |
nothing calls this directly
no test coverage detected