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

Method SetNodeCallback

tailnet/coordinator.go:89–89  ·  view source on GitHub ↗
(func(*Node))

Source from the content-addressed store, hash-verified

87 UpdatePeers([]*proto.CoordinateResponse_PeerUpdate) error
88 SetAllPeersLost()
89 SetNodeCallback(func(*Node))
90 // SetTunnelDestination indicates to tailnet that the peer id is a
91 // destination.
92 SetTunnelDestination(id uuid.UUID)

Callers 3

stitchTailnetFunction · 0.65
stitchFunction · 0.65
NewCoordinationMethod · 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