MCPcopy Create free account
hub / github.com/coder/coder / Cleanup

Method Cleanup

scaletest/workspacebuild/run.go:175–180  ·  view source on GitHub ↗

Cleanup implements Cleanable by wrapping CleanupRunner.

(ctx context.Context, id string, w io.Writer)

Source from the content-addressed store, hash-verified

173
174// Cleanup implements Cleanable by wrapping CleanupRunner.
175func (r *Runner) Cleanup(ctx context.Context, id string, w io.Writer) error {
176 return (&CleanupRunner{
177 client: r.client,
178 workspaceID: r.workspaceID,
179 }).Run(ctx, id, w)
180}
181
182func waitForBuild(ctx context.Context, w io.Writer, client *codersdk.Client, buildID uuid.UUID) error {
183 ctx, span := tracing.StartSpan(ctx)

Callers 1

Test_RunnerFunction · 0.95

Calls 1

RunMethod · 0.65

Tested by 1

Test_RunnerFunction · 0.76