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

Function NewRunner

scaletest/workspaceupdates/run.go:48–54  ·  view source on GitHub ↗
(client *codersdk.Client, cfg Config)

Source from the content-addressed store, hash-verified

46)
47
48func NewRunner(client *codersdk.Client, cfg Config) *Runner {
49 return &Runner{
50 client: client,
51 cfg: cfg,
52 workspaces: make(map[string]*workspace),
53 }
54}
55
56func (r *Runner) Run(ctx context.Context, id string, logs io.Writer) error {
57 ctx, span := tracing.StartSpan(ctx)

Callers 2

TestRunFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestRunFunction · 0.74