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

Struct stubTransportFactory

coderd/aibridge_test.go:19–22  ·  view source on GitHub ↗

stubTransportFactory wires a deterministic handler through the AIBridgeTransportFactory hook so the AGPL side of the in-memory pipe can be exercised without pulling coderd/aibridged in.

Source from the content-addressed store, hash-verified

17// AIBridgeTransportFactory hook so the AGPL side of the in-memory pipe can be
18// exercised without pulling coderd/aibridged in.
19type stubTransportFactory struct {
20 handler http.Handler
21 calls chan callRecord
22}
23
24type callRecord struct {
25 providerName string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected