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

Struct Progress

coderd/healthcheck/healthcheck.go:23–27  ·  view source on GitHub ↗

Progress tracks the progress of healthcheck components for timeout diagnostics. It records which checks have started and completed, along with their durations, to provide useful information when a healthcheck times out. The zero value is usable.

Source from the content-addressed store, hash-verified

21// their durations, to provide useful information when a healthcheck times out.
22// The zero value is usable.
23type Progress struct {
24 Clock quartz.Clock
25 mu sync.Mutex
26 checks map[string]*checkStatus
27}
28
29type checkStatus struct {
30 startedAt time.Time

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected