MCPcopy
hub / github.com/akuity/kargo / Set

Method Set

pkg/cache/cache.go:15–15  ·  view source on GitHub ↗

Set stores a value in the cache. In the event of an error, the error is returned.

(ctx context.Context, key string, value V)

Source from the content-addressed store, hash-verified

13 // Set stores a value in the cache. In the event of an error, the error is
14 // returned.
15 Set(ctx context.Context, key string, value V) error
16}

Callers 15

TestFetchBestReleasesFunction · 0.65
fetchBestReleasesFunction · 0.65
TestInMemoryCache_SetFunction · 0.65
TestWatchStageFunction · 0.65
TestWatchStagesFunction · 0.65
TestWatchWarehouseFunction · 0.65
TestWatchWarehousesFunction · 0.65
TestWatchPromotionFunction · 0.65
TestWatchPromotionsFunction · 0.65
TestWatchProjectConfigFunction · 0.65
TestWatchClusterConfigFunction · 0.65

Calls

no outgoing calls

Tested by 15

TestFetchBestReleasesFunction · 0.52
TestInMemoryCache_SetFunction · 0.52
TestWatchStageFunction · 0.52
TestWatchStagesFunction · 0.52
TestWatchWarehouseFunction · 0.52
TestWatchWarehousesFunction · 0.52
TestWatchPromotionFunction · 0.52
TestWatchPromotionsFunction · 0.52
TestWatchProjectConfigFunction · 0.52
TestWatchClusterConfigFunction · 0.52