MCPcopy
hub / github.com/grafana/dskit / mockService

Struct mockService

grpcutil/health_check_test.go:156–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156type mockService struct {
157 services.Service
158 state services.State
159 listeners []services.Listener
160}
161
162func (s *mockService) switchState(desiredState services.State) {
163 // Simulate all the states between the current state and the desired one.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected