MCPcopy Index your code
hub / github.com/flyteorg/flyte / Get

Method Get

flytestdlib/utils/auto_refresh_cache.go:24–24  ·  view source on GitHub ↗

Get item by id if exists else null

(id string)

Source from the content-addressed store, hash-verified

22
23 // Get item by id if exists else null
24 Get(id string) CacheItem
25
26 // Get object if exists else create it
27 GetOrCreate(item CacheItem) (CacheItem, error)

Callers 6

TestCacheTwoFunction · 0.95
GetMethod · 0.65
GetOrCreateMethod · 0.65

Implementers 15

InMemoryAutoRefreshflytestdlib/cache/in_memory_auto_refre
AutoRefreshflytestdlib/cache/mocks/mocks.go
AutoRefresh_Expecterflytestdlib/cache/mocks/mocks.go
autoRefreshCacheflytestdlib/utils/auto_refresh_cache.g
autoRefreshflytestdlib/autorefreshcache/auto_refr
AutoRefreshflytestdlib/autorefreshcache/mocks/moc
AutoRefresh_Expecterflytestdlib/autorefreshcache/mocks/moc
AutoRefreshWithUpdateflytestdlib/autorefreshcache/mocks/moc
AutoRefreshWithUpdate_Expecterflytestdlib/autorefreshcache/mocks/moc
AutoRefreshflytestdlib/flytestdlib/cache/mocks/mo
AutoRefresh_Expecterflytestdlib/flytestdlib/cache/mocks/mo
AutoRefreshflytestdlib/flytestdlib/autorefreshcac

Calls

no outgoing calls

Tested by 4

TestCacheTwoFunction · 0.76