ConfigDataService.go 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. // Code generated by MockGen. DO NOT EDIT.
  2. // Source: kpt-pasture/module/backend (interfaces: ConfigDataService)
  3. // Package kptservicemock is a generated GoMock package.
  4. package kptservicemock
  5. import (
  6. context "context"
  7. reflect "reflect"
  8. cowPb "gitee.com/xuyiping_admin/go_proto/proto/go/backend/cow"
  9. gomock "github.com/golang/mock/gomock"
  10. )
  11. // MockConfigDataService is a mock of ConfigDataService interface.
  12. type MockConfigDataService struct {
  13. ctrl *gomock.Controller
  14. recorder *MockConfigDataServiceMockRecorder
  15. }
  16. // MockConfigDataServiceMockRecorder is the mock recorder for MockConfigDataService.
  17. type MockConfigDataServiceMockRecorder struct {
  18. mock *MockConfigDataService
  19. }
  20. // NewMockConfigDataService creates a new mock instance.
  21. func NewMockConfigDataService(ctrl *gomock.Controller) *MockConfigDataService {
  22. mock := &MockConfigDataService{ctrl: ctrl}
  23. mock.recorder = &MockConfigDataServiceMockRecorder{mock}
  24. return mock
  25. }
  26. // EXPECT returns an object that allows the caller to indicate expected use.
  27. func (m *MockConfigDataService) EXPECT() *MockConfigDataServiceMockRecorder {
  28. return m.recorder
  29. }
  30. // BarnListOptions mocks base method.
  31. func (m *MockConfigDataService) BarnListOptions(arg0 context.Context, arg1 int, arg2 string) (*cowPb.ConfigOptionsListResponse, error) {
  32. m.ctrl.T.Helper()
  33. ret := m.ctrl.Call(m, "BarnListOptions", arg0, arg1, arg2)
  34. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  35. ret1, _ := ret[1].(error)
  36. return ret0, ret1
  37. }
  38. // BarnListOptions indicates an expected call of BarnListOptions.
  39. func (mr *MockConfigDataServiceMockRecorder) BarnListOptions(arg0, arg1, arg2 interface{}) *gomock.Call {
  40. mr.mock.ctrl.T.Helper()
  41. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BarnListOptions", reflect.TypeOf((*MockConfigDataService)(nil).BarnListOptions), arg0, arg1, arg2)
  42. }
  43. // BarnTypeOptions mocks base method.
  44. func (m *MockConfigDataService) BarnTypeOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  45. m.ctrl.T.Helper()
  46. ret := m.ctrl.Call(m, "BarnTypeOptions", arg0)
  47. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  48. ret1, _ := ret[1].(error)
  49. return ret0, ret1
  50. }
  51. // BarnTypeOptions indicates an expected call of BarnTypeOptions.
  52. func (mr *MockConfigDataServiceMockRecorder) BarnTypeOptions(arg0 interface{}) *gomock.Call {
  53. mr.mock.ctrl.T.Helper()
  54. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BarnTypeOptions", reflect.TypeOf((*MockConfigDataService)(nil).BarnTypeOptions), arg0)
  55. }
  56. // BreedStatusOptions mocks base method.
  57. func (m *MockConfigDataService) BreedStatusOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  58. m.ctrl.T.Helper()
  59. ret := m.ctrl.Call(m, "BreedStatusOptions", arg0)
  60. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  61. ret1, _ := ret[1].(error)
  62. return ret0, ret1
  63. }
  64. // BreedStatusOptions indicates an expected call of BreedStatusOptions.
  65. func (mr *MockConfigDataServiceMockRecorder) BreedStatusOptions(arg0 interface{}) *gomock.Call {
  66. mr.mock.ctrl.T.Helper()
  67. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BreedStatusOptions", reflect.TypeOf((*MockConfigDataService)(nil).BreedStatusOptions), arg0)
  68. }
  69. // BullOptions mocks base method.
  70. func (m *MockConfigDataService) BullOptions(arg0 context.Context) (*cowPb.BullOptionsListResponse, error) {
  71. m.ctrl.T.Helper()
  72. ret := m.ctrl.Call(m, "BullOptions", arg0)
  73. ret0, _ := ret[0].(*cowPb.BullOptionsListResponse)
  74. ret1, _ := ret[1].(error)
  75. return ret0, ret1
  76. }
  77. // BullOptions indicates an expected call of BullOptions.
  78. func (mr *MockConfigDataServiceMockRecorder) BullOptions(arg0 interface{}) *gomock.Call {
  79. mr.mock.ctrl.T.Helper()
  80. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BullOptions", reflect.TypeOf((*MockConfigDataService)(nil).BullOptions), arg0)
  81. }
  82. // CowKindOptions mocks base method.
  83. func (m *MockConfigDataService) CowKindOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  84. m.ctrl.T.Helper()
  85. ret := m.ctrl.Call(m, "CowKindOptions", arg0)
  86. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  87. ret1, _ := ret[1].(error)
  88. return ret0, ret1
  89. }
  90. // CowKindOptions indicates an expected call of CowKindOptions.
  91. func (mr *MockConfigDataServiceMockRecorder) CowKindOptions(arg0 interface{}) *gomock.Call {
  92. mr.mock.ctrl.T.Helper()
  93. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowKindOptions", reflect.TypeOf((*MockConfigDataService)(nil).CowKindOptions), arg0)
  94. }
  95. // CowSourceOptions mocks base method.
  96. func (m *MockConfigDataService) CowSourceOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  97. m.ctrl.T.Helper()
  98. ret := m.ctrl.Call(m, "CowSourceOptions", arg0)
  99. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  100. ret1, _ := ret[1].(error)
  101. return ret0, ret1
  102. }
  103. // CowSourceOptions indicates an expected call of CowSourceOptions.
  104. func (mr *MockConfigDataServiceMockRecorder) CowSourceOptions(arg0 interface{}) *gomock.Call {
  105. mr.mock.ctrl.T.Helper()
  106. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowSourceOptions", reflect.TypeOf((*MockConfigDataService)(nil).CowSourceOptions), arg0)
  107. }
  108. // CowTransferPenReasonOptions mocks base method.
  109. func (m *MockConfigDataService) CowTransferPenReasonOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  110. m.ctrl.T.Helper()
  111. ret := m.ctrl.Call(m, "CowTransferPenReasonOptions", arg0)
  112. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  113. ret1, _ := ret[1].(error)
  114. return ret0, ret1
  115. }
  116. // CowTransferPenReasonOptions indicates an expected call of CowTransferPenReasonOptions.
  117. func (mr *MockConfigDataServiceMockRecorder) CowTransferPenReasonOptions(arg0 interface{}) *gomock.Call {
  118. mr.mock.ctrl.T.Helper()
  119. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowTransferPenReasonOptions", reflect.TypeOf((*MockConfigDataService)(nil).CowTransferPenReasonOptions), arg0)
  120. }
  121. // CowTypeOptions mocks base method.
  122. func (m *MockConfigDataService) CowTypeOptions(arg0 context.Context, arg1, arg2 string) (*cowPb.ConfigOptionsListResponse, error) {
  123. m.ctrl.T.Helper()
  124. ret := m.ctrl.Call(m, "CowTypeOptions", arg0, arg1, arg2)
  125. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  126. ret1, _ := ret[1].(error)
  127. return ret0, ret1
  128. }
  129. // CowTypeOptions indicates an expected call of CowTypeOptions.
  130. func (mr *MockConfigDataServiceMockRecorder) CowTypeOptions(arg0, arg1, arg2 interface{}) *gomock.Call {
  131. mr.mock.ctrl.T.Helper()
  132. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CowTypeOptions", reflect.TypeOf((*MockConfigDataService)(nil).CowTypeOptions), arg0, arg1, arg2)
  133. }
  134. // DiseaseOptions mocks base method.
  135. func (m *MockConfigDataService) DiseaseOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  136. m.ctrl.T.Helper()
  137. ret := m.ctrl.Call(m, "DiseaseOptions", arg0)
  138. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  139. ret1, _ := ret[1].(error)
  140. return ret0, ret1
  141. }
  142. // DiseaseOptions indicates an expected call of DiseaseOptions.
  143. func (mr *MockConfigDataServiceMockRecorder) DiseaseOptions(arg0 interface{}) *gomock.Call {
  144. mr.mock.ctrl.T.Helper()
  145. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseOptions", reflect.TypeOf((*MockConfigDataService)(nil).DiseaseOptions), arg0)
  146. }
  147. // DiseaseTypeOptions mocks base method.
  148. func (m *MockConfigDataService) DiseaseTypeOptions(arg0 context.Context, arg1 string) (*cowPb.ConfigOptionsListResponse, error) {
  149. m.ctrl.T.Helper()
  150. ret := m.ctrl.Call(m, "DiseaseTypeOptions", arg0, arg1)
  151. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  152. ret1, _ := ret[1].(error)
  153. return ret0, ret1
  154. }
  155. // DiseaseTypeOptions indicates an expected call of DiseaseTypeOptions.
  156. func (mr *MockConfigDataServiceMockRecorder) DiseaseTypeOptions(arg0, arg1 interface{}) *gomock.Call {
  157. mr.mock.ctrl.T.Helper()
  158. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DiseaseTypeOptions", reflect.TypeOf((*MockConfigDataService)(nil).DiseaseTypeOptions), arg0, arg1)
  159. }
  160. // PrescriptionOptions mocks base method.
  161. func (m *MockConfigDataService) PrescriptionOptions(arg0 context.Context) (*cowPb.ConfigOptionsListResponse, error) {
  162. m.ctrl.T.Helper()
  163. ret := m.ctrl.Call(m, "PrescriptionOptions", arg0)
  164. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  165. ret1, _ := ret[1].(error)
  166. return ret0, ret1
  167. }
  168. // PrescriptionOptions indicates an expected call of PrescriptionOptions.
  169. func (mr *MockConfigDataServiceMockRecorder) PrescriptionOptions(arg0 interface{}) *gomock.Call {
  170. mr.mock.ctrl.T.Helper()
  171. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PrescriptionOptions", reflect.TypeOf((*MockConfigDataService)(nil).PrescriptionOptions), arg0)
  172. }
  173. // SystemBaseConfigOptions mocks base method.
  174. func (m *MockConfigDataService) SystemBaseConfigOptions(arg0 context.Context, arg1, arg2 string) (*cowPb.ConfigOptionsListResponse, error) {
  175. m.ctrl.T.Helper()
  176. ret := m.ctrl.Call(m, "SystemBaseConfigOptions", arg0, arg1, arg2)
  177. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  178. ret1, _ := ret[1].(error)
  179. return ret0, ret1
  180. }
  181. // SystemBaseConfigOptions indicates an expected call of SystemBaseConfigOptions.
  182. func (mr *MockConfigDataServiceMockRecorder) SystemBaseConfigOptions(arg0, arg1, arg2 interface{}) *gomock.Call {
  183. mr.mock.ctrl.T.Helper()
  184. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemBaseConfigOptions", reflect.TypeOf((*MockConfigDataService)(nil).SystemBaseConfigOptions), arg0, arg1, arg2)
  185. }
  186. // SystemUserOptions mocks base method.
  187. func (m *MockConfigDataService) SystemUserOptions(arg0 context.Context, arg1 int) (*cowPb.ConfigOptionsListResponse, error) {
  188. m.ctrl.T.Helper()
  189. ret := m.ctrl.Call(m, "SystemUserOptions", arg0, arg1)
  190. ret0, _ := ret[0].(*cowPb.ConfigOptionsListResponse)
  191. ret1, _ := ret[1].(error)
  192. return ret0, ret1
  193. }
  194. // SystemUserOptions indicates an expected call of SystemUserOptions.
  195. func (mr *MockConfigDataServiceMockRecorder) SystemUserOptions(arg0, arg1 interface{}) *gomock.Call {
  196. mr.mock.ctrl.T.Helper()
  197. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SystemUserOptions", reflect.TypeOf((*MockConfigDataService)(nil).SystemUserOptions), arg0, arg1)
  198. }