MCPcopy
hub / github.com/openfaas/faas / CachedFunctionQuery

Struct CachedFunctionQuery

gateway/scaling/function_query.go:15–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13)
14
15type CachedFunctionQuery struct {
16 cache FunctionCacher
17 serviceQuery ServiceQuery
18 emptyAnnotations map[string]string
19 singleFlight *singleflight.Group
20}
21
22func NewCachedFunctionQuery(cache FunctionCacher, serviceQuery ServiceQuery) FunctionQuery {
23 return &CachedFunctionQuery{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected