service_grpc.pb.mock.go ×3

Frontier kind: Code frontier

unlabeled · c_52d58da6bbf1

2 tests · 4030 LOC · 205 files · introduces 0 tests · 35 LOC · 3 files

Introduces — evidence that enters the hierarchy at this concept

Code
8 ranges35 lines · 3 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
657 ranges4030 lines · 205 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: 35 introduced LOC across 8 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/frontend/workflow_handler.go 14 introduced LOC · 3 ranges

Open complete file

2357 }
2358
2359 > namespaceID, err := wh.namespaceRegistry.GetNamespaceID(namespaceName) workflow_handler.go
2360 > if err != nil {
2361 return nil, err
2362 }
2363
2364 > resp, err := wh.historyClient.SignalWithStartWorkflowExecution(ctx, &historyservice.SignalWithStartWorkflowExecutionRequest{ workflow_handler.go
2365 > NamespaceId: namespaceID.String(),
2366 > SignalWithStartRequest: request,
2367 > })
2368 >
2369 > if err != nil {
2370 return nil, err
2371 }
2372
2373 > return &workflowservice.SignalWithStartWorkflowExecutionResponse{ workflow_handler.go
2374 > RunId: resp.GetRunId(),
2375 > FirstExecutionRunId: resp.GetFirstExecutionRunId(),
2376 > Started: resp.Started,
2377 > SignalLink: resp.GetSignalLink(),
2378 > }, nil
2379 }
2380
go.temporal.io/server/api/historyservicemock/v1/service_grpc.pb.mock.go 13 introduced LOC · 3 ranges

Open complete file

1265
1266 // SignalWithStartWorkflowExecution mocks base method.
1267 > func (m *MockHistoryServiceClient) SignalWithStartWorkflowExecution(ctx context.Context, in *historyservice.SignalWithStartWorkflowExecutionRequest, opts ...grpc.CallOption) (*historyservice.SignalWithStartWorkflowExecutionResponse, error) { service_grpc.pb.mock.go
1268 > m.ctrl.T.Helper()
1269 > varargs := []any{ctx, in}
1270 > for _, a := range opts {
1271 varargs = append(varargs, a)
1272 }
1273 > ret := m.ctrl.Call(m, "SignalWithStartWorkflowExecution", varargs...) service_grpc.pb.mock.go
1274 > ret0, _ := ret[0].(*historyservice.SignalWithStartWorkflowExecutionResponse)
1275 > ret1, _ := ret[1].(error)
1276 > return ret0, ret1
1277 }
1278
1279 // SignalWithStartWorkflowExecution indicates an expected call of SignalWithStartWorkflowExecution.
1280 > func (mr *MockHistoryServiceClientMockRecorder) SignalWithStartWorkflowExecution(ctx, in any, opts ...any) *gomock.Call { service_grpc.pb.mock.go
1281 > mr.mock.ctrl.T.Helper()
1282 > varargs := append([]any{ctx, in}, opts...)
1283 > return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SignalWithStartWorkflowExecution", reflect.TypeOf((*MockHistoryServiceClient)(nil).SignalWithStartWorkflowExecution), varargs...)
1284 > }
1285
1286 // SignalWorkflowExecution mocks base method.
go.temporal.io/server/api/historyservice/v1/request_response.pb.go 8 introduced LOC · 2 ranges

Open complete file

3084 }
3085
3086 > func (x *SignalWithStartWorkflowExecutionResponse) GetSignalLink() *v14.Link { request_response.pb.go
3087 > if x != nil {
3088 > return x.SignalLink
3089 > }
3090 return nil
3091 }
3092
3093 > func (x *SignalWithStartWorkflowExecutionResponse) GetFirstExecutionRunId() string { request_response.pb.go
3094 > if x != nil {
3095 > return x.FirstExecutionRunId
3096 > }
3097 return ""
3098 }