MCPcopy Index your code
hub / github.com/coder/coder / fakeClient

Struct fakeClient

scaletest/dynamicparameters/template_internal_test.go:231–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231type fakeClient struct {
232 t testing.TB
233
234 expectedTemplateName string
235 expectedOrgID uuid.UUID
236 templateByNameError error
237
238 expectedTags map[string]string
239 matchedProvisioners int
240 templateVersionJobStatus codersdk.ProvisionerJobStatus
241
242 createTemplateCount int
243 templateVersionsCount int
244 uploadsCount int
245 templateByNameCount int
246}
247
248func (f *fakeClient) TemplateByName(ctx context.Context, orgID uuid.UUID, templateName string) (codersdk.Template, error) {
249 f.templateByNameCount++

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected