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

Method status

tailnet/configmaps.go:422–426  ·  view source on GitHub ↗

status requests a status update from the engine.

()

Source from the content-addressed store, hash-verified

420
421// status requests a status update from the engine.
422func (c *configMaps) status() *ipnstate.Status {
423 sb := &ipnstate.StatusBuilder{WantPeers: true}
424 c.engine.UpdateStatus(sb)
425 return sb.Status()
426}
427
428// updatePeerLocked processes a single update for a single peer. It is intended
429// as internal function since it returns whether or not the config is dirtied by

Callers 5

updatePeersMethod · 0.95
peerLostTimeoutMethod · 0.95
fillPeerDiagnosticsMethod · 0.95
StatusMethod · 0.80
beforeCoderTestFunction · 0.80

Calls 2

UpdateStatusMethod · 0.65
StatusMethod · 0.45

Tested by

no test coverage detected