65
66
// CancelNexusOperation mocks base method.
67
>
func (m *MockHistoryServiceClient) CancelNexusOperation(ctx context.Context, in *historyservice.CancelNexusOperationRequest, opts ...grpc.CallOption) (*historyservice.CancelNexusOperationResponse, error) {
service_grpc.pb.mock.go
68
>
m.ctrl.T.Helper()
69
>
varargs := []any{ctx, in}
70
>
for _, a := range opts {
71
varargs = append(varargs, a)
72
}
74
>
ret0, _ := ret[0].(*historyservice.CancelNexusOperationResponse)
75
>
ret1, _ := ret[1].(error)
76
>
return ret0, ret1
77
}
78
79
// CancelNexusOperation indicates an expected call of CancelNexusOperation.
80
>
func (mr *MockHistoryServiceClientMockRecorder) CancelNexusOperation(ctx, in any, opts ...any) *gomock.Call {
service_grpc.pb.mock.go
81
>
mr.mock.ctrl.T.Helper()
82
>
varargs := append([]any{ctx, in}, opts...)
83
>
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CancelNexusOperation", reflect.TypeOf((*MockHistoryServiceClient)(nil).CancelNexusOperation), varargs...)
84
>
}
85
86
// CloseShard mocks base method.