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

Method ConnectRPC29WithRole

agent/agent.go:129–129  ·  view source on GitHub ↗

ConnectRPC29WithRole is like ConnectRPC29 but sends an explicit role query parameter to the server. The workspace agent should use role "agent" to enable connection monitoring.

(ctx context.Context, role string)

Source from the content-addressed store, hash-verified

127 // role query parameter to the server. The workspace agent should
128 // use role "agent" to enable connection monitoring.
129 ConnectRPC29WithRole(ctx context.Context, role string) (
130 proto.DRPCAgentClient29, tailnetproto.DRPCTailnetClient28, error,
131 )
132 tailnet.DERPMapRewriter

Callers 2

runMethod · 0.65
initializeMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected