MCPcopy Index your code
hub / github.com/cortexproject/cortex / NotifyClientShutdown

Method NotifyClientShutdown

pkg/cortex/cortex_test.go:382–385  ·  view source on GitHub ↗
(_ context.Context, _ *frontendv1pb.NotifyClientShutdownRequest)

Source from the content-addressed store, hash-verified

380}
381
382func (m *mockGrpcServiceHandler) NotifyClientShutdown(_ context.Context, _ *frontendv1pb.NotifyClientShutdownRequest) (*frontendv1pb.NotifyClientShutdownResponse, error) {
383 m.clientShutdownCalled.Store(true)
384 return &frontendv1pb.NotifyClientShutdownResponse{}, nil
385}
386
387func (m *mockGrpcServiceHandler) NotifyQuerierShutdown(_ context.Context, _ *schedulerpb.NotifyQuerierShutdownRequest) (*schedulerpb.NotifyQuerierShutdownResponse, error) {
388 m.querierShutdownCalled.Store(true)

Callers

nothing calls this directly

Calls 1

StoreMethod · 0.65

Tested by

no test coverage detected