MCPcopy
hub / github.com/grafana/tempo / newMockMemcache

Function newMockMemcache

pkg/cache/memcached_client_test.go:15–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13}
14
15func newMockMemcache() *mockMemcache {
16 return &mockMemcache{
17 contents: map[string][]byte{},
18 }
19}
20
21func (m *mockMemcache) GetMulti(_ context.Context, keys []string, _ ...memcache.Option) (map[string]*memcache.Item, error) {
22 m.RLock()

Callers 3

TestMemcachedFunction · 0.85
newMockMemcacheFailingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected