(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)
| 3267 | } |
| 3268 | |
| 3269 | func _Ingester_LabelNames_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 3270 | in := new(LabelNamesRequest) |
| 3271 | if err := dec(in); err != nil { |
| 3272 | return nil, err |
| 3273 | } |
| 3274 | if interceptor == nil { |
| 3275 | return srv.(IngesterServer).LabelNames(ctx, in) |
| 3276 | } |
| 3277 | info := &grpc.UnaryServerInfo{ |
| 3278 | Server: srv, |
| 3279 | FullMethod: "/cortex.Ingester/LabelNames", |
| 3280 | } |
| 3281 | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 3282 | return srv.(IngesterServer).LabelNames(ctx, req.(*LabelNamesRequest)) |
| 3283 | } |
| 3284 | return interceptor(ctx, in, info, handler) |
| 3285 | } |
| 3286 | |
| 3287 | func _Ingester_LabelNamesStream_Handler(srv interface{}, stream grpc.ServerStream) error { |
| 3288 | m := new(LabelNamesRequest) |
nothing calls this directly
no test coverage detected