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

Interface DataStorer

pkg/controller/function/function_server.go:27–31  ·  view source on GitHub ↗

DataStorer xxx

Source from the content-addressed store, hash-verified

25
26// DataStorer xxx
27type DataStorer interface {
28 GetFunction(input *api.GetFunctionInput) (*api.GetFunctionOutput, bool, error)
29 GetAlias(input *api.GetAliasInput) (*api.GetAliasOutput, bool, error)
30 GetRuntimeConfiguration(input *api.GetRuntimeConfigurationInput) (*api.RuntimeConfiguration, bool, error)
31}
32
33// functionServerClient is used to get function and policy meta from apiserver
34type functionServerClient struct {

Callers 3

GetFunctionMethod · 0.65
GetAliasMethod · 0.65

Implementers 2

RegistryClientpkg/controller/registry/registry.go
functionServerClientpkg/controller/function/function_serve

Calls

no outgoing calls

Tested by

no test coverage detected