service_grpc.pb.mock.go ×4

Frontier kind: Joint frontier

unlabeled · c_bcc49a17c867

1 test · 3640 LOC · 154 files · introduces 1 test · 32 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
5 ranges32 lines · 2 files
Tests
1 test

Contains — complete concept membership

All code (extent)
531 ranges3640 lines · 154 files · Browse complete extent
All tests (intent)
1 testBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

1 test introduced at this concept.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

2 files ranked by introduced lines: 32 introduced LOC across 5 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/api/adminservicemock/v1/service_grpc.pb.mock.go 21 introduced LOC · 4 ranges

Open complete file

925
926 // StreamWorkflowReplicationMessages mocks base method.
927 > func (m *MockAdminServiceClient) StreamWorkflowReplicationMessages(ctx context.Context, opts ...grpc.CallOption) (adminservice.AdminService_StreamWorkflowReplicationMessagesClient, error) { service_grpc.pb.mock.go
928 > m.ctrl.T.Helper()
929 > varargs := []any{ctx}
930 > for _, a := range opts {
931 varargs = append(varargs, a)
932 }
933 > ret := m.ctrl.Call(m, "StreamWorkflowReplicationMessages", varargs...) service_grpc.pb.mock.go
934 > ret0, _ := ret[0].(adminservice.AdminService_StreamWorkflowReplicationMessagesClient)
935 > ret1, _ := ret[1].(error)
936 > return ret0, ret1
937 }
938
989
990 // CloseSend mocks base method.
991 > func (m *MockAdminService_StreamWorkflowReplicationMessagesClient) CloseSend() error { service_grpc.pb.mock.go
992 > m.ctrl.T.Helper()
993 > ret := m.ctrl.Call(m, "CloseSend")
994 > ret0, _ := ret[0].(error)
995 > return ret0
996 > }
997
998 // CloseSend indicates an expected call of CloseSend.
1032
1033 // Recv mocks base method.
1034 > func (m *MockAdminService_StreamWorkflowReplicationMessagesClient) Recv() (*adminservice.StreamWorkflowReplicationMessagesResponse, error) { service_grpc.pb.mock.go
1035 > m.ctrl.T.Helper()
1036 > ret := m.ctrl.Call(m, "Recv")
1037 > ret0, _ := ret[0].(*adminservice.StreamWorkflowReplicationMessagesResponse)
1038 > ret1, _ := ret[1].(error)
1039 > return ret0, ret1
1040 > }
1041
1042 // Recv indicates an expected call of Recv.
go.temporal.io/server/service/history/replication/grpc_stream_client.go 11 introduced LOC · 1 range

Open complete file

42 return nil, err
43 }
44 > ctx = metadata.NewOutgoingContext(ctx, history.EncodeClusterShardMD( grpc_stream_client.go
45 > history.ClusterShardID{
46 > ClusterID: clientShardKey.ClusterID,
47 > ShardID: clientShardKey.ShardID,
48 > },
49 > history.ClusterShardID{
50 > ClusterID: serverShardKey.ClusterID,
51 > ShardID: serverShardKey.ShardID,
52 > },
53 > ))
54 > return adminClient.StreamWorkflowReplicationMessages(ctx)
55 }