(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
| 1365 | } |
| 1366 | |
| 1367 | func _BackendScheduler_SubmitRedaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 1368 | in := new(SubmitRedactionRequest) |
| 1369 | if err := dec(in); err != nil { |
| 1370 | return nil, err |
| 1371 | } |
| 1372 | if interceptor == nil { |
| 1373 | return srv.(BackendSchedulerServer).SubmitRedaction(ctx, in) |
| 1374 | } |
| 1375 | info := &grpc.UnaryServerInfo{ |
| 1376 | Server: srv, |
| 1377 | FullMethod: "/tempopb.BackendScheduler/SubmitRedaction", |
| 1378 | } |
| 1379 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1380 | return srv.(BackendSchedulerServer).SubmitRedaction(ctx, req.(*SubmitRedactionRequest)) |
| 1381 | } |
| 1382 | return interceptor(ctx, in, info, handler) |
| 1383 | } |
| 1384 | |
| 1385 | var _BackendScheduler_serviceDesc = grpc.ServiceDesc{ |
| 1386 | ServiceName: "tempopb.BackendScheduler", |
nothing calls this directly
no test coverage detected