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

Struct functionServerClient

pkg/controller/function/function_server.go:34–37  ·  view source on GitHub ↗

functionServerClient is used to get function and policy meta from apiserver

Source from the content-addressed store, hash-verified

32
33// functionServerClient is used to get function and policy meta from apiserver
34type functionServerClient struct {
35 rpcClient registry.Registry
36 cache *StorageCache
37}
38
39// NewDataStorer create a apiserver client
40func NewDataStorer(o *registry.Options, storageCache *StorageCache) (ds DataStorer, err error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected