github.com/onosproject/onos-api/go@v0.10.32/onos/e2t/admin/admin_mock.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: go/onos/e2t/admin/admin.pb.go 3 4 // Package admin is a generated GoMock package. 5 package admin 6 7 import ( 8 context "context" 9 reflect "reflect" 10 11 gomock "github.com/golang/mock/gomock" 12 grpc "google.golang.org/grpc" 13 metadata "google.golang.org/grpc/metadata" 14 ) 15 16 // MockE2TAdminServiceClient is a mock of E2TAdminServiceClient interface 17 type MockE2TAdminServiceClient struct { 18 ctrl *gomock.Controller 19 recorder *MockE2TAdminServiceClientMockRecorder 20 } 21 22 // MockE2TAdminServiceClientMockRecorder is the mock recorder for MockE2TAdminServiceClient 23 type MockE2TAdminServiceClientMockRecorder struct { 24 mock *MockE2TAdminServiceClient 25 } 26 27 // NewMockE2TAdminServiceClient creates a new mock instance 28 func NewMockE2TAdminServiceClient(ctrl *gomock.Controller) *MockE2TAdminServiceClient { 29 mock := &MockE2TAdminServiceClient{ctrl: ctrl} 30 mock.recorder = &MockE2TAdminServiceClientMockRecorder{mock} 31 return mock 32 } 33 34 // EXPECT returns an object that allows the caller to indicate expected use 35 func (m *MockE2TAdminServiceClient) EXPECT() *MockE2TAdminServiceClientMockRecorder { 36 return m.recorder 37 } 38 39 // UploadRegisterServiceModel mocks base method 40 func (m *MockE2TAdminServiceClient) UploadRegisterServiceModel(ctx context.Context, opts ...grpc.CallOption) (E2TAdminService_UploadRegisterServiceModelClient, error) { 41 m.ctrl.T.Helper() 42 varargs := []interface{}{ctx} 43 for _, a := range opts { 44 varargs = append(varargs, a) 45 } 46 ret := m.ctrl.Call(m, "UploadRegisterServiceModel", varargs...) 47 ret0, _ := ret[0].(E2TAdminService_UploadRegisterServiceModelClient) 48 ret1, _ := ret[1].(error) 49 return ret0, ret1 50 } 51 52 // UploadRegisterServiceModel indicates an expected call of UploadRegisterServiceModel 53 func (mr *MockE2TAdminServiceClientMockRecorder) UploadRegisterServiceModel(ctx interface{}, opts ...interface{}) *gomock.Call { 54 mr.mock.ctrl.T.Helper() 55 varargs := append([]interface{}{ctx}, opts...) 56 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UploadRegisterServiceModel", reflect.TypeOf((*MockE2TAdminServiceClient)(nil).UploadRegisterServiceModel), varargs...) 57 } 58 59 // ListRegisteredServiceModels mocks base method 60 func (m *MockE2TAdminServiceClient) ListRegisteredServiceModels(ctx context.Context, in *ListRegisteredServiceModelsRequest, opts ...grpc.CallOption) (E2TAdminService_ListRegisteredServiceModelsClient, error) { 61 m.ctrl.T.Helper() 62 varargs := []interface{}{ctx, in} 63 for _, a := range opts { 64 varargs = append(varargs, a) 65 } 66 ret := m.ctrl.Call(m, "ListRegisteredServiceModels", varargs...) 67 ret0, _ := ret[0].(E2TAdminService_ListRegisteredServiceModelsClient) 68 ret1, _ := ret[1].(error) 69 return ret0, ret1 70 } 71 72 // ListRegisteredServiceModels indicates an expected call of ListRegisteredServiceModels 73 func (mr *MockE2TAdminServiceClientMockRecorder) ListRegisteredServiceModels(ctx, in interface{}, opts ...interface{}) *gomock.Call { 74 mr.mock.ctrl.T.Helper() 75 varargs := append([]interface{}{ctx, in}, opts...) 76 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListRegisteredServiceModels", reflect.TypeOf((*MockE2TAdminServiceClient)(nil).ListRegisteredServiceModels), varargs...) 77 } 78 79 // ListE2NodeConnections mocks base method 80 func (m *MockE2TAdminServiceClient) ListE2NodeConnections(ctx context.Context, in *ListE2NodeConnectionsRequest, opts ...grpc.CallOption) (E2TAdminService_ListE2NodeConnectionsClient, error) { 81 m.ctrl.T.Helper() 82 varargs := []interface{}{ctx, in} 83 for _, a := range opts { 84 varargs = append(varargs, a) 85 } 86 ret := m.ctrl.Call(m, "ListE2NodeConnections", varargs...) 87 ret0, _ := ret[0].(E2TAdminService_ListE2NodeConnectionsClient) 88 ret1, _ := ret[1].(error) 89 return ret0, ret1 90 } 91 92 // ListE2NodeConnections indicates an expected call of ListE2NodeConnections 93 func (mr *MockE2TAdminServiceClientMockRecorder) ListE2NodeConnections(ctx, in interface{}, opts ...interface{}) *gomock.Call { 94 mr.mock.ctrl.T.Helper() 95 varargs := append([]interface{}{ctx, in}, opts...) 96 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListE2NodeConnections", reflect.TypeOf((*MockE2TAdminServiceClient)(nil).ListE2NodeConnections), varargs...) 97 } 98 99 // DropE2NodeConnections mocks base method 100 func (m *MockE2TAdminServiceClient) DropE2NodeConnections(ctx context.Context, in *DropE2NodeConnectionsRequest, opts ...grpc.CallOption) (*DropE2NodeConnectionsResponse, error) { 101 m.ctrl.T.Helper() 102 varargs := []interface{}{ctx, in} 103 for _, a := range opts { 104 varargs = append(varargs, a) 105 } 106 ret := m.ctrl.Call(m, "DropE2NodeConnections", varargs...) 107 ret0, _ := ret[0].(*DropE2NodeConnectionsResponse) 108 ret1, _ := ret[1].(error) 109 return ret0, ret1 110 } 111 112 // DropE2NodeConnections indicates an expected call of DropE2NodeConnections 113 func (mr *MockE2TAdminServiceClientMockRecorder) DropE2NodeConnections(ctx, in interface{}, opts ...interface{}) *gomock.Call { 114 mr.mock.ctrl.T.Helper() 115 varargs := append([]interface{}{ctx, in}, opts...) 116 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DropE2NodeConnections", reflect.TypeOf((*MockE2TAdminServiceClient)(nil).DropE2NodeConnections), varargs...) 117 } 118 119 // MockE2TAdminService_UploadRegisterServiceModelClient is a mock of E2TAdminService_UploadRegisterServiceModelClient interface 120 type MockE2TAdminService_UploadRegisterServiceModelClient struct { 121 ctrl *gomock.Controller 122 recorder *MockE2TAdminService_UploadRegisterServiceModelClientMockRecorder 123 } 124 125 // MockE2TAdminService_UploadRegisterServiceModelClientMockRecorder is the mock recorder for MockE2TAdminService_UploadRegisterServiceModelClient 126 type MockE2TAdminService_UploadRegisterServiceModelClientMockRecorder struct { 127 mock *MockE2TAdminService_UploadRegisterServiceModelClient 128 } 129 130 // NewMockE2TAdminService_UploadRegisterServiceModelClient creates a new mock instance 131 func NewMockE2TAdminService_UploadRegisterServiceModelClient(ctrl *gomock.Controller) *MockE2TAdminService_UploadRegisterServiceModelClient { 132 mock := &MockE2TAdminService_UploadRegisterServiceModelClient{ctrl: ctrl} 133 mock.recorder = &MockE2TAdminService_UploadRegisterServiceModelClientMockRecorder{mock} 134 return mock 135 } 136 137 // EXPECT returns an object that allows the caller to indicate expected use 138 func (m *MockE2TAdminService_UploadRegisterServiceModelClient) EXPECT() *MockE2TAdminService_UploadRegisterServiceModelClientMockRecorder { 139 return m.recorder 140 } 141 142 // Send mocks base method 143 func (m *MockE2TAdminService_UploadRegisterServiceModelClient) Send(arg0 *UploadRegisterServiceModelRequest) error { 144 m.ctrl.T.Helper() 145 ret := m.ctrl.Call(m, "Send", arg0) 146 ret0, _ := ret[0].(error) 147 return ret0 148 } 149 150 // Send indicates an expected call of Send 151 func (mr *MockE2TAdminService_UploadRegisterServiceModelClientMockRecorder) Send(arg0 interface{}) *gomock.Call { 152 mr.mock.ctrl.T.Helper() 153 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockE2TAdminService_UploadRegisterServiceModelClient)(nil).Send), arg0) 154 } 155 156 // CloseAndRecv mocks base method 157 func (m *MockE2TAdminService_UploadRegisterServiceModelClient) CloseAndRecv() (*UploadRegisterServiceModelResponse, error) { 158 m.ctrl.T.Helper() 159 ret := m.ctrl.Call(m, "CloseAndRecv") 160 ret0, _ := ret[0].(*UploadRegisterServiceModelResponse) 161 ret1, _ := ret[1].(error) 162 return ret0, ret1 163 } 164 165 // CloseAndRecv indicates an expected call of CloseAndRecv 166 func (mr *MockE2TAdminService_UploadRegisterServiceModelClientMockRecorder) CloseAndRecv() *gomock.Call { 167 mr.mock.ctrl.T.Helper() 168 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseAndRecv", reflect.TypeOf((*MockE2TAdminService_UploadRegisterServiceModelClient)(nil).CloseAndRecv)) 169 } 170 171 // Header mocks base method 172 func (m *MockE2TAdminService_UploadRegisterServiceModelClient) Header() (metadata.MD, error) { 173 m.ctrl.T.Helper() 174 ret := m.ctrl.Call(m, "Header") 175 ret0, _ := ret[0].(metadata.MD) 176 ret1, _ := ret[1].(error) 177 return ret0, ret1 178 } 179 180 // Header indicates an expected call of Header 181 func (mr *MockE2TAdminService_UploadRegisterServiceModelClientMockRecorder) Header() *gomock.Call { 182 mr.mock.ctrl.T.Helper() 183 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Header", reflect.TypeOf((*MockE2TAdminService_UploadRegisterServiceModelClient)(nil).Header)) 184 } 185 186 // Trailer mocks base method 187 func (m *MockE2TAdminService_UploadRegisterServiceModelClient) Trailer() metadata.MD { 188 m.ctrl.T.Helper() 189 ret := m.ctrl.Call(m, "Trailer") 190 ret0, _ := ret[0].(metadata.MD) 191 return ret0 192 } 193 194 // Trailer indicates an expected call of Trailer 195 func (mr *MockE2TAdminService_UploadRegisterServiceModelClientMockRecorder) Trailer() *gomock.Call { 196 mr.mock.ctrl.T.Helper() 197 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Trailer", reflect.TypeOf((*MockE2TAdminService_UploadRegisterServiceModelClient)(nil).Trailer)) 198 } 199 200 // CloseSend mocks base method 201 func (m *MockE2TAdminService_UploadRegisterServiceModelClient) CloseSend() error { 202 m.ctrl.T.Helper() 203 ret := m.ctrl.Call(m, "CloseSend") 204 ret0, _ := ret[0].(error) 205 return ret0 206 } 207 208 // CloseSend indicates an expected call of CloseSend 209 func (mr *MockE2TAdminService_UploadRegisterServiceModelClientMockRecorder) CloseSend() *gomock.Call { 210 mr.mock.ctrl.T.Helper() 211 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseSend", reflect.TypeOf((*MockE2TAdminService_UploadRegisterServiceModelClient)(nil).CloseSend)) 212 } 213 214 // Context mocks base method 215 func (m *MockE2TAdminService_UploadRegisterServiceModelClient) Context() context.Context { 216 m.ctrl.T.Helper() 217 ret := m.ctrl.Call(m, "Context") 218 ret0, _ := ret[0].(context.Context) 219 return ret0 220 } 221 222 // Context indicates an expected call of Context 223 func (mr *MockE2TAdminService_UploadRegisterServiceModelClientMockRecorder) Context() *gomock.Call { 224 mr.mock.ctrl.T.Helper() 225 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockE2TAdminService_UploadRegisterServiceModelClient)(nil).Context)) 226 } 227 228 // SendMsg mocks base method 229 func (m_2 *MockE2TAdminService_UploadRegisterServiceModelClient) SendMsg(m interface{}) error { 230 m_2.ctrl.T.Helper() 231 ret := m_2.ctrl.Call(m_2, "SendMsg", m) 232 ret0, _ := ret[0].(error) 233 return ret0 234 } 235 236 // SendMsg indicates an expected call of SendMsg 237 func (mr *MockE2TAdminService_UploadRegisterServiceModelClientMockRecorder) SendMsg(m interface{}) *gomock.Call { 238 mr.mock.ctrl.T.Helper() 239 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockE2TAdminService_UploadRegisterServiceModelClient)(nil).SendMsg), m) 240 } 241 242 // RecvMsg mocks base method 243 func (m_2 *MockE2TAdminService_UploadRegisterServiceModelClient) RecvMsg(m interface{}) error { 244 m_2.ctrl.T.Helper() 245 ret := m_2.ctrl.Call(m_2, "RecvMsg", m) 246 ret0, _ := ret[0].(error) 247 return ret0 248 } 249 250 // RecvMsg indicates an expected call of RecvMsg 251 func (mr *MockE2TAdminService_UploadRegisterServiceModelClientMockRecorder) RecvMsg(m interface{}) *gomock.Call { 252 mr.mock.ctrl.T.Helper() 253 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockE2TAdminService_UploadRegisterServiceModelClient)(nil).RecvMsg), m) 254 } 255 256 // MockE2TAdminService_ListRegisteredServiceModelsClient is a mock of E2TAdminService_ListRegisteredServiceModelsClient interface 257 type MockE2TAdminService_ListRegisteredServiceModelsClient struct { 258 ctrl *gomock.Controller 259 recorder *MockE2TAdminService_ListRegisteredServiceModelsClientMockRecorder 260 } 261 262 // MockE2TAdminService_ListRegisteredServiceModelsClientMockRecorder is the mock recorder for MockE2TAdminService_ListRegisteredServiceModelsClient 263 type MockE2TAdminService_ListRegisteredServiceModelsClientMockRecorder struct { 264 mock *MockE2TAdminService_ListRegisteredServiceModelsClient 265 } 266 267 // NewMockE2TAdminService_ListRegisteredServiceModelsClient creates a new mock instance 268 func NewMockE2TAdminService_ListRegisteredServiceModelsClient(ctrl *gomock.Controller) *MockE2TAdminService_ListRegisteredServiceModelsClient { 269 mock := &MockE2TAdminService_ListRegisteredServiceModelsClient{ctrl: ctrl} 270 mock.recorder = &MockE2TAdminService_ListRegisteredServiceModelsClientMockRecorder{mock} 271 return mock 272 } 273 274 // EXPECT returns an object that allows the caller to indicate expected use 275 func (m *MockE2TAdminService_ListRegisteredServiceModelsClient) EXPECT() *MockE2TAdminService_ListRegisteredServiceModelsClientMockRecorder { 276 return m.recorder 277 } 278 279 // Recv mocks base method 280 func (m *MockE2TAdminService_ListRegisteredServiceModelsClient) Recv() (*ListRegisteredServiceModelsResponse, error) { 281 m.ctrl.T.Helper() 282 ret := m.ctrl.Call(m, "Recv") 283 ret0, _ := ret[0].(*ListRegisteredServiceModelsResponse) 284 ret1, _ := ret[1].(error) 285 return ret0, ret1 286 } 287 288 // Recv indicates an expected call of Recv 289 func (mr *MockE2TAdminService_ListRegisteredServiceModelsClientMockRecorder) Recv() *gomock.Call { 290 mr.mock.ctrl.T.Helper() 291 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Recv", reflect.TypeOf((*MockE2TAdminService_ListRegisteredServiceModelsClient)(nil).Recv)) 292 } 293 294 // Header mocks base method 295 func (m *MockE2TAdminService_ListRegisteredServiceModelsClient) Header() (metadata.MD, error) { 296 m.ctrl.T.Helper() 297 ret := m.ctrl.Call(m, "Header") 298 ret0, _ := ret[0].(metadata.MD) 299 ret1, _ := ret[1].(error) 300 return ret0, ret1 301 } 302 303 // Header indicates an expected call of Header 304 func (mr *MockE2TAdminService_ListRegisteredServiceModelsClientMockRecorder) Header() *gomock.Call { 305 mr.mock.ctrl.T.Helper() 306 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Header", reflect.TypeOf((*MockE2TAdminService_ListRegisteredServiceModelsClient)(nil).Header)) 307 } 308 309 // Trailer mocks base method 310 func (m *MockE2TAdminService_ListRegisteredServiceModelsClient) Trailer() metadata.MD { 311 m.ctrl.T.Helper() 312 ret := m.ctrl.Call(m, "Trailer") 313 ret0, _ := ret[0].(metadata.MD) 314 return ret0 315 } 316 317 // Trailer indicates an expected call of Trailer 318 func (mr *MockE2TAdminService_ListRegisteredServiceModelsClientMockRecorder) Trailer() *gomock.Call { 319 mr.mock.ctrl.T.Helper() 320 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Trailer", reflect.TypeOf((*MockE2TAdminService_ListRegisteredServiceModelsClient)(nil).Trailer)) 321 } 322 323 // CloseSend mocks base method 324 func (m *MockE2TAdminService_ListRegisteredServiceModelsClient) CloseSend() error { 325 m.ctrl.T.Helper() 326 ret := m.ctrl.Call(m, "CloseSend") 327 ret0, _ := ret[0].(error) 328 return ret0 329 } 330 331 // CloseSend indicates an expected call of CloseSend 332 func (mr *MockE2TAdminService_ListRegisteredServiceModelsClientMockRecorder) CloseSend() *gomock.Call { 333 mr.mock.ctrl.T.Helper() 334 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseSend", reflect.TypeOf((*MockE2TAdminService_ListRegisteredServiceModelsClient)(nil).CloseSend)) 335 } 336 337 // Context mocks base method 338 func (m *MockE2TAdminService_ListRegisteredServiceModelsClient) Context() context.Context { 339 m.ctrl.T.Helper() 340 ret := m.ctrl.Call(m, "Context") 341 ret0, _ := ret[0].(context.Context) 342 return ret0 343 } 344 345 // Context indicates an expected call of Context 346 func (mr *MockE2TAdminService_ListRegisteredServiceModelsClientMockRecorder) Context() *gomock.Call { 347 mr.mock.ctrl.T.Helper() 348 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockE2TAdminService_ListRegisteredServiceModelsClient)(nil).Context)) 349 } 350 351 // SendMsg mocks base method 352 func (m_2 *MockE2TAdminService_ListRegisteredServiceModelsClient) SendMsg(m interface{}) error { 353 m_2.ctrl.T.Helper() 354 ret := m_2.ctrl.Call(m_2, "SendMsg", m) 355 ret0, _ := ret[0].(error) 356 return ret0 357 } 358 359 // SendMsg indicates an expected call of SendMsg 360 func (mr *MockE2TAdminService_ListRegisteredServiceModelsClientMockRecorder) SendMsg(m interface{}) *gomock.Call { 361 mr.mock.ctrl.T.Helper() 362 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockE2TAdminService_ListRegisteredServiceModelsClient)(nil).SendMsg), m) 363 } 364 365 // RecvMsg mocks base method 366 func (m_2 *MockE2TAdminService_ListRegisteredServiceModelsClient) RecvMsg(m interface{}) error { 367 m_2.ctrl.T.Helper() 368 ret := m_2.ctrl.Call(m_2, "RecvMsg", m) 369 ret0, _ := ret[0].(error) 370 return ret0 371 } 372 373 // RecvMsg indicates an expected call of RecvMsg 374 func (mr *MockE2TAdminService_ListRegisteredServiceModelsClientMockRecorder) RecvMsg(m interface{}) *gomock.Call { 375 mr.mock.ctrl.T.Helper() 376 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockE2TAdminService_ListRegisteredServiceModelsClient)(nil).RecvMsg), m) 377 } 378 379 // MockE2TAdminService_ListE2NodeConnectionsClient is a mock of E2TAdminService_ListE2NodeConnectionsClient interface 380 type MockE2TAdminService_ListE2NodeConnectionsClient struct { 381 ctrl *gomock.Controller 382 recorder *MockE2TAdminService_ListE2NodeConnectionsClientMockRecorder 383 } 384 385 // MockE2TAdminService_ListE2NodeConnectionsClientMockRecorder is the mock recorder for MockE2TAdminService_ListE2NodeConnectionsClient 386 type MockE2TAdminService_ListE2NodeConnectionsClientMockRecorder struct { 387 mock *MockE2TAdminService_ListE2NodeConnectionsClient 388 } 389 390 // NewMockE2TAdminService_ListE2NodeConnectionsClient creates a new mock instance 391 func NewMockE2TAdminService_ListE2NodeConnectionsClient(ctrl *gomock.Controller) *MockE2TAdminService_ListE2NodeConnectionsClient { 392 mock := &MockE2TAdminService_ListE2NodeConnectionsClient{ctrl: ctrl} 393 mock.recorder = &MockE2TAdminService_ListE2NodeConnectionsClientMockRecorder{mock} 394 return mock 395 } 396 397 // EXPECT returns an object that allows the caller to indicate expected use 398 func (m *MockE2TAdminService_ListE2NodeConnectionsClient) EXPECT() *MockE2TAdminService_ListE2NodeConnectionsClientMockRecorder { 399 return m.recorder 400 } 401 402 // Recv mocks base method 403 func (m *MockE2TAdminService_ListE2NodeConnectionsClient) Recv() (*ListE2NodeConnectionsResponse, error) { 404 m.ctrl.T.Helper() 405 ret := m.ctrl.Call(m, "Recv") 406 ret0, _ := ret[0].(*ListE2NodeConnectionsResponse) 407 ret1, _ := ret[1].(error) 408 return ret0, ret1 409 } 410 411 // Recv indicates an expected call of Recv 412 func (mr *MockE2TAdminService_ListE2NodeConnectionsClientMockRecorder) Recv() *gomock.Call { 413 mr.mock.ctrl.T.Helper() 414 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Recv", reflect.TypeOf((*MockE2TAdminService_ListE2NodeConnectionsClient)(nil).Recv)) 415 } 416 417 // Header mocks base method 418 func (m *MockE2TAdminService_ListE2NodeConnectionsClient) Header() (metadata.MD, error) { 419 m.ctrl.T.Helper() 420 ret := m.ctrl.Call(m, "Header") 421 ret0, _ := ret[0].(metadata.MD) 422 ret1, _ := ret[1].(error) 423 return ret0, ret1 424 } 425 426 // Header indicates an expected call of Header 427 func (mr *MockE2TAdminService_ListE2NodeConnectionsClientMockRecorder) Header() *gomock.Call { 428 mr.mock.ctrl.T.Helper() 429 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Header", reflect.TypeOf((*MockE2TAdminService_ListE2NodeConnectionsClient)(nil).Header)) 430 } 431 432 // Trailer mocks base method 433 func (m *MockE2TAdminService_ListE2NodeConnectionsClient) Trailer() metadata.MD { 434 m.ctrl.T.Helper() 435 ret := m.ctrl.Call(m, "Trailer") 436 ret0, _ := ret[0].(metadata.MD) 437 return ret0 438 } 439 440 // Trailer indicates an expected call of Trailer 441 func (mr *MockE2TAdminService_ListE2NodeConnectionsClientMockRecorder) Trailer() *gomock.Call { 442 mr.mock.ctrl.T.Helper() 443 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Trailer", reflect.TypeOf((*MockE2TAdminService_ListE2NodeConnectionsClient)(nil).Trailer)) 444 } 445 446 // CloseSend mocks base method 447 func (m *MockE2TAdminService_ListE2NodeConnectionsClient) CloseSend() error { 448 m.ctrl.T.Helper() 449 ret := m.ctrl.Call(m, "CloseSend") 450 ret0, _ := ret[0].(error) 451 return ret0 452 } 453 454 // CloseSend indicates an expected call of CloseSend 455 func (mr *MockE2TAdminService_ListE2NodeConnectionsClientMockRecorder) CloseSend() *gomock.Call { 456 mr.mock.ctrl.T.Helper() 457 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseSend", reflect.TypeOf((*MockE2TAdminService_ListE2NodeConnectionsClient)(nil).CloseSend)) 458 } 459 460 // Context mocks base method 461 func (m *MockE2TAdminService_ListE2NodeConnectionsClient) Context() context.Context { 462 m.ctrl.T.Helper() 463 ret := m.ctrl.Call(m, "Context") 464 ret0, _ := ret[0].(context.Context) 465 return ret0 466 } 467 468 // Context indicates an expected call of Context 469 func (mr *MockE2TAdminService_ListE2NodeConnectionsClientMockRecorder) Context() *gomock.Call { 470 mr.mock.ctrl.T.Helper() 471 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockE2TAdminService_ListE2NodeConnectionsClient)(nil).Context)) 472 } 473 474 // SendMsg mocks base method 475 func (m_2 *MockE2TAdminService_ListE2NodeConnectionsClient) SendMsg(m interface{}) error { 476 m_2.ctrl.T.Helper() 477 ret := m_2.ctrl.Call(m_2, "SendMsg", m) 478 ret0, _ := ret[0].(error) 479 return ret0 480 } 481 482 // SendMsg indicates an expected call of SendMsg 483 func (mr *MockE2TAdminService_ListE2NodeConnectionsClientMockRecorder) SendMsg(m interface{}) *gomock.Call { 484 mr.mock.ctrl.T.Helper() 485 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockE2TAdminService_ListE2NodeConnectionsClient)(nil).SendMsg), m) 486 } 487 488 // RecvMsg mocks base method 489 func (m_2 *MockE2TAdminService_ListE2NodeConnectionsClient) RecvMsg(m interface{}) error { 490 m_2.ctrl.T.Helper() 491 ret := m_2.ctrl.Call(m_2, "RecvMsg", m) 492 ret0, _ := ret[0].(error) 493 return ret0 494 } 495 496 // RecvMsg indicates an expected call of RecvMsg 497 func (mr *MockE2TAdminService_ListE2NodeConnectionsClientMockRecorder) RecvMsg(m interface{}) *gomock.Call { 498 mr.mock.ctrl.T.Helper() 499 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockE2TAdminService_ListE2NodeConnectionsClient)(nil).RecvMsg), m) 500 } 501 502 // MockE2TAdminServiceServer is a mock of E2TAdminServiceServer interface 503 type MockE2TAdminServiceServer struct { 504 ctrl *gomock.Controller 505 recorder *MockE2TAdminServiceServerMockRecorder 506 } 507 508 // MockE2TAdminServiceServerMockRecorder is the mock recorder for MockE2TAdminServiceServer 509 type MockE2TAdminServiceServerMockRecorder struct { 510 mock *MockE2TAdminServiceServer 511 } 512 513 // NewMockE2TAdminServiceServer creates a new mock instance 514 func NewMockE2TAdminServiceServer(ctrl *gomock.Controller) *MockE2TAdminServiceServer { 515 mock := &MockE2TAdminServiceServer{ctrl: ctrl} 516 mock.recorder = &MockE2TAdminServiceServerMockRecorder{mock} 517 return mock 518 } 519 520 // EXPECT returns an object that allows the caller to indicate expected use 521 func (m *MockE2TAdminServiceServer) EXPECT() *MockE2TAdminServiceServerMockRecorder { 522 return m.recorder 523 } 524 525 // UploadRegisterServiceModel mocks base method 526 func (m *MockE2TAdminServiceServer) UploadRegisterServiceModel(arg0 E2TAdminService_UploadRegisterServiceModelServer) error { 527 m.ctrl.T.Helper() 528 ret := m.ctrl.Call(m, "UploadRegisterServiceModel", arg0) 529 ret0, _ := ret[0].(error) 530 return ret0 531 } 532 533 // UploadRegisterServiceModel indicates an expected call of UploadRegisterServiceModel 534 func (mr *MockE2TAdminServiceServerMockRecorder) UploadRegisterServiceModel(arg0 interface{}) *gomock.Call { 535 mr.mock.ctrl.T.Helper() 536 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UploadRegisterServiceModel", reflect.TypeOf((*MockE2TAdminServiceServer)(nil).UploadRegisterServiceModel), arg0) 537 } 538 539 // ListRegisteredServiceModels mocks base method 540 func (m *MockE2TAdminServiceServer) ListRegisteredServiceModels(arg0 *ListRegisteredServiceModelsRequest, arg1 E2TAdminService_ListRegisteredServiceModelsServer) error { 541 m.ctrl.T.Helper() 542 ret := m.ctrl.Call(m, "ListRegisteredServiceModels", arg0, arg1) 543 ret0, _ := ret[0].(error) 544 return ret0 545 } 546 547 // ListRegisteredServiceModels indicates an expected call of ListRegisteredServiceModels 548 func (mr *MockE2TAdminServiceServerMockRecorder) ListRegisteredServiceModels(arg0, arg1 interface{}) *gomock.Call { 549 mr.mock.ctrl.T.Helper() 550 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListRegisteredServiceModels", reflect.TypeOf((*MockE2TAdminServiceServer)(nil).ListRegisteredServiceModels), arg0, arg1) 551 } 552 553 // ListE2NodeConnections mocks base method 554 func (m *MockE2TAdminServiceServer) ListE2NodeConnections(arg0 *ListE2NodeConnectionsRequest, arg1 E2TAdminService_ListE2NodeConnectionsServer) error { 555 m.ctrl.T.Helper() 556 ret := m.ctrl.Call(m, "ListE2NodeConnections", arg0, arg1) 557 ret0, _ := ret[0].(error) 558 return ret0 559 } 560 561 // ListE2NodeConnections indicates an expected call of ListE2NodeConnections 562 func (mr *MockE2TAdminServiceServerMockRecorder) ListE2NodeConnections(arg0, arg1 interface{}) *gomock.Call { 563 mr.mock.ctrl.T.Helper() 564 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListE2NodeConnections", reflect.TypeOf((*MockE2TAdminServiceServer)(nil).ListE2NodeConnections), arg0, arg1) 565 } 566 567 // DropE2NodeConnections mocks base method 568 func (m *MockE2TAdminServiceServer) DropE2NodeConnections(arg0 context.Context, arg1 *DropE2NodeConnectionsRequest) (*DropE2NodeConnectionsResponse, error) { 569 m.ctrl.T.Helper() 570 ret := m.ctrl.Call(m, "DropE2NodeConnections", arg0, arg1) 571 ret0, _ := ret[0].(*DropE2NodeConnectionsResponse) 572 ret1, _ := ret[1].(error) 573 return ret0, ret1 574 } 575 576 // DropE2NodeConnections indicates an expected call of DropE2NodeConnections 577 func (mr *MockE2TAdminServiceServerMockRecorder) DropE2NodeConnections(arg0, arg1 interface{}) *gomock.Call { 578 mr.mock.ctrl.T.Helper() 579 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DropE2NodeConnections", reflect.TypeOf((*MockE2TAdminServiceServer)(nil).DropE2NodeConnections), arg0, arg1) 580 } 581 582 // MockE2TAdminService_UploadRegisterServiceModelServer is a mock of E2TAdminService_UploadRegisterServiceModelServer interface 583 type MockE2TAdminService_UploadRegisterServiceModelServer struct { 584 ctrl *gomock.Controller 585 recorder *MockE2TAdminService_UploadRegisterServiceModelServerMockRecorder 586 } 587 588 // MockE2TAdminService_UploadRegisterServiceModelServerMockRecorder is the mock recorder for MockE2TAdminService_UploadRegisterServiceModelServer 589 type MockE2TAdminService_UploadRegisterServiceModelServerMockRecorder struct { 590 mock *MockE2TAdminService_UploadRegisterServiceModelServer 591 } 592 593 // NewMockE2TAdminService_UploadRegisterServiceModelServer creates a new mock instance 594 func NewMockE2TAdminService_UploadRegisterServiceModelServer(ctrl *gomock.Controller) *MockE2TAdminService_UploadRegisterServiceModelServer { 595 mock := &MockE2TAdminService_UploadRegisterServiceModelServer{ctrl: ctrl} 596 mock.recorder = &MockE2TAdminService_UploadRegisterServiceModelServerMockRecorder{mock} 597 return mock 598 } 599 600 // EXPECT returns an object that allows the caller to indicate expected use 601 func (m *MockE2TAdminService_UploadRegisterServiceModelServer) EXPECT() *MockE2TAdminService_UploadRegisterServiceModelServerMockRecorder { 602 return m.recorder 603 } 604 605 // SendAndClose mocks base method 606 func (m *MockE2TAdminService_UploadRegisterServiceModelServer) SendAndClose(arg0 *UploadRegisterServiceModelResponse) error { 607 m.ctrl.T.Helper() 608 ret := m.ctrl.Call(m, "SendAndClose", arg0) 609 ret0, _ := ret[0].(error) 610 return ret0 611 } 612 613 // SendAndClose indicates an expected call of SendAndClose 614 func (mr *MockE2TAdminService_UploadRegisterServiceModelServerMockRecorder) SendAndClose(arg0 interface{}) *gomock.Call { 615 mr.mock.ctrl.T.Helper() 616 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendAndClose", reflect.TypeOf((*MockE2TAdminService_UploadRegisterServiceModelServer)(nil).SendAndClose), arg0) 617 } 618 619 // Recv mocks base method 620 func (m *MockE2TAdminService_UploadRegisterServiceModelServer) Recv() (*UploadRegisterServiceModelRequest, error) { 621 m.ctrl.T.Helper() 622 ret := m.ctrl.Call(m, "Recv") 623 ret0, _ := ret[0].(*UploadRegisterServiceModelRequest) 624 ret1, _ := ret[1].(error) 625 return ret0, ret1 626 } 627 628 // Recv indicates an expected call of Recv 629 func (mr *MockE2TAdminService_UploadRegisterServiceModelServerMockRecorder) Recv() *gomock.Call { 630 mr.mock.ctrl.T.Helper() 631 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Recv", reflect.TypeOf((*MockE2TAdminService_UploadRegisterServiceModelServer)(nil).Recv)) 632 } 633 634 // SetHeader mocks base method 635 func (m *MockE2TAdminService_UploadRegisterServiceModelServer) SetHeader(arg0 metadata.MD) error { 636 m.ctrl.T.Helper() 637 ret := m.ctrl.Call(m, "SetHeader", arg0) 638 ret0, _ := ret[0].(error) 639 return ret0 640 } 641 642 // SetHeader indicates an expected call of SetHeader 643 func (mr *MockE2TAdminService_UploadRegisterServiceModelServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call { 644 mr.mock.ctrl.T.Helper() 645 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHeader", reflect.TypeOf((*MockE2TAdminService_UploadRegisterServiceModelServer)(nil).SetHeader), arg0) 646 } 647 648 // SendHeader mocks base method 649 func (m *MockE2TAdminService_UploadRegisterServiceModelServer) SendHeader(arg0 metadata.MD) error { 650 m.ctrl.T.Helper() 651 ret := m.ctrl.Call(m, "SendHeader", arg0) 652 ret0, _ := ret[0].(error) 653 return ret0 654 } 655 656 // SendHeader indicates an expected call of SendHeader 657 func (mr *MockE2TAdminService_UploadRegisterServiceModelServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call { 658 mr.mock.ctrl.T.Helper() 659 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendHeader", reflect.TypeOf((*MockE2TAdminService_UploadRegisterServiceModelServer)(nil).SendHeader), arg0) 660 } 661 662 // SetTrailer mocks base method 663 func (m *MockE2TAdminService_UploadRegisterServiceModelServer) SetTrailer(arg0 metadata.MD) { 664 m.ctrl.T.Helper() 665 m.ctrl.Call(m, "SetTrailer", arg0) 666 } 667 668 // SetTrailer indicates an expected call of SetTrailer 669 func (mr *MockE2TAdminService_UploadRegisterServiceModelServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call { 670 mr.mock.ctrl.T.Helper() 671 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTrailer", reflect.TypeOf((*MockE2TAdminService_UploadRegisterServiceModelServer)(nil).SetTrailer), arg0) 672 } 673 674 // Context mocks base method 675 func (m *MockE2TAdminService_UploadRegisterServiceModelServer) Context() context.Context { 676 m.ctrl.T.Helper() 677 ret := m.ctrl.Call(m, "Context") 678 ret0, _ := ret[0].(context.Context) 679 return ret0 680 } 681 682 // Context indicates an expected call of Context 683 func (mr *MockE2TAdminService_UploadRegisterServiceModelServerMockRecorder) Context() *gomock.Call { 684 mr.mock.ctrl.T.Helper() 685 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockE2TAdminService_UploadRegisterServiceModelServer)(nil).Context)) 686 } 687 688 // SendMsg mocks base method 689 func (m_2 *MockE2TAdminService_UploadRegisterServiceModelServer) SendMsg(m interface{}) error { 690 m_2.ctrl.T.Helper() 691 ret := m_2.ctrl.Call(m_2, "SendMsg", m) 692 ret0, _ := ret[0].(error) 693 return ret0 694 } 695 696 // SendMsg indicates an expected call of SendMsg 697 func (mr *MockE2TAdminService_UploadRegisterServiceModelServerMockRecorder) SendMsg(m interface{}) *gomock.Call { 698 mr.mock.ctrl.T.Helper() 699 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockE2TAdminService_UploadRegisterServiceModelServer)(nil).SendMsg), m) 700 } 701 702 // RecvMsg mocks base method 703 func (m_2 *MockE2TAdminService_UploadRegisterServiceModelServer) RecvMsg(m interface{}) error { 704 m_2.ctrl.T.Helper() 705 ret := m_2.ctrl.Call(m_2, "RecvMsg", m) 706 ret0, _ := ret[0].(error) 707 return ret0 708 } 709 710 // RecvMsg indicates an expected call of RecvMsg 711 func (mr *MockE2TAdminService_UploadRegisterServiceModelServerMockRecorder) RecvMsg(m interface{}) *gomock.Call { 712 mr.mock.ctrl.T.Helper() 713 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockE2TAdminService_UploadRegisterServiceModelServer)(nil).RecvMsg), m) 714 } 715 716 // MockE2TAdminService_ListRegisteredServiceModelsServer is a mock of E2TAdminService_ListRegisteredServiceModelsServer interface 717 type MockE2TAdminService_ListRegisteredServiceModelsServer struct { 718 ctrl *gomock.Controller 719 recorder *MockE2TAdminService_ListRegisteredServiceModelsServerMockRecorder 720 } 721 722 // MockE2TAdminService_ListRegisteredServiceModelsServerMockRecorder is the mock recorder for MockE2TAdminService_ListRegisteredServiceModelsServer 723 type MockE2TAdminService_ListRegisteredServiceModelsServerMockRecorder struct { 724 mock *MockE2TAdminService_ListRegisteredServiceModelsServer 725 } 726 727 // NewMockE2TAdminService_ListRegisteredServiceModelsServer creates a new mock instance 728 func NewMockE2TAdminService_ListRegisteredServiceModelsServer(ctrl *gomock.Controller) *MockE2TAdminService_ListRegisteredServiceModelsServer { 729 mock := &MockE2TAdminService_ListRegisteredServiceModelsServer{ctrl: ctrl} 730 mock.recorder = &MockE2TAdminService_ListRegisteredServiceModelsServerMockRecorder{mock} 731 return mock 732 } 733 734 // EXPECT returns an object that allows the caller to indicate expected use 735 func (m *MockE2TAdminService_ListRegisteredServiceModelsServer) EXPECT() *MockE2TAdminService_ListRegisteredServiceModelsServerMockRecorder { 736 return m.recorder 737 } 738 739 // Send mocks base method 740 func (m *MockE2TAdminService_ListRegisteredServiceModelsServer) Send(arg0 *ListRegisteredServiceModelsResponse) error { 741 m.ctrl.T.Helper() 742 ret := m.ctrl.Call(m, "Send", arg0) 743 ret0, _ := ret[0].(error) 744 return ret0 745 } 746 747 // Send indicates an expected call of Send 748 func (mr *MockE2TAdminService_ListRegisteredServiceModelsServerMockRecorder) Send(arg0 interface{}) *gomock.Call { 749 mr.mock.ctrl.T.Helper() 750 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockE2TAdminService_ListRegisteredServiceModelsServer)(nil).Send), arg0) 751 } 752 753 // SetHeader mocks base method 754 func (m *MockE2TAdminService_ListRegisteredServiceModelsServer) SetHeader(arg0 metadata.MD) error { 755 m.ctrl.T.Helper() 756 ret := m.ctrl.Call(m, "SetHeader", arg0) 757 ret0, _ := ret[0].(error) 758 return ret0 759 } 760 761 // SetHeader indicates an expected call of SetHeader 762 func (mr *MockE2TAdminService_ListRegisteredServiceModelsServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call { 763 mr.mock.ctrl.T.Helper() 764 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHeader", reflect.TypeOf((*MockE2TAdminService_ListRegisteredServiceModelsServer)(nil).SetHeader), arg0) 765 } 766 767 // SendHeader mocks base method 768 func (m *MockE2TAdminService_ListRegisteredServiceModelsServer) SendHeader(arg0 metadata.MD) error { 769 m.ctrl.T.Helper() 770 ret := m.ctrl.Call(m, "SendHeader", arg0) 771 ret0, _ := ret[0].(error) 772 return ret0 773 } 774 775 // SendHeader indicates an expected call of SendHeader 776 func (mr *MockE2TAdminService_ListRegisteredServiceModelsServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call { 777 mr.mock.ctrl.T.Helper() 778 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendHeader", reflect.TypeOf((*MockE2TAdminService_ListRegisteredServiceModelsServer)(nil).SendHeader), arg0) 779 } 780 781 // SetTrailer mocks base method 782 func (m *MockE2TAdminService_ListRegisteredServiceModelsServer) SetTrailer(arg0 metadata.MD) { 783 m.ctrl.T.Helper() 784 m.ctrl.Call(m, "SetTrailer", arg0) 785 } 786 787 // SetTrailer indicates an expected call of SetTrailer 788 func (mr *MockE2TAdminService_ListRegisteredServiceModelsServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call { 789 mr.mock.ctrl.T.Helper() 790 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTrailer", reflect.TypeOf((*MockE2TAdminService_ListRegisteredServiceModelsServer)(nil).SetTrailer), arg0) 791 } 792 793 // Context mocks base method 794 func (m *MockE2TAdminService_ListRegisteredServiceModelsServer) Context() context.Context { 795 m.ctrl.T.Helper() 796 ret := m.ctrl.Call(m, "Context") 797 ret0, _ := ret[0].(context.Context) 798 return ret0 799 } 800 801 // Context indicates an expected call of Context 802 func (mr *MockE2TAdminService_ListRegisteredServiceModelsServerMockRecorder) Context() *gomock.Call { 803 mr.mock.ctrl.T.Helper() 804 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockE2TAdminService_ListRegisteredServiceModelsServer)(nil).Context)) 805 } 806 807 // SendMsg mocks base method 808 func (m_2 *MockE2TAdminService_ListRegisteredServiceModelsServer) SendMsg(m interface{}) error { 809 m_2.ctrl.T.Helper() 810 ret := m_2.ctrl.Call(m_2, "SendMsg", m) 811 ret0, _ := ret[0].(error) 812 return ret0 813 } 814 815 // SendMsg indicates an expected call of SendMsg 816 func (mr *MockE2TAdminService_ListRegisteredServiceModelsServerMockRecorder) SendMsg(m interface{}) *gomock.Call { 817 mr.mock.ctrl.T.Helper() 818 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockE2TAdminService_ListRegisteredServiceModelsServer)(nil).SendMsg), m) 819 } 820 821 // RecvMsg mocks base method 822 func (m_2 *MockE2TAdminService_ListRegisteredServiceModelsServer) RecvMsg(m interface{}) error { 823 m_2.ctrl.T.Helper() 824 ret := m_2.ctrl.Call(m_2, "RecvMsg", m) 825 ret0, _ := ret[0].(error) 826 return ret0 827 } 828 829 // RecvMsg indicates an expected call of RecvMsg 830 func (mr *MockE2TAdminService_ListRegisteredServiceModelsServerMockRecorder) RecvMsg(m interface{}) *gomock.Call { 831 mr.mock.ctrl.T.Helper() 832 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockE2TAdminService_ListRegisteredServiceModelsServer)(nil).RecvMsg), m) 833 } 834 835 // MockE2TAdminService_ListE2NodeConnectionsServer is a mock of E2TAdminService_ListE2NodeConnectionsServer interface 836 type MockE2TAdminService_ListE2NodeConnectionsServer struct { 837 ctrl *gomock.Controller 838 recorder *MockE2TAdminService_ListE2NodeConnectionsServerMockRecorder 839 } 840 841 // MockE2TAdminService_ListE2NodeConnectionsServerMockRecorder is the mock recorder for MockE2TAdminService_ListE2NodeConnectionsServer 842 type MockE2TAdminService_ListE2NodeConnectionsServerMockRecorder struct { 843 mock *MockE2TAdminService_ListE2NodeConnectionsServer 844 } 845 846 // NewMockE2TAdminService_ListE2NodeConnectionsServer creates a new mock instance 847 func NewMockE2TAdminService_ListE2NodeConnectionsServer(ctrl *gomock.Controller) *MockE2TAdminService_ListE2NodeConnectionsServer { 848 mock := &MockE2TAdminService_ListE2NodeConnectionsServer{ctrl: ctrl} 849 mock.recorder = &MockE2TAdminService_ListE2NodeConnectionsServerMockRecorder{mock} 850 return mock 851 } 852 853 // EXPECT returns an object that allows the caller to indicate expected use 854 func (m *MockE2TAdminService_ListE2NodeConnectionsServer) EXPECT() *MockE2TAdminService_ListE2NodeConnectionsServerMockRecorder { 855 return m.recorder 856 } 857 858 // Send mocks base method 859 func (m *MockE2TAdminService_ListE2NodeConnectionsServer) Send(arg0 *ListE2NodeConnectionsResponse) error { 860 m.ctrl.T.Helper() 861 ret := m.ctrl.Call(m, "Send", arg0) 862 ret0, _ := ret[0].(error) 863 return ret0 864 } 865 866 // Send indicates an expected call of Send 867 func (mr *MockE2TAdminService_ListE2NodeConnectionsServerMockRecorder) Send(arg0 interface{}) *gomock.Call { 868 mr.mock.ctrl.T.Helper() 869 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockE2TAdminService_ListE2NodeConnectionsServer)(nil).Send), arg0) 870 } 871 872 // SetHeader mocks base method 873 func (m *MockE2TAdminService_ListE2NodeConnectionsServer) SetHeader(arg0 metadata.MD) error { 874 m.ctrl.T.Helper() 875 ret := m.ctrl.Call(m, "SetHeader", arg0) 876 ret0, _ := ret[0].(error) 877 return ret0 878 } 879 880 // SetHeader indicates an expected call of SetHeader 881 func (mr *MockE2TAdminService_ListE2NodeConnectionsServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call { 882 mr.mock.ctrl.T.Helper() 883 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHeader", reflect.TypeOf((*MockE2TAdminService_ListE2NodeConnectionsServer)(nil).SetHeader), arg0) 884 } 885 886 // SendHeader mocks base method 887 func (m *MockE2TAdminService_ListE2NodeConnectionsServer) SendHeader(arg0 metadata.MD) error { 888 m.ctrl.T.Helper() 889 ret := m.ctrl.Call(m, "SendHeader", arg0) 890 ret0, _ := ret[0].(error) 891 return ret0 892 } 893 894 // SendHeader indicates an expected call of SendHeader 895 func (mr *MockE2TAdminService_ListE2NodeConnectionsServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call { 896 mr.mock.ctrl.T.Helper() 897 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendHeader", reflect.TypeOf((*MockE2TAdminService_ListE2NodeConnectionsServer)(nil).SendHeader), arg0) 898 } 899 900 // SetTrailer mocks base method 901 func (m *MockE2TAdminService_ListE2NodeConnectionsServer) SetTrailer(arg0 metadata.MD) { 902 m.ctrl.T.Helper() 903 m.ctrl.Call(m, "SetTrailer", arg0) 904 } 905 906 // SetTrailer indicates an expected call of SetTrailer 907 func (mr *MockE2TAdminService_ListE2NodeConnectionsServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call { 908 mr.mock.ctrl.T.Helper() 909 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTrailer", reflect.TypeOf((*MockE2TAdminService_ListE2NodeConnectionsServer)(nil).SetTrailer), arg0) 910 } 911 912 // Context mocks base method 913 func (m *MockE2TAdminService_ListE2NodeConnectionsServer) Context() context.Context { 914 m.ctrl.T.Helper() 915 ret := m.ctrl.Call(m, "Context") 916 ret0, _ := ret[0].(context.Context) 917 return ret0 918 } 919 920 // Context indicates an expected call of Context 921 func (mr *MockE2TAdminService_ListE2NodeConnectionsServerMockRecorder) Context() *gomock.Call { 922 mr.mock.ctrl.T.Helper() 923 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockE2TAdminService_ListE2NodeConnectionsServer)(nil).Context)) 924 } 925 926 // SendMsg mocks base method 927 func (m_2 *MockE2TAdminService_ListE2NodeConnectionsServer) SendMsg(m interface{}) error { 928 m_2.ctrl.T.Helper() 929 ret := m_2.ctrl.Call(m_2, "SendMsg", m) 930 ret0, _ := ret[0].(error) 931 return ret0 932 } 933 934 // SendMsg indicates an expected call of SendMsg 935 func (mr *MockE2TAdminService_ListE2NodeConnectionsServerMockRecorder) SendMsg(m interface{}) *gomock.Call { 936 mr.mock.ctrl.T.Helper() 937 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockE2TAdminService_ListE2NodeConnectionsServer)(nil).SendMsg), m) 938 } 939 940 // RecvMsg mocks base method 941 func (m_2 *MockE2TAdminService_ListE2NodeConnectionsServer) RecvMsg(m interface{}) error { 942 m_2.ctrl.T.Helper() 943 ret := m_2.ctrl.Call(m_2, "RecvMsg", m) 944 ret0, _ := ret[0].(error) 945 return ret0 946 } 947 948 // RecvMsg indicates an expected call of RecvMsg 949 func (mr *MockE2TAdminService_ListE2NodeConnectionsServerMockRecorder) RecvMsg(m interface{}) *gomock.Call { 950 mr.mock.ctrl.T.Helper() 951 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockE2TAdminService_ListE2NodeConnectionsServer)(nil).RecvMsg), m) 952 }