MCPcopy
hub / github.com/flyteorg/flyte / Start

Method Start

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

starts background refresh of items

(ctx context.Context)

Source from the content-addressed store, hash-verified

19type AutoRefreshCache interface {
20 // starts background refresh of items
21 Start(ctx context.Context)
22
23 // Get item by id if exists else null
24 Get(id string) CacheItem

Callers 5

Test_monitorFunction · 0.95
TestCacheTwoFunction · 0.95

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 5

Test_monitorFunction · 0.76
TestCacheTwoFunction · 0.76