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

Method makeInvokeHTTPRequest

pkg/controller/rtctrl/client.go:104–114  ·  view source on GitHub ↗
(reqInfo *RequestInfo, input *InvocationInput)

Source from the content-addressed store, hash-verified

102}
103
104func (s *RuntimeClient) makeInvokeHTTPRequest(reqInfo *RequestInfo, input *InvocationInput) *InvokeHTTPRequest {
105 req, cancel := ConvertProxyRequestToHTTP(reqInfo)
106 invokeReq := &InvokeHTTPRequest{
107 RequestID: input.RequestID,
108 Request: req,
109 FunctionTimeout: *input.Configuration.Timeout,
110 Logger: input.Logger,
111 CtxCancel: cancel,
112 }
113 return invokeReq
114}
115
116func (s *RuntimeClient) waitRuntime(reqinfo *RequestInfo) (err error) {
117 runtime := reqinfo.Runtime

Callers 1

InvokeFuncMethod · 0.95

Calls 1

Tested by

no test coverage detected