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

Function newMockMemcache

pkg/chunk/cache/memcached_client_test.go:14–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 3

TestMemcachedFunction · 0.85
newMockMemcacheFailingFunction · 0.85
TestMemcacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected