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

Struct FakeServer

server/server_test.go:45–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43)
44
45type FakeServer struct{}
46
47func (f FakeServer) FailWithError(_ context.Context, _ *emptypb.Empty) (*emptypb.Empty, error) {
48 return nil, errors.New("test error")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected