MCPcopy
hub / github.com/grafana/tempo / _BackendScheduler_SubmitRedaction_Handler

Function _BackendScheduler_SubmitRedaction_Handler

pkg/tempopb/backendwork.pb.go:1367–1383  ·  view source on GitHub ↗
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)

Source from the content-addressed store, hash-verified

1365}
1366
1367func _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
1385var _BackendScheduler_serviceDesc = grpc.ServiceDesc{
1386 ServiceName: "tempopb.BackendScheduler",

Callers

nothing calls this directly

Calls 1

SubmitRedactionMethod · 0.65

Tested by

no test coverage detected