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

Function NewCleanupRunner

scaletest/workspacebuild/run.go:115–120  ·  view source on GitHub ↗
(client *codersdk.Client, workspaceID uuid.UUID)

Source from the content-addressed store, hash-verified

113var _ harness.Runnable = &CleanupRunner{}
114
115func NewCleanupRunner(client *codersdk.Client, workspaceID uuid.UUID) *CleanupRunner {
116 return &CleanupRunner{
117 client: client,
118 workspaceID: workspaceID,
119 }
120}
121
122// Run implements Runnable.
123func (r *CleanupRunner) Run(ctx context.Context, _ string, logs io.Writer) error {

Callers 2

scaletestCleanupMethod · 0.92
CleanupMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected