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

Function genTemplateVersionSource

cli/templatepull_test.go:409–428  ·  view source on GitHub ↗

genTemplateVersionSource returns a unique bundle that can be used to create a template version source.

()

Source from the content-addressed store, hash-verified

407// genTemplateVersionSource returns a unique bundle that can be used to create
408// a template version source.
409func genTemplateVersionSource() *echo.Responses {
410 return &echo.Responses{
411 Parse: []*proto.Response{
412 {
413 Type: &proto.Response_Log{
414 Log: &proto.Log{
415 Output: uuid.NewString(),
416 },
417 },
418 },
419
420 {
421 Type: &proto.Response_Parse{
422 Parse: &proto.ParseComplete{},
423 },
424 },
425 },
426 ProvisionApply: echo.ApplyComplete,
427 }
428}

Calls

no outgoing calls

Tested by

no test coverage detected