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

Function templateWithPresets

cli/templatepresets_test.go:282–295  ·  view source on GitHub ↗
(presets []*proto.Preset)

Source from the content-addressed store, hash-verified

280}
281
282func templateWithPresets(presets []*proto.Preset) *echo.Responses {
283 return &echo.Responses{
284 Parse: echo.ParseComplete,
285 ProvisionGraph: []*proto.Response{
286 {
287 Type: &proto.Response_Graph{
288 Graph: &proto.GraphComplete{
289 Presets: presets,
290 },
291 },
292 },
293 },
294 }
295}

Callers 1

TestTemplatePresetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected