MCPcopy Create free account
hub / github.com/coder/coder / Connect

Method Connect

provisionerd/provisionerd.go:54–54  ·  view source on GitHub ↗

Connect to the correct provisioner for the given job. The response is delivered asynchronously over the respCh. If the provided context expires, the Connector may stop waiting for the provisioner and return an error response.

(ctx context.Context, job *proto.AcquiredJob, respCh chan<- ConnectResponse)

Source from the content-addressed store, hash-verified

52 // the Connector may stop waiting for the provisioner and return an error
53 // response.
54 Connect(ctx context.Context, job *proto.AcquiredJob, respCh chan<- ConnectResponse)
55}
56
57// Options provides customizations to the behavior of a provisioner daemon.

Callers 14

OpenMethod · 0.65
derpClientMethod · 0.65
acquireAndRunOneMethod · 0.65
TestDERPFunction · 0.65
createDERPClientFunction · 0.65
TestRemoteConnector_FuzzFunction · 0.65

Implementers 4

connectorcoderd/database/awsiamrds/awsiamrds.go
Connectorcoderd/database/dbtestutil/driver.go
remoteConnectorenterprise/provisionerd/remoteprovisio
BackedPipeagent/immortalstreams/backedpipe/backe

Calls

no outgoing calls

Tested by 10

TestDERPFunction · 0.52
createDERPClientFunction · 0.52
TestRemoteConnector_FuzzFunction · 0.52
TestDERPMeshFunction · 0.52