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

Struct Runner

scaletest/taskstatus/run.go:32–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32type Runner struct {
33 client client
34 updater appStatusUpdater
35 cfg Config
36
37 logger slog.Logger
38
39 // workspaceID is set after creating the external workspace
40 workspaceID uuid.UUID
41
42 mu sync.Mutex
43 reportTimes map[int]time.Time
44 doneReporting bool
45
46 // testing only
47 clock quartz.Clock
48 randFloat64 func() float64
49}
50
51var (
52 _ harness.Runnable = &Runner{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected