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

Struct Runner

scaletest/notifications/run.go:30–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28)
29
30type Runner struct {
31 client *codersdk.Client
32 cfg Config
33
34 createUserRunner *createusers.Runner
35
36 // websocketReceiptTimes stores the receipt time for websocket notifications
37 websocketReceiptTimes map[uuid.UUID]time.Time
38 websocketReceiptTimesMu sync.RWMutex
39
40 // smtpReceiptTimes stores the receipt time for SMTP notifications
41 smtpReceiptTimes map[uuid.UUID]time.Time
42 smtpReceiptTimesMu sync.RWMutex
43
44 clock quartz.Clock
45}
46
47func NewRunner(client *codersdk.Client, cfg Config) *Runner {
48 return &Runner{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected