MCPcopy Create free account
hub / github.com/eth-easl/dirigent / NewWorkerNodeApi

Function NewWorkerNodeApi

api/worker_node_api_server.go:40–44  ·  view source on GitHub ↗
(workerNode *worker_node.WorkerNode)

Source from the content-addressed store, hash-verified

38}
39
40func NewWorkerNodeApi(workerNode *worker_node.WorkerNode) *WnApiServer {
41 return &WnApiServer{
42 workerNode: workerNode,
43 }
44}
45
46func (w *WnApiServer) CreateSandbox(grpcCtx context.Context, in *proto.ServiceInfo) (*proto.SandboxCreationStatus, error) {
47 return w.workerNode.SandboxRuntime.CreateSandbox(grpcCtx, in)

Callers 1

mainFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected