service_grpc.pb.mock.go ×3

Frontier kind: Code frontier

unlabeled · c_0aed8b7fd1a7

2 tests · 3028 LOC · 146 files · introduces 0 tests · 31 LOC · 3 files

Introduces — evidence that enters the hierarchy at this concept

Code
6 ranges31 lines · 3 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
555 ranges3028 lines · 146 files · Browse complete extent
All tests (intent)
2 testsBrowse 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.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

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

3 files ranked by introduced lines: 31 introduced LOC across 6 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/api/historyservicemock/v1/service_grpc.pb.mock.go 13 introduced LOC · 3 ranges

Open complete file

345
346 // GenerateLastHistoryReplicationTasks mocks base method.
347 > func (m *MockHistoryServiceClient) GenerateLastHistoryReplicationTasks(ctx context.Context, in *historyservice.GenerateLastHistoryReplicationTasksRequest, opts ...grpc.CallOption) (*historyservice.GenerateLastHistoryReplicationTasksResponse, error) { service_grpc.pb.mock.go
348 > m.ctrl.T.Helper()
349 > varargs := []any{ctx, in}
350 > for _, a := range opts {
351 varargs = append(varargs, a)
352 }
353 > ret := m.ctrl.Call(m, "GenerateLastHistoryReplicationTasks", varargs...) service_grpc.pb.mock.go
354 > ret0, _ := ret[0].(*historyservice.GenerateLastHistoryReplicationTasksResponse)
355 > ret1, _ := ret[1].(error)
356 > return ret0, ret1
357 }
358
359 // GenerateLastHistoryReplicationTasks indicates an expected call of GenerateLastHistoryReplicationTasks.
360 > func (mr *MockHistoryServiceClientMockRecorder) GenerateLastHistoryReplicationTasks(ctx, in any, opts ...any) *gomock.Call { service_grpc.pb.mock.go
361 > mr.mock.ctrl.T.Helper()
362 > varargs := append([]any{ctx, in}, opts...)
363 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GenerateLastHistoryReplicationTasks", reflect.TypeOf((*MockHistoryServiceClient)(nil).GenerateLastHistoryReplicationTasks), varargs...)
364 > }
365
366 // GetDLQMessages mocks base method.
go.temporal.io/server/service/worker/migration/activities.go 13 introduced LOC · 2 ranges

Open complete file

540 stateTransitionCount = resp.StateTransitionCount
541 historyLength = resp.HistoryLength
542 > } else { activities.go
543 > resp, err := a.HistoryClient.GenerateLastHistoryReplicationTasks(ctx, &historyservice.GenerateLastHistoryReplicationTasksRequest{
544 > NamespaceId: namespaceID,
545 > Execution: &commonpb.WorkflowExecution{
546 > WorkflowId: execution.BusinessID,
547 > RunId: execution.RunID,
548 > },
549 > ArchetypeId: execution.ArchetypeID,
550 > TargetClusters: targetClusters,
551 > })
552 > if err != nil {
553 return err
554 }
555 > stateTransitionCount = resp.StateTransitionCount activities.go
556 > historyLength = resp.HistoryLength
557 }
558
go.temporal.io/server/api/historyservice/v1/request_response.pb.go 5 introduced LOC · 1 range

Open complete file

6554 mi := &file_temporal_server_api_historyservice_v1_request_response_proto_msgTypes[92]
6555 if x != nil {
6556 > ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) request_response.pb.go
6557 > if ms.LoadMessageInfo() == nil {
6558 > ms.StoreMessageInfo(mi)
6559 > }
6560 > return ms
6561 }
6562 return mi.MessageOf(x)