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

Function completeWithAgent

cli/templatepush_test.go:1306–1331  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1304}
1305
1306func completeWithAgent() *echo.Responses {
1307 return &echo.Responses{
1308 Parse: echo.ParseComplete,
1309 ProvisionGraph: []*proto.Response{
1310 {
1311 Type: &proto.Response_Graph{
1312 Graph: &proto.GraphComplete{
1313 Resources: []*proto.Resource{
1314 {
1315 Type: "compute",
1316 Name: "main",
1317 Agents: []*proto.Agent{
1318 {
1319 Name: "smith",
1320 OperatingSystem: "linux",
1321 Architecture: "i386",
1322 },
1323 },
1324 },
1325 },
1326 },
1327 },
1328 },
1329 },
1330 }
1331}
1332
1333// Need this for Windows because of a known issue with Go:
1334// https://github.com/golang/go/issues/52986

Callers 6

TestCliTemplateCreateFunction · 0.85
TestCreateFunction · 0.85
TestProvisioners_GoldenFunction · 0.85
TestTemplatePushFunction · 0.85
TestShowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected