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

Struct mockGrpcServiceHandler

pkg/cortex/cortex_test.go:377–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377type mockGrpcServiceHandler struct {
378 clientShutdownCalled atomic.Bool
379 querierShutdownCalled atomic.Bool
380}
381
382func (m *mockGrpcServiceHandler) NotifyClientShutdown(_ context.Context, _ *frontendv1pb.NotifyClientShutdownRequest) (*frontendv1pb.NotifyClientShutdownResponse, error) {
383 m.clientShutdownCalled.Store(true)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected