MCPcopy Create free account
hub / github.com/cortexproject/cortex / newFakeReplicator

Function newFakeReplicator

pkg/alertmanager/state_replication_test.go:50–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50func newFakeReplicator() *fakeReplicator {
51 return &fakeReplicator{
52 results: make(map[string]*clusterpb.Part),
53 }
54}
55
56func (f *fakeReplicator) ReplicateStateForUser(ctx context.Context, userID string, p *clusterpb.Part) error {
57 f.mtx.Lock()

Callers 2

TestStateReplicationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected