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

Function newFakeTelemetryClient

tailnet/controllers_test.go:780–784  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

778var _ tailnet.TelemetryClient = &fakeTelemetryClient{}
779
780func newFakeTelemetryClient() *fakeTelemetryClient {
781 return &fakeTelemetryClient{
782 calls: make(chan *fakeTelemetryCall),
783 }
784}
785
786// PostTelemetry implements tailnet.TelemetryClient
787func (f *fakeTelemetryClient) PostTelemetry(ctx context.Context, req *proto.TelemetryRequest) (*proto.TelemetryResponse, error) {

Calls

no outgoing calls

Tested by

no test coverage detected