MCPcopy Create free account
hub / github.com/coder/coder / fakeLogDest

Struct fakeLogDest

codersdk/agentsdk/logs_internal_test.go:455–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453}
454
455type fakeLogDest struct {
456 reqs chan *proto.BatchCreateLogsRequest
457 resps chan *proto.BatchCreateLogsResponse
458 err error
459}
460
461func (f fakeLogDest) BatchCreateLogs(ctx context.Context, req *proto.BatchCreateLogsRequest) (*proto.BatchCreateLogsResponse, error) {
462 // clone the logs so that modifications the sender makes don't affect our tests. In production

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected