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

Method GetByKey

tools/cache/mutation_cache.go:40–40  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

38// TODO find a way to layer this into an informer/lister
39type MutationCache interface {
40 GetByKey(key string) (interface{}, bool, error)
41 ByIndex(indexName, indexKey string) ([]interface{}, error)
42 Mutation(interface{})
43}

Callers 2

GetByKeyMethod · 0.65
ByIndexMethod · 0.65

Implementers 1

mutationCachetools/cache/mutation_cache.go

Calls

no outgoing calls

Tested by

no test coverage detected