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

Struct fakeCollector

agent/stats_internal_test.go:165–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165type fakeCollector struct {
166 t testing.TB
167 calls chan map[netlogtype.Connection]netlogtype.Counts
168 stats chan *proto.Stats
169}
170
171func (f *fakeCollector) Collect(ctx context.Context, networkStats map[netlogtype.Connection]netlogtype.Counts) *proto.Stats {
172 select {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected