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

Method allAgentIDsLocked

tailnet/controllers.go:1410–1418  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1408}
1409
1410func (t *tunnelUpdater) allAgentIDsLocked() []uuid.UUID {
1411 out := make([]uuid.UUID, 0, len(t.workspaces))
1412 for _, w := range t.workspaces {
1413 for id := range w.agents {
1414 out = append(out, id)
1415 }
1416 }
1417 return out
1418}
1419
1420// updateDNSNamesLocked updates the DNS names for all workspaces in the tunnelUpdater.
1421// t.Mutex must be held.

Callers 1

handleUpdateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected