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