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

Function newFakeCoordinatorClient

tailnet/controllers_test.go:1402–1410  ·  view source on GitHub ↗
(ctx context.Context, t testing.TB)

Source from the content-addressed store, hash-verified

1400}
1401
1402func newFakeCoordinatorClient(ctx context.Context, t testing.TB) *fakeCoordinatorClient {
1403 return &fakeCoordinatorClient{
1404 ctx: ctx,
1405 t: t,
1406 reqs: make(chan *coordReqCall),
1407 resps: make(chan *coordRespCall),
1408 close: make(chan chan<- error),
1409 }
1410}
1411
1412type coordReqCall struct {
1413 req *proto.CoordinateRequest

Calls

no outgoing calls

Tested by

no test coverage detected