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

Method NodeInfo

pkg/funclet/node.go:24–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22)
23
24func (f *Funclet) NodeInfo() (info *api.FuncletNodeInfo, err error) {
25 info = &api.FuncletNodeInfo{
26 Resource: f.RuntimeClient.GetTotalResources(),
27 }
28 return info, nil
29}

Callers 1

GetNodeHandlerMethod · 0.95

Calls 1

GetTotalResourcesMethod · 0.65

Tested by

no test coverage detected