GetTemplatePresetsWithPrebuilds retrieves template versions with configured presets and prebuilds. It also returns the number of desired instances for each preset. If template_id is specified, only template versions associated with that template will be returned.
(ctx context.Context, templateID uuid.NullUUID)
| 726 | // It also returns the number of desired instances for each preset. |
| 727 | // If template_id is specified, only template versions associated with that template will be returned. |
| 728 | GetTemplatePresetsWithPrebuilds(ctx context.Context, templateID uuid.NullUUID) ([]GetTemplatePresetsWithPrebuildsRow, error) |
| 729 | GetTemplateUsageStats(ctx context.Context, arg GetTemplateUsageStatsParams) ([]TemplateUsageStat, error) |
| 730 | GetTemplateVersionByID(ctx context.Context, id uuid.UUID) (TemplateVersion, error) |
| 731 | GetTemplateVersionByJobID(ctx context.Context, jobID uuid.UUID) (TemplateVersion, error) |
no outgoing calls