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

Struct echo

provisioner/echo/serve.go:149–149  ·  view source on GitHub ↗

The echo provisioner serves as a dummy provisioner primarily used for testing. It echos responses from JSON files in the format %d.protobuf. It's used for testing.

Source from the content-addressed store, hash-verified

147// used for testing. It echos responses from JSON files in the
148// format %d.protobuf. It's used for testing.
149type echo struct{}
150
151func readResponses(sess *provisionersdk.Session, trans string, suffix string) ([]*proto.Response, error) {
152 var responses []*proto.Response

Callers 1

ServeHTTPMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected