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

Method GetPeerDiagnostics

tailnet/conn.go:955–960  ·  view source on GitHub ↗
(peerID uuid.UUID)

Source from the content-addressed store, hash-verified

953}
954
955func (c *Conn) GetPeerDiagnostics(peerID uuid.UUID) PeerDiagnostics {
956 d := PeerDiagnostics{DERPRegionNames: make(map[int]string)}
957 c.nodeUpdater.fillPeerDiagnostics(&d)
958 c.configMaps.fillPeerDiagnostics(&d, peerID)
959 return d
960}
961
962func (c *Conn) GetKnownPeerIDs() []uuid.UUID {
963 return c.configMaps.knownPeerIDs()

Callers

nothing calls this directly

Implementers 1

fakeConnvpn/tunnel_internal_test.go

Calls 1

fillPeerDiagnosticsMethod · 0.45

Tested by

no test coverage detected