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