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

Method AgentConn

coderd/workspaceapps/proxy.go:77–77  ·  view source on GitHub ↗

AgentConn returns a new connection to the specified agent.

(ctx context.Context, agentID uuid.UUID)

Source from the content-addressed store, hash-verified

75
76 // AgentConn returns a new connection to the specified agent.
77 AgentConn(ctx context.Context, agentID uuid.UUID) (_ workspacesdk.AgentConn, release func(), _ error)
78
79 ServeHTTPDebug(w http.ResponseWriter, r *http.Request)
80

Implementers 2

fakeAgentProvidercoderd/workspaceagents_internal_test.g
ServerTailnetcoderd/tailnet.go

Calls

no outgoing calls

Tested by 2