MCPcopy Index your code
hub / github.com/devspace-sh/devspace / _Downstream_ChangesCount_Handler

Function _Downstream_ChangesCount_Handler

helper/remote/remote_grpc.pb.go:362–378  ·  view source on GitHub ↗
(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor)

Source from the content-addressed store, hash-verified

360}
361
362func _Downstream_ChangesCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
363 in := new(Empty)
364 if err := dec(in); err != nil {
365 return nil, err
366 }
367 if interceptor == nil {
368 return srv.(DownstreamServer).ChangesCount(ctx, in)
369 }
370 info := &grpc.UnaryServerInfo{
371 Server: srv,
372 FullMethod: "/remote.Downstream/ChangesCount",
373 }
374 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
375 return srv.(DownstreamServer).ChangesCount(ctx, req.(*Empty))
376 }
377 return interceptor(ctx, in, info, handler)
378}
379
380func _Downstream_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
381 in := new(Empty)

Callers

nothing calls this directly

Calls 1

ChangesCountMethod · 0.65

Tested by

no test coverage detected