|
@@ -1,1319 +0,0 @@
|
|
|
-// Code generated by MockGen. DO NOT EDIT.
|
|
|
-// Source: kpt-pasture/module/backend (interfaces: KptService)
|
|
|
-
|
|
|
-// Package kptservicemock is a generated GoMock package.
|
|
|
-package kptservicemock
|
|
|
-
|
|
|
-import (
|
|
|
- context "context"
|
|
|
- reflect "reflect"
|
|
|
-
|
|
|
- cowPb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/cow"
|
|
|
- gomock "github.com/golang/mock/gomock"
|
|
|
-)
|
|
|
-
|
|
|
-// MockKptService is a mock of KptService interface.
|
|
|
-type MockKptService struct {
|
|
|
- ctrl *gomock.Controller
|
|
|
- recorder *MockKptServiceMockRecorder
|
|
|
-}
|
|
|
-
|
|
|
-// MockKptServiceMockRecorder is the mock recorder for MockKptService.
|
|
|
-type MockKptServiceMockRecorder struct {
|
|
|
- mock *MockKptService
|
|
|
-}
|
|
|
-
|
|
|
-// NewMockKptService creates a new mock instance.
|
|
|
-func NewMockKptService(ctrl *gomock.Controller) *MockKptService {
|
|
|
- mock := &MockKptService{ctrl: ctrl}
|
|
|
- mock.recorder = &MockKptServiceMockRecorder{mock}
|
|
|
- return mock
|
|
|
-}
|
|
|
-
|
|
|
-// EXPECT returns an object that allows the caller to indicate expected use.
|
|
|
-func (m *MockKptService) EXPECT() *MockKptServiceMockRecorder {
|
|
|
- return m.recorder
|
|
|
-}
|
|
|
-
|
|
|
-// Bar mocks base method.
|
|
|
-func (m *MockKptService) Bar(arg0 context.Context) (*cowPb.BarCowStructResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "Bar", arg0)
|
|
|
- ret0, _ := ret[0].(*cowPb.BarCowStructResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// Bar indicates an expected call of Bar.
|
|
|
-func (mr *MockKptServiceMockRecorder) Bar(arg0 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Bar", reflect.TypeOf((*MockKptService)(nil).Bar), arg0)
|
|
|
-}
|
|
|
-
|
|
|
-// BarnListOptions mocks base method.
|
|
|
-func (m *MockKptService) BarnListOptions(arg0 context.Context, arg1 int) (*cowPb.ConfigOptionsListResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "BarnListOptions", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// BarnListOptions indicates an expected call of BarnListOptions.
|
|
|
-func (mr *MockKptServiceMockRecorder) BarnListOptions(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BarnListOptions", reflect.TypeOf((*MockKptService)(nil).BarnListOptions), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// BarnTypeOptions mocks base method.
|
|
|
-func (m *MockKptService) BarnTypeOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "BarnTypeOptions", arg0)
|
|
|
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// BarnTypeOptions indicates an expected call of BarnTypeOptions.
|
|
|
-func (mr *MockKptServiceMockRecorder) BarnTypeOptions(arg0 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BarnTypeOptions", reflect.TypeOf((*MockKptService)(nil).BarnTypeOptions), arg0)
|
|
|
-}
|
|
|
-
|
|
|
-// BodyScoreList mocks base method.
|
|
|
-func (m *MockKptService) BodyScoreList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBodyScoreEventResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "BodyScoreList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchBodyScoreEventResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// BodyScoreList indicates an expected call of BodyScoreList.
|
|
|
-func (mr *MockKptServiceMockRecorder) BodyScoreList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BodyScoreList", reflect.TypeOf((*MockKptService)(nil).BodyScoreList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// BreedStatusOptions mocks base method.
|
|
|
-func (m *MockKptService) BreedStatusOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "BreedStatusOptions", arg0)
|
|
|
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// BreedStatusOptions indicates an expected call of BreedStatusOptions.
|
|
|
-func (mr *MockKptServiceMockRecorder) BreedStatusOptions(arg0 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BreedStatusOptions", reflect.TypeOf((*MockKptService)(nil).BreedStatusOptions), arg0)
|
|
|
-}
|
|
|
-
|
|
|
-// BullOptions mocks base method.
|
|
|
-func (m *MockKptService) BullOptions(arg0 context.Context) (*cowPb.BullOptionsListResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "BullOptions", arg0)
|
|
|
- ret0, _ := ret[0].(*cowPb.BullOptionsListResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// BullOptions indicates an expected call of BullOptions.
|
|
|
-func (mr *MockKptServiceMockRecorder) BullOptions(arg0 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BullOptions", reflect.TypeOf((*MockKptService)(nil).BullOptions), arg0)
|
|
|
-}
|
|
|
-
|
|
|
-// CalvingCreate mocks base method.
|
|
|
-func (m *MockKptService) CalvingCreate(arg0 context.Context, arg1 *cowPb.CalvingEventRequest) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CalvingCreate", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// CalvingCreate indicates an expected call of CalvingCreate.
|
|
|
-func (mr *MockKptServiceMockRecorder) CalvingCreate(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalvingCreate", reflect.TypeOf((*MockKptService)(nil).CalvingCreate), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// CalvingList mocks base method.
|
|
|
-func (m *MockKptService) CalvingList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchLavingEventResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CalvingList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchLavingEventResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// CalvingList indicates an expected call of CalvingList.
|
|
|
-func (mr *MockKptServiceMockRecorder) CalvingList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CalvingList", reflect.TypeOf((*MockKptService)(nil).CalvingList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// CowKindOptions mocks base method.
|
|
|
-func (m *MockKptService) CowKindOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CowKindOptions", arg0)
|
|
|
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// CowKindOptions indicates an expected call of CowKindOptions.
|
|
|
-func (mr *MockKptServiceMockRecorder) CowKindOptions(arg0 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowKindOptions", reflect.TypeOf((*MockKptService)(nil).CowKindOptions), arg0)
|
|
|
-}
|
|
|
-
|
|
|
-// CowList mocks base method.
|
|
|
-func (m *MockKptService) CowList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchCowListResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CowList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchCowListResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// CowList indicates an expected call of CowList.
|
|
|
-func (mr *MockKptServiceMockRecorder) CowList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowList", reflect.TypeOf((*MockKptService)(nil).CowList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// CowSourceOptions mocks base method.
|
|
|
-func (m *MockKptService) CowSourceOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CowSourceOptions", arg0)
|
|
|
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// CowSourceOptions indicates an expected call of CowSourceOptions.
|
|
|
-func (mr *MockKptServiceMockRecorder) CowSourceOptions(arg0 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowSourceOptions", reflect.TypeOf((*MockKptService)(nil).CowSourceOptions), arg0)
|
|
|
-}
|
|
|
-
|
|
|
-// CowStatusOptions mocks base method.
|
|
|
-func (m *MockKptService) CowStatusOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CowStatusOptions", arg0)
|
|
|
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// CowStatusOptions indicates an expected call of CowStatusOptions.
|
|
|
-func (mr *MockKptServiceMockRecorder) CowStatusOptions(arg0 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowStatusOptions", reflect.TypeOf((*MockKptService)(nil).CowStatusOptions), arg0)
|
|
|
-}
|
|
|
-
|
|
|
-// CowTransferPenReasonOptions mocks base method.
|
|
|
-func (m *MockKptService) CowTransferPenReasonOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CowTransferPenReasonOptions", arg0)
|
|
|
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// CowTransferPenReasonOptions indicates an expected call of CowTransferPenReasonOptions.
|
|
|
-func (mr *MockKptServiceMockRecorder) CowTransferPenReasonOptions(arg0 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowTransferPenReasonOptions", reflect.TypeOf((*MockKptService)(nil).CowTransferPenReasonOptions), arg0)
|
|
|
-}
|
|
|
-
|
|
|
-// CowTypeOptions mocks base method.
|
|
|
-func (m *MockKptService) CowTypeOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CowTypeOptions", arg0)
|
|
|
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// CowTypeOptions indicates an expected call of CowTypeOptions.
|
|
|
-func (mr *MockKptServiceMockRecorder) CowTypeOptions(arg0 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowTypeOptions", reflect.TypeOf((*MockKptService)(nil).CowTypeOptions), arg0)
|
|
|
-}
|
|
|
-
|
|
|
-// CreateBodyScore mocks base method.
|
|
|
-func (m *MockKptService) CreateBodyScore(arg0 context.Context, arg1 *cowPb.BodyScoreEventRequest) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CreateBodyScore", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// CreateBodyScore indicates an expected call of CreateBodyScore.
|
|
|
-func (mr *MockKptServiceMockRecorder) CreateBodyScore(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBodyScore", reflect.TypeOf((*MockKptService)(nil).CreateBodyScore), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// CreateEnter mocks base method.
|
|
|
-func (m *MockKptService) CreateEnter(arg0 context.Context, arg1 *cowPb.SearchEnterData) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CreateEnter", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// CreateEnter indicates an expected call of CreateEnter.
|
|
|
-func (mr *MockKptServiceMockRecorder) CreateEnter(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateEnter", reflect.TypeOf((*MockKptService)(nil).CreateEnter), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// CreateGroupTransfer mocks base method.
|
|
|
-func (m *MockKptService) CreateGroupTransfer(arg0 context.Context, arg1 *cowPb.TransferGroupEventRequest) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CreateGroupTransfer", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// CreateGroupTransfer indicates an expected call of CreateGroupTransfer.
|
|
|
-func (mr *MockKptServiceMockRecorder) CreateGroupTransfer(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateGroupTransfer", reflect.TypeOf((*MockKptService)(nil).CreateGroupTransfer), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateBarn mocks base method.
|
|
|
-func (m *MockKptService) CreateOrUpdateBarn(arg0 context.Context, arg1 *cowPb.SearchBarnList) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CreateOrUpdateBarn", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateBarn indicates an expected call of CreateOrUpdateBarn.
|
|
|
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateBarn(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateBarn", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateBarn), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateBarnType mocks base method.
|
|
|
-func (m *MockKptService) CreateOrUpdateBarnType(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CreateOrUpdateBarnType", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateBarnType indicates an expected call of CreateOrUpdateBarnType.
|
|
|
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateBarnType(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateBarnType", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateBarnType), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateBreedStatus mocks base method.
|
|
|
-func (m *MockKptService) CreateOrUpdateBreedStatus(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CreateOrUpdateBreedStatus", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateBreedStatus indicates an expected call of CreateOrUpdateBreedStatus.
|
|
|
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateBreedStatus(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateBreedStatus", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateBreedStatus), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateCowKind mocks base method.
|
|
|
-func (m *MockKptService) CreateOrUpdateCowKind(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CreateOrUpdateCowKind", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateCowKind indicates an expected call of CreateOrUpdateCowKind.
|
|
|
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowKind(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowKind", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowKind), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateCowSource mocks base method.
|
|
|
-func (m *MockKptService) CreateOrUpdateCowSource(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CreateOrUpdateCowSource", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateCowSource indicates an expected call of CreateOrUpdateCowSource.
|
|
|
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowSource(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowSource", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowSource), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateCowStatus mocks base method.
|
|
|
-func (m *MockKptService) CreateOrUpdateCowStatus(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CreateOrUpdateCowStatus", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateCowStatus indicates an expected call of CreateOrUpdateCowStatus.
|
|
|
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowStatus(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowStatus", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowStatus), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateCowType mocks base method.
|
|
|
-func (m *MockKptService) CreateOrUpdateCowType(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CreateOrUpdateCowType", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateCowType indicates an expected call of CreateOrUpdateCowType.
|
|
|
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateCowType(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateCowType", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateCowType), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateDisease mocks base method.
|
|
|
-func (m *MockKptService) CreateOrUpdateDisease(arg0 context.Context, arg1 *cowPb.SearchDiseaseList) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CreateOrUpdateDisease", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateDisease indicates an expected call of CreateOrUpdateDisease.
|
|
|
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateDisease(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateDisease", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateDisease), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateDiseaseType mocks base method.
|
|
|
-func (m *MockKptService) CreateOrUpdateDiseaseType(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CreateOrUpdateDiseaseType", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateDiseaseType indicates an expected call of CreateOrUpdateDiseaseType.
|
|
|
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateDiseaseType(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateDiseaseType", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateDiseaseType), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdatePrescription mocks base method.
|
|
|
-func (m *MockKptService) CreateOrUpdatePrescription(arg0 context.Context, arg1 *cowPb.PrescriptionRequest) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CreateOrUpdatePrescription", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdatePrescription indicates an expected call of CreateOrUpdatePrescription.
|
|
|
-func (mr *MockKptServiceMockRecorder) CreateOrUpdatePrescription(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdatePrescription", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdatePrescription), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateSemeTime mocks base method.
|
|
|
-func (m *MockKptService) CreateOrUpdateSemeTime(arg0 context.Context, arg1 *cowPb.SemeTimeRequest) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CreateOrUpdateSemeTime", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateSemeTime indicates an expected call of CreateOrUpdateSemeTime.
|
|
|
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateSemeTime(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateSemeTime", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateSemeTime), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateSystemMenu mocks base method.
|
|
|
-func (m *MockKptService) CreateOrUpdateSystemMenu(arg0 context.Context, arg1 *cowPb.SearchMenuRequest) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CreateOrUpdateSystemMenu", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateSystemMenu indicates an expected call of CreateOrUpdateSystemMenu.
|
|
|
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateSystemMenu(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateSystemMenu", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateSystemMenu), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateTransferPenReason mocks base method.
|
|
|
-func (m *MockKptService) CreateOrUpdateTransferPenReason(arg0 context.Context, arg1 *cowPb.SearchBaseConfigList) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CreateOrUpdateTransferPenReason", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// CreateOrUpdateTransferPenReason indicates an expected call of CreateOrUpdateTransferPenReason.
|
|
|
-func (mr *MockKptServiceMockRecorder) CreateOrUpdateTransferPenReason(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateOrUpdateTransferPenReason", reflect.TypeOf((*MockKptService)(nil).CreateOrUpdateTransferPenReason), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// CreateWeight mocks base method.
|
|
|
-func (m *MockKptService) CreateWeight(arg0 context.Context, arg1 *cowPb.WeightEventRequest) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CreateWeight", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// CreateWeight indicates an expected call of CreateWeight.
|
|
|
-func (mr *MockKptServiceMockRecorder) CreateWeight(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateWeight", reflect.TypeOf((*MockKptService)(nil).CreateWeight), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// CreatedOrUpdateImmunization mocks base method.
|
|
|
-func (m *MockKptService) CreatedOrUpdateImmunization(arg0 context.Context, arg1 *cowPb.ImmunizationRequest) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "CreatedOrUpdateImmunization", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// CreatedOrUpdateImmunization indicates an expected call of CreatedOrUpdateImmunization.
|
|
|
-func (mr *MockKptServiceMockRecorder) CreatedOrUpdateImmunization(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatedOrUpdateImmunization", reflect.TypeOf((*MockKptService)(nil).CreatedOrUpdateImmunization), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// DeleteSystemMenu mocks base method.
|
|
|
-func (m *MockKptService) DeleteSystemMenu(arg0 context.Context, arg1 int64) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "DeleteSystemMenu", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// DeleteSystemMenu indicates an expected call of DeleteSystemMenu.
|
|
|
-func (mr *MockKptServiceMockRecorder) DeleteSystemMenu(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSystemMenu", reflect.TypeOf((*MockKptService)(nil).DeleteSystemMenu), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// DeleteSystemRole mocks base method.
|
|
|
-func (m *MockKptService) DeleteSystemRole(arg0 context.Context, arg1 int64) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "DeleteSystemRole", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// DeleteSystemRole indicates an expected call of DeleteSystemRole.
|
|
|
-func (mr *MockKptServiceMockRecorder) DeleteSystemRole(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSystemRole", reflect.TypeOf((*MockKptService)(nil).DeleteSystemRole), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// DeleteSystemUser mocks base method.
|
|
|
-func (m *MockKptService) DeleteSystemUser(arg0 context.Context, arg1 int64) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "DeleteSystemUser", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// DeleteSystemUser indicates an expected call of DeleteSystemUser.
|
|
|
-func (mr *MockKptServiceMockRecorder) DeleteSystemUser(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSystemUser", reflect.TypeOf((*MockKptService)(nil).DeleteSystemUser), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// DiseaseOptions mocks base method.
|
|
|
-func (m *MockKptService) DiseaseOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "DiseaseOptions", arg0)
|
|
|
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// DiseaseOptions indicates an expected call of DiseaseOptions.
|
|
|
-func (mr *MockKptServiceMockRecorder) DiseaseOptions(arg0 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseOptions", reflect.TypeOf((*MockKptService)(nil).DiseaseOptions), arg0)
|
|
|
-}
|
|
|
-
|
|
|
-// DiseaseTypeOptions mocks base method.
|
|
|
-func (m *MockKptService) DiseaseTypeOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "DiseaseTypeOptions", arg0)
|
|
|
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// DiseaseTypeOptions indicates an expected call of DiseaseTypeOptions.
|
|
|
-func (mr *MockKptServiceMockRecorder) DiseaseTypeOptions(arg0 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseTypeOptions", reflect.TypeOf((*MockKptService)(nil).DiseaseTypeOptions), arg0)
|
|
|
-}
|
|
|
-
|
|
|
-// DrugsCreate mocks base method.
|
|
|
-func (m *MockKptService) DrugsCreate(arg0 context.Context, arg1 *cowPb.SearchDrugsList) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "DrugsCreate", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// DrugsCreate indicates an expected call of DrugsCreate.
|
|
|
-func (mr *MockKptServiceMockRecorder) DrugsCreate(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DrugsCreate", reflect.TypeOf((*MockKptService)(nil).DrugsCreate), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// DrugsList mocks base method.
|
|
|
-func (m *MockKptService) DrugsList(arg0 context.Context, arg1 *cowPb.SearchDrugsRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchDrugsResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "DrugsList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchDrugsResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// DrugsList indicates an expected call of DrugsList.
|
|
|
-func (mr *MockKptServiceMockRecorder) DrugsList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DrugsList", reflect.TypeOf((*MockKptService)(nil).DrugsList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// EnterList mocks base method.
|
|
|
-func (m *MockKptService) EnterList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchEnterEventResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "EnterList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchEnterEventResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// EnterList indicates an expected call of EnterList.
|
|
|
-func (mr *MockKptServiceMockRecorder) EnterList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnterList", reflect.TypeOf((*MockKptService)(nil).EnterList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// EstrusCreate mocks base method.
|
|
|
-func (m *MockKptService) EstrusCreate(arg0 context.Context, arg1 *cowPb.EstrusEventRequest) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "EstrusCreate", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// EstrusCreate indicates an expected call of EstrusCreate.
|
|
|
-func (mr *MockKptServiceMockRecorder) EstrusCreate(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EstrusCreate", reflect.TypeOf((*MockKptService)(nil).EstrusCreate), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// EstrusList mocks base method.
|
|
|
-func (m *MockKptService) EstrusList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.EstrusEventResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "EstrusList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.EstrusEventResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// EstrusList indicates an expected call of EstrusList.
|
|
|
-func (mr *MockKptServiceMockRecorder) EstrusList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EstrusList", reflect.TypeOf((*MockKptService)(nil).EstrusList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// FrozenSemenCreate mocks base method.
|
|
|
-func (m *MockKptService) FrozenSemenCreate(arg0 context.Context, arg1 *cowPb.SearchFrozenSemenList) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "FrozenSemenCreate", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// FrozenSemenCreate indicates an expected call of FrozenSemenCreate.
|
|
|
-func (mr *MockKptServiceMockRecorder) FrozenSemenCreate(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FrozenSemenCreate", reflect.TypeOf((*MockKptService)(nil).FrozenSemenCreate), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// FrozenSemenList mocks base method.
|
|
|
-func (m *MockKptService) FrozenSemenList(arg0 context.Context, arg1 *cowPb.FrozenSemenRequest, arg2 *cowPb.PaginationModel) (*cowPb.FrozenSemenResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "FrozenSemenList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.FrozenSemenResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// FrozenSemenList indicates an expected call of FrozenSemenList.
|
|
|
-func (mr *MockKptServiceMockRecorder) FrozenSemenList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FrozenSemenList", reflect.TypeOf((*MockKptService)(nil).FrozenSemenList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// GetCurrentUserName mocks base method.
|
|
|
-func (m *MockKptService) GetCurrentUserName(arg0 context.Context) (string, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "GetCurrentUserName", arg0)
|
|
|
- ret0, _ := ret[0].(string)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// GetCurrentUserName indicates an expected call of GetCurrentUserName.
|
|
|
-func (mr *MockKptServiceMockRecorder) GetCurrentUserName(arg0 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCurrentUserName", reflect.TypeOf((*MockKptService)(nil).GetCurrentUserName), arg0)
|
|
|
-}
|
|
|
-
|
|
|
-// GetRoleMenuList mocks base method.
|
|
|
-func (m *MockKptService) GetRoleMenuList(arg0 context.Context, arg1 int64) (*cowPb.SystemRoleMenuResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "GetRoleMenuList", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(*cowPb.SystemRoleMenuResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// GetRoleMenuList indicates an expected call of GetRoleMenuList.
|
|
|
-func (mr *MockKptServiceMockRecorder) GetRoleMenuList(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetRoleMenuList", reflect.TypeOf((*MockKptService)(nil).GetRoleMenuList), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// GetSystemUserMenu mocks base method.
|
|
|
-func (m *MockKptService) GetSystemUserMenu(arg0 context.Context) (*cowPb.SystemUserMenuTreeResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "GetSystemUserMenu", arg0)
|
|
|
- ret0, _ := ret[0].(*cowPb.SystemUserMenuTreeResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// GetSystemUserMenu indicates an expected call of GetSystemUserMenu.
|
|
|
-func (mr *MockKptServiceMockRecorder) GetSystemUserMenu(arg0 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSystemUserMenu", reflect.TypeOf((*MockKptService)(nil).GetSystemUserMenu), arg0)
|
|
|
-}
|
|
|
-
|
|
|
-// GroupTransferList mocks base method.
|
|
|
-func (m *MockKptService) GroupTransferList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchTransferGroupEventResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "GroupTransferList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchTransferGroupEventResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// GroupTransferList indicates an expected call of GroupTransferList.
|
|
|
-func (mr *MockKptServiceMockRecorder) GroupTransferList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GroupTransferList", reflect.TypeOf((*MockKptService)(nil).GroupTransferList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// GrowthCurve mocks base method.
|
|
|
-func (m *MockKptService) GrowthCurve(arg0 context.Context, arg1 *cowPb.SearchGrowthCurvesRequest) (*cowPb.GrowthCurvesResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "GrowthCurve", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(*cowPb.GrowthCurvesResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// GrowthCurve indicates an expected call of GrowthCurve.
|
|
|
-func (mr *MockKptServiceMockRecorder) GrowthCurve(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GrowthCurve", reflect.TypeOf((*MockKptService)(nil).GrowthCurve), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// ImmunizationIsShow mocks base method.
|
|
|
-func (m *MockKptService) ImmunizationIsShow(arg0 context.Context, arg1 int64) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "ImmunizationIsShow", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// ImmunizationIsShow indicates an expected call of ImmunizationIsShow.
|
|
|
-func (mr *MockKptServiceMockRecorder) ImmunizationIsShow(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImmunizationIsShow", reflect.TypeOf((*MockKptService)(nil).ImmunizationIsShow), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// ImmunizationList mocks base method.
|
|
|
-func (m *MockKptService) ImmunizationList(arg0 context.Context, arg1 *cowPb.ImmunizationRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchImmunizationResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "ImmunizationList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchImmunizationResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// ImmunizationList indicates an expected call of ImmunizationList.
|
|
|
-func (mr *MockKptServiceMockRecorder) ImmunizationList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ImmunizationList", reflect.TypeOf((*MockKptService)(nil).ImmunizationList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// IsShowSystemRole mocks base method.
|
|
|
-func (m *MockKptService) IsShowSystemRole(arg0 context.Context, arg1 int64) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "IsShowSystemRole", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// IsShowSystemRole indicates an expected call of IsShowSystemRole.
|
|
|
-func (mr *MockKptServiceMockRecorder) IsShowSystemRole(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsShowSystemRole", reflect.TypeOf((*MockKptService)(nil).IsShowSystemRole), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// IsShowSystemUser mocks base method.
|
|
|
-func (m *MockKptService) IsShowSystemUser(arg0 context.Context, arg1 int64) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "IsShowSystemUser", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// IsShowSystemUser indicates an expected call of IsShowSystemUser.
|
|
|
-func (mr *MockKptServiceMockRecorder) IsShowSystemUser(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsShowSystemUser", reflect.TypeOf((*MockKptService)(nil).IsShowSystemUser), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// Login mocks base method.
|
|
|
-func (m *MockKptService) Login(arg0 context.Context, arg1 *cowPb.SearchUserRequest) (*cowPb.SystemUserResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "Login", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(*cowPb.SystemUserResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// Login indicates an expected call of Login.
|
|
|
-func (mr *MockKptServiceMockRecorder) Login(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Login", reflect.TypeOf((*MockKptService)(nil).Login), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// MatingCreate mocks base method.
|
|
|
-func (m *MockKptService) MatingCreate(arg0 context.Context, arg1 *cowPb.MatingEventRequest) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "MatingCreate", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// MatingCreate indicates an expected call of MatingCreate.
|
|
|
-func (mr *MockKptServiceMockRecorder) MatingCreate(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MatingCreate", reflect.TypeOf((*MockKptService)(nil).MatingCreate), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// MatingList mocks base method.
|
|
|
-func (m *MockKptService) MatingList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.MatingEventResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "MatingList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.MatingEventResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// MatingList indicates an expected call of MatingList.
|
|
|
-func (mr *MockKptServiceMockRecorder) MatingList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "MatingList", reflect.TypeOf((*MockKptService)(nil).MatingList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// PregnantCheckCreate mocks base method.
|
|
|
-func (m *MockKptService) PregnantCheckCreate(arg0 context.Context, arg1 *cowPb.PregnantCheckEventRequest) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "PregnantCheckCreate", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// PregnantCheckCreate indicates an expected call of PregnantCheckCreate.
|
|
|
-func (mr *MockKptServiceMockRecorder) PregnantCheckCreate(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PregnantCheckCreate", reflect.TypeOf((*MockKptService)(nil).PregnantCheckCreate), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// PregnantCheckList mocks base method.
|
|
|
-func (m *MockKptService) PregnantCheckList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.PregnantCheckEventResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "PregnantCheckList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.PregnantCheckEventResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// PregnantCheckList indicates an expected call of PregnantCheckList.
|
|
|
-func (mr *MockKptServiceMockRecorder) PregnantCheckList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PregnantCheckList", reflect.TypeOf((*MockKptService)(nil).PregnantCheckList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// ResetPasswordSystemUser mocks base method.
|
|
|
-func (m *MockKptService) ResetPasswordSystemUser(arg0 context.Context, arg1 *cowPb.ResetUserPasswordRequest) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "ResetPasswordSystemUser", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// ResetPasswordSystemUser indicates an expected call of ResetPasswordSystemUser.
|
|
|
-func (mr *MockKptServiceMockRecorder) ResetPasswordSystemUser(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResetPasswordSystemUser", reflect.TypeOf((*MockKptService)(nil).ResetPasswordSystemUser), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// RoleMenuSave mocks base method.
|
|
|
-func (m *MockKptService) RoleMenuSave(arg0 context.Context, arg1 *cowPb.SystemRoleMenuRequest) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "RoleMenuSave", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// RoleMenuSave indicates an expected call of RoleMenuSave.
|
|
|
-func (mr *MockKptServiceMockRecorder) RoleMenuSave(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RoleMenuSave", reflect.TypeOf((*MockKptService)(nil).RoleMenuSave), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// SearchBarnList mocks base method.
|
|
|
-func (m *MockKptService) SearchBarnList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBarnResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SearchBarnList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchBarnResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SearchBarnList indicates an expected call of SearchBarnList.
|
|
|
-func (mr *MockKptServiceMockRecorder) SearchBarnList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchBarnList", reflect.TypeOf((*MockKptService)(nil).SearchBarnList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// SearchBarnTypeList mocks base method.
|
|
|
-func (m *MockKptService) SearchBarnTypeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SearchBarnTypeList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SearchBarnTypeList indicates an expected call of SearchBarnTypeList.
|
|
|
-func (mr *MockKptServiceMockRecorder) SearchBarnTypeList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchBarnTypeList", reflect.TypeOf((*MockKptService)(nil).SearchBarnTypeList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// SearchBreedStatusList mocks base method.
|
|
|
-func (m *MockKptService) SearchBreedStatusList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SearchBreedStatusList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SearchBreedStatusList indicates an expected call of SearchBreedStatusList.
|
|
|
-func (mr *MockKptServiceMockRecorder) SearchBreedStatusList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchBreedStatusList", reflect.TypeOf((*MockKptService)(nil).SearchBreedStatusList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// SearchCowKindList mocks base method.
|
|
|
-func (m *MockKptService) SearchCowKindList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SearchCowKindList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SearchCowKindList indicates an expected call of SearchCowKindList.
|
|
|
-func (mr *MockKptServiceMockRecorder) SearchCowKindList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowKindList", reflect.TypeOf((*MockKptService)(nil).SearchCowKindList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// SearchCowSourceList mocks base method.
|
|
|
-func (m *MockKptService) SearchCowSourceList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SearchCowSourceList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SearchCowSourceList indicates an expected call of SearchCowSourceList.
|
|
|
-func (mr *MockKptServiceMockRecorder) SearchCowSourceList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowSourceList", reflect.TypeOf((*MockKptService)(nil).SearchCowSourceList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// SearchCowStatusList mocks base method.
|
|
|
-func (m *MockKptService) SearchCowStatusList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SearchCowStatusList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SearchCowStatusList indicates an expected call of SearchCowStatusList.
|
|
|
-func (mr *MockKptServiceMockRecorder) SearchCowStatusList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowStatusList", reflect.TypeOf((*MockKptService)(nil).SearchCowStatusList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// SearchCowTypeList mocks base method.
|
|
|
-func (m *MockKptService) SearchCowTypeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SearchCowTypeList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SearchCowTypeList indicates an expected call of SearchCowTypeList.
|
|
|
-func (mr *MockKptServiceMockRecorder) SearchCowTypeList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchCowTypeList", reflect.TypeOf((*MockKptService)(nil).SearchCowTypeList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// SearchDiseaseList mocks base method.
|
|
|
-func (m *MockKptService) SearchDiseaseList(arg0 context.Context, arg1 *cowPb.SearchDiseaseRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchDiseaseResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SearchDiseaseList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchDiseaseResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SearchDiseaseList indicates an expected call of SearchDiseaseList.
|
|
|
-func (mr *MockKptServiceMockRecorder) SearchDiseaseList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchDiseaseList", reflect.TypeOf((*MockKptService)(nil).SearchDiseaseList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// SearchDiseaseTypeList mocks base method.
|
|
|
-func (m *MockKptService) SearchDiseaseTypeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SearchDiseaseTypeList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SearchDiseaseTypeList indicates an expected call of SearchDiseaseTypeList.
|
|
|
-func (mr *MockKptServiceMockRecorder) SearchDiseaseTypeList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchDiseaseTypeList", reflect.TypeOf((*MockKptService)(nil).SearchDiseaseTypeList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// SearchPrescriptionList mocks base method.
|
|
|
-func (m *MockKptService) SearchPrescriptionList(arg0 context.Context, arg1 *cowPb.SearchPrescriptionRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchPrescriptionResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SearchPrescriptionList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchPrescriptionResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SearchPrescriptionList indicates an expected call of SearchPrescriptionList.
|
|
|
-func (mr *MockKptServiceMockRecorder) SearchPrescriptionList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchPrescriptionList", reflect.TypeOf((*MockKptService)(nil).SearchPrescriptionList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// SearchSemeTimeList mocks base method.
|
|
|
-func (m *MockKptService) SearchSemeTimeList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SemeTimeEventResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SearchSemeTimeList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SemeTimeEventResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SearchSemeTimeList indicates an expected call of SearchSemeTimeList.
|
|
|
-func (mr *MockKptServiceMockRecorder) SearchSemeTimeList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSemeTimeList", reflect.TypeOf((*MockKptService)(nil).SearchSemeTimeList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// SearchSystemDeptList mocks base method.
|
|
|
-func (m *MockKptService) SearchSystemDeptList(arg0 context.Context, arg1 *cowPb.SearchDeptRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchDeptResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SearchSystemDeptList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchDeptResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SearchSystemDeptList indicates an expected call of SearchSystemDeptList.
|
|
|
-func (mr *MockKptServiceMockRecorder) SearchSystemDeptList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemDeptList", reflect.TypeOf((*MockKptService)(nil).SearchSystemDeptList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// SearchSystemMenuList mocks base method.
|
|
|
-func (m *MockKptService) SearchSystemMenuList(arg0 context.Context, arg1 *cowPb.SearchMenuRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchMenuResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SearchSystemMenuList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchMenuResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SearchSystemMenuList indicates an expected call of SearchSystemMenuList.
|
|
|
-func (mr *MockKptServiceMockRecorder) SearchSystemMenuList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemMenuList", reflect.TypeOf((*MockKptService)(nil).SearchSystemMenuList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// SearchSystemRoleList mocks base method.
|
|
|
-func (m *MockKptService) SearchSystemRoleList(arg0 context.Context, arg1 *cowPb.SearchRoleRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchRoleResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SearchSystemRoleList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchRoleResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SearchSystemRoleList indicates an expected call of SearchSystemRoleList.
|
|
|
-func (mr *MockKptServiceMockRecorder) SearchSystemRoleList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemRoleList", reflect.TypeOf((*MockKptService)(nil).SearchSystemRoleList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// SearchSystemUserList mocks base method.
|
|
|
-func (m *MockKptService) SearchSystemUserList(arg0 context.Context, arg1 *cowPb.SearchUserRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchUserResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SearchSystemUserList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchUserResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SearchSystemUserList indicates an expected call of SearchSystemUserList.
|
|
|
-func (mr *MockKptServiceMockRecorder) SearchSystemUserList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchSystemUserList", reflect.TypeOf((*MockKptService)(nil).SearchSystemUserList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// SearchTransferPenReasonList mocks base method.
|
|
|
-func (m *MockKptService) SearchTransferPenReasonList(arg0 context.Context, arg1 *cowPb.SearchNameRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchBaseConfigResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SearchTransferPenReasonList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchBaseConfigResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SearchTransferPenReasonList indicates an expected call of SearchTransferPenReasonList.
|
|
|
-func (mr *MockKptServiceMockRecorder) SearchTransferPenReasonList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SearchTransferPenReasonList", reflect.TypeOf((*MockKptService)(nil).SearchTransferPenReasonList), arg0, arg1, arg2)
|
|
|
-}
|
|
|
-
|
|
|
-// SemeTimeDetail mocks base method.
|
|
|
-func (m *MockKptService) SemeTimeDetail(arg0 context.Context, arg1 int64) (*cowPb.SemeTimeDetailResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SemeTimeDetail", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(*cowPb.SemeTimeDetailResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SemeTimeDetail indicates an expected call of SemeTimeDetail.
|
|
|
-func (mr *MockKptServiceMockRecorder) SemeTimeDetail(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SemeTimeDetail", reflect.TypeOf((*MockKptService)(nil).SemeTimeDetail), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// SystemBaseConfigOptions mocks base method.
|
|
|
-func (m *MockKptService) SystemBaseConfigOptions(arg0 context.Context, arg1 string) (*cowPb.ConfigOptionsListResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SystemBaseConfigOptions", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SystemBaseConfigOptions indicates an expected call of SystemBaseConfigOptions.
|
|
|
-func (mr *MockKptServiceMockRecorder) SystemBaseConfigOptions(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemBaseConfigOptions", reflect.TypeOf((*MockKptService)(nil).SystemBaseConfigOptions), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// SystemDepDelete mocks base method.
|
|
|
-func (m *MockKptService) SystemDepDelete(arg0 context.Context, arg1 int64) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SystemDepDelete", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// SystemDepDelete indicates an expected call of SystemDepDelete.
|
|
|
-func (mr *MockKptServiceMockRecorder) SystemDepDelete(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemDepDelete", reflect.TypeOf((*MockKptService)(nil).SystemDepDelete), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// SystemDeptCreateOrUpdate mocks base method.
|
|
|
-func (m *MockKptService) SystemDeptCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchDeptRequest) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SystemDeptCreateOrUpdate", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// SystemDeptCreateOrUpdate indicates an expected call of SystemDeptCreateOrUpdate.
|
|
|
-func (mr *MockKptServiceMockRecorder) SystemDeptCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemDeptCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).SystemDeptCreateOrUpdate), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// SystemMenuTree mocks base method.
|
|
|
-func (m *MockKptService) SystemMenuTree(arg0 context.Context) (*cowPb.SystemMenuTreeResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SystemMenuTree", arg0)
|
|
|
- ret0, _ := ret[0].(*cowPb.SystemMenuTreeResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SystemMenuTree indicates an expected call of SystemMenuTree.
|
|
|
-func (mr *MockKptServiceMockRecorder) SystemMenuTree(arg0 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemMenuTree", reflect.TypeOf((*MockKptService)(nil).SystemMenuTree), arg0)
|
|
|
-}
|
|
|
-
|
|
|
-// SystemRoleCreateOrUpdate mocks base method.
|
|
|
-func (m *MockKptService) SystemRoleCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchRoleRequest) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SystemRoleCreateOrUpdate", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// SystemRoleCreateOrUpdate indicates an expected call of SystemRoleCreateOrUpdate.
|
|
|
-func (mr *MockKptServiceMockRecorder) SystemRoleCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemRoleCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).SystemRoleCreateOrUpdate), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// SystemRoleList mocks base method.
|
|
|
-func (m *MockKptService) SystemRoleList(arg0 context.Context) (*cowPb.GetRoleListResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SystemRoleList", arg0)
|
|
|
- ret0, _ := ret[0].(*cowPb.GetRoleListResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SystemRoleList indicates an expected call of SystemRoleList.
|
|
|
-func (mr *MockKptServiceMockRecorder) SystemRoleList(arg0 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemRoleList", reflect.TypeOf((*MockKptService)(nil).SystemRoleList), arg0)
|
|
|
-}
|
|
|
-
|
|
|
-// SystemUserCreateOrUpdate mocks base method.
|
|
|
-func (m *MockKptService) SystemUserCreateOrUpdate(arg0 context.Context, arg1 *cowPb.SearchUserRequest) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SystemUserCreateOrUpdate", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// SystemUserCreateOrUpdate indicates an expected call of SystemUserCreateOrUpdate.
|
|
|
-func (mr *MockKptServiceMockRecorder) SystemUserCreateOrUpdate(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserCreateOrUpdate", reflect.TypeOf((*MockKptService)(nil).SystemUserCreateOrUpdate), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// SystemUserOptions mocks base method.
|
|
|
-func (m *MockKptService) SystemUserOptions(arg0 context.Context, arg1 int) (*cowPb.ConfigOptionsListResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SystemUserOptions", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SystemUserOptions indicates an expected call of SystemUserOptions.
|
|
|
-func (mr *MockKptServiceMockRecorder) SystemUserOptions(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserOptions", reflect.TypeOf((*MockKptService)(nil).SystemUserOptions), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// SystemUserRole mocks base method.
|
|
|
-func (m *MockKptService) SystemUserRole(arg0 context.Context, arg1 int64) (*cowPb.SystemUserRoleResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SystemUserRole", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(*cowPb.SystemUserRoleResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// SystemUserRole indicates an expected call of SystemUserRole.
|
|
|
-func (mr *MockKptServiceMockRecorder) SystemUserRole(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserRole", reflect.TypeOf((*MockKptService)(nil).SystemUserRole), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// SystemUserRoleSave mocks base method.
|
|
|
-func (m *MockKptService) SystemUserRoleSave(arg0 context.Context, arg1 *cowPb.SystemUserRoleRequest) error {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "SystemUserRoleSave", arg0, arg1)
|
|
|
- ret0, _ := ret[0].(error)
|
|
|
- return ret0
|
|
|
-}
|
|
|
-
|
|
|
-// SystemUserRoleSave indicates an expected call of SystemUserRoleSave.
|
|
|
-func (mr *MockKptServiceMockRecorder) SystemUserRoleSave(arg0, arg1 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserRoleSave", reflect.TypeOf((*MockKptService)(nil).SystemUserRoleSave), arg0, arg1)
|
|
|
-}
|
|
|
-
|
|
|
-// WeightList mocks base method.
|
|
|
-func (m *MockKptService) WeightList(arg0 context.Context, arg1 *cowPb.SearchEventRequest, arg2 *cowPb.PaginationModel) (*cowPb.SearchWeightEventResponse, error) {
|
|
|
- m.ctrl.T.Helper()
|
|
|
- ret := m.ctrl.Call(m, "WeightList", arg0, arg1, arg2)
|
|
|
- ret0, _ := ret[0].(*cowPb.SearchWeightEventResponse)
|
|
|
- ret1, _ := ret[1].(error)
|
|
|
- return ret0, ret1
|
|
|
-}
|
|
|
-
|
|
|
-// WeightList indicates an expected call of WeightList.
|
|
|
-func (mr *MockKptServiceMockRecorder) WeightList(arg0, arg1, arg2 interface{}) *gomock.Call {
|
|
|
- mr.mock.ctrl.T.Helper()
|
|
|
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WeightList", reflect.TypeOf((*MockKptService)(nil).WeightList), arg0, arg1, arg2)
|
|
|
-}
|