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

Method ConnectToCoordinator

tailnet/test/peer.go:87–90  ·  view source on GitHub ↗
(ctx context.Context, c tailnet.CoordinatorV2)

Source from the content-addressed store, hash-verified

85}
86
87func (p *Peer) ConnectToCoordinator(ctx context.Context, c tailnet.CoordinatorV2) {
88 p.t.Helper()
89 p.reqs, p.resps = c.Coordinate(ctx, p.ID, p.name, p.auth)
90}
91
92func (p *Peer) AddTunnel(other uuid.UUID) {
93 p.t.Helper()

Calls 2

HelperMethod · 0.65
CoordinateMethod · 0.65