MCPcopy Create free account
hub / github.com/cortexproject/cortex / _Ingester_LabelNames_Handler

Function _Ingester_LabelNames_Handler

pkg/ingester/client/ingester.pb.go:3269–3285  ·  view source on GitHub ↗
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)

Source from the content-addressed store, hash-verified

3267}
3268
3269func _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
3287func _Ingester_LabelNamesStream_Handler(srv interface{}, stream grpc.ServerStream) error {
3288 m := new(LabelNamesRequest)

Callers

nothing calls this directly

Calls 1

LabelNamesMethod · 0.65

Tested by

no test coverage detected