MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / CacheKey

Function CacheKey

pkg/controller/function/cache.go:38–40  ·  view source on GitHub ↗
(cacheType CacheType, key string)

Source from the content-addressed store, hash-verified

36)
37
38func CacheKey(cacheType CacheType, key string) string {
39 return string(cacheType) + ":" + key
40}
41
42type StorageCache struct {
43 cacheExpirationConfigs map[CacheType]time.Duration

Callers 3

GetFunctionMethod · 0.85
GetAliasMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected