MCPcopy
hub / github.com/zalando/skipper / Get

Method Get

filters/cache/storage.go:56–56  ·  view source on GitHub ↗

Get returns the entry for key, or (nil, nil) if the key is not found.

(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

54type Storage interface {
55 // Get returns the entry for key, or (nil, nil) if the key is not found.
56 Get(ctx context.Context, key string) (*Entry, error)
57
58 // Set stores or overwrites the entry for key.
59 Set(ctx context.Context, key string, entry *Entry) error

Callers 15

waitConnGetFunction · 0.65
TestDataClientsFunction · 0.65
TestInitOrderAndDefaultFunction · 0.65
runFunction · 0.65
waitForOKFunction · 0.65
serveRequestFunction · 0.65
setResponseValueFunction · 0.65
setStateBagFunction · 0.65
getRequestHeaderFunction · 0.65
setRequestHeaderFunction · 0.65
getResponseHeaderFunction · 0.65

Implementers 2

LRUStoragefilters/cache/lru_storage.go
ShardedByteLRUfilters/cache/lru.go

Calls

no outgoing calls

Tested by 15

waitConnGetFunction · 0.52
TestDataClientsFunction · 0.52
TestInitOrderAndDefaultFunction · 0.52
waitForOKFunction · 0.52
TestRequestWithBasicAuthFunction · 0.52
TestRoutesCachingFunction · 0.52
TestCodaHaleDebugGcStatsFunction · 0.52
TestCodaHaleRuntimeStatsFunction · 0.52
TestCodaHaleProxyMetricsFunction · 0.52