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

Struct fakeCoordinatorClient

tailnet/controllers_test.go:1332–1338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1330var errTimeoutOnFake = xerrors.New("test timeout")
1331
1332type fakeCoordinatorClient struct {
1333 ctx context.Context
1334 t testing.TB
1335 reqs chan *coordReqCall
1336 resps chan *coordRespCall
1337 close chan chan<- error
1338}
1339
1340func (f fakeCoordinatorClient) Close() error {
1341 f.t.Helper()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected