Serve starts the echo provisioner.
(ctx context.Context, options *provisionersdk.ServeOptions)
| 140 | |
| 141 | // Serve starts the echo provisioner. |
| 142 | func 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 |