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

Function NewControllerCallClient

pkg/controller/client/call.go:34–38  ·  view source on GitHub ↗
(controllerClient controller.ControllerInterface,
	funcletClient client.FuncletInterface,
	opt *options.ControllerOptions)

Source from the content-addressed store, hash-verified

32}
33
34func NewControllerCallClient(controllerClient controller.ControllerInterface,
35 funcletClient client.FuncletInterface,
36 opt *options.ControllerOptions) *ControllerCallClient {
37 return &ControllerCallClient{controllerClient, funcletClient, opt}
38}
39
40func (mc *ControllerCallClient) Invoke(ir *api.InvokeRequest) (response *api.InvokeResponse, err error) {
41 h := make(map[string]string, 0)

Callers 2

InitFunction · 0.92

Calls

no outgoing calls

Tested by 1