MCPcopy
hub / github.com/google/seesaw / Check

Struct Check

healthcheck/core.go:207–223  ·  view source on GitHub ↗

Check represents a healthcheck instance.

Source from the content-addressed store, hash-verified

205
206// Check represents a healthcheck instance.
207type Check struct {
208 Config
209
210 lock sync.RWMutex
211 blocking bool
212 dryrun bool
213 start time.Time
214 failed uint64
215 failures uint64
216 successes uint64
217 state State
218 result *Result
219
220 update chan Config
221 notify chan<- *Notification
222 quit chan bool
223}
224
225// NewCheck returns an initialised Check.
226func NewCheck(notify chan<- *Notification) *Check {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected