CreateTemplateVersion creates a template import provisioner job with the responses provided. It uses the "echo" provisioner for compatibility with testing.
(t testing.TB, client *codersdk.Client, organizationID uuid.UUID, res *echo.Responses, mutators ...func(*codersdk.CreateTemplateVersionRequest))
| 1080 | // with the responses provided. It uses the "echo" provisioner for compatibility |
| 1081 | // with testing. |
| 1082 | func CreateTemplateVersion(t testing.TB, client *codersdk.Client, organizationID uuid.UUID, res *echo.Responses, mutators ...func(*codersdk.CreateTemplateVersionRequest)) codersdk.TemplateVersion { |
| 1083 | return CreateTemplateVersionMimeType(t, client, codersdk.ContentTypeTar, organizationID, res, mutators...) |
| 1084 | } |
| 1085 | |
| 1086 | // CreateWorkspaceBuild creates a workspace build for the given workspace and transition. |
| 1087 | func CreateWorkspaceBuild( |