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

Method Dial

tailnet/controllers.go:142–142  ·  view source on GitHub ↗

Dial connects to the tailnet control plane and returns clients for the different control sub-protocols (coordination, DERP maps, resume tokens, and telemetry). If the ResumeTokenController is not nil, the dialer should query for a resume token and use it to dial, if available.

(ctx context.Context, r ResumeTokenController)

Source from the content-addressed store, hash-verified

140 // ResumeTokenController is not nil, the dialer should query for a resume token and use it to
141 // dial, if available.
142 Dial(ctx context.Context, r ResumeTokenController) (ControlProtocolClients, error)
143}
144
145// BasicCoordinationController handles the basic coordination operations common to all types of

Implementers 9

InmemTailnetDialercoderd/tailnet.go
logDialercoderd/database/pubsub/pubsub.go
harnesscoderd/workspaceconnwatcher/watcher_te
Clientcodersdk/client.go
WebsocketDialercodersdk/workspacesdk/dialer.go
InProcNettestutil/net.go
pipeDialertailnet/controllers_test.go
scriptedDialertailnet/controllers_test.go
fakeWorkspaceUpdatesDialertailnet/controllers_test.go

Calls

no outgoing calls