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

Method UpdatePeers

tailnet/coordinator.go:87–87  ·  view source on GitHub ↗
([]*proto.CoordinateResponse_PeerUpdate)

Source from the content-addressed store, hash-verified

85// Conn.
86type Coordinatee interface {
87 UpdatePeers([]*proto.CoordinateResponse_PeerUpdate) error
88 SetAllPeersLost()
89 SetNodeCallback(func(*Node))
90 // SetTunnelDestination indicates to tailnet that the peer id is a

Callers 3

stitchTailnetFunction · 0.65
stitchFunction · 0.65
respLoopMethod · 0.65

Implementers 5

fakeCoordinateetailnet/controllers_test.go
fakeTailnetConntailnet/controllers_test.go
Conntailnet/conn.go
MockCoordinateetailnet/tailnettest/coordinateemock.go
MockCoordinateeMockRecordertailnet/tailnettest/coordinateemock.go

Calls

no outgoing calls

Tested by 2

stitchTailnetFunction · 0.52
stitchFunction · 0.52