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

Function NewDpApiServer

api/data_plane_api_server.go:43–47  ·  view source on GitHub ↗
(dataPlane *data_plane.Dataplane)

Source from the content-addressed store, hash-verified

41}
42
43func NewDpApiServer(dataPlane *data_plane.Dataplane) *DpApiServer {
44 return &DpApiServer{
45 dataplane: dataPlane,
46 }
47}
48
49func (api *DpApiServer) AddDeployment(_ context.Context, in *proto.ServiceInfo) (*proto.DeploymentUpdateSuccess, error) {
50 return api.dataplane.AddDeployment(in)

Callers 1

mainFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected