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

Method agentAddress

codersdk/workspacesdk/agentconn.go:165–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163}
164
165func (c *agentConn) agentAddress() netip.Addr {
166 return tailnet.TailscaleServicePrefix.AddrFromUUID(c.opts.AgentID)
167}
168
169// AwaitReachable waits for the agent to be reachable.
170func (c *agentConn) AwaitReachable(ctx context.Context) bool {

Callers 12

AwaitReachableMethod · 0.95
PingMethod · 0.95
ReconnectingPTYMethod · 0.95
SSHOnPortMethod · 0.95
SpeedtestMethod · 0.95
DialContextMethod · 0.95
WatchContainersMethod · 0.95
WatchGitMethod · 0.95
ConnectDesktopVNCMethod · 0.95
ExecuteDesktopActionMethod · 0.95
apiRequestMethod · 0.95
apiClientMethod · 0.95

Calls 1

AddrFromUUIDMethod · 0.80

Tested by

no test coverage detected