MCPcopy
hub / github.com/kubernetes/client-go / NewThreadSafeStore

Function NewThreadSafeStore

tools/cache/thread_safe_store.go:305–311  ·  view source on GitHub ↗
(indexers Indexers, indices Indices)

Source from the content-addressed store, hash-verified

303}
304
305func NewThreadSafeStore(indexers Indexers, indices Indices) ThreadSafeStore {
306 return &threadSafeMap{
307 items: map[string]interface{}{},
308 indexers: indexers,
309 indices: indices,
310 }
311}

Callers 4

NewExpirationStoreFunction · 0.85
NewStoreFunction · 0.85
NewIndexerFunction · 0.85
NewFakeExpirationStoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected