mock.go 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647
  1. // Code generated by MockGen. DO NOT EDIT.
  2. // Source: api.pb.go
  3. // Package v1 is a generated GoMock package.
  4. package v1
  5. import (
  6. gomock "github.com/golang/mock/gomock"
  7. context "golang.org/x/net/context"
  8. grpc "google.golang.org/grpc"
  9. reflect "reflect"
  10. )
  11. // MockUpClient is a mock of UpClient interface
  12. type MockUpClient struct {
  13. ctrl *gomock.Controller
  14. recorder *MockUpClientMockRecorder
  15. }
  16. // MockUpClientMockRecorder is the mock recorder for MockUpClient
  17. type MockUpClientMockRecorder struct {
  18. mock *MockUpClient
  19. }
  20. // NewMockUpClient creates a new mock instance
  21. func NewMockUpClient(ctrl *gomock.Controller) *MockUpClient {
  22. mock := &MockUpClient{ctrl: ctrl}
  23. mock.recorder = &MockUpClientMockRecorder{mock}
  24. return mock
  25. }
  26. // EXPECT returns an object that allows the caller to indicate expected use
  27. func (m *MockUpClient) EXPECT() *MockUpClientMockRecorder {
  28. return m.recorder
  29. }
  30. // UpArcs mocks base method
  31. func (m *MockUpClient) UpArcs(ctx context.Context, in *UpArcsReq, opts ...grpc.CallOption) (*UpArcsReply, error) {
  32. varargs := []interface{}{ctx, in}
  33. for _, a := range opts {
  34. varargs = append(varargs, a)
  35. }
  36. ret := m.ctrl.Call(m, "UpArcs", varargs...)
  37. ret0, _ := ret[0].(*UpArcsReply)
  38. ret1, _ := ret[1].(error)
  39. return ret0, ret1
  40. }
  41. // UpArcs indicates an expected call of UpArcs
  42. func (mr *MockUpClientMockRecorder) UpArcs(ctx, in interface{}, opts ...interface{}) *gomock.Call {
  43. varargs := append([]interface{}{ctx, in}, opts...)
  44. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpArcs", reflect.TypeOf((*MockUpClient)(nil).UpArcs), varargs...)
  45. }
  46. // UpsArcs mocks base method
  47. func (m *MockUpClient) UpsArcs(ctx context.Context, in *UpsArcsReq, opts ...grpc.CallOption) (*UpsArcsReply, error) {
  48. varargs := []interface{}{ctx, in}
  49. for _, a := range opts {
  50. varargs = append(varargs, a)
  51. }
  52. ret := m.ctrl.Call(m, "UpsArcs", varargs...)
  53. ret0, _ := ret[0].(*UpsArcsReply)
  54. ret1, _ := ret[1].(error)
  55. return ret0, ret1
  56. }
  57. // UpsArcs indicates an expected call of UpsArcs
  58. func (mr *MockUpClientMockRecorder) UpsArcs(ctx, in interface{}, opts ...interface{}) *gomock.Call {
  59. varargs := append([]interface{}{ctx, in}, opts...)
  60. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpsArcs", reflect.TypeOf((*MockUpClient)(nil).UpsArcs), varargs...)
  61. }
  62. // UpCount mocks base method
  63. func (m *MockUpClient) UpCount(ctx context.Context, in *UpCountReq, opts ...grpc.CallOption) (*UpCountReply, error) {
  64. varargs := []interface{}{ctx, in}
  65. for _, a := range opts {
  66. varargs = append(varargs, a)
  67. }
  68. ret := m.ctrl.Call(m, "UpCount", varargs...)
  69. ret0, _ := ret[0].(*UpCountReply)
  70. ret1, _ := ret[1].(error)
  71. return ret0, ret1
  72. }
  73. // UpCount indicates an expected call of UpCount
  74. func (mr *MockUpClientMockRecorder) UpCount(ctx, in interface{}, opts ...interface{}) *gomock.Call {
  75. varargs := append([]interface{}{ctx, in}, opts...)
  76. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpCount", reflect.TypeOf((*MockUpClient)(nil).UpCount), varargs...)
  77. }
  78. // UpsCount mocks base method
  79. func (m *MockUpClient) UpsCount(ctx context.Context, in *UpsCountReq, opts ...grpc.CallOption) (*UpsCountReply, error) {
  80. varargs := []interface{}{ctx, in}
  81. for _, a := range opts {
  82. varargs = append(varargs, a)
  83. }
  84. ret := m.ctrl.Call(m, "UpsCount", varargs...)
  85. ret0, _ := ret[0].(*UpsCountReply)
  86. ret1, _ := ret[1].(error)
  87. return ret0, ret1
  88. }
  89. // UpsCount indicates an expected call of UpsCount
  90. func (mr *MockUpClientMockRecorder) UpsCount(ctx, in interface{}, opts ...interface{}) *gomock.Call {
  91. varargs := append([]interface{}{ctx, in}, opts...)
  92. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpsCount", reflect.TypeOf((*MockUpClient)(nil).UpsCount), varargs...)
  93. }
  94. // UpsAidPubTime mocks base method
  95. func (m *MockUpClient) UpsAidPubTime(ctx context.Context, in *UpsArcsReq, opts ...grpc.CallOption) (*UpsAidPubTimeReply, error) {
  96. varargs := []interface{}{ctx, in}
  97. for _, a := range opts {
  98. varargs = append(varargs, a)
  99. }
  100. ret := m.ctrl.Call(m, "UpsAidPubTime", varargs...)
  101. ret0, _ := ret[0].(*UpsAidPubTimeReply)
  102. ret1, _ := ret[1].(error)
  103. return ret0, ret1
  104. }
  105. // UpsAidPubTime indicates an expected call of UpsAidPubTime
  106. func (mr *MockUpClientMockRecorder) UpsAidPubTime(ctx, in interface{}, opts ...interface{}) *gomock.Call {
  107. varargs := append([]interface{}{ctx, in}, opts...)
  108. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpsAidPubTime", reflect.TypeOf((*MockUpClient)(nil).UpsAidPubTime), varargs...)
  109. }
  110. // AddUpPassedCacheByStaff mocks base method
  111. func (m *MockUpClient) AddUpPassedCacheByStaff(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error) {
  112. varargs := []interface{}{ctx, in}
  113. for _, a := range opts {
  114. varargs = append(varargs, a)
  115. }
  116. ret := m.ctrl.Call(m, "AddUpPassedCacheByStaff", varargs...)
  117. ret0, _ := ret[0].(*NoReply)
  118. ret1, _ := ret[1].(error)
  119. return ret0, ret1
  120. }
  121. // AddUpPassedCacheByStaff indicates an expected call of AddUpPassedCacheByStaff
  122. func (mr *MockUpClientMockRecorder) AddUpPassedCacheByStaff(ctx, in interface{}, opts ...interface{}) *gomock.Call {
  123. varargs := append([]interface{}{ctx, in}, opts...)
  124. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddUpPassedCacheByStaff", reflect.TypeOf((*MockUpClient)(nil).AddUpPassedCacheByStaff), varargs...)
  125. }
  126. // AddUpPassedCache mocks base method
  127. func (m *MockUpClient) AddUpPassedCache(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error) {
  128. varargs := []interface{}{ctx, in}
  129. for _, a := range opts {
  130. varargs = append(varargs, a)
  131. }
  132. ret := m.ctrl.Call(m, "AddUpPassedCache", varargs...)
  133. ret0, _ := ret[0].(*NoReply)
  134. ret1, _ := ret[1].(error)
  135. return ret0, ret1
  136. }
  137. // AddUpPassedCache indicates an expected call of AddUpPassedCache
  138. func (mr *MockUpClientMockRecorder) AddUpPassedCache(ctx, in interface{}, opts ...interface{}) *gomock.Call {
  139. varargs := append([]interface{}{ctx, in}, opts...)
  140. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddUpPassedCache", reflect.TypeOf((*MockUpClient)(nil).AddUpPassedCache), varargs...)
  141. }
  142. // DelUpPassedCacheByStaff mocks base method
  143. func (m *MockUpClient) DelUpPassedCacheByStaff(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error) {
  144. varargs := []interface{}{ctx, in}
  145. for _, a := range opts {
  146. varargs = append(varargs, a)
  147. }
  148. ret := m.ctrl.Call(m, "DelUpPassedCacheByStaff", varargs...)
  149. ret0, _ := ret[0].(*NoReply)
  150. ret1, _ := ret[1].(error)
  151. return ret0, ret1
  152. }
  153. // DelUpPassedCacheByStaff indicates an expected call of DelUpPassedCacheByStaff
  154. func (mr *MockUpClientMockRecorder) DelUpPassedCacheByStaff(ctx, in interface{}, opts ...interface{}) *gomock.Call {
  155. varargs := append([]interface{}{ctx, in}, opts...)
  156. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelUpPassedCacheByStaff", reflect.TypeOf((*MockUpClient)(nil).DelUpPassedCacheByStaff), varargs...)
  157. }
  158. // DelUpPassedCache mocks base method
  159. func (m *MockUpClient) DelUpPassedCache(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error) {
  160. varargs := []interface{}{ctx, in}
  161. for _, a := range opts {
  162. varargs = append(varargs, a)
  163. }
  164. ret := m.ctrl.Call(m, "DelUpPassedCache", varargs...)
  165. ret0, _ := ret[0].(*NoReply)
  166. ret1, _ := ret[1].(error)
  167. return ret0, ret1
  168. }
  169. // DelUpPassedCache indicates an expected call of DelUpPassedCache
  170. func (mr *MockUpClientMockRecorder) DelUpPassedCache(ctx, in interface{}, opts ...interface{}) *gomock.Call {
  171. varargs := append([]interface{}{ctx, in}, opts...)
  172. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelUpPassedCache", reflect.TypeOf((*MockUpClient)(nil).DelUpPassedCache), varargs...)
  173. }
  174. // UpInfoActivitys mocks base method
  175. func (m *MockUpClient) UpInfoActivitys(ctx context.Context, in *UpListByLastIDReq, opts ...grpc.CallOption) (*UpActivityListReply, error) {
  176. varargs := []interface{}{ctx, in}
  177. for _, a := range opts {
  178. varargs = append(varargs, a)
  179. }
  180. ret := m.ctrl.Call(m, "UpInfoActivitys", varargs...)
  181. ret0, _ := ret[0].(*UpActivityListReply)
  182. ret1, _ := ret[1].(error)
  183. return ret0, ret1
  184. }
  185. // UpInfoActivitys indicates an expected call of UpInfoActivitys
  186. func (mr *MockUpClientMockRecorder) UpInfoActivitys(ctx, in interface{}, opts ...interface{}) *gomock.Call {
  187. varargs := append([]interface{}{ctx, in}, opts...)
  188. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpInfoActivitys", reflect.TypeOf((*MockUpClient)(nil).UpInfoActivitys), varargs...)
  189. }
  190. // UpSpecial mocks base method
  191. func (m *MockUpClient) UpSpecial(ctx context.Context, in *UpSpecialReq, opts ...grpc.CallOption) (*UpSpecialReply, error) {
  192. varargs := []interface{}{ctx, in}
  193. for _, a := range opts {
  194. varargs = append(varargs, a)
  195. }
  196. ret := m.ctrl.Call(m, "UpSpecial", varargs...)
  197. ret0, _ := ret[0].(*UpSpecialReply)
  198. ret1, _ := ret[1].(error)
  199. return ret0, ret1
  200. }
  201. // UpSpecial indicates an expected call of UpSpecial
  202. func (mr *MockUpClientMockRecorder) UpSpecial(ctx, in interface{}, opts ...interface{}) *gomock.Call {
  203. varargs := append([]interface{}{ctx, in}, opts...)
  204. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpSpecial", reflect.TypeOf((*MockUpClient)(nil).UpSpecial), varargs...)
  205. }
  206. // UpsSpecial mocks base method
  207. func (m *MockUpClient) UpsSpecial(ctx context.Context, in *UpsSpecialReq, opts ...grpc.CallOption) (*UpsSpecialReply, error) {
  208. varargs := []interface{}{ctx, in}
  209. for _, a := range opts {
  210. varargs = append(varargs, a)
  211. }
  212. ret := m.ctrl.Call(m, "UpsSpecial", varargs...)
  213. ret0, _ := ret[0].(*UpsSpecialReply)
  214. ret1, _ := ret[1].(error)
  215. return ret0, ret1
  216. }
  217. // UpsSpecial indicates an expected call of UpsSpecial
  218. func (mr *MockUpClientMockRecorder) UpsSpecial(ctx, in interface{}, opts ...interface{}) *gomock.Call {
  219. varargs := append([]interface{}{ctx, in}, opts...)
  220. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpsSpecial", reflect.TypeOf((*MockUpClient)(nil).UpsSpecial), varargs...)
  221. }
  222. // UpGroups mocks base method
  223. func (m *MockUpClient) UpGroups(ctx context.Context, in *NoArgReq, opts ...grpc.CallOption) (*UpGroupsReply, error) {
  224. varargs := []interface{}{ctx, in}
  225. for _, a := range opts {
  226. varargs = append(varargs, a)
  227. }
  228. ret := m.ctrl.Call(m, "UpGroups", varargs...)
  229. ret0, _ := ret[0].(*UpGroupsReply)
  230. ret1, _ := ret[1].(error)
  231. return ret0, ret1
  232. }
  233. // UpGroups indicates an expected call of UpGroups
  234. func (mr *MockUpClientMockRecorder) UpGroups(ctx, in interface{}, opts ...interface{}) *gomock.Call {
  235. varargs := append([]interface{}{ctx, in}, opts...)
  236. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpGroups", reflect.TypeOf((*MockUpClient)(nil).UpGroups), varargs...)
  237. }
  238. // UpGroupMids mocks base method
  239. func (m *MockUpClient) UpGroupMids(ctx context.Context, in *UpGroupMidsReq, opts ...grpc.CallOption) (*UpGroupMidsReply, error) {
  240. varargs := []interface{}{ctx, in}
  241. for _, a := range opts {
  242. varargs = append(varargs, a)
  243. }
  244. ret := m.ctrl.Call(m, "UpGroupMids", varargs...)
  245. ret0, _ := ret[0].(*UpGroupMidsReply)
  246. ret1, _ := ret[1].(error)
  247. return ret0, ret1
  248. }
  249. // UpGroupMids indicates an expected call of UpGroupMids
  250. func (mr *MockUpClientMockRecorder) UpGroupMids(ctx, in interface{}, opts ...interface{}) *gomock.Call {
  251. varargs := append([]interface{}{ctx, in}, opts...)
  252. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpGroupMids", reflect.TypeOf((*MockUpClient)(nil).UpGroupMids), varargs...)
  253. }
  254. // UpAttr mocks base method
  255. func (m *MockUpClient) UpAttr(ctx context.Context, in *UpAttrReq, opts ...grpc.CallOption) (*UpAttrReply, error) {
  256. varargs := []interface{}{ctx, in}
  257. for _, a := range opts {
  258. varargs = append(varargs, a)
  259. }
  260. ret := m.ctrl.Call(m, "UpAttr", varargs...)
  261. ret0, _ := ret[0].(*UpAttrReply)
  262. ret1, _ := ret[1].(error)
  263. return ret0, ret1
  264. }
  265. // UpAttr indicates an expected call of UpAttr
  266. func (mr *MockUpClientMockRecorder) UpAttr(ctx, in interface{}, opts ...interface{}) *gomock.Call {
  267. varargs := append([]interface{}{ctx, in}, opts...)
  268. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpAttr", reflect.TypeOf((*MockUpClient)(nil).UpAttr), varargs...)
  269. }
  270. // UpBaseStats mocks base method
  271. func (m *MockUpClient) UpBaseStats(ctx context.Context, in *UpStatReq, opts ...grpc.CallOption) (*UpBaseStatReply, error) {
  272. varargs := []interface{}{ctx, in}
  273. for _, a := range opts {
  274. varargs = append(varargs, a)
  275. }
  276. ret := m.ctrl.Call(m, "UpBaseStats", varargs...)
  277. ret0, _ := ret[0].(*UpBaseStatReply)
  278. ret1, _ := ret[1].(error)
  279. return ret0, ret1
  280. }
  281. // UpBaseStats indicates an expected call of UpBaseStats
  282. func (mr *MockUpClientMockRecorder) UpBaseStats(ctx, in interface{}, opts ...interface{}) *gomock.Call {
  283. varargs := append([]interface{}{ctx, in}, opts...)
  284. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpBaseStats", reflect.TypeOf((*MockUpClient)(nil).UpBaseStats), varargs...)
  285. }
  286. // SetUpSwitch mocks base method
  287. func (m *MockUpClient) SetUpSwitch(ctx context.Context, in *UpSwitchReq, opts ...grpc.CallOption) (*NoReply, error) {
  288. varargs := []interface{}{ctx, in}
  289. for _, a := range opts {
  290. varargs = append(varargs, a)
  291. }
  292. ret := m.ctrl.Call(m, "SetUpSwitch", varargs...)
  293. ret0, _ := ret[0].(*NoReply)
  294. ret1, _ := ret[1].(error)
  295. return ret0, ret1
  296. }
  297. // SetUpSwitch indicates an expected call of SetUpSwitch
  298. func (mr *MockUpClientMockRecorder) SetUpSwitch(ctx, in interface{}, opts ...interface{}) *gomock.Call {
  299. varargs := append([]interface{}{ctx, in}, opts...)
  300. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUpSwitch", reflect.TypeOf((*MockUpClient)(nil).SetUpSwitch), varargs...)
  301. }
  302. // UpSwitch mocks base method
  303. func (m *MockUpClient) UpSwitch(ctx context.Context, in *UpSwitchReq, opts ...grpc.CallOption) (*UpSwitchReply, error) {
  304. varargs := []interface{}{ctx, in}
  305. for _, a := range opts {
  306. varargs = append(varargs, a)
  307. }
  308. ret := m.ctrl.Call(m, "UpSwitch", varargs...)
  309. ret0, _ := ret[0].(*UpSwitchReply)
  310. ret1, _ := ret[1].(error)
  311. return ret0, ret1
  312. }
  313. // UpSwitch indicates an expected call of UpSwitch
  314. func (mr *MockUpClientMockRecorder) UpSwitch(ctx, in interface{}, opts ...interface{}) *gomock.Call {
  315. varargs := append([]interface{}{ctx, in}, opts...)
  316. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpSwitch", reflect.TypeOf((*MockUpClient)(nil).UpSwitch), varargs...)
  317. }
  318. // GetHighAllyUps mocks base method
  319. func (m *MockUpClient) GetHighAllyUps(ctx context.Context, in *HighAllyUpsReq, opts ...grpc.CallOption) (*HighAllyUpsReply, error) {
  320. varargs := []interface{}{ctx, in}
  321. for _, a := range opts {
  322. varargs = append(varargs, a)
  323. }
  324. ret := m.ctrl.Call(m, "GetHighAllyUps", varargs...)
  325. ret0, _ := ret[0].(*HighAllyUpsReply)
  326. ret1, _ := ret[1].(error)
  327. return ret0, ret1
  328. }
  329. // GetHighAllyUps indicates an expected call of GetHighAllyUps
  330. func (mr *MockUpClientMockRecorder) GetHighAllyUps(ctx, in interface{}, opts ...interface{}) *gomock.Call {
  331. varargs := append([]interface{}{ctx, in}, opts...)
  332. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetHighAllyUps", reflect.TypeOf((*MockUpClient)(nil).GetHighAllyUps), varargs...)
  333. }
  334. // MockUpServer is a mock of UpServer interface
  335. type MockUpServer struct {
  336. ctrl *gomock.Controller
  337. recorder *MockUpServerMockRecorder
  338. }
  339. // MockUpServerMockRecorder is the mock recorder for MockUpServer
  340. type MockUpServerMockRecorder struct {
  341. mock *MockUpServer
  342. }
  343. // NewMockUpServer creates a new mock instance
  344. func NewMockUpServer(ctrl *gomock.Controller) *MockUpServer {
  345. mock := &MockUpServer{ctrl: ctrl}
  346. mock.recorder = &MockUpServerMockRecorder{mock}
  347. return mock
  348. }
  349. // EXPECT returns an object that allows the caller to indicate expected use
  350. func (m *MockUpServer) EXPECT() *MockUpServerMockRecorder {
  351. return m.recorder
  352. }
  353. // UpArcs mocks base method
  354. func (m *MockUpServer) UpArcs(arg0 context.Context, arg1 *UpArcsReq) (*UpArcsReply, error) {
  355. ret := m.ctrl.Call(m, "UpArcs", arg0, arg1)
  356. ret0, _ := ret[0].(*UpArcsReply)
  357. ret1, _ := ret[1].(error)
  358. return ret0, ret1
  359. }
  360. // UpArcs indicates an expected call of UpArcs
  361. func (mr *MockUpServerMockRecorder) UpArcs(arg0, arg1 interface{}) *gomock.Call {
  362. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpArcs", reflect.TypeOf((*MockUpServer)(nil).UpArcs), arg0, arg1)
  363. }
  364. // UpsArcs mocks base method
  365. func (m *MockUpServer) UpsArcs(arg0 context.Context, arg1 *UpsArcsReq) (*UpsArcsReply, error) {
  366. ret := m.ctrl.Call(m, "UpsArcs", arg0, arg1)
  367. ret0, _ := ret[0].(*UpsArcsReply)
  368. ret1, _ := ret[1].(error)
  369. return ret0, ret1
  370. }
  371. // UpsArcs indicates an expected call of UpsArcs
  372. func (mr *MockUpServerMockRecorder) UpsArcs(arg0, arg1 interface{}) *gomock.Call {
  373. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpsArcs", reflect.TypeOf((*MockUpServer)(nil).UpsArcs), arg0, arg1)
  374. }
  375. // UpCount mocks base method
  376. func (m *MockUpServer) UpCount(arg0 context.Context, arg1 *UpCountReq) (*UpCountReply, error) {
  377. ret := m.ctrl.Call(m, "UpCount", arg0, arg1)
  378. ret0, _ := ret[0].(*UpCountReply)
  379. ret1, _ := ret[1].(error)
  380. return ret0, ret1
  381. }
  382. // UpCount indicates an expected call of UpCount
  383. func (mr *MockUpServerMockRecorder) UpCount(arg0, arg1 interface{}) *gomock.Call {
  384. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpCount", reflect.TypeOf((*MockUpServer)(nil).UpCount), arg0, arg1)
  385. }
  386. // UpsCount mocks base method
  387. func (m *MockUpServer) UpsCount(arg0 context.Context, arg1 *UpsCountReq) (*UpsCountReply, error) {
  388. ret := m.ctrl.Call(m, "UpsCount", arg0, arg1)
  389. ret0, _ := ret[0].(*UpsCountReply)
  390. ret1, _ := ret[1].(error)
  391. return ret0, ret1
  392. }
  393. // UpsCount indicates an expected call of UpsCount
  394. func (mr *MockUpServerMockRecorder) UpsCount(arg0, arg1 interface{}) *gomock.Call {
  395. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpsCount", reflect.TypeOf((*MockUpServer)(nil).UpsCount), arg0, arg1)
  396. }
  397. // UpsAidPubTime mocks base method
  398. func (m *MockUpServer) UpsAidPubTime(arg0 context.Context, arg1 *UpsArcsReq) (*UpsAidPubTimeReply, error) {
  399. ret := m.ctrl.Call(m, "UpsAidPubTime", arg0, arg1)
  400. ret0, _ := ret[0].(*UpsAidPubTimeReply)
  401. ret1, _ := ret[1].(error)
  402. return ret0, ret1
  403. }
  404. // UpsAidPubTime indicates an expected call of UpsAidPubTime
  405. func (mr *MockUpServerMockRecorder) UpsAidPubTime(arg0, arg1 interface{}) *gomock.Call {
  406. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpsAidPubTime", reflect.TypeOf((*MockUpServer)(nil).UpsAidPubTime), arg0, arg1)
  407. }
  408. // AddUpPassedCacheByStaff mocks base method
  409. func (m *MockUpServer) AddUpPassedCacheByStaff(arg0 context.Context, arg1 *UpCacheReq) (*NoReply, error) {
  410. ret := m.ctrl.Call(m, "AddUpPassedCacheByStaff", arg0, arg1)
  411. ret0, _ := ret[0].(*NoReply)
  412. ret1, _ := ret[1].(error)
  413. return ret0, ret1
  414. }
  415. // AddUpPassedCacheByStaff indicates an expected call of AddUpPassedCacheByStaff
  416. func (mr *MockUpServerMockRecorder) AddUpPassedCacheByStaff(arg0, arg1 interface{}) *gomock.Call {
  417. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddUpPassedCacheByStaff", reflect.TypeOf((*MockUpServer)(nil).AddUpPassedCacheByStaff), arg0, arg1)
  418. }
  419. // AddUpPassedCache mocks base method
  420. func (m *MockUpServer) AddUpPassedCache(arg0 context.Context, arg1 *UpCacheReq) (*NoReply, error) {
  421. ret := m.ctrl.Call(m, "AddUpPassedCache", arg0, arg1)
  422. ret0, _ := ret[0].(*NoReply)
  423. ret1, _ := ret[1].(error)
  424. return ret0, ret1
  425. }
  426. // AddUpPassedCache indicates an expected call of AddUpPassedCache
  427. func (mr *MockUpServerMockRecorder) AddUpPassedCache(arg0, arg1 interface{}) *gomock.Call {
  428. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddUpPassedCache", reflect.TypeOf((*MockUpServer)(nil).AddUpPassedCache), arg0, arg1)
  429. }
  430. // DelUpPassedCacheByStaff mocks base method
  431. func (m *MockUpServer) DelUpPassedCacheByStaff(arg0 context.Context, arg1 *UpCacheReq) (*NoReply, error) {
  432. ret := m.ctrl.Call(m, "DelUpPassedCacheByStaff", arg0, arg1)
  433. ret0, _ := ret[0].(*NoReply)
  434. ret1, _ := ret[1].(error)
  435. return ret0, ret1
  436. }
  437. // DelUpPassedCacheByStaff indicates an expected call of DelUpPassedCacheByStaff
  438. func (mr *MockUpServerMockRecorder) DelUpPassedCacheByStaff(arg0, arg1 interface{}) *gomock.Call {
  439. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelUpPassedCacheByStaff", reflect.TypeOf((*MockUpServer)(nil).DelUpPassedCacheByStaff), arg0, arg1)
  440. }
  441. // DelUpPassedCache mocks base method
  442. func (m *MockUpServer) DelUpPassedCache(arg0 context.Context, arg1 *UpCacheReq) (*NoReply, error) {
  443. ret := m.ctrl.Call(m, "DelUpPassedCache", arg0, arg1)
  444. ret0, _ := ret[0].(*NoReply)
  445. ret1, _ := ret[1].(error)
  446. return ret0, ret1
  447. }
  448. // DelUpPassedCache indicates an expected call of DelUpPassedCache
  449. func (mr *MockUpServerMockRecorder) DelUpPassedCache(arg0, arg1 interface{}) *gomock.Call {
  450. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelUpPassedCache", reflect.TypeOf((*MockUpServer)(nil).DelUpPassedCache), arg0, arg1)
  451. }
  452. // UpInfoActivitys mocks base method
  453. func (m *MockUpServer) UpInfoActivitys(arg0 context.Context, arg1 *UpListByLastIDReq) (*UpActivityListReply, error) {
  454. ret := m.ctrl.Call(m, "UpInfoActivitys", arg0, arg1)
  455. ret0, _ := ret[0].(*UpActivityListReply)
  456. ret1, _ := ret[1].(error)
  457. return ret0, ret1
  458. }
  459. // UpInfoActivitys indicates an expected call of UpInfoActivitys
  460. func (mr *MockUpServerMockRecorder) UpInfoActivitys(arg0, arg1 interface{}) *gomock.Call {
  461. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpInfoActivitys", reflect.TypeOf((*MockUpServer)(nil).UpInfoActivitys), arg0, arg1)
  462. }
  463. // UpSpecial mocks base method
  464. func (m *MockUpServer) UpSpecial(arg0 context.Context, arg1 *UpSpecialReq) (*UpSpecialReply, error) {
  465. ret := m.ctrl.Call(m, "UpSpecial", arg0, arg1)
  466. ret0, _ := ret[0].(*UpSpecialReply)
  467. ret1, _ := ret[1].(error)
  468. return ret0, ret1
  469. }
  470. // UpSpecial indicates an expected call of UpSpecial
  471. func (mr *MockUpServerMockRecorder) UpSpecial(arg0, arg1 interface{}) *gomock.Call {
  472. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpSpecial", reflect.TypeOf((*MockUpServer)(nil).UpSpecial), arg0, arg1)
  473. }
  474. // UpsSpecial mocks base method
  475. func (m *MockUpServer) UpsSpecial(arg0 context.Context, arg1 *UpsSpecialReq) (*UpsSpecialReply, error) {
  476. ret := m.ctrl.Call(m, "UpsSpecial", arg0, arg1)
  477. ret0, _ := ret[0].(*UpsSpecialReply)
  478. ret1, _ := ret[1].(error)
  479. return ret0, ret1
  480. }
  481. // UpsSpecial indicates an expected call of UpsSpecial
  482. func (mr *MockUpServerMockRecorder) UpsSpecial(arg0, arg1 interface{}) *gomock.Call {
  483. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpsSpecial", reflect.TypeOf((*MockUpServer)(nil).UpsSpecial), arg0, arg1)
  484. }
  485. // UpGroups mocks base method
  486. func (m *MockUpServer) UpGroups(arg0 context.Context, arg1 *NoArgReq) (*UpGroupsReply, error) {
  487. ret := m.ctrl.Call(m, "UpGroups", arg0, arg1)
  488. ret0, _ := ret[0].(*UpGroupsReply)
  489. ret1, _ := ret[1].(error)
  490. return ret0, ret1
  491. }
  492. // UpGroups indicates an expected call of UpGroups
  493. func (mr *MockUpServerMockRecorder) UpGroups(arg0, arg1 interface{}) *gomock.Call {
  494. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpGroups", reflect.TypeOf((*MockUpServer)(nil).UpGroups), arg0, arg1)
  495. }
  496. // UpGroupMids mocks base method
  497. func (m *MockUpServer) UpGroupMids(arg0 context.Context, arg1 *UpGroupMidsReq) (*UpGroupMidsReply, error) {
  498. ret := m.ctrl.Call(m, "UpGroupMids", arg0, arg1)
  499. ret0, _ := ret[0].(*UpGroupMidsReply)
  500. ret1, _ := ret[1].(error)
  501. return ret0, ret1
  502. }
  503. // UpGroupMids indicates an expected call of UpGroupMids
  504. func (mr *MockUpServerMockRecorder) UpGroupMids(arg0, arg1 interface{}) *gomock.Call {
  505. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpGroupMids", reflect.TypeOf((*MockUpServer)(nil).UpGroupMids), arg0, arg1)
  506. }
  507. // UpAttr mocks base method
  508. func (m *MockUpServer) UpAttr(arg0 context.Context, arg1 *UpAttrReq) (*UpAttrReply, error) {
  509. ret := m.ctrl.Call(m, "UpAttr", arg0, arg1)
  510. ret0, _ := ret[0].(*UpAttrReply)
  511. ret1, _ := ret[1].(error)
  512. return ret0, ret1
  513. }
  514. // UpAttr indicates an expected call of UpAttr
  515. func (mr *MockUpServerMockRecorder) UpAttr(arg0, arg1 interface{}) *gomock.Call {
  516. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpAttr", reflect.TypeOf((*MockUpServer)(nil).UpAttr), arg0, arg1)
  517. }
  518. // UpBaseStats mocks base method
  519. func (m *MockUpServer) UpBaseStats(arg0 context.Context, arg1 *UpStatReq) (*UpBaseStatReply, error) {
  520. ret := m.ctrl.Call(m, "UpBaseStats", arg0, arg1)
  521. ret0, _ := ret[0].(*UpBaseStatReply)
  522. ret1, _ := ret[1].(error)
  523. return ret0, ret1
  524. }
  525. // UpBaseStats indicates an expected call of UpBaseStats
  526. func (mr *MockUpServerMockRecorder) UpBaseStats(arg0, arg1 interface{}) *gomock.Call {
  527. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpBaseStats", reflect.TypeOf((*MockUpServer)(nil).UpBaseStats), arg0, arg1)
  528. }
  529. // SetUpSwitch mocks base method
  530. func (m *MockUpServer) SetUpSwitch(arg0 context.Context, arg1 *UpSwitchReq) (*NoReply, error) {
  531. ret := m.ctrl.Call(m, "SetUpSwitch", arg0, arg1)
  532. ret0, _ := ret[0].(*NoReply)
  533. ret1, _ := ret[1].(error)
  534. return ret0, ret1
  535. }
  536. // SetUpSwitch indicates an expected call of SetUpSwitch
  537. func (mr *MockUpServerMockRecorder) SetUpSwitch(arg0, arg1 interface{}) *gomock.Call {
  538. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetUpSwitch", reflect.TypeOf((*MockUpServer)(nil).SetUpSwitch), arg0, arg1)
  539. }
  540. // UpSwitch mocks base method
  541. func (m *MockUpServer) UpSwitch(arg0 context.Context, arg1 *UpSwitchReq) (*UpSwitchReply, error) {
  542. ret := m.ctrl.Call(m, "UpSwitch", arg0, arg1)
  543. ret0, _ := ret[0].(*UpSwitchReply)
  544. ret1, _ := ret[1].(error)
  545. return ret0, ret1
  546. }
  547. // UpSwitch indicates an expected call of UpSwitch
  548. func (mr *MockUpServerMockRecorder) UpSwitch(arg0, arg1 interface{}) *gomock.Call {
  549. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpSwitch", reflect.TypeOf((*MockUpServer)(nil).UpSwitch), arg0, arg1)
  550. }
  551. // GetHighAllyUps mocks base method
  552. func (m *MockUpServer) GetHighAllyUps(arg0 context.Context, arg1 *HighAllyUpsReq) (*HighAllyUpsReply, error) {
  553. ret := m.ctrl.Call(m, "GetHighAllyUps", arg0, arg1)
  554. ret0, _ := ret[0].(*HighAllyUpsReply)
  555. ret1, _ := ret[1].(error)
  556. return ret0, ret1
  557. }
  558. // GetHighAllyUps indicates an expected call of GetHighAllyUps
  559. func (mr *MockUpServerMockRecorder) GetHighAllyUps(arg0, arg1 interface{}) *gomock.Call {
  560. return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetHighAllyUps", reflect.TypeOf((*MockUpServer)(nil).GetHighAllyUps), arg0, arg1)
  561. }