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

Function newFakeWorkspaceUpdateClient

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

Source from the content-addressed store, hash-verified

1468}
1469
1470func newFakeWorkspaceUpdateClient(ctx context.Context, t testing.TB) *fakeWorkspaceUpdateClient {
1471 return &fakeWorkspaceUpdateClient{
1472 ctx: ctx,
1473 t: t,
1474 recv: make(chan *updateRecvCall),
1475 close: make(chan chan<- error),
1476 }
1477}
1478
1479type updateRecvCall struct {
1480 resp chan<- *proto.WorkspaceUpdate

Calls

no outgoing calls

Tested by

no test coverage detected