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

Function Serve

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

Serve starts the echo provisioner.

(ctx context.Context, options *provisionersdk.ServeOptions)

Source from the content-addressed store, hash-verified

140
141// Serve starts the echo provisioner.
142func Serve(ctx context.Context, options *provisionersdk.ServeOptions) error {
143 return provisionersdk.Serve(ctx, &echo{}, options)
144}
145
146// The echo provisioner serves as a dummy provisioner primarily
147// used for testing. It echos responses from JSON files in the

Callers 6

newProvisionerDaemonFunction · 0.92
EphemeralEchoFunction · 0.92
TestEchoFunction · 0.92

Calls 1

ServeFunction · 0.92

Tested by 2

TestEchoFunction · 0.74