1065
1066
// RequestCancelWorkflowExecution mocks base method.
1067
>
func (m *MockHistoryServiceClient) RequestCancelWorkflowExecution(ctx context.Context, in *historyservice.RequestCancelWorkflowExecutionRequest, opts ...grpc.CallOption) (*historyservice.RequestCancelWorkflowExecutionResponse, error) {
service_grpc.pb.mock.go
1068
>
m.ctrl.T.Helper()
1069
>
varargs := []any{ctx, in}
1070
>
for _, a := range opts {
1071
varargs = append(varargs, a)
1072
}
1074
>
ret0, _ := ret[0].(*historyservice.RequestCancelWorkflowExecutionResponse)
1075
>
ret1, _ := ret[1].(error)
1076
>
return ret0, ret1
1077
}
1078
1079
// RequestCancelWorkflowExecution indicates an expected call of RequestCancelWorkflowExecution.
1080
>
func (mr *MockHistoryServiceClientMockRecorder) RequestCancelWorkflowExecution(ctx, in any, opts ...any) *gomock.Call {
service_grpc.pb.mock.go
1081
>
mr.mock.ctrl.T.Helper()
1082
>
varargs := append([]any{ctx, in}, opts...)
1083
>
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RequestCancelWorkflowExecution", reflect.TypeOf((*MockHistoryServiceClient)(nil).RequestCancelWorkflowExecution), varargs...)
1084
>
}
1085
1086
// ResetActivity mocks base method.