MCPcopy
hub / github.com/prometheus/prometheus / NewNopWriteClient

Function NewNopWriteClient

storage/remote/queue_manager_test.go:1269–1269  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1267type NopWriteClient struct{}
1268
1269func NewNopWriteClient() *NopWriteClient { return &NopWriteClient{} }
1270func (*NopWriteClient) Store(context.Context, []byte, int) (WriteResponseStats, error) {
1271 return WriteResponseStats{}, nil
1272}

Callers 2

TestQueueFilledDeadlockFunction · 0.85
BenchmarkSampleSendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…