vinokuma | 04dc9f8 | 2023-07-31 15:47:49 +0530 | [diff] [blame] | 1 | // Code generated by MockGen. DO NOT EDIT. |
| 2 | // Source: /home/vinod/go/src/gerrit.opencord.org/voltha-go-controller/vendor/github.com/opencord/voltha-protos/v5/go/voltha/voltha.pb.go |
| 3 | |
| 4 | // Package mock_voltha is a generated GoMock package. |
| 5 | package mocks |
| 6 | |
| 7 | import ( |
| 8 | context "context" |
| 9 | reflect "reflect" |
| 10 | voltha "github.com/opencord/voltha-protos/v5/go/voltha" |
| 11 | |
| 12 | gomock "github.com/golang/mock/gomock" |
| 13 | empty "github.com/golang/protobuf/ptypes/empty" |
| 14 | common "github.com/opencord/voltha-protos/v5/go/common" |
| 15 | extension "github.com/opencord/voltha-protos/v5/go/extension" |
| 16 | omci "github.com/opencord/voltha-protos/v5/go/omci" |
| 17 | openflow_13 "github.com/opencord/voltha-protos/v5/go/openflow_13" |
| 18 | grpc "google.golang.org/grpc" |
| 19 | metadata "google.golang.org/grpc/metadata" |
| 20 | ) |
| 21 | |
| 22 | // MockVolthaServiceClient is a mock of VolthaServiceClient interface. |
| 23 | type MockVolthaServiceClient struct { |
| 24 | ctrl *gomock.Controller |
| 25 | recorder *MockVolthaServiceClientMockRecorder |
| 26 | } |
| 27 | |
| 28 | // MockVolthaServiceClientMockRecorder is the mock recorder for MockVolthaServiceClient. |
| 29 | type MockVolthaServiceClientMockRecorder struct { |
| 30 | mock *MockVolthaServiceClient |
| 31 | } |
| 32 | |
| 33 | // NewMockVolthaServiceClient creates a new mock instance. |
| 34 | func NewMockVolthaServiceClient(ctrl *gomock.Controller) *MockVolthaServiceClient { |
| 35 | mock := &MockVolthaServiceClient{ctrl: ctrl} |
| 36 | mock.recorder = &MockVolthaServiceClientMockRecorder{mock} |
| 37 | return mock |
| 38 | } |
| 39 | |
| 40 | // EXPECT returns an object that allows the caller to indicate expected use. |
| 41 | func (m *MockVolthaServiceClient) EXPECT() *MockVolthaServiceClientMockRecorder { |
| 42 | return m.recorder |
| 43 | } |
| 44 | |
| 45 | // AbortImageUpgradeToDevice mocks base method. |
| 46 | func (m *MockVolthaServiceClient) AbortImageUpgradeToDevice(ctx context.Context, in *voltha.DeviceImageRequest, opts ...grpc.CallOption) (*voltha.DeviceImageResponse, error) { |
| 47 | m.ctrl.T.Helper() |
| 48 | varargs := []interface{}{ctx, in} |
| 49 | for _, a := range opts { |
| 50 | varargs = append(varargs, a) |
| 51 | } |
| 52 | ret := m.ctrl.Call(m, "AbortImageUpgradeToDevice", varargs...) |
| 53 | ret0, _ := ret[0].(*voltha.DeviceImageResponse) |
| 54 | ret1, _ := ret[1].(error) |
| 55 | return ret0, ret1 |
| 56 | } |
| 57 | |
| 58 | // AbortImageUpgradeToDevice indicates an expected call of AbortImageUpgradeToDevice. |
| 59 | func (mr *MockVolthaServiceClientMockRecorder) AbortImageUpgradeToDevice(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 60 | mr.mock.ctrl.T.Helper() |
| 61 | varargs := append([]interface{}{ctx, in}, opts...) |
| 62 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AbortImageUpgradeToDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).AbortImageUpgradeToDevice), varargs...) |
| 63 | } |
| 64 | |
| 65 | // ActivateImage mocks base method. |
| 66 | func (m *MockVolthaServiceClient) ActivateImage(ctx context.Context, in *voltha.DeviceImageRequest, opts ...grpc.CallOption) (*voltha.DeviceImageResponse, error) { |
| 67 | m.ctrl.T.Helper() |
| 68 | varargs := []interface{}{ctx, in} |
| 69 | for _, a := range opts { |
| 70 | varargs = append(varargs, a) |
| 71 | } |
| 72 | ret := m.ctrl.Call(m, "ActivateImage", varargs...) |
| 73 | ret0, _ := ret[0].(*voltha.DeviceImageResponse) |
| 74 | ret1, _ := ret[1].(error) |
| 75 | return ret0, ret1 |
| 76 | } |
| 77 | |
| 78 | // ActivateImage indicates an expected call of ActivateImage. |
| 79 | func (mr *MockVolthaServiceClientMockRecorder) ActivateImage(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 80 | mr.mock.ctrl.T.Helper() |
| 81 | varargs := append([]interface{}{ctx, in}, opts...) |
| 82 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ActivateImage", reflect.TypeOf((*MockVolthaServiceClient)(nil).ActivateImage), varargs...) |
| 83 | } |
| 84 | |
| 85 | // ActivateImageUpdate mocks base method. |
| 86 | func (m *MockVolthaServiceClient) ActivateImageUpdate(ctx context.Context, in *voltha.ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) { |
| 87 | m.ctrl.T.Helper() |
| 88 | varargs := []interface{}{ctx, in} |
| 89 | for _, a := range opts { |
| 90 | varargs = append(varargs, a) |
| 91 | } |
| 92 | ret := m.ctrl.Call(m, "ActivateImageUpdate", varargs...) |
| 93 | ret0, _ := ret[0].(*common.OperationResp) |
| 94 | ret1, _ := ret[1].(error) |
| 95 | return ret0, ret1 |
| 96 | } |
| 97 | |
| 98 | // ActivateImageUpdate indicates an expected call of ActivateImageUpdate. |
| 99 | func (mr *MockVolthaServiceClientMockRecorder) ActivateImageUpdate(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 100 | mr.mock.ctrl.T.Helper() |
| 101 | varargs := append([]interface{}{ctx, in}, opts...) |
| 102 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ActivateImageUpdate", reflect.TypeOf((*MockVolthaServiceClient)(nil).ActivateImageUpdate), varargs...) |
| 103 | } |
| 104 | |
| 105 | // CancelImageDownload mocks base method. |
| 106 | func (m *MockVolthaServiceClient) CancelImageDownload(ctx context.Context, in *voltha.ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) { |
| 107 | m.ctrl.T.Helper() |
| 108 | varargs := []interface{}{ctx, in} |
| 109 | for _, a := range opts { |
| 110 | varargs = append(varargs, a) |
| 111 | } |
| 112 | ret := m.ctrl.Call(m, "CancelImageDownload", varargs...) |
| 113 | ret0, _ := ret[0].(*common.OperationResp) |
| 114 | ret1, _ := ret[1].(error) |
| 115 | return ret0, ret1 |
| 116 | } |
| 117 | |
| 118 | // CancelImageDownload indicates an expected call of CancelImageDownload. |
| 119 | func (mr *MockVolthaServiceClientMockRecorder) CancelImageDownload(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 120 | mr.mock.ctrl.T.Helper() |
| 121 | varargs := append([]interface{}{ctx, in}, opts...) |
| 122 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CancelImageDownload", reflect.TypeOf((*MockVolthaServiceClient)(nil).CancelImageDownload), varargs...) |
| 123 | } |
| 124 | |
| 125 | // CommitImage mocks base method. |
| 126 | func (m *MockVolthaServiceClient) CommitImage(ctx context.Context, in *voltha.DeviceImageRequest, opts ...grpc.CallOption) (*voltha.DeviceImageResponse, error) { |
| 127 | m.ctrl.T.Helper() |
| 128 | varargs := []interface{}{ctx, in} |
| 129 | for _, a := range opts { |
| 130 | varargs = append(varargs, a) |
| 131 | } |
| 132 | ret := m.ctrl.Call(m, "CommitImage", varargs...) |
| 133 | ret0, _ := ret[0].(*voltha.DeviceImageResponse) |
| 134 | ret1, _ := ret[1].(error) |
| 135 | return ret0, ret1 |
| 136 | } |
| 137 | |
| 138 | // CommitImage indicates an expected call of CommitImage. |
| 139 | func (mr *MockVolthaServiceClientMockRecorder) CommitImage(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 140 | mr.mock.ctrl.T.Helper() |
| 141 | varargs := append([]interface{}{ctx, in}, opts...) |
| 142 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CommitImage", reflect.TypeOf((*MockVolthaServiceClient)(nil).CommitImage), varargs...) |
| 143 | } |
| 144 | |
| 145 | // CreateDevice mocks base method. |
| 146 | func (m *MockVolthaServiceClient) CreateDevice(ctx context.Context, in *voltha.Device, opts ...grpc.CallOption) (*voltha.Device, error) { |
| 147 | m.ctrl.T.Helper() |
| 148 | varargs := []interface{}{ctx, in} |
| 149 | for _, a := range opts { |
| 150 | varargs = append(varargs, a) |
| 151 | } |
| 152 | ret := m.ctrl.Call(m, "CreateDevice", varargs...) |
| 153 | ret0, _ := ret[0].(*voltha.Device) |
| 154 | ret1, _ := ret[1].(error) |
| 155 | return ret0, ret1 |
| 156 | } |
| 157 | |
| 158 | // CreateDevice indicates an expected call of CreateDevice. |
| 159 | func (mr *MockVolthaServiceClientMockRecorder) CreateDevice(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 160 | mr.mock.ctrl.T.Helper() |
| 161 | varargs := append([]interface{}{ctx, in}, opts...) |
| 162 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).CreateDevice), varargs...) |
| 163 | } |
| 164 | |
| 165 | // CreateEventFilter mocks base method. |
| 166 | func (m *MockVolthaServiceClient) CreateEventFilter(ctx context.Context, in *voltha.EventFilter, opts ...grpc.CallOption) (*voltha.EventFilter, error) { |
| 167 | m.ctrl.T.Helper() |
| 168 | varargs := []interface{}{ctx, in} |
| 169 | for _, a := range opts { |
| 170 | varargs = append(varargs, a) |
| 171 | } |
| 172 | ret := m.ctrl.Call(m, "CreateEventFilter", varargs...) |
| 173 | ret0, _ := ret[0].(*voltha.EventFilter) |
| 174 | ret1, _ := ret[1].(error) |
| 175 | return ret0, ret1 |
| 176 | } |
| 177 | |
| 178 | // CreateEventFilter indicates an expected call of CreateEventFilter. |
| 179 | func (mr *MockVolthaServiceClientMockRecorder) CreateEventFilter(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 180 | mr.mock.ctrl.T.Helper() |
| 181 | varargs := append([]interface{}{ctx, in}, opts...) |
| 182 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateEventFilter", reflect.TypeOf((*MockVolthaServiceClient)(nil).CreateEventFilter), varargs...) |
| 183 | } |
| 184 | |
| 185 | // DeleteDevice mocks base method. |
| 186 | func (m *MockVolthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 187 | m.ctrl.T.Helper() |
| 188 | varargs := []interface{}{ctx, in} |
| 189 | for _, a := range opts { |
| 190 | varargs = append(varargs, a) |
| 191 | } |
| 192 | ret := m.ctrl.Call(m, "DeleteDevice", varargs...) |
| 193 | ret0, _ := ret[0].(*empty.Empty) |
| 194 | ret1, _ := ret[1].(error) |
| 195 | return ret0, ret1 |
| 196 | } |
| 197 | |
| 198 | // DeleteDevice indicates an expected call of DeleteDevice. |
| 199 | func (mr *MockVolthaServiceClientMockRecorder) DeleteDevice(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 200 | mr.mock.ctrl.T.Helper() |
| 201 | varargs := append([]interface{}{ctx, in}, opts...) |
| 202 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).DeleteDevice), varargs...) |
| 203 | } |
| 204 | |
| 205 | // DeleteEventFilter mocks base method. |
| 206 | func (m *MockVolthaServiceClient) DeleteEventFilter(ctx context.Context, in *voltha.EventFilter, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 207 | m.ctrl.T.Helper() |
| 208 | varargs := []interface{}{ctx, in} |
| 209 | for _, a := range opts { |
| 210 | varargs = append(varargs, a) |
| 211 | } |
| 212 | ret := m.ctrl.Call(m, "DeleteEventFilter", varargs...) |
| 213 | ret0, _ := ret[0].(*empty.Empty) |
| 214 | ret1, _ := ret[1].(error) |
| 215 | return ret0, ret1 |
| 216 | } |
| 217 | |
| 218 | // DeleteEventFilter indicates an expected call of DeleteEventFilter. |
| 219 | func (mr *MockVolthaServiceClientMockRecorder) DeleteEventFilter(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 220 | mr.mock.ctrl.T.Helper() |
| 221 | varargs := append([]interface{}{ctx, in}, opts...) |
| 222 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteEventFilter", reflect.TypeOf((*MockVolthaServiceClient)(nil).DeleteEventFilter), varargs...) |
| 223 | } |
| 224 | |
| 225 | // DisableDevice mocks base method. |
| 226 | func (m *MockVolthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 227 | m.ctrl.T.Helper() |
| 228 | varargs := []interface{}{ctx, in} |
| 229 | for _, a := range opts { |
| 230 | varargs = append(varargs, a) |
| 231 | } |
| 232 | ret := m.ctrl.Call(m, "DisableDevice", varargs...) |
| 233 | ret0, _ := ret[0].(*empty.Empty) |
| 234 | ret1, _ := ret[1].(error) |
| 235 | return ret0, ret1 |
| 236 | } |
| 237 | |
| 238 | // DisableDevice indicates an expected call of DisableDevice. |
| 239 | func (mr *MockVolthaServiceClientMockRecorder) DisableDevice(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 240 | mr.mock.ctrl.T.Helper() |
| 241 | varargs := append([]interface{}{ctx, in}, opts...) |
| 242 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).DisableDevice), varargs...) |
| 243 | } |
| 244 | |
| 245 | // DisableLogicalDevicePort mocks base method. |
| 246 | func (m *MockVolthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *voltha.LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 247 | m.ctrl.T.Helper() |
| 248 | varargs := []interface{}{ctx, in} |
| 249 | for _, a := range opts { |
| 250 | varargs = append(varargs, a) |
| 251 | } |
| 252 | ret := m.ctrl.Call(m, "DisableLogicalDevicePort", varargs...) |
| 253 | ret0, _ := ret[0].(*empty.Empty) |
| 254 | ret1, _ := ret[1].(error) |
| 255 | return ret0, ret1 |
| 256 | } |
| 257 | |
| 258 | // DisableLogicalDevicePort indicates an expected call of DisableLogicalDevicePort. |
| 259 | func (mr *MockVolthaServiceClientMockRecorder) DisableLogicalDevicePort(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 260 | mr.mock.ctrl.T.Helper() |
| 261 | varargs := append([]interface{}{ctx, in}, opts...) |
| 262 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableLogicalDevicePort", reflect.TypeOf((*MockVolthaServiceClient)(nil).DisableLogicalDevicePort), varargs...) |
| 263 | } |
| 264 | |
| 265 | // DisablePort mocks base method. |
| 266 | func (m *MockVolthaServiceClient) DisablePort(ctx context.Context, in *voltha.Port, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 267 | m.ctrl.T.Helper() |
| 268 | varargs := []interface{}{ctx, in} |
| 269 | for _, a := range opts { |
| 270 | varargs = append(varargs, a) |
| 271 | } |
| 272 | ret := m.ctrl.Call(m, "DisablePort", varargs...) |
| 273 | ret0, _ := ret[0].(*empty.Empty) |
| 274 | ret1, _ := ret[1].(error) |
| 275 | return ret0, ret1 |
| 276 | } |
| 277 | |
| 278 | // DisablePort indicates an expected call of DisablePort. |
| 279 | func (mr *MockVolthaServiceClientMockRecorder) DisablePort(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 280 | mr.mock.ctrl.T.Helper() |
| 281 | varargs := append([]interface{}{ctx, in}, opts...) |
| 282 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisablePort", reflect.TypeOf((*MockVolthaServiceClient)(nil).DisablePort), varargs...) |
| 283 | } |
| 284 | |
| 285 | // DownloadImage mocks base method. |
| 286 | func (m *MockVolthaServiceClient) DownloadImage(ctx context.Context, in *voltha.ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) { |
| 287 | m.ctrl.T.Helper() |
| 288 | varargs := []interface{}{ctx, in} |
| 289 | for _, a := range opts { |
| 290 | varargs = append(varargs, a) |
| 291 | } |
| 292 | ret := m.ctrl.Call(m, "DownloadImage", varargs...) |
| 293 | ret0, _ := ret[0].(*common.OperationResp) |
| 294 | ret1, _ := ret[1].(error) |
| 295 | return ret0, ret1 |
| 296 | } |
| 297 | |
| 298 | // DownloadImage indicates an expected call of DownloadImage. |
| 299 | func (mr *MockVolthaServiceClientMockRecorder) DownloadImage(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 300 | mr.mock.ctrl.T.Helper() |
| 301 | varargs := append([]interface{}{ctx, in}, opts...) |
| 302 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DownloadImage", reflect.TypeOf((*MockVolthaServiceClient)(nil).DownloadImage), varargs...) |
| 303 | } |
| 304 | |
| 305 | // DownloadImageToDevice mocks base method. |
| 306 | func (m *MockVolthaServiceClient) DownloadImageToDevice(ctx context.Context, in *voltha.DeviceImageDownloadRequest, opts ...grpc.CallOption) (*voltha.DeviceImageResponse, error) { |
| 307 | m.ctrl.T.Helper() |
| 308 | varargs := []interface{}{ctx, in} |
| 309 | for _, a := range opts { |
| 310 | varargs = append(varargs, a) |
| 311 | } |
| 312 | ret := m.ctrl.Call(m, "DownloadImageToDevice", varargs...) |
| 313 | ret0, _ := ret[0].(*voltha.DeviceImageResponse) |
| 314 | ret1, _ := ret[1].(error) |
| 315 | return ret0, ret1 |
| 316 | } |
| 317 | |
| 318 | // DownloadImageToDevice indicates an expected call of DownloadImageToDevice. |
| 319 | func (mr *MockVolthaServiceClientMockRecorder) DownloadImageToDevice(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 320 | mr.mock.ctrl.T.Helper() |
| 321 | varargs := append([]interface{}{ctx, in}, opts...) |
| 322 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DownloadImageToDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).DownloadImageToDevice), varargs...) |
| 323 | } |
| 324 | |
| 325 | // EnableDevice mocks base method. |
| 326 | func (m *MockVolthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 327 | m.ctrl.T.Helper() |
| 328 | varargs := []interface{}{ctx, in} |
| 329 | for _, a := range opts { |
| 330 | varargs = append(varargs, a) |
| 331 | } |
| 332 | ret := m.ctrl.Call(m, "EnableDevice", varargs...) |
| 333 | ret0, _ := ret[0].(*empty.Empty) |
| 334 | ret1, _ := ret[1].(error) |
| 335 | return ret0, ret1 |
| 336 | } |
| 337 | |
| 338 | // EnableDevice indicates an expected call of EnableDevice. |
| 339 | func (mr *MockVolthaServiceClientMockRecorder) EnableDevice(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 340 | mr.mock.ctrl.T.Helper() |
| 341 | varargs := append([]interface{}{ctx, in}, opts...) |
| 342 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).EnableDevice), varargs...) |
| 343 | } |
| 344 | |
| 345 | // EnableLogicalDevicePort mocks base method. |
| 346 | func (m *MockVolthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *voltha.LogicalPortId, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 347 | m.ctrl.T.Helper() |
| 348 | varargs := []interface{}{ctx, in} |
| 349 | for _, a := range opts { |
| 350 | varargs = append(varargs, a) |
| 351 | } |
| 352 | ret := m.ctrl.Call(m, "EnableLogicalDevicePort", varargs...) |
| 353 | ret0, _ := ret[0].(*empty.Empty) |
| 354 | ret1, _ := ret[1].(error) |
| 355 | return ret0, ret1 |
| 356 | } |
| 357 | |
| 358 | // EnableLogicalDevicePort indicates an expected call of EnableLogicalDevicePort. |
| 359 | func (mr *MockVolthaServiceClientMockRecorder) EnableLogicalDevicePort(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 360 | mr.mock.ctrl.T.Helper() |
| 361 | varargs := append([]interface{}{ctx, in}, opts...) |
| 362 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableLogicalDevicePort", reflect.TypeOf((*MockVolthaServiceClient)(nil).EnableLogicalDevicePort), varargs...) |
| 363 | } |
| 364 | |
| 365 | // EnablePort mocks base method. |
| 366 | func (m *MockVolthaServiceClient) EnablePort(ctx context.Context, in *voltha.Port, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 367 | m.ctrl.T.Helper() |
| 368 | varargs := []interface{}{ctx, in} |
| 369 | for _, a := range opts { |
| 370 | varargs = append(varargs, a) |
| 371 | } |
| 372 | ret := m.ctrl.Call(m, "EnablePort", varargs...) |
| 373 | ret0, _ := ret[0].(*empty.Empty) |
| 374 | ret1, _ := ret[1].(error) |
| 375 | return ret0, ret1 |
| 376 | } |
| 377 | |
| 378 | // EnablePort indicates an expected call of EnablePort. |
| 379 | func (mr *MockVolthaServiceClientMockRecorder) EnablePort(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 380 | mr.mock.ctrl.T.Helper() |
| 381 | varargs := append([]interface{}{ctx, in}, opts...) |
| 382 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnablePort", reflect.TypeOf((*MockVolthaServiceClient)(nil).EnablePort), varargs...) |
| 383 | } |
| 384 | |
| 385 | // ForceDeleteDevice mocks base method. |
| 386 | func (m *MockVolthaServiceClient) ForceDeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 387 | m.ctrl.T.Helper() |
| 388 | varargs := []interface{}{ctx, in} |
| 389 | for _, a := range opts { |
| 390 | varargs = append(varargs, a) |
| 391 | } |
| 392 | ret := m.ctrl.Call(m, "ForceDeleteDevice", varargs...) |
| 393 | ret0, _ := ret[0].(*empty.Empty) |
| 394 | ret1, _ := ret[1].(error) |
| 395 | return ret0, ret1 |
| 396 | } |
| 397 | |
| 398 | // ForceDeleteDevice indicates an expected call of ForceDeleteDevice. |
| 399 | func (mr *MockVolthaServiceClientMockRecorder) ForceDeleteDevice(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 400 | mr.mock.ctrl.T.Helper() |
| 401 | varargs := append([]interface{}{ctx, in}, opts...) |
| 402 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ForceDeleteDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).ForceDeleteDevice), varargs...) |
| 403 | } |
| 404 | |
| 405 | // GetAlarmDeviceData mocks base method. |
| 406 | func (m *MockVolthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) { |
| 407 | m.ctrl.T.Helper() |
| 408 | varargs := []interface{}{ctx, in} |
| 409 | for _, a := range opts { |
| 410 | varargs = append(varargs, a) |
| 411 | } |
| 412 | ret := m.ctrl.Call(m, "GetAlarmDeviceData", varargs...) |
| 413 | ret0, _ := ret[0].(*omci.AlarmDeviceData) |
| 414 | ret1, _ := ret[1].(error) |
| 415 | return ret0, ret1 |
| 416 | } |
| 417 | |
| 418 | // GetAlarmDeviceData indicates an expected call of GetAlarmDeviceData. |
| 419 | func (mr *MockVolthaServiceClientMockRecorder) GetAlarmDeviceData(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 420 | mr.mock.ctrl.T.Helper() |
| 421 | varargs := append([]interface{}{ctx, in}, opts...) |
| 422 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAlarmDeviceData", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetAlarmDeviceData), varargs...) |
| 423 | } |
| 424 | |
| 425 | // GetCoreInstance mocks base method. |
| 426 | func (m *MockVolthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.CoreInstance, error) { |
| 427 | m.ctrl.T.Helper() |
| 428 | varargs := []interface{}{ctx, in} |
| 429 | for _, a := range opts { |
| 430 | varargs = append(varargs, a) |
| 431 | } |
| 432 | ret := m.ctrl.Call(m, "GetCoreInstance", varargs...) |
| 433 | ret0, _ := ret[0].(*voltha.CoreInstance) |
| 434 | ret1, _ := ret[1].(error) |
| 435 | return ret0, ret1 |
| 436 | } |
| 437 | |
| 438 | // GetCoreInstance indicates an expected call of GetCoreInstance. |
| 439 | func (mr *MockVolthaServiceClientMockRecorder) GetCoreInstance(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 440 | mr.mock.ctrl.T.Helper() |
| 441 | varargs := append([]interface{}{ctx, in}, opts...) |
| 442 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCoreInstance", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetCoreInstance), varargs...) |
| 443 | } |
| 444 | |
| 445 | // GetDevice mocks base method. |
| 446 | func (m *MockVolthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.Device, error) { |
| 447 | m.ctrl.T.Helper() |
| 448 | varargs := []interface{}{ctx, in} |
| 449 | for _, a := range opts { |
| 450 | varargs = append(varargs, a) |
| 451 | } |
| 452 | ret := m.ctrl.Call(m, "GetDevice", varargs...) |
| 453 | ret0, _ := ret[0].(*voltha.Device) |
| 454 | ret1, _ := ret[1].(error) |
| 455 | return ret0, ret1 |
| 456 | } |
| 457 | |
| 458 | // GetDevice indicates an expected call of GetDevice. |
| 459 | func (mr *MockVolthaServiceClientMockRecorder) GetDevice(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 460 | mr.mock.ctrl.T.Helper() |
| 461 | varargs := append([]interface{}{ctx, in}, opts...) |
| 462 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetDevice), varargs...) |
| 463 | } |
| 464 | |
| 465 | // GetDeviceType mocks base method. |
| 466 | func (m *MockVolthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.DeviceType, error) { |
| 467 | m.ctrl.T.Helper() |
| 468 | varargs := []interface{}{ctx, in} |
| 469 | for _, a := range opts { |
| 470 | varargs = append(varargs, a) |
| 471 | } |
| 472 | ret := m.ctrl.Call(m, "GetDeviceType", varargs...) |
| 473 | ret0, _ := ret[0].(*voltha.DeviceType) |
| 474 | ret1, _ := ret[1].(error) |
| 475 | return ret0, ret1 |
| 476 | } |
| 477 | |
| 478 | // GetDeviceType indicates an expected call of GetDeviceType. |
| 479 | func (mr *MockVolthaServiceClientMockRecorder) GetDeviceType(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 480 | mr.mock.ctrl.T.Helper() |
| 481 | varargs := append([]interface{}{ctx, in}, opts...) |
| 482 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeviceType", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetDeviceType), varargs...) |
| 483 | } |
| 484 | |
| 485 | // GetEventFilter mocks base method. |
| 486 | func (m *MockVolthaServiceClient) GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.EventFilters, error) { |
| 487 | m.ctrl.T.Helper() |
| 488 | varargs := []interface{}{ctx, in} |
| 489 | for _, a := range opts { |
| 490 | varargs = append(varargs, a) |
| 491 | } |
| 492 | ret := m.ctrl.Call(m, "GetEventFilter", varargs...) |
| 493 | ret0, _ := ret[0].(*voltha.EventFilters) |
| 494 | ret1, _ := ret[1].(error) |
| 495 | return ret0, ret1 |
| 496 | } |
| 497 | |
| 498 | // GetEventFilter indicates an expected call of GetEventFilter. |
| 499 | func (mr *MockVolthaServiceClientMockRecorder) GetEventFilter(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 500 | mr.mock.ctrl.T.Helper() |
| 501 | varargs := append([]interface{}{ctx, in}, opts...) |
| 502 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEventFilter", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetEventFilter), varargs...) |
| 503 | } |
| 504 | |
| 505 | // GetExtValue mocks base method. |
| 506 | func (m *MockVolthaServiceClient) GetExtValue(ctx context.Context, in *extension.ValueSpecifier, opts ...grpc.CallOption) (*extension.ReturnValues, error) { |
| 507 | m.ctrl.T.Helper() |
| 508 | varargs := []interface{}{ctx, in} |
| 509 | for _, a := range opts { |
| 510 | varargs = append(varargs, a) |
| 511 | } |
| 512 | ret := m.ctrl.Call(m, "GetExtValue", varargs...) |
| 513 | ret0, _ := ret[0].(*extension.ReturnValues) |
| 514 | ret1, _ := ret[1].(error) |
| 515 | return ret0, ret1 |
| 516 | } |
| 517 | |
| 518 | // GetExtValue indicates an expected call of GetExtValue. |
| 519 | func (mr *MockVolthaServiceClientMockRecorder) GetExtValue(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 520 | mr.mock.ctrl.T.Helper() |
| 521 | varargs := append([]interface{}{ctx, in}, opts...) |
| 522 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetExtValue", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetExtValue), varargs...) |
| 523 | } |
| 524 | |
| 525 | // GetImageDownload mocks base method. |
| 526 | func (m *MockVolthaServiceClient) GetImageDownload(ctx context.Context, in *voltha.ImageDownload, opts ...grpc.CallOption) (*voltha.ImageDownload, error) { |
| 527 | m.ctrl.T.Helper() |
| 528 | varargs := []interface{}{ctx, in} |
| 529 | for _, a := range opts { |
| 530 | varargs = append(varargs, a) |
| 531 | } |
| 532 | ret := m.ctrl.Call(m, "GetImageDownload", varargs...) |
| 533 | ret0, _ := ret[0].(*voltha.ImageDownload) |
| 534 | ret1, _ := ret[1].(error) |
| 535 | return ret0, ret1 |
| 536 | } |
| 537 | |
| 538 | // GetImageDownload indicates an expected call of GetImageDownload. |
| 539 | func (mr *MockVolthaServiceClientMockRecorder) GetImageDownload(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 540 | mr.mock.ctrl.T.Helper() |
| 541 | varargs := append([]interface{}{ctx, in}, opts...) |
| 542 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetImageDownload", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetImageDownload), varargs...) |
| 543 | } |
| 544 | |
| 545 | // GetImageDownloadStatus mocks base method. |
| 546 | func (m *MockVolthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *voltha.ImageDownload, opts ...grpc.CallOption) (*voltha.ImageDownload, error) { |
| 547 | m.ctrl.T.Helper() |
| 548 | varargs := []interface{}{ctx, in} |
| 549 | for _, a := range opts { |
| 550 | varargs = append(varargs, a) |
| 551 | } |
| 552 | ret := m.ctrl.Call(m, "GetImageDownloadStatus", varargs...) |
| 553 | ret0, _ := ret[0].(*voltha.ImageDownload) |
| 554 | ret1, _ := ret[1].(error) |
| 555 | return ret0, ret1 |
| 556 | } |
| 557 | |
| 558 | // GetImageDownloadStatus indicates an expected call of GetImageDownloadStatus. |
| 559 | func (mr *MockVolthaServiceClientMockRecorder) GetImageDownloadStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 560 | mr.mock.ctrl.T.Helper() |
| 561 | varargs := append([]interface{}{ctx, in}, opts...) |
| 562 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetImageDownloadStatus", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetImageDownloadStatus), varargs...) |
| 563 | } |
| 564 | |
| 565 | // GetImageStatus mocks base method. |
| 566 | func (m *MockVolthaServiceClient) GetImageStatus(ctx context.Context, in *voltha.DeviceImageRequest, opts ...grpc.CallOption) (*voltha.DeviceImageResponse, error) { |
| 567 | m.ctrl.T.Helper() |
| 568 | varargs := []interface{}{ctx, in} |
| 569 | for _, a := range opts { |
| 570 | varargs = append(varargs, a) |
| 571 | } |
| 572 | ret := m.ctrl.Call(m, "GetImageStatus", varargs...) |
| 573 | ret0, _ := ret[0].(*voltha.DeviceImageResponse) |
| 574 | ret1, _ := ret[1].(error) |
| 575 | return ret0, ret1 |
| 576 | } |
| 577 | |
| 578 | // GetImageStatus indicates an expected call of GetImageStatus. |
| 579 | func (mr *MockVolthaServiceClientMockRecorder) GetImageStatus(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 580 | mr.mock.ctrl.T.Helper() |
| 581 | varargs := append([]interface{}{ctx, in}, opts...) |
| 582 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetImageStatus", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetImageStatus), varargs...) |
| 583 | } |
| 584 | |
| 585 | // GetImages mocks base method. |
| 586 | func (m *MockVolthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.Images, error) { |
| 587 | m.ctrl.T.Helper() |
| 588 | varargs := []interface{}{ctx, in} |
| 589 | for _, a := range opts { |
| 590 | varargs = append(varargs, a) |
| 591 | } |
| 592 | ret := m.ctrl.Call(m, "GetImages", varargs...) |
| 593 | ret0, _ := ret[0].(*voltha.Images) |
| 594 | ret1, _ := ret[1].(error) |
| 595 | return ret0, ret1 |
| 596 | } |
| 597 | |
| 598 | // GetImages indicates an expected call of GetImages. |
| 599 | func (mr *MockVolthaServiceClientMockRecorder) GetImages(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 600 | mr.mock.ctrl.T.Helper() |
| 601 | varargs := append([]interface{}{ctx, in}, opts...) |
| 602 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetImages", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetImages), varargs...) |
| 603 | } |
| 604 | |
| 605 | // GetLogicalDevice mocks base method. |
| 606 | func (m *MockVolthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.LogicalDevice, error) { |
| 607 | m.ctrl.T.Helper() |
| 608 | varargs := []interface{}{ctx, in} |
| 609 | for _, a := range opts { |
| 610 | varargs = append(varargs, a) |
| 611 | } |
| 612 | ret := m.ctrl.Call(m, "GetLogicalDevice", varargs...) |
| 613 | ret0, _ := ret[0].(*voltha.LogicalDevice) |
| 614 | ret1, _ := ret[1].(error) |
| 615 | return ret0, ret1 |
| 616 | } |
| 617 | |
| 618 | // GetLogicalDevice indicates an expected call of GetLogicalDevice. |
| 619 | func (mr *MockVolthaServiceClientMockRecorder) GetLogicalDevice(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 620 | mr.mock.ctrl.T.Helper() |
| 621 | varargs := append([]interface{}{ctx, in}, opts...) |
| 622 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetLogicalDevice), varargs...) |
| 623 | } |
| 624 | |
| 625 | // GetLogicalDevicePort mocks base method. |
| 626 | func (m *MockVolthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *voltha.LogicalPortId, opts ...grpc.CallOption) (*voltha.LogicalPort, error) { |
| 627 | m.ctrl.T.Helper() |
| 628 | varargs := []interface{}{ctx, in} |
| 629 | for _, a := range opts { |
| 630 | varargs = append(varargs, a) |
| 631 | } |
| 632 | ret := m.ctrl.Call(m, "GetLogicalDevicePort", varargs...) |
| 633 | ret0, _ := ret[0].(*voltha.LogicalPort) |
| 634 | ret1, _ := ret[1].(error) |
| 635 | return ret0, ret1 |
| 636 | } |
| 637 | |
| 638 | // GetLogicalDevicePort indicates an expected call of GetLogicalDevicePort. |
| 639 | func (mr *MockVolthaServiceClientMockRecorder) GetLogicalDevicePort(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 640 | mr.mock.ctrl.T.Helper() |
| 641 | varargs := append([]interface{}{ctx, in}, opts...) |
| 642 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalDevicePort", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetLogicalDevicePort), varargs...) |
| 643 | } |
| 644 | |
| 645 | // GetMibDeviceData mocks base method. |
| 646 | func (m *MockVolthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) { |
| 647 | m.ctrl.T.Helper() |
| 648 | varargs := []interface{}{ctx, in} |
| 649 | for _, a := range opts { |
| 650 | varargs = append(varargs, a) |
| 651 | } |
| 652 | ret := m.ctrl.Call(m, "GetMibDeviceData", varargs...) |
| 653 | ret0, _ := ret[0].(*omci.MibDeviceData) |
| 654 | ret1, _ := ret[1].(error) |
| 655 | return ret0, ret1 |
| 656 | } |
| 657 | |
| 658 | // GetMibDeviceData indicates an expected call of GetMibDeviceData. |
| 659 | func (mr *MockVolthaServiceClientMockRecorder) GetMibDeviceData(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 660 | mr.mock.ctrl.T.Helper() |
| 661 | varargs := append([]interface{}{ctx, in}, opts...) |
| 662 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMibDeviceData", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetMibDeviceData), varargs...) |
| 663 | } |
| 664 | |
| 665 | // GetOnuImages mocks base method. |
| 666 | func (m *MockVolthaServiceClient) GetOnuImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.OnuImages, error) { |
| 667 | m.ctrl.T.Helper() |
| 668 | varargs := []interface{}{ctx, in} |
| 669 | for _, a := range opts { |
| 670 | varargs = append(varargs, a) |
| 671 | } |
| 672 | ret := m.ctrl.Call(m, "GetOnuImages", varargs...) |
| 673 | ret0, _ := ret[0].(*voltha.OnuImages) |
| 674 | ret1, _ := ret[1].(error) |
| 675 | return ret0, ret1 |
| 676 | } |
| 677 | |
| 678 | // GetOnuImages indicates an expected call of GetOnuImages. |
| 679 | func (mr *MockVolthaServiceClientMockRecorder) GetOnuImages(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 680 | mr.mock.ctrl.T.Helper() |
| 681 | varargs := append([]interface{}{ctx, in}, opts...) |
| 682 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOnuImages", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetOnuImages), varargs...) |
| 683 | } |
| 684 | |
| 685 | // GetVoltha mocks base method. |
| 686 | func (m *MockVolthaServiceClient) GetVoltha(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*voltha.Voltha, error) { |
| 687 | m.ctrl.T.Helper() |
| 688 | varargs := []interface{}{ctx, in} |
| 689 | for _, a := range opts { |
| 690 | varargs = append(varargs, a) |
| 691 | } |
| 692 | ret := m.ctrl.Call(m, "GetVoltha", varargs...) |
| 693 | ret0, _ := ret[0].(*voltha.Voltha) |
| 694 | ret1, _ := ret[1].(error) |
| 695 | return ret0, ret1 |
| 696 | } |
| 697 | |
| 698 | // GetVoltha indicates an expected call of GetVoltha. |
| 699 | func (mr *MockVolthaServiceClientMockRecorder) GetVoltha(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 700 | mr.mock.ctrl.T.Helper() |
| 701 | varargs := append([]interface{}{ctx, in}, opts...) |
| 702 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVoltha", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetVoltha), varargs...) |
| 703 | } |
| 704 | |
| 705 | // ListAdapters mocks base method. |
| 706 | func (m *MockVolthaServiceClient) ListAdapters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*voltha.Adapters, error) { |
| 707 | m.ctrl.T.Helper() |
| 708 | varargs := []interface{}{ctx, in} |
| 709 | for _, a := range opts { |
| 710 | varargs = append(varargs, a) |
| 711 | } |
| 712 | ret := m.ctrl.Call(m, "ListAdapters", varargs...) |
| 713 | ret0, _ := ret[0].(*voltha.Adapters) |
| 714 | ret1, _ := ret[1].(error) |
| 715 | return ret0, ret1 |
| 716 | } |
| 717 | |
| 718 | // ListAdapters indicates an expected call of ListAdapters. |
| 719 | func (mr *MockVolthaServiceClientMockRecorder) ListAdapters(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 720 | mr.mock.ctrl.T.Helper() |
| 721 | varargs := append([]interface{}{ctx, in}, opts...) |
| 722 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAdapters", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListAdapters), varargs...) |
| 723 | } |
| 724 | |
| 725 | // ListCoreInstances mocks base method. |
| 726 | func (m *MockVolthaServiceClient) ListCoreInstances(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*voltha.CoreInstances, error) { |
| 727 | m.ctrl.T.Helper() |
| 728 | varargs := []interface{}{ctx, in} |
| 729 | for _, a := range opts { |
| 730 | varargs = append(varargs, a) |
| 731 | } |
| 732 | ret := m.ctrl.Call(m, "ListCoreInstances", varargs...) |
| 733 | ret0, _ := ret[0].(*voltha.CoreInstances) |
| 734 | ret1, _ := ret[1].(error) |
| 735 | return ret0, ret1 |
| 736 | } |
| 737 | |
| 738 | // ListCoreInstances indicates an expected call of ListCoreInstances. |
| 739 | func (mr *MockVolthaServiceClientMockRecorder) ListCoreInstances(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 740 | mr.mock.ctrl.T.Helper() |
| 741 | varargs := append([]interface{}{ctx, in}, opts...) |
| 742 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListCoreInstances", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListCoreInstances), varargs...) |
| 743 | } |
| 744 | |
| 745 | // ListDeviceFlowGroups mocks base method. |
| 746 | func (m *MockVolthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) { |
| 747 | m.ctrl.T.Helper() |
| 748 | varargs := []interface{}{ctx, in} |
| 749 | for _, a := range opts { |
| 750 | varargs = append(varargs, a) |
| 751 | } |
| 752 | ret := m.ctrl.Call(m, "ListDeviceFlowGroups", varargs...) |
| 753 | ret0, _ := ret[0].(*openflow_13.FlowGroups) |
| 754 | ret1, _ := ret[1].(error) |
| 755 | return ret0, ret1 |
| 756 | } |
| 757 | |
| 758 | // ListDeviceFlowGroups indicates an expected call of ListDeviceFlowGroups. |
| 759 | func (mr *MockVolthaServiceClientMockRecorder) ListDeviceFlowGroups(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 760 | mr.mock.ctrl.T.Helper() |
| 761 | varargs := append([]interface{}{ctx, in}, opts...) |
| 762 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDeviceFlowGroups", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListDeviceFlowGroups), varargs...) |
| 763 | } |
| 764 | |
| 765 | // ListDeviceFlows mocks base method. |
| 766 | func (m *MockVolthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) { |
| 767 | m.ctrl.T.Helper() |
| 768 | varargs := []interface{}{ctx, in} |
| 769 | for _, a := range opts { |
| 770 | varargs = append(varargs, a) |
| 771 | } |
| 772 | ret := m.ctrl.Call(m, "ListDeviceFlows", varargs...) |
| 773 | ret0, _ := ret[0].(*openflow_13.Flows) |
| 774 | ret1, _ := ret[1].(error) |
| 775 | return ret0, ret1 |
| 776 | } |
| 777 | |
| 778 | // ListDeviceFlows indicates an expected call of ListDeviceFlows. |
| 779 | func (mr *MockVolthaServiceClientMockRecorder) ListDeviceFlows(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 780 | mr.mock.ctrl.T.Helper() |
| 781 | varargs := append([]interface{}{ctx, in}, opts...) |
| 782 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDeviceFlows", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListDeviceFlows), varargs...) |
| 783 | } |
| 784 | |
| 785 | // ListDeviceIds mocks base method. |
| 786 | func (m *MockVolthaServiceClient) ListDeviceIds(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*common.IDs, error) { |
| 787 | m.ctrl.T.Helper() |
| 788 | varargs := []interface{}{ctx, in} |
| 789 | for _, a := range opts { |
| 790 | varargs = append(varargs, a) |
| 791 | } |
| 792 | ret := m.ctrl.Call(m, "ListDeviceIds", varargs...) |
| 793 | ret0, _ := ret[0].(*common.IDs) |
| 794 | ret1, _ := ret[1].(error) |
| 795 | return ret0, ret1 |
| 796 | } |
| 797 | |
| 798 | // ListDeviceIds indicates an expected call of ListDeviceIds. |
| 799 | func (mr *MockVolthaServiceClientMockRecorder) ListDeviceIds(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 800 | mr.mock.ctrl.T.Helper() |
| 801 | varargs := append([]interface{}{ctx, in}, opts...) |
| 802 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDeviceIds", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListDeviceIds), varargs...) |
| 803 | } |
| 804 | |
| 805 | // ListDevicePmConfigs mocks base method. |
| 806 | func (m *MockVolthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.PmConfigs, error) { |
| 807 | m.ctrl.T.Helper() |
| 808 | varargs := []interface{}{ctx, in} |
| 809 | for _, a := range opts { |
| 810 | varargs = append(varargs, a) |
| 811 | } |
| 812 | ret := m.ctrl.Call(m, "ListDevicePmConfigs", varargs...) |
| 813 | ret0, _ := ret[0].(*voltha.PmConfigs) |
| 814 | ret1, _ := ret[1].(error) |
| 815 | return ret0, ret1 |
| 816 | } |
| 817 | |
| 818 | // ListDevicePmConfigs indicates an expected call of ListDevicePmConfigs. |
| 819 | func (mr *MockVolthaServiceClientMockRecorder) ListDevicePmConfigs(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 820 | mr.mock.ctrl.T.Helper() |
| 821 | varargs := append([]interface{}{ctx, in}, opts...) |
| 822 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDevicePmConfigs", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListDevicePmConfigs), varargs...) |
| 823 | } |
| 824 | |
| 825 | // ListDevicePorts mocks base method. |
| 826 | func (m *MockVolthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.Ports, error) { |
| 827 | m.ctrl.T.Helper() |
| 828 | varargs := []interface{}{ctx, in} |
| 829 | for _, a := range opts { |
| 830 | varargs = append(varargs, a) |
| 831 | } |
| 832 | ret := m.ctrl.Call(m, "ListDevicePorts", varargs...) |
| 833 | ret0, _ := ret[0].(*voltha.Ports) |
| 834 | ret1, _ := ret[1].(error) |
| 835 | return ret0, ret1 |
| 836 | } |
| 837 | |
| 838 | // ListDevicePorts indicates an expected call of ListDevicePorts. |
| 839 | func (mr *MockVolthaServiceClientMockRecorder) ListDevicePorts(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 840 | mr.mock.ctrl.T.Helper() |
| 841 | varargs := append([]interface{}{ctx, in}, opts...) |
| 842 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDevicePorts", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListDevicePorts), varargs...) |
| 843 | } |
| 844 | |
| 845 | // ListDeviceTypes mocks base method. |
| 846 | func (m *MockVolthaServiceClient) ListDeviceTypes(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*voltha.DeviceTypes, error) { |
| 847 | m.ctrl.T.Helper() |
| 848 | varargs := []interface{}{ctx, in} |
| 849 | for _, a := range opts { |
| 850 | varargs = append(varargs, a) |
| 851 | } |
| 852 | ret := m.ctrl.Call(m, "ListDeviceTypes", varargs...) |
| 853 | ret0, _ := ret[0].(*voltha.DeviceTypes) |
| 854 | ret1, _ := ret[1].(error) |
| 855 | return ret0, ret1 |
| 856 | } |
| 857 | |
| 858 | // ListDeviceTypes indicates an expected call of ListDeviceTypes. |
| 859 | func (mr *MockVolthaServiceClientMockRecorder) ListDeviceTypes(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 860 | mr.mock.ctrl.T.Helper() |
| 861 | varargs := append([]interface{}{ctx, in}, opts...) |
| 862 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDeviceTypes", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListDeviceTypes), varargs...) |
| 863 | } |
| 864 | |
| 865 | // ListDevices mocks base method. |
| 866 | func (m *MockVolthaServiceClient) ListDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*voltha.Devices, error) { |
| 867 | m.ctrl.T.Helper() |
| 868 | varargs := []interface{}{ctx, in} |
| 869 | for _, a := range opts { |
| 870 | varargs = append(varargs, a) |
| 871 | } |
| 872 | ret := m.ctrl.Call(m, "ListDevices", varargs...) |
| 873 | ret0, _ := ret[0].(*voltha.Devices) |
| 874 | ret1, _ := ret[1].(error) |
| 875 | return ret0, ret1 |
| 876 | } |
| 877 | |
| 878 | // ListDevices indicates an expected call of ListDevices. |
| 879 | func (mr *MockVolthaServiceClientMockRecorder) ListDevices(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 880 | mr.mock.ctrl.T.Helper() |
| 881 | varargs := append([]interface{}{ctx, in}, opts...) |
| 882 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDevices", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListDevices), varargs...) |
| 883 | } |
| 884 | |
| 885 | // ListEventFilters mocks base method. |
| 886 | func (m *MockVolthaServiceClient) ListEventFilters(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*voltha.EventFilters, error) { |
| 887 | m.ctrl.T.Helper() |
| 888 | varargs := []interface{}{ctx, in} |
| 889 | for _, a := range opts { |
| 890 | varargs = append(varargs, a) |
| 891 | } |
| 892 | ret := m.ctrl.Call(m, "ListEventFilters", varargs...) |
| 893 | ret0, _ := ret[0].(*voltha.EventFilters) |
| 894 | ret1, _ := ret[1].(error) |
| 895 | return ret0, ret1 |
| 896 | } |
| 897 | |
| 898 | // ListEventFilters indicates an expected call of ListEventFilters. |
| 899 | func (mr *MockVolthaServiceClientMockRecorder) ListEventFilters(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 900 | mr.mock.ctrl.T.Helper() |
| 901 | varargs := append([]interface{}{ctx, in}, opts...) |
| 902 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListEventFilters", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListEventFilters), varargs...) |
| 903 | } |
| 904 | |
| 905 | // ListImageDownloads mocks base method. |
| 906 | func (m *MockVolthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.ImageDownloads, error) { |
| 907 | m.ctrl.T.Helper() |
| 908 | varargs := []interface{}{ctx, in} |
| 909 | for _, a := range opts { |
| 910 | varargs = append(varargs, a) |
| 911 | } |
| 912 | ret := m.ctrl.Call(m, "ListImageDownloads", varargs...) |
| 913 | ret0, _ := ret[0].(*voltha.ImageDownloads) |
| 914 | ret1, _ := ret[1].(error) |
| 915 | return ret0, ret1 |
| 916 | } |
| 917 | |
| 918 | // ListImageDownloads indicates an expected call of ListImageDownloads. |
| 919 | func (mr *MockVolthaServiceClientMockRecorder) ListImageDownloads(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 920 | mr.mock.ctrl.T.Helper() |
| 921 | varargs := append([]interface{}{ctx, in}, opts...) |
| 922 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListImageDownloads", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListImageDownloads), varargs...) |
| 923 | } |
| 924 | |
| 925 | // ListLogicalDeviceFlowGroups mocks base method. |
| 926 | func (m *MockVolthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) { |
| 927 | m.ctrl.T.Helper() |
| 928 | varargs := []interface{}{ctx, in} |
| 929 | for _, a := range opts { |
| 930 | varargs = append(varargs, a) |
| 931 | } |
| 932 | ret := m.ctrl.Call(m, "ListLogicalDeviceFlowGroups", varargs...) |
| 933 | ret0, _ := ret[0].(*openflow_13.FlowGroups) |
| 934 | ret1, _ := ret[1].(error) |
| 935 | return ret0, ret1 |
| 936 | } |
| 937 | |
| 938 | // ListLogicalDeviceFlowGroups indicates an expected call of ListLogicalDeviceFlowGroups. |
| 939 | func (mr *MockVolthaServiceClientMockRecorder) ListLogicalDeviceFlowGroups(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 940 | mr.mock.ctrl.T.Helper() |
| 941 | varargs := append([]interface{}{ctx, in}, opts...) |
| 942 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalDeviceFlowGroups", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListLogicalDeviceFlowGroups), varargs...) |
| 943 | } |
| 944 | |
| 945 | // ListLogicalDeviceFlows mocks base method. |
| 946 | func (m *MockVolthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) { |
| 947 | m.ctrl.T.Helper() |
| 948 | varargs := []interface{}{ctx, in} |
| 949 | for _, a := range opts { |
| 950 | varargs = append(varargs, a) |
| 951 | } |
| 952 | ret := m.ctrl.Call(m, "ListLogicalDeviceFlows", varargs...) |
| 953 | ret0, _ := ret[0].(*openflow_13.Flows) |
| 954 | ret1, _ := ret[1].(error) |
| 955 | return ret0, ret1 |
| 956 | } |
| 957 | |
| 958 | // ListLogicalDeviceFlows indicates an expected call of ListLogicalDeviceFlows. |
| 959 | func (mr *MockVolthaServiceClientMockRecorder) ListLogicalDeviceFlows(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 960 | mr.mock.ctrl.T.Helper() |
| 961 | varargs := append([]interface{}{ctx, in}, opts...) |
| 962 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalDeviceFlows", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListLogicalDeviceFlows), varargs...) |
| 963 | } |
| 964 | |
| 965 | // ListLogicalDeviceMeters mocks base method. |
| 966 | func (m *MockVolthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) { |
| 967 | m.ctrl.T.Helper() |
| 968 | varargs := []interface{}{ctx, in} |
| 969 | for _, a := range opts { |
| 970 | varargs = append(varargs, a) |
| 971 | } |
| 972 | ret := m.ctrl.Call(m, "ListLogicalDeviceMeters", varargs...) |
| 973 | ret0, _ := ret[0].(*openflow_13.Meters) |
| 974 | ret1, _ := ret[1].(error) |
| 975 | return ret0, ret1 |
| 976 | } |
| 977 | |
| 978 | // ListLogicalDeviceMeters indicates an expected call of ListLogicalDeviceMeters. |
| 979 | func (mr *MockVolthaServiceClientMockRecorder) ListLogicalDeviceMeters(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 980 | mr.mock.ctrl.T.Helper() |
| 981 | varargs := append([]interface{}{ctx, in}, opts...) |
| 982 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalDeviceMeters", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListLogicalDeviceMeters), varargs...) |
| 983 | } |
| 984 | |
| 985 | // ListLogicalDevicePorts mocks base method. |
| 986 | func (m *MockVolthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.LogicalPorts, error) { |
| 987 | m.ctrl.T.Helper() |
| 988 | varargs := []interface{}{ctx, in} |
| 989 | for _, a := range opts { |
| 990 | varargs = append(varargs, a) |
| 991 | } |
| 992 | ret := m.ctrl.Call(m, "ListLogicalDevicePorts", varargs...) |
| 993 | ret0, _ := ret[0].(*voltha.LogicalPorts) |
| 994 | ret1, _ := ret[1].(error) |
| 995 | return ret0, ret1 |
| 996 | } |
| 997 | |
| 998 | // ListLogicalDevicePorts indicates an expected call of ListLogicalDevicePorts. |
| 999 | func (mr *MockVolthaServiceClientMockRecorder) ListLogicalDevicePorts(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 1000 | mr.mock.ctrl.T.Helper() |
| 1001 | varargs := append([]interface{}{ctx, in}, opts...) |
| 1002 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalDevicePorts", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListLogicalDevicePorts), varargs...) |
| 1003 | } |
| 1004 | |
| 1005 | // ListLogicalDevices mocks base method. |
| 1006 | func (m *MockVolthaServiceClient) ListLogicalDevices(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*voltha.LogicalDevices, error) { |
| 1007 | m.ctrl.T.Helper() |
| 1008 | varargs := []interface{}{ctx, in} |
| 1009 | for _, a := range opts { |
| 1010 | varargs = append(varargs, a) |
| 1011 | } |
| 1012 | ret := m.ctrl.Call(m, "ListLogicalDevices", varargs...) |
| 1013 | ret0, _ := ret[0].(*voltha.LogicalDevices) |
| 1014 | ret1, _ := ret[1].(error) |
| 1015 | return ret0, ret1 |
| 1016 | } |
| 1017 | |
| 1018 | // ListLogicalDevices indicates an expected call of ListLogicalDevices. |
| 1019 | func (mr *MockVolthaServiceClientMockRecorder) ListLogicalDevices(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 1020 | mr.mock.ctrl.T.Helper() |
| 1021 | varargs := append([]interface{}{ctx, in}, opts...) |
| 1022 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalDevices", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListLogicalDevices), varargs...) |
| 1023 | } |
| 1024 | |
| 1025 | // RebootDevice mocks base method. |
| 1026 | func (m *MockVolthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 1027 | m.ctrl.T.Helper() |
| 1028 | varargs := []interface{}{ctx, in} |
| 1029 | for _, a := range opts { |
| 1030 | varargs = append(varargs, a) |
| 1031 | } |
| 1032 | ret := m.ctrl.Call(m, "RebootDevice", varargs...) |
| 1033 | ret0, _ := ret[0].(*empty.Empty) |
| 1034 | ret1, _ := ret[1].(error) |
| 1035 | return ret0, ret1 |
| 1036 | } |
| 1037 | |
| 1038 | // RebootDevice indicates an expected call of RebootDevice. |
| 1039 | func (mr *MockVolthaServiceClientMockRecorder) RebootDevice(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 1040 | mr.mock.ctrl.T.Helper() |
| 1041 | varargs := append([]interface{}{ctx, in}, opts...) |
| 1042 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RebootDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).RebootDevice), varargs...) |
| 1043 | } |
| 1044 | |
| 1045 | // ReceiveChangeEvents mocks base method. |
| 1046 | func (m *MockVolthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (voltha.VolthaService_ReceiveChangeEventsClient, error) { |
| 1047 | m.ctrl.T.Helper() |
| 1048 | varargs := []interface{}{ctx, in} |
| 1049 | for _, a := range opts { |
| 1050 | varargs = append(varargs, a) |
| 1051 | } |
| 1052 | ret := m.ctrl.Call(m, "ReceiveChangeEvents", varargs...) |
| 1053 | ret0, _ := ret[0].(voltha.VolthaService_ReceiveChangeEventsClient) |
| 1054 | ret1, _ := ret[1].(error) |
| 1055 | return ret0, ret1 |
| 1056 | } |
| 1057 | |
| 1058 | // ReceiveChangeEvents indicates an expected call of ReceiveChangeEvents. |
| 1059 | func (mr *MockVolthaServiceClientMockRecorder) ReceiveChangeEvents(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 1060 | mr.mock.ctrl.T.Helper() |
| 1061 | varargs := append([]interface{}{ctx, in}, opts...) |
| 1062 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReceiveChangeEvents", reflect.TypeOf((*MockVolthaServiceClient)(nil).ReceiveChangeEvents), varargs...) |
| 1063 | } |
| 1064 | |
| 1065 | // ReceivePacketsIn mocks base method. |
| 1066 | func (m *MockVolthaServiceClient) ReceivePacketsIn(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (voltha.VolthaService_ReceivePacketsInClient, error) { |
| 1067 | m.ctrl.T.Helper() |
| 1068 | varargs := []interface{}{ctx, in} |
| 1069 | for _, a := range opts { |
| 1070 | varargs = append(varargs, a) |
| 1071 | } |
| 1072 | ret := m.ctrl.Call(m, "ReceivePacketsIn", varargs...) |
| 1073 | ret0, _ := ret[0].(voltha.VolthaService_ReceivePacketsInClient) |
| 1074 | ret1, _ := ret[1].(error) |
| 1075 | return ret0, ret1 |
| 1076 | } |
| 1077 | |
| 1078 | // ReceivePacketsIn indicates an expected call of ReceivePacketsIn. |
| 1079 | func (mr *MockVolthaServiceClientMockRecorder) ReceivePacketsIn(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 1080 | mr.mock.ctrl.T.Helper() |
| 1081 | varargs := append([]interface{}{ctx, in}, opts...) |
| 1082 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReceivePacketsIn", reflect.TypeOf((*MockVolthaServiceClient)(nil).ReceivePacketsIn), varargs...) |
| 1083 | } |
| 1084 | |
| 1085 | // ReconcileDevices mocks base method. |
| 1086 | func (m *MockVolthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 1087 | m.ctrl.T.Helper() |
| 1088 | varargs := []interface{}{ctx, in} |
| 1089 | for _, a := range opts { |
| 1090 | varargs = append(varargs, a) |
| 1091 | } |
| 1092 | ret := m.ctrl.Call(m, "ReconcileDevices", varargs...) |
| 1093 | ret0, _ := ret[0].(*empty.Empty) |
| 1094 | ret1, _ := ret[1].(error) |
| 1095 | return ret0, ret1 |
| 1096 | } |
| 1097 | |
| 1098 | // ReconcileDevices indicates an expected call of ReconcileDevices. |
| 1099 | func (mr *MockVolthaServiceClientMockRecorder) ReconcileDevices(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 1100 | mr.mock.ctrl.T.Helper() |
| 1101 | varargs := append([]interface{}{ctx, in}, opts...) |
| 1102 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReconcileDevices", reflect.TypeOf((*MockVolthaServiceClient)(nil).ReconcileDevices), varargs...) |
| 1103 | } |
| 1104 | |
| 1105 | // RevertImageUpdate mocks base method. |
| 1106 | func (m *MockVolthaServiceClient) RevertImageUpdate(ctx context.Context, in *voltha.ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) { |
| 1107 | m.ctrl.T.Helper() |
| 1108 | varargs := []interface{}{ctx, in} |
| 1109 | for _, a := range opts { |
| 1110 | varargs = append(varargs, a) |
| 1111 | } |
| 1112 | ret := m.ctrl.Call(m, "RevertImageUpdate", varargs...) |
| 1113 | ret0, _ := ret[0].(*common.OperationResp) |
| 1114 | ret1, _ := ret[1].(error) |
| 1115 | return ret0, ret1 |
| 1116 | } |
| 1117 | |
| 1118 | // RevertImageUpdate indicates an expected call of RevertImageUpdate. |
| 1119 | func (mr *MockVolthaServiceClientMockRecorder) RevertImageUpdate(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 1120 | mr.mock.ctrl.T.Helper() |
| 1121 | varargs := append([]interface{}{ctx, in}, opts...) |
| 1122 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RevertImageUpdate", reflect.TypeOf((*MockVolthaServiceClient)(nil).RevertImageUpdate), varargs...) |
| 1123 | } |
| 1124 | |
| 1125 | // SelfTest mocks base method. |
| 1126 | func (m *MockVolthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.SelfTestResponse, error) { |
| 1127 | m.ctrl.T.Helper() |
| 1128 | varargs := []interface{}{ctx, in} |
| 1129 | for _, a := range opts { |
| 1130 | varargs = append(varargs, a) |
| 1131 | } |
| 1132 | ret := m.ctrl.Call(m, "SelfTest", varargs...) |
| 1133 | ret0, _ := ret[0].(*voltha.SelfTestResponse) |
| 1134 | ret1, _ := ret[1].(error) |
| 1135 | return ret0, ret1 |
| 1136 | } |
| 1137 | |
| 1138 | // SelfTest indicates an expected call of SelfTest. |
| 1139 | func (mr *MockVolthaServiceClientMockRecorder) SelfTest(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 1140 | mr.mock.ctrl.T.Helper() |
| 1141 | varargs := append([]interface{}{ctx, in}, opts...) |
| 1142 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SelfTest", reflect.TypeOf((*MockVolthaServiceClient)(nil).SelfTest), varargs...) |
| 1143 | } |
| 1144 | |
| 1145 | // SetExtValue mocks base method. |
| 1146 | func (m *MockVolthaServiceClient) SetExtValue(ctx context.Context, in *extension.ValueSet, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 1147 | m.ctrl.T.Helper() |
| 1148 | varargs := []interface{}{ctx, in} |
| 1149 | for _, a := range opts { |
| 1150 | varargs = append(varargs, a) |
| 1151 | } |
| 1152 | ret := m.ctrl.Call(m, "SetExtValue", varargs...) |
| 1153 | ret0, _ := ret[0].(*empty.Empty) |
| 1154 | ret1, _ := ret[1].(error) |
| 1155 | return ret0, ret1 |
| 1156 | } |
| 1157 | |
| 1158 | // SetExtValue indicates an expected call of SetExtValue. |
| 1159 | func (mr *MockVolthaServiceClientMockRecorder) SetExtValue(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 1160 | mr.mock.ctrl.T.Helper() |
| 1161 | varargs := append([]interface{}{ctx, in}, opts...) |
| 1162 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetExtValue", reflect.TypeOf((*MockVolthaServiceClient)(nil).SetExtValue), varargs...) |
| 1163 | } |
| 1164 | |
| 1165 | // SimulateAlarm mocks base method. |
| 1166 | func (m *MockVolthaServiceClient) SimulateAlarm(ctx context.Context, in *voltha.SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) { |
| 1167 | m.ctrl.T.Helper() |
| 1168 | varargs := []interface{}{ctx, in} |
| 1169 | for _, a := range opts { |
| 1170 | varargs = append(varargs, a) |
| 1171 | } |
| 1172 | ret := m.ctrl.Call(m, "SimulateAlarm", varargs...) |
| 1173 | ret0, _ := ret[0].(*common.OperationResp) |
| 1174 | ret1, _ := ret[1].(error) |
| 1175 | return ret0, ret1 |
| 1176 | } |
| 1177 | |
| 1178 | // SimulateAlarm indicates an expected call of SimulateAlarm. |
| 1179 | func (mr *MockVolthaServiceClientMockRecorder) SimulateAlarm(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 1180 | mr.mock.ctrl.T.Helper() |
| 1181 | varargs := append([]interface{}{ctx, in}, opts...) |
| 1182 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SimulateAlarm", reflect.TypeOf((*MockVolthaServiceClient)(nil).SimulateAlarm), varargs...) |
| 1183 | } |
| 1184 | |
| 1185 | // StartOmciTestAction mocks base method. |
| 1186 | func (m *MockVolthaServiceClient) StartOmciTestAction(ctx context.Context, in *omci.OmciTestRequest, opts ...grpc.CallOption) (*omci.TestResponse, error) { |
| 1187 | m.ctrl.T.Helper() |
| 1188 | varargs := []interface{}{ctx, in} |
| 1189 | for _, a := range opts { |
| 1190 | varargs = append(varargs, a) |
| 1191 | } |
| 1192 | ret := m.ctrl.Call(m, "StartOmciTestAction", varargs...) |
| 1193 | ret0, _ := ret[0].(*omci.TestResponse) |
| 1194 | ret1, _ := ret[1].(error) |
| 1195 | return ret0, ret1 |
| 1196 | } |
| 1197 | |
| 1198 | // StartOmciTestAction indicates an expected call of StartOmciTestAction. |
| 1199 | func (mr *MockVolthaServiceClientMockRecorder) StartOmciTestAction(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 1200 | mr.mock.ctrl.T.Helper() |
| 1201 | varargs := append([]interface{}{ctx, in}, opts...) |
| 1202 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StartOmciTestAction", reflect.TypeOf((*MockVolthaServiceClient)(nil).StartOmciTestAction), varargs...) |
| 1203 | } |
| 1204 | |
| 1205 | // StreamPacketsOut mocks base method. |
| 1206 | func (m *MockVolthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (voltha.VolthaService_StreamPacketsOutClient, error) { |
| 1207 | m.ctrl.T.Helper() |
| 1208 | varargs := []interface{}{ctx} |
| 1209 | for _, a := range opts { |
| 1210 | varargs = append(varargs, a) |
| 1211 | } |
| 1212 | ret := m.ctrl.Call(m, "StreamPacketsOut", varargs...) |
| 1213 | ret0, _ := ret[0].(voltha.VolthaService_StreamPacketsOutClient) |
| 1214 | ret1, _ := ret[1].(error) |
| 1215 | return ret0, ret1 |
| 1216 | } |
| 1217 | |
| 1218 | // StreamPacketsOut indicates an expected call of StreamPacketsOut. |
| 1219 | func (mr *MockVolthaServiceClientMockRecorder) StreamPacketsOut(ctx interface{}, opts ...interface{}) *gomock.Call { |
| 1220 | mr.mock.ctrl.T.Helper() |
| 1221 | varargs := append([]interface{}{ctx}, opts...) |
| 1222 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StreamPacketsOut", reflect.TypeOf((*MockVolthaServiceClient)(nil).StreamPacketsOut), varargs...) |
| 1223 | } |
| 1224 | |
| 1225 | // UpdateDevicePmConfigs mocks base method. |
| 1226 | func (m *MockVolthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *voltha.PmConfigs, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 1227 | m.ctrl.T.Helper() |
| 1228 | varargs := []interface{}{ctx, in} |
| 1229 | for _, a := range opts { |
| 1230 | varargs = append(varargs, a) |
| 1231 | } |
| 1232 | ret := m.ctrl.Call(m, "UpdateDevicePmConfigs", varargs...) |
| 1233 | ret0, _ := ret[0].(*empty.Empty) |
| 1234 | ret1, _ := ret[1].(error) |
| 1235 | return ret0, ret1 |
| 1236 | } |
| 1237 | |
| 1238 | // UpdateDevicePmConfigs indicates an expected call of UpdateDevicePmConfigs. |
| 1239 | func (mr *MockVolthaServiceClientMockRecorder) UpdateDevicePmConfigs(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 1240 | mr.mock.ctrl.T.Helper() |
| 1241 | varargs := append([]interface{}{ctx, in}, opts...) |
| 1242 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateDevicePmConfigs", reflect.TypeOf((*MockVolthaServiceClient)(nil).UpdateDevicePmConfigs), varargs...) |
| 1243 | } |
| 1244 | |
| 1245 | // UpdateEventFilter mocks base method. |
| 1246 | func (m *MockVolthaServiceClient) UpdateEventFilter(ctx context.Context, in *voltha.EventFilter, opts ...grpc.CallOption) (*voltha.EventFilter, error) { |
| 1247 | m.ctrl.T.Helper() |
| 1248 | varargs := []interface{}{ctx, in} |
| 1249 | for _, a := range opts { |
| 1250 | varargs = append(varargs, a) |
| 1251 | } |
| 1252 | ret := m.ctrl.Call(m, "UpdateEventFilter", varargs...) |
| 1253 | ret0, _ := ret[0].(*voltha.EventFilter) |
| 1254 | ret1, _ := ret[1].(error) |
| 1255 | return ret0, ret1 |
| 1256 | } |
| 1257 | |
| 1258 | // UpdateEventFilter indicates an expected call of UpdateEventFilter. |
| 1259 | func (mr *MockVolthaServiceClientMockRecorder) UpdateEventFilter(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 1260 | mr.mock.ctrl.T.Helper() |
| 1261 | varargs := append([]interface{}{ctx, in}, opts...) |
| 1262 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateEventFilter", reflect.TypeOf((*MockVolthaServiceClient)(nil).UpdateEventFilter), varargs...) |
| 1263 | } |
| 1264 | |
| 1265 | // UpdateLogicalDeviceFlowGroupTable mocks base method. |
| 1266 | func (m *MockVolthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 1267 | m.ctrl.T.Helper() |
| 1268 | varargs := []interface{}{ctx, in} |
| 1269 | for _, a := range opts { |
| 1270 | varargs = append(varargs, a) |
| 1271 | } |
| 1272 | ret := m.ctrl.Call(m, "UpdateLogicalDeviceFlowGroupTable", varargs...) |
| 1273 | ret0, _ := ret[0].(*empty.Empty) |
| 1274 | ret1, _ := ret[1].(error) |
| 1275 | return ret0, ret1 |
| 1276 | } |
| 1277 | |
| 1278 | // UpdateLogicalDeviceFlowGroupTable indicates an expected call of UpdateLogicalDeviceFlowGroupTable. |
| 1279 | func (mr *MockVolthaServiceClientMockRecorder) UpdateLogicalDeviceFlowGroupTable(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 1280 | mr.mock.ctrl.T.Helper() |
| 1281 | varargs := append([]interface{}{ctx, in}, opts...) |
| 1282 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalDeviceFlowGroupTable", reflect.TypeOf((*MockVolthaServiceClient)(nil).UpdateLogicalDeviceFlowGroupTable), varargs...) |
| 1283 | } |
| 1284 | |
| 1285 | // UpdateLogicalDeviceFlowTable mocks base method. |
| 1286 | func (m *MockVolthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 1287 | m.ctrl.T.Helper() |
| 1288 | varargs := []interface{}{ctx, in} |
| 1289 | for _, a := range opts { |
| 1290 | varargs = append(varargs, a) |
| 1291 | } |
| 1292 | ret := m.ctrl.Call(m, "UpdateLogicalDeviceFlowTable", varargs...) |
| 1293 | ret0, _ := ret[0].(*empty.Empty) |
| 1294 | ret1, _ := ret[1].(error) |
| 1295 | return ret0, ret1 |
| 1296 | } |
| 1297 | |
| 1298 | // UpdateLogicalDeviceFlowTable indicates an expected call of UpdateLogicalDeviceFlowTable. |
| 1299 | func (mr *MockVolthaServiceClientMockRecorder) UpdateLogicalDeviceFlowTable(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 1300 | mr.mock.ctrl.T.Helper() |
| 1301 | varargs := append([]interface{}{ctx, in}, opts...) |
| 1302 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalDeviceFlowTable", reflect.TypeOf((*MockVolthaServiceClient)(nil).UpdateLogicalDeviceFlowTable), varargs...) |
| 1303 | } |
| 1304 | |
| 1305 | // UpdateLogicalDeviceMeterTable mocks base method. |
| 1306 | func (m *MockVolthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*empty.Empty, error) { |
| 1307 | m.ctrl.T.Helper() |
| 1308 | varargs := []interface{}{ctx, in} |
| 1309 | for _, a := range opts { |
| 1310 | varargs = append(varargs, a) |
| 1311 | } |
| 1312 | ret := m.ctrl.Call(m, "UpdateLogicalDeviceMeterTable", varargs...) |
| 1313 | ret0, _ := ret[0].(*empty.Empty) |
| 1314 | ret1, _ := ret[1].(error) |
| 1315 | return ret0, ret1 |
| 1316 | } |
| 1317 | |
| 1318 | // UpdateLogicalDeviceMeterTable indicates an expected call of UpdateLogicalDeviceMeterTable. |
| 1319 | func (mr *MockVolthaServiceClientMockRecorder) UpdateLogicalDeviceMeterTable(ctx, in interface{}, opts ...interface{}) *gomock.Call { |
| 1320 | mr.mock.ctrl.T.Helper() |
| 1321 | varargs := append([]interface{}{ctx, in}, opts...) |
| 1322 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalDeviceMeterTable", reflect.TypeOf((*MockVolthaServiceClient)(nil).UpdateLogicalDeviceMeterTable), varargs...) |
| 1323 | } |
| 1324 | |
| 1325 | // MockVolthaService_StreamPacketsOutClient is a mock of VolthaService_StreamPacketsOutClient interface. |
| 1326 | type MockVolthaService_StreamPacketsOutClient struct { |
| 1327 | ctrl *gomock.Controller |
| 1328 | recorder *MockVolthaService_StreamPacketsOutClientMockRecorder |
| 1329 | } |
| 1330 | |
| 1331 | // MockVolthaService_StreamPacketsOutClientMockRecorder is the mock recorder for MockVolthaService_StreamPacketsOutClient. |
| 1332 | type MockVolthaService_StreamPacketsOutClientMockRecorder struct { |
| 1333 | mock *MockVolthaService_StreamPacketsOutClient |
| 1334 | } |
| 1335 | |
| 1336 | // NewMockVolthaService_StreamPacketsOutClient creates a new mock instance. |
| 1337 | func NewMockVolthaService_StreamPacketsOutClient(ctrl *gomock.Controller) *MockVolthaService_StreamPacketsOutClient { |
| 1338 | mock := &MockVolthaService_StreamPacketsOutClient{ctrl: ctrl} |
| 1339 | mock.recorder = &MockVolthaService_StreamPacketsOutClientMockRecorder{mock} |
| 1340 | return mock |
| 1341 | } |
| 1342 | |
| 1343 | // EXPECT returns an object that allows the caller to indicate expected use. |
| 1344 | func (m *MockVolthaService_StreamPacketsOutClient) EXPECT() *MockVolthaService_StreamPacketsOutClientMockRecorder { |
| 1345 | return m.recorder |
| 1346 | } |
| 1347 | |
| 1348 | // CloseAndRecv mocks base method. |
| 1349 | func (m *MockVolthaService_StreamPacketsOutClient) CloseAndRecv() (*empty.Empty, error) { |
| 1350 | m.ctrl.T.Helper() |
| 1351 | ret := m.ctrl.Call(m, "CloseAndRecv") |
| 1352 | ret0, _ := ret[0].(*empty.Empty) |
| 1353 | ret1, _ := ret[1].(error) |
| 1354 | return ret0, ret1 |
| 1355 | } |
| 1356 | |
| 1357 | // CloseAndRecv indicates an expected call of CloseAndRecv. |
| 1358 | func (mr *MockVolthaService_StreamPacketsOutClientMockRecorder) CloseAndRecv() *gomock.Call { |
| 1359 | mr.mock.ctrl.T.Helper() |
| 1360 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseAndRecv", reflect.TypeOf((*MockVolthaService_StreamPacketsOutClient)(nil).CloseAndRecv)) |
| 1361 | } |
| 1362 | |
| 1363 | // CloseSend mocks base method. |
| 1364 | func (m *MockVolthaService_StreamPacketsOutClient) CloseSend() error { |
| 1365 | m.ctrl.T.Helper() |
| 1366 | ret := m.ctrl.Call(m, "CloseSend") |
| 1367 | ret0, _ := ret[0].(error) |
| 1368 | return ret0 |
| 1369 | } |
| 1370 | |
| 1371 | // CloseSend indicates an expected call of CloseSend. |
| 1372 | func (mr *MockVolthaService_StreamPacketsOutClientMockRecorder) CloseSend() *gomock.Call { |
| 1373 | mr.mock.ctrl.T.Helper() |
| 1374 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseSend", reflect.TypeOf((*MockVolthaService_StreamPacketsOutClient)(nil).CloseSend)) |
| 1375 | } |
| 1376 | |
| 1377 | // Context mocks base method. |
| 1378 | func (m *MockVolthaService_StreamPacketsOutClient) Context() context.Context { |
| 1379 | m.ctrl.T.Helper() |
| 1380 | ret := m.ctrl.Call(m, "Context") |
| 1381 | ret0, _ := ret[0].(context.Context) |
| 1382 | return ret0 |
| 1383 | } |
| 1384 | |
| 1385 | // Context indicates an expected call of Context. |
| 1386 | func (mr *MockVolthaService_StreamPacketsOutClientMockRecorder) Context() *gomock.Call { |
| 1387 | mr.mock.ctrl.T.Helper() |
| 1388 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockVolthaService_StreamPacketsOutClient)(nil).Context)) |
| 1389 | } |
| 1390 | |
| 1391 | // Header mocks base method. |
| 1392 | func (m *MockVolthaService_StreamPacketsOutClient) Header() (metadata.MD, error) { |
| 1393 | m.ctrl.T.Helper() |
| 1394 | ret := m.ctrl.Call(m, "Header") |
| 1395 | ret0, _ := ret[0].(metadata.MD) |
| 1396 | ret1, _ := ret[1].(error) |
| 1397 | return ret0, ret1 |
| 1398 | } |
| 1399 | |
| 1400 | // Header indicates an expected call of Header. |
| 1401 | func (mr *MockVolthaService_StreamPacketsOutClientMockRecorder) Header() *gomock.Call { |
| 1402 | mr.mock.ctrl.T.Helper() |
| 1403 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Header", reflect.TypeOf((*MockVolthaService_StreamPacketsOutClient)(nil).Header)) |
| 1404 | } |
| 1405 | |
| 1406 | // RecvMsg mocks base method. |
| 1407 | func (m_2 *MockVolthaService_StreamPacketsOutClient) RecvMsg(m interface{}) error { |
| 1408 | m_2.ctrl.T.Helper() |
| 1409 | ret := m_2.ctrl.Call(m_2, "RecvMsg", m) |
| 1410 | ret0, _ := ret[0].(error) |
| 1411 | return ret0 |
| 1412 | } |
| 1413 | |
| 1414 | // RecvMsg indicates an expected call of RecvMsg. |
| 1415 | func (mr *MockVolthaService_StreamPacketsOutClientMockRecorder) RecvMsg(m interface{}) *gomock.Call { |
| 1416 | mr.mock.ctrl.T.Helper() |
| 1417 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockVolthaService_StreamPacketsOutClient)(nil).RecvMsg), m) |
| 1418 | } |
| 1419 | |
| 1420 | // Send mocks base method. |
| 1421 | func (m *MockVolthaService_StreamPacketsOutClient) Send(arg0 *openflow_13.PacketOut) error { |
| 1422 | m.ctrl.T.Helper() |
| 1423 | ret := m.ctrl.Call(m, "Send", arg0) |
| 1424 | ret0, _ := ret[0].(error) |
| 1425 | return ret0 |
| 1426 | } |
| 1427 | |
| 1428 | // Send indicates an expected call of Send. |
| 1429 | func (mr *MockVolthaService_StreamPacketsOutClientMockRecorder) Send(arg0 interface{}) *gomock.Call { |
| 1430 | mr.mock.ctrl.T.Helper() |
| 1431 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockVolthaService_StreamPacketsOutClient)(nil).Send), arg0) |
| 1432 | } |
| 1433 | |
| 1434 | // SendMsg mocks base method. |
| 1435 | func (m_2 *MockVolthaService_StreamPacketsOutClient) SendMsg(m interface{}) error { |
| 1436 | m_2.ctrl.T.Helper() |
| 1437 | ret := m_2.ctrl.Call(m_2, "SendMsg", m) |
| 1438 | ret0, _ := ret[0].(error) |
| 1439 | return ret0 |
| 1440 | } |
| 1441 | |
| 1442 | // SendMsg indicates an expected call of SendMsg. |
| 1443 | func (mr *MockVolthaService_StreamPacketsOutClientMockRecorder) SendMsg(m interface{}) *gomock.Call { |
| 1444 | mr.mock.ctrl.T.Helper() |
| 1445 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockVolthaService_StreamPacketsOutClient)(nil).SendMsg), m) |
| 1446 | } |
| 1447 | |
| 1448 | // Trailer mocks base method. |
| 1449 | func (m *MockVolthaService_StreamPacketsOutClient) Trailer() metadata.MD { |
| 1450 | m.ctrl.T.Helper() |
| 1451 | ret := m.ctrl.Call(m, "Trailer") |
| 1452 | ret0, _ := ret[0].(metadata.MD) |
| 1453 | return ret0 |
| 1454 | } |
| 1455 | |
| 1456 | // Trailer indicates an expected call of Trailer. |
| 1457 | func (mr *MockVolthaService_StreamPacketsOutClientMockRecorder) Trailer() *gomock.Call { |
| 1458 | mr.mock.ctrl.T.Helper() |
| 1459 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Trailer", reflect.TypeOf((*MockVolthaService_StreamPacketsOutClient)(nil).Trailer)) |
| 1460 | } |
| 1461 | |
| 1462 | // MockVolthaService_ReceivePacketsInClient is a mock of VolthaService_ReceivePacketsInClient interface. |
| 1463 | type MockVolthaService_ReceivePacketsInClient struct { |
| 1464 | ctrl *gomock.Controller |
| 1465 | recorder *MockVolthaService_ReceivePacketsInClientMockRecorder |
| 1466 | } |
| 1467 | |
| 1468 | // MockVolthaService_ReceivePacketsInClientMockRecorder is the mock recorder for MockVolthaService_ReceivePacketsInClient. |
| 1469 | type MockVolthaService_ReceivePacketsInClientMockRecorder struct { |
| 1470 | mock *MockVolthaService_ReceivePacketsInClient |
| 1471 | } |
| 1472 | |
| 1473 | // NewMockVolthaService_ReceivePacketsInClient creates a new mock instance. |
| 1474 | func NewMockVolthaService_ReceivePacketsInClient(ctrl *gomock.Controller) *MockVolthaService_ReceivePacketsInClient { |
| 1475 | mock := &MockVolthaService_ReceivePacketsInClient{ctrl: ctrl} |
| 1476 | mock.recorder = &MockVolthaService_ReceivePacketsInClientMockRecorder{mock} |
| 1477 | return mock |
| 1478 | } |
| 1479 | |
| 1480 | // EXPECT returns an object that allows the caller to indicate expected use. |
| 1481 | func (m *MockVolthaService_ReceivePacketsInClient) EXPECT() *MockVolthaService_ReceivePacketsInClientMockRecorder { |
| 1482 | return m.recorder |
| 1483 | } |
| 1484 | |
| 1485 | // CloseSend mocks base method. |
| 1486 | func (m *MockVolthaService_ReceivePacketsInClient) CloseSend() error { |
| 1487 | m.ctrl.T.Helper() |
| 1488 | ret := m.ctrl.Call(m, "CloseSend") |
| 1489 | ret0, _ := ret[0].(error) |
| 1490 | return ret0 |
| 1491 | } |
| 1492 | |
| 1493 | // CloseSend indicates an expected call of CloseSend. |
| 1494 | func (mr *MockVolthaService_ReceivePacketsInClientMockRecorder) CloseSend() *gomock.Call { |
| 1495 | mr.mock.ctrl.T.Helper() |
| 1496 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseSend", reflect.TypeOf((*MockVolthaService_ReceivePacketsInClient)(nil).CloseSend)) |
| 1497 | } |
| 1498 | |
| 1499 | // Context mocks base method. |
| 1500 | func (m *MockVolthaService_ReceivePacketsInClient) Context() context.Context { |
| 1501 | m.ctrl.T.Helper() |
| 1502 | ret := m.ctrl.Call(m, "Context") |
| 1503 | ret0, _ := ret[0].(context.Context) |
| 1504 | return ret0 |
| 1505 | } |
| 1506 | |
| 1507 | // Context indicates an expected call of Context. |
| 1508 | func (mr *MockVolthaService_ReceivePacketsInClientMockRecorder) Context() *gomock.Call { |
| 1509 | mr.mock.ctrl.T.Helper() |
| 1510 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockVolthaService_ReceivePacketsInClient)(nil).Context)) |
| 1511 | } |
| 1512 | |
| 1513 | // Header mocks base method. |
| 1514 | func (m *MockVolthaService_ReceivePacketsInClient) Header() (metadata.MD, error) { |
| 1515 | m.ctrl.T.Helper() |
| 1516 | ret := m.ctrl.Call(m, "Header") |
| 1517 | ret0, _ := ret[0].(metadata.MD) |
| 1518 | ret1, _ := ret[1].(error) |
| 1519 | return ret0, ret1 |
| 1520 | } |
| 1521 | |
| 1522 | // Header indicates an expected call of Header. |
| 1523 | func (mr *MockVolthaService_ReceivePacketsInClientMockRecorder) Header() *gomock.Call { |
| 1524 | mr.mock.ctrl.T.Helper() |
| 1525 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Header", reflect.TypeOf((*MockVolthaService_ReceivePacketsInClient)(nil).Header)) |
| 1526 | } |
| 1527 | |
| 1528 | // Recv mocks base method. |
| 1529 | func (m *MockVolthaService_ReceivePacketsInClient) Recv() (*openflow_13.PacketIn, error) { |
| 1530 | m.ctrl.T.Helper() |
| 1531 | ret := m.ctrl.Call(m, "Recv") |
| 1532 | ret0, _ := ret[0].(*openflow_13.PacketIn) |
| 1533 | ret1, _ := ret[1].(error) |
| 1534 | return ret0, ret1 |
| 1535 | } |
| 1536 | |
| 1537 | // Recv indicates an expected call of Recv. |
| 1538 | func (mr *MockVolthaService_ReceivePacketsInClientMockRecorder) Recv() *gomock.Call { |
| 1539 | mr.mock.ctrl.T.Helper() |
| 1540 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Recv", reflect.TypeOf((*MockVolthaService_ReceivePacketsInClient)(nil).Recv)) |
| 1541 | } |
| 1542 | |
| 1543 | // RecvMsg mocks base method. |
| 1544 | func (m_2 *MockVolthaService_ReceivePacketsInClient) RecvMsg(m interface{}) error { |
| 1545 | m_2.ctrl.T.Helper() |
| 1546 | ret := m_2.ctrl.Call(m_2, "RecvMsg", m) |
| 1547 | ret0, _ := ret[0].(error) |
| 1548 | return ret0 |
| 1549 | } |
| 1550 | |
| 1551 | // RecvMsg indicates an expected call of RecvMsg. |
| 1552 | func (mr *MockVolthaService_ReceivePacketsInClientMockRecorder) RecvMsg(m interface{}) *gomock.Call { |
| 1553 | mr.mock.ctrl.T.Helper() |
| 1554 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockVolthaService_ReceivePacketsInClient)(nil).RecvMsg), m) |
| 1555 | } |
| 1556 | |
| 1557 | // SendMsg mocks base method. |
| 1558 | func (m_2 *MockVolthaService_ReceivePacketsInClient) SendMsg(m interface{}) error { |
| 1559 | m_2.ctrl.T.Helper() |
| 1560 | ret := m_2.ctrl.Call(m_2, "SendMsg", m) |
| 1561 | ret0, _ := ret[0].(error) |
| 1562 | return ret0 |
| 1563 | } |
| 1564 | |
| 1565 | // SendMsg indicates an expected call of SendMsg. |
| 1566 | func (mr *MockVolthaService_ReceivePacketsInClientMockRecorder) SendMsg(m interface{}) *gomock.Call { |
| 1567 | mr.mock.ctrl.T.Helper() |
| 1568 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockVolthaService_ReceivePacketsInClient)(nil).SendMsg), m) |
| 1569 | } |
| 1570 | |
| 1571 | // Trailer mocks base method. |
| 1572 | func (m *MockVolthaService_ReceivePacketsInClient) Trailer() metadata.MD { |
| 1573 | m.ctrl.T.Helper() |
| 1574 | ret := m.ctrl.Call(m, "Trailer") |
| 1575 | ret0, _ := ret[0].(metadata.MD) |
| 1576 | return ret0 |
| 1577 | } |
| 1578 | |
| 1579 | // Trailer indicates an expected call of Trailer. |
| 1580 | func (mr *MockVolthaService_ReceivePacketsInClientMockRecorder) Trailer() *gomock.Call { |
| 1581 | mr.mock.ctrl.T.Helper() |
| 1582 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Trailer", reflect.TypeOf((*MockVolthaService_ReceivePacketsInClient)(nil).Trailer)) |
| 1583 | } |
| 1584 | |
| 1585 | // MockVolthaService_ReceiveChangeEventsClient is a mock of VolthaService_ReceiveChangeEventsClient interface. |
| 1586 | type MockVolthaService_ReceiveChangeEventsClient struct { |
| 1587 | ctrl *gomock.Controller |
| 1588 | recorder *MockVolthaService_ReceiveChangeEventsClientMockRecorder |
| 1589 | } |
| 1590 | |
| 1591 | // MockVolthaService_ReceiveChangeEventsClientMockRecorder is the mock recorder for MockVolthaService_ReceiveChangeEventsClient. |
| 1592 | type MockVolthaService_ReceiveChangeEventsClientMockRecorder struct { |
| 1593 | mock *MockVolthaService_ReceiveChangeEventsClient |
| 1594 | } |
| 1595 | |
| 1596 | // NewMockVolthaService_ReceiveChangeEventsClient creates a new mock instance. |
| 1597 | func NewMockVolthaService_ReceiveChangeEventsClient(ctrl *gomock.Controller) *MockVolthaService_ReceiveChangeEventsClient { |
| 1598 | mock := &MockVolthaService_ReceiveChangeEventsClient{ctrl: ctrl} |
| 1599 | mock.recorder = &MockVolthaService_ReceiveChangeEventsClientMockRecorder{mock} |
| 1600 | return mock |
| 1601 | } |
| 1602 | |
| 1603 | // EXPECT returns an object that allows the caller to indicate expected use. |
| 1604 | func (m *MockVolthaService_ReceiveChangeEventsClient) EXPECT() *MockVolthaService_ReceiveChangeEventsClientMockRecorder { |
| 1605 | return m.recorder |
| 1606 | } |
| 1607 | |
| 1608 | // CloseSend mocks base method. |
| 1609 | func (m *MockVolthaService_ReceiveChangeEventsClient) CloseSend() error { |
| 1610 | m.ctrl.T.Helper() |
| 1611 | ret := m.ctrl.Call(m, "CloseSend") |
| 1612 | ret0, _ := ret[0].(error) |
| 1613 | return ret0 |
| 1614 | } |
| 1615 | |
| 1616 | // CloseSend indicates an expected call of CloseSend. |
| 1617 | func (mr *MockVolthaService_ReceiveChangeEventsClientMockRecorder) CloseSend() *gomock.Call { |
| 1618 | mr.mock.ctrl.T.Helper() |
| 1619 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseSend", reflect.TypeOf((*MockVolthaService_ReceiveChangeEventsClient)(nil).CloseSend)) |
| 1620 | } |
| 1621 | |
| 1622 | // Context mocks base method. |
| 1623 | func (m *MockVolthaService_ReceiveChangeEventsClient) Context() context.Context { |
| 1624 | m.ctrl.T.Helper() |
| 1625 | ret := m.ctrl.Call(m, "Context") |
| 1626 | ret0, _ := ret[0].(context.Context) |
| 1627 | return ret0 |
| 1628 | } |
| 1629 | |
| 1630 | // Context indicates an expected call of Context. |
| 1631 | func (mr *MockVolthaService_ReceiveChangeEventsClientMockRecorder) Context() *gomock.Call { |
| 1632 | mr.mock.ctrl.T.Helper() |
| 1633 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockVolthaService_ReceiveChangeEventsClient)(nil).Context)) |
| 1634 | } |
| 1635 | |
| 1636 | // Header mocks base method. |
| 1637 | func (m *MockVolthaService_ReceiveChangeEventsClient) Header() (metadata.MD, error) { |
| 1638 | m.ctrl.T.Helper() |
| 1639 | ret := m.ctrl.Call(m, "Header") |
| 1640 | ret0, _ := ret[0].(metadata.MD) |
| 1641 | ret1, _ := ret[1].(error) |
| 1642 | return ret0, ret1 |
| 1643 | } |
| 1644 | |
| 1645 | // Header indicates an expected call of Header. |
| 1646 | func (mr *MockVolthaService_ReceiveChangeEventsClientMockRecorder) Header() *gomock.Call { |
| 1647 | mr.mock.ctrl.T.Helper() |
| 1648 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Header", reflect.TypeOf((*MockVolthaService_ReceiveChangeEventsClient)(nil).Header)) |
| 1649 | } |
| 1650 | |
| 1651 | // Recv mocks base method. |
| 1652 | func (m *MockVolthaService_ReceiveChangeEventsClient) Recv() (*openflow_13.ChangeEvent, error) { |
| 1653 | m.ctrl.T.Helper() |
| 1654 | ret := m.ctrl.Call(m, "Recv") |
| 1655 | ret0, _ := ret[0].(*openflow_13.ChangeEvent) |
| 1656 | ret1, _ := ret[1].(error) |
| 1657 | return ret0, ret1 |
| 1658 | } |
| 1659 | |
| 1660 | // Recv indicates an expected call of Recv. |
| 1661 | func (mr *MockVolthaService_ReceiveChangeEventsClientMockRecorder) Recv() *gomock.Call { |
| 1662 | mr.mock.ctrl.T.Helper() |
| 1663 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Recv", reflect.TypeOf((*MockVolthaService_ReceiveChangeEventsClient)(nil).Recv)) |
| 1664 | } |
| 1665 | |
| 1666 | // RecvMsg mocks base method. |
| 1667 | func (m_2 *MockVolthaService_ReceiveChangeEventsClient) RecvMsg(m interface{}) error { |
| 1668 | m_2.ctrl.T.Helper() |
| 1669 | ret := m_2.ctrl.Call(m_2, "RecvMsg", m) |
| 1670 | ret0, _ := ret[0].(error) |
| 1671 | return ret0 |
| 1672 | } |
| 1673 | |
| 1674 | // RecvMsg indicates an expected call of RecvMsg. |
| 1675 | func (mr *MockVolthaService_ReceiveChangeEventsClientMockRecorder) RecvMsg(m interface{}) *gomock.Call { |
| 1676 | mr.mock.ctrl.T.Helper() |
| 1677 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockVolthaService_ReceiveChangeEventsClient)(nil).RecvMsg), m) |
| 1678 | } |
| 1679 | |
| 1680 | // SendMsg mocks base method. |
| 1681 | func (m_2 *MockVolthaService_ReceiveChangeEventsClient) SendMsg(m interface{}) error { |
| 1682 | m_2.ctrl.T.Helper() |
| 1683 | ret := m_2.ctrl.Call(m_2, "SendMsg", m) |
| 1684 | ret0, _ := ret[0].(error) |
| 1685 | return ret0 |
| 1686 | } |
| 1687 | |
| 1688 | // SendMsg indicates an expected call of SendMsg. |
| 1689 | func (mr *MockVolthaService_ReceiveChangeEventsClientMockRecorder) SendMsg(m interface{}) *gomock.Call { |
| 1690 | mr.mock.ctrl.T.Helper() |
| 1691 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockVolthaService_ReceiveChangeEventsClient)(nil).SendMsg), m) |
| 1692 | } |
| 1693 | |
| 1694 | // Trailer mocks base method. |
| 1695 | func (m *MockVolthaService_ReceiveChangeEventsClient) Trailer() metadata.MD { |
| 1696 | m.ctrl.T.Helper() |
| 1697 | ret := m.ctrl.Call(m, "Trailer") |
| 1698 | ret0, _ := ret[0].(metadata.MD) |
| 1699 | return ret0 |
| 1700 | } |
| 1701 | |
| 1702 | // Trailer indicates an expected call of Trailer. |
| 1703 | func (mr *MockVolthaService_ReceiveChangeEventsClientMockRecorder) Trailer() *gomock.Call { |
| 1704 | mr.mock.ctrl.T.Helper() |
| 1705 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Trailer", reflect.TypeOf((*MockVolthaService_ReceiveChangeEventsClient)(nil).Trailer)) |
| 1706 | } |
| 1707 | |
| 1708 | // MockVolthaServiceServer is a mock of VolthaServiceServer interface. |
| 1709 | type MockVolthaServiceServer struct { |
| 1710 | ctrl *gomock.Controller |
| 1711 | recorder *MockVolthaServiceServerMockRecorder |
| 1712 | } |
| 1713 | |
| 1714 | // MockVolthaServiceServerMockRecorder is the mock recorder for MockVolthaServiceServer. |
| 1715 | type MockVolthaServiceServerMockRecorder struct { |
| 1716 | mock *MockVolthaServiceServer |
| 1717 | } |
| 1718 | |
| 1719 | // NewMockVolthaServiceServer creates a new mock instance. |
| 1720 | func NewMockVolthaServiceServer(ctrl *gomock.Controller) *MockVolthaServiceServer { |
| 1721 | mock := &MockVolthaServiceServer{ctrl: ctrl} |
| 1722 | mock.recorder = &MockVolthaServiceServerMockRecorder{mock} |
| 1723 | return mock |
| 1724 | } |
| 1725 | |
| 1726 | // EXPECT returns an object that allows the caller to indicate expected use. |
| 1727 | func (m *MockVolthaServiceServer) EXPECT() *MockVolthaServiceServerMockRecorder { |
| 1728 | return m.recorder |
| 1729 | } |
| 1730 | |
| 1731 | // AbortImageUpgradeToDevice mocks base method. |
| 1732 | func (m *MockVolthaServiceServer) AbortImageUpgradeToDevice(arg0 context.Context, arg1 *voltha.DeviceImageRequest) (*voltha.DeviceImageResponse, error) { |
| 1733 | m.ctrl.T.Helper() |
| 1734 | ret := m.ctrl.Call(m, "AbortImageUpgradeToDevice", arg0, arg1) |
| 1735 | ret0, _ := ret[0].(*voltha.DeviceImageResponse) |
| 1736 | ret1, _ := ret[1].(error) |
| 1737 | return ret0, ret1 |
| 1738 | } |
| 1739 | |
| 1740 | // AbortImageUpgradeToDevice indicates an expected call of AbortImageUpgradeToDevice. |
| 1741 | func (mr *MockVolthaServiceServerMockRecorder) AbortImageUpgradeToDevice(arg0, arg1 interface{}) *gomock.Call { |
| 1742 | mr.mock.ctrl.T.Helper() |
| 1743 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AbortImageUpgradeToDevice", reflect.TypeOf((*MockVolthaServiceServer)(nil).AbortImageUpgradeToDevice), arg0, arg1) |
| 1744 | } |
| 1745 | |
| 1746 | // ActivateImage mocks base method. |
| 1747 | func (m *MockVolthaServiceServer) ActivateImage(arg0 context.Context, arg1 *voltha.DeviceImageRequest) (*voltha.DeviceImageResponse, error) { |
| 1748 | m.ctrl.T.Helper() |
| 1749 | ret := m.ctrl.Call(m, "ActivateImage", arg0, arg1) |
| 1750 | ret0, _ := ret[0].(*voltha.DeviceImageResponse) |
| 1751 | ret1, _ := ret[1].(error) |
| 1752 | return ret0, ret1 |
| 1753 | } |
| 1754 | |
| 1755 | // ActivateImage indicates an expected call of ActivateImage. |
| 1756 | func (mr *MockVolthaServiceServerMockRecorder) ActivateImage(arg0, arg1 interface{}) *gomock.Call { |
| 1757 | mr.mock.ctrl.T.Helper() |
| 1758 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ActivateImage", reflect.TypeOf((*MockVolthaServiceServer)(nil).ActivateImage), arg0, arg1) |
| 1759 | } |
| 1760 | |
| 1761 | // ActivateImageUpdate mocks base method. |
| 1762 | func (m *MockVolthaServiceServer) ActivateImageUpdate(arg0 context.Context, arg1 *voltha.ImageDownload) (*common.OperationResp, error) { |
| 1763 | m.ctrl.T.Helper() |
| 1764 | ret := m.ctrl.Call(m, "ActivateImageUpdate", arg0, arg1) |
| 1765 | ret0, _ := ret[0].(*common.OperationResp) |
| 1766 | ret1, _ := ret[1].(error) |
| 1767 | return ret0, ret1 |
| 1768 | } |
| 1769 | |
| 1770 | // ActivateImageUpdate indicates an expected call of ActivateImageUpdate. |
| 1771 | func (mr *MockVolthaServiceServerMockRecorder) ActivateImageUpdate(arg0, arg1 interface{}) *gomock.Call { |
| 1772 | mr.mock.ctrl.T.Helper() |
| 1773 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ActivateImageUpdate", reflect.TypeOf((*MockVolthaServiceServer)(nil).ActivateImageUpdate), arg0, arg1) |
| 1774 | } |
| 1775 | |
| 1776 | // CancelImageDownload mocks base method. |
| 1777 | func (m *MockVolthaServiceServer) CancelImageDownload(arg0 context.Context, arg1 *voltha.ImageDownload) (*common.OperationResp, error) { |
| 1778 | m.ctrl.T.Helper() |
| 1779 | ret := m.ctrl.Call(m, "CancelImageDownload", arg0, arg1) |
| 1780 | ret0, _ := ret[0].(*common.OperationResp) |
| 1781 | ret1, _ := ret[1].(error) |
| 1782 | return ret0, ret1 |
| 1783 | } |
| 1784 | |
| 1785 | // CancelImageDownload indicates an expected call of CancelImageDownload. |
| 1786 | func (mr *MockVolthaServiceServerMockRecorder) CancelImageDownload(arg0, arg1 interface{}) *gomock.Call { |
| 1787 | mr.mock.ctrl.T.Helper() |
| 1788 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CancelImageDownload", reflect.TypeOf((*MockVolthaServiceServer)(nil).CancelImageDownload), arg0, arg1) |
| 1789 | } |
| 1790 | |
| 1791 | // CommitImage mocks base method. |
| 1792 | func (m *MockVolthaServiceServer) CommitImage(arg0 context.Context, arg1 *voltha.DeviceImageRequest) (*voltha.DeviceImageResponse, error) { |
| 1793 | m.ctrl.T.Helper() |
| 1794 | ret := m.ctrl.Call(m, "CommitImage", arg0, arg1) |
| 1795 | ret0, _ := ret[0].(*voltha.DeviceImageResponse) |
| 1796 | ret1, _ := ret[1].(error) |
| 1797 | return ret0, ret1 |
| 1798 | } |
| 1799 | |
| 1800 | // CommitImage indicates an expected call of CommitImage. |
| 1801 | func (mr *MockVolthaServiceServerMockRecorder) CommitImage(arg0, arg1 interface{}) *gomock.Call { |
| 1802 | mr.mock.ctrl.T.Helper() |
| 1803 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CommitImage", reflect.TypeOf((*MockVolthaServiceServer)(nil).CommitImage), arg0, arg1) |
| 1804 | } |
| 1805 | |
| 1806 | // CreateDevice mocks base method. |
| 1807 | func (m *MockVolthaServiceServer) CreateDevice(arg0 context.Context, arg1 *voltha.Device) (*voltha.Device, error) { |
| 1808 | m.ctrl.T.Helper() |
| 1809 | ret := m.ctrl.Call(m, "CreateDevice", arg0, arg1) |
| 1810 | ret0, _ := ret[0].(*voltha.Device) |
| 1811 | ret1, _ := ret[1].(error) |
| 1812 | return ret0, ret1 |
| 1813 | } |
| 1814 | |
| 1815 | // CreateDevice indicates an expected call of CreateDevice. |
| 1816 | func (mr *MockVolthaServiceServerMockRecorder) CreateDevice(arg0, arg1 interface{}) *gomock.Call { |
| 1817 | mr.mock.ctrl.T.Helper() |
| 1818 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateDevice", reflect.TypeOf((*MockVolthaServiceServer)(nil).CreateDevice), arg0, arg1) |
| 1819 | } |
| 1820 | |
| 1821 | // CreateEventFilter mocks base method. |
| 1822 | func (m *MockVolthaServiceServer) CreateEventFilter(arg0 context.Context, arg1 *voltha.EventFilter) (*voltha.EventFilter, error) { |
| 1823 | m.ctrl.T.Helper() |
| 1824 | ret := m.ctrl.Call(m, "CreateEventFilter", arg0, arg1) |
| 1825 | ret0, _ := ret[0].(*voltha.EventFilter) |
| 1826 | ret1, _ := ret[1].(error) |
| 1827 | return ret0, ret1 |
| 1828 | } |
| 1829 | |
| 1830 | // CreateEventFilter indicates an expected call of CreateEventFilter. |
| 1831 | func (mr *MockVolthaServiceServerMockRecorder) CreateEventFilter(arg0, arg1 interface{}) *gomock.Call { |
| 1832 | mr.mock.ctrl.T.Helper() |
| 1833 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateEventFilter", reflect.TypeOf((*MockVolthaServiceServer)(nil).CreateEventFilter), arg0, arg1) |
| 1834 | } |
| 1835 | |
| 1836 | // DeleteDevice mocks base method. |
| 1837 | func (m *MockVolthaServiceServer) DeleteDevice(arg0 context.Context, arg1 *common.ID) (*empty.Empty, error) { |
| 1838 | m.ctrl.T.Helper() |
| 1839 | ret := m.ctrl.Call(m, "DeleteDevice", arg0, arg1) |
| 1840 | ret0, _ := ret[0].(*empty.Empty) |
| 1841 | ret1, _ := ret[1].(error) |
| 1842 | return ret0, ret1 |
| 1843 | } |
| 1844 | |
| 1845 | // DeleteDevice indicates an expected call of DeleteDevice. |
| 1846 | func (mr *MockVolthaServiceServerMockRecorder) DeleteDevice(arg0, arg1 interface{}) *gomock.Call { |
| 1847 | mr.mock.ctrl.T.Helper() |
| 1848 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDevice", reflect.TypeOf((*MockVolthaServiceServer)(nil).DeleteDevice), arg0, arg1) |
| 1849 | } |
| 1850 | |
| 1851 | // DeleteEventFilter mocks base method. |
| 1852 | func (m *MockVolthaServiceServer) DeleteEventFilter(arg0 context.Context, arg1 *voltha.EventFilter) (*empty.Empty, error) { |
| 1853 | m.ctrl.T.Helper() |
| 1854 | ret := m.ctrl.Call(m, "DeleteEventFilter", arg0, arg1) |
| 1855 | ret0, _ := ret[0].(*empty.Empty) |
| 1856 | ret1, _ := ret[1].(error) |
| 1857 | return ret0, ret1 |
| 1858 | } |
| 1859 | |
| 1860 | // DeleteEventFilter indicates an expected call of DeleteEventFilter. |
| 1861 | func (mr *MockVolthaServiceServerMockRecorder) DeleteEventFilter(arg0, arg1 interface{}) *gomock.Call { |
| 1862 | mr.mock.ctrl.T.Helper() |
| 1863 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteEventFilter", reflect.TypeOf((*MockVolthaServiceServer)(nil).DeleteEventFilter), arg0, arg1) |
| 1864 | } |
| 1865 | |
| 1866 | // DisableDevice mocks base method. |
| 1867 | func (m *MockVolthaServiceServer) DisableDevice(arg0 context.Context, arg1 *common.ID) (*empty.Empty, error) { |
| 1868 | m.ctrl.T.Helper() |
| 1869 | ret := m.ctrl.Call(m, "DisableDevice", arg0, arg1) |
| 1870 | ret0, _ := ret[0].(*empty.Empty) |
| 1871 | ret1, _ := ret[1].(error) |
| 1872 | return ret0, ret1 |
| 1873 | } |
| 1874 | |
| 1875 | // DisableDevice indicates an expected call of DisableDevice. |
| 1876 | func (mr *MockVolthaServiceServerMockRecorder) DisableDevice(arg0, arg1 interface{}) *gomock.Call { |
| 1877 | mr.mock.ctrl.T.Helper() |
| 1878 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableDevice", reflect.TypeOf((*MockVolthaServiceServer)(nil).DisableDevice), arg0, arg1) |
| 1879 | } |
| 1880 | |
| 1881 | // DisableLogicalDevicePort mocks base method. |
| 1882 | func (m *MockVolthaServiceServer) DisableLogicalDevicePort(arg0 context.Context, arg1 *voltha.LogicalPortId) (*empty.Empty, error) { |
| 1883 | m.ctrl.T.Helper() |
| 1884 | ret := m.ctrl.Call(m, "DisableLogicalDevicePort", arg0, arg1) |
| 1885 | ret0, _ := ret[0].(*empty.Empty) |
| 1886 | ret1, _ := ret[1].(error) |
| 1887 | return ret0, ret1 |
| 1888 | } |
| 1889 | |
| 1890 | // DisableLogicalDevicePort indicates an expected call of DisableLogicalDevicePort. |
| 1891 | func (mr *MockVolthaServiceServerMockRecorder) DisableLogicalDevicePort(arg0, arg1 interface{}) *gomock.Call { |
| 1892 | mr.mock.ctrl.T.Helper() |
| 1893 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableLogicalDevicePort", reflect.TypeOf((*MockVolthaServiceServer)(nil).DisableLogicalDevicePort), arg0, arg1) |
| 1894 | } |
| 1895 | |
| 1896 | // DisablePort mocks base method. |
| 1897 | func (m *MockVolthaServiceServer) DisablePort(arg0 context.Context, arg1 *voltha.Port) (*empty.Empty, error) { |
| 1898 | m.ctrl.T.Helper() |
| 1899 | ret := m.ctrl.Call(m, "DisablePort", arg0, arg1) |
| 1900 | ret0, _ := ret[0].(*empty.Empty) |
| 1901 | ret1, _ := ret[1].(error) |
| 1902 | return ret0, ret1 |
| 1903 | } |
| 1904 | |
| 1905 | // DisablePort indicates an expected call of DisablePort. |
| 1906 | func (mr *MockVolthaServiceServerMockRecorder) DisablePort(arg0, arg1 interface{}) *gomock.Call { |
| 1907 | mr.mock.ctrl.T.Helper() |
| 1908 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisablePort", reflect.TypeOf((*MockVolthaServiceServer)(nil).DisablePort), arg0, arg1) |
| 1909 | } |
| 1910 | |
| 1911 | // DownloadImage mocks base method. |
| 1912 | func (m *MockVolthaServiceServer) DownloadImage(arg0 context.Context, arg1 *voltha.ImageDownload) (*common.OperationResp, error) { |
| 1913 | m.ctrl.T.Helper() |
| 1914 | ret := m.ctrl.Call(m, "DownloadImage", arg0, arg1) |
| 1915 | ret0, _ := ret[0].(*common.OperationResp) |
| 1916 | ret1, _ := ret[1].(error) |
| 1917 | return ret0, ret1 |
| 1918 | } |
| 1919 | |
| 1920 | // DownloadImage indicates an expected call of DownloadImage. |
| 1921 | func (mr *MockVolthaServiceServerMockRecorder) DownloadImage(arg0, arg1 interface{}) *gomock.Call { |
| 1922 | mr.mock.ctrl.T.Helper() |
| 1923 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DownloadImage", reflect.TypeOf((*MockVolthaServiceServer)(nil).DownloadImage), arg0, arg1) |
| 1924 | } |
| 1925 | |
| 1926 | // DownloadImageToDevice mocks base method. |
| 1927 | func (m *MockVolthaServiceServer) DownloadImageToDevice(arg0 context.Context, arg1 *voltha.DeviceImageDownloadRequest) (*voltha.DeviceImageResponse, error) { |
| 1928 | m.ctrl.T.Helper() |
| 1929 | ret := m.ctrl.Call(m, "DownloadImageToDevice", arg0, arg1) |
| 1930 | ret0, _ := ret[0].(*voltha.DeviceImageResponse) |
| 1931 | ret1, _ := ret[1].(error) |
| 1932 | return ret0, ret1 |
| 1933 | } |
| 1934 | |
| 1935 | // DownloadImageToDevice indicates an expected call of DownloadImageToDevice. |
| 1936 | func (mr *MockVolthaServiceServerMockRecorder) DownloadImageToDevice(arg0, arg1 interface{}) *gomock.Call { |
| 1937 | mr.mock.ctrl.T.Helper() |
| 1938 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DownloadImageToDevice", reflect.TypeOf((*MockVolthaServiceServer)(nil).DownloadImageToDevice), arg0, arg1) |
| 1939 | } |
| 1940 | |
| 1941 | // EnableDevice mocks base method. |
| 1942 | func (m *MockVolthaServiceServer) EnableDevice(arg0 context.Context, arg1 *common.ID) (*empty.Empty, error) { |
| 1943 | m.ctrl.T.Helper() |
| 1944 | ret := m.ctrl.Call(m, "EnableDevice", arg0, arg1) |
| 1945 | ret0, _ := ret[0].(*empty.Empty) |
| 1946 | ret1, _ := ret[1].(error) |
| 1947 | return ret0, ret1 |
| 1948 | } |
| 1949 | |
| 1950 | // EnableDevice indicates an expected call of EnableDevice. |
| 1951 | func (mr *MockVolthaServiceServerMockRecorder) EnableDevice(arg0, arg1 interface{}) *gomock.Call { |
| 1952 | mr.mock.ctrl.T.Helper() |
| 1953 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableDevice", reflect.TypeOf((*MockVolthaServiceServer)(nil).EnableDevice), arg0, arg1) |
| 1954 | } |
| 1955 | |
| 1956 | // EnableLogicalDevicePort mocks base method. |
| 1957 | func (m *MockVolthaServiceServer) EnableLogicalDevicePort(arg0 context.Context, arg1 *voltha.LogicalPortId) (*empty.Empty, error) { |
| 1958 | m.ctrl.T.Helper() |
| 1959 | ret := m.ctrl.Call(m, "EnableLogicalDevicePort", arg0, arg1) |
| 1960 | ret0, _ := ret[0].(*empty.Empty) |
| 1961 | ret1, _ := ret[1].(error) |
| 1962 | return ret0, ret1 |
| 1963 | } |
| 1964 | |
| 1965 | // EnableLogicalDevicePort indicates an expected call of EnableLogicalDevicePort. |
| 1966 | func (mr *MockVolthaServiceServerMockRecorder) EnableLogicalDevicePort(arg0, arg1 interface{}) *gomock.Call { |
| 1967 | mr.mock.ctrl.T.Helper() |
| 1968 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableLogicalDevicePort", reflect.TypeOf((*MockVolthaServiceServer)(nil).EnableLogicalDevicePort), arg0, arg1) |
| 1969 | } |
| 1970 | |
| 1971 | // EnablePort mocks base method. |
| 1972 | func (m *MockVolthaServiceServer) EnablePort(arg0 context.Context, arg1 *voltha.Port) (*empty.Empty, error) { |
| 1973 | m.ctrl.T.Helper() |
| 1974 | ret := m.ctrl.Call(m, "EnablePort", arg0, arg1) |
| 1975 | ret0, _ := ret[0].(*empty.Empty) |
| 1976 | ret1, _ := ret[1].(error) |
| 1977 | return ret0, ret1 |
| 1978 | } |
| 1979 | |
| 1980 | // EnablePort indicates an expected call of EnablePort. |
| 1981 | func (mr *MockVolthaServiceServerMockRecorder) EnablePort(arg0, arg1 interface{}) *gomock.Call { |
| 1982 | mr.mock.ctrl.T.Helper() |
| 1983 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnablePort", reflect.TypeOf((*MockVolthaServiceServer)(nil).EnablePort), arg0, arg1) |
| 1984 | } |
| 1985 | |
| 1986 | // ForceDeleteDevice mocks base method. |
| 1987 | func (m *MockVolthaServiceServer) ForceDeleteDevice(arg0 context.Context, arg1 *common.ID) (*empty.Empty, error) { |
| 1988 | m.ctrl.T.Helper() |
| 1989 | ret := m.ctrl.Call(m, "ForceDeleteDevice", arg0, arg1) |
| 1990 | ret0, _ := ret[0].(*empty.Empty) |
| 1991 | ret1, _ := ret[1].(error) |
| 1992 | return ret0, ret1 |
| 1993 | } |
| 1994 | |
| 1995 | // ForceDeleteDevice indicates an expected call of ForceDeleteDevice. |
| 1996 | func (mr *MockVolthaServiceServerMockRecorder) ForceDeleteDevice(arg0, arg1 interface{}) *gomock.Call { |
| 1997 | mr.mock.ctrl.T.Helper() |
| 1998 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ForceDeleteDevice", reflect.TypeOf((*MockVolthaServiceServer)(nil).ForceDeleteDevice), arg0, arg1) |
| 1999 | } |
| 2000 | |
| 2001 | // GetAlarmDeviceData mocks base method. |
| 2002 | func (m *MockVolthaServiceServer) GetAlarmDeviceData(arg0 context.Context, arg1 *common.ID) (*omci.AlarmDeviceData, error) { |
| 2003 | m.ctrl.T.Helper() |
| 2004 | ret := m.ctrl.Call(m, "GetAlarmDeviceData", arg0, arg1) |
| 2005 | ret0, _ := ret[0].(*omci.AlarmDeviceData) |
| 2006 | ret1, _ := ret[1].(error) |
| 2007 | return ret0, ret1 |
| 2008 | } |
| 2009 | |
| 2010 | // GetAlarmDeviceData indicates an expected call of GetAlarmDeviceData. |
| 2011 | func (mr *MockVolthaServiceServerMockRecorder) GetAlarmDeviceData(arg0, arg1 interface{}) *gomock.Call { |
| 2012 | mr.mock.ctrl.T.Helper() |
| 2013 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAlarmDeviceData", reflect.TypeOf((*MockVolthaServiceServer)(nil).GetAlarmDeviceData), arg0, arg1) |
| 2014 | } |
| 2015 | |
| 2016 | // GetCoreInstance mocks base method. |
| 2017 | func (m *MockVolthaServiceServer) GetCoreInstance(arg0 context.Context, arg1 *common.ID) (*voltha.CoreInstance, error) { |
| 2018 | m.ctrl.T.Helper() |
| 2019 | ret := m.ctrl.Call(m, "GetCoreInstance", arg0, arg1) |
| 2020 | ret0, _ := ret[0].(*voltha.CoreInstance) |
| 2021 | ret1, _ := ret[1].(error) |
| 2022 | return ret0, ret1 |
| 2023 | } |
| 2024 | |
| 2025 | // GetCoreInstance indicates an expected call of GetCoreInstance. |
| 2026 | func (mr *MockVolthaServiceServerMockRecorder) GetCoreInstance(arg0, arg1 interface{}) *gomock.Call { |
| 2027 | mr.mock.ctrl.T.Helper() |
| 2028 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCoreInstance", reflect.TypeOf((*MockVolthaServiceServer)(nil).GetCoreInstance), arg0, arg1) |
| 2029 | } |
| 2030 | |
| 2031 | // GetDevice mocks base method. |
| 2032 | func (m *MockVolthaServiceServer) GetDevice(arg0 context.Context, arg1 *common.ID) (*voltha.Device, error) { |
| 2033 | m.ctrl.T.Helper() |
| 2034 | ret := m.ctrl.Call(m, "GetDevice", arg0, arg1) |
| 2035 | ret0, _ := ret[0].(*voltha.Device) |
| 2036 | ret1, _ := ret[1].(error) |
| 2037 | return ret0, ret1 |
| 2038 | } |
| 2039 | |
| 2040 | // GetDevice indicates an expected call of GetDevice. |
| 2041 | func (mr *MockVolthaServiceServerMockRecorder) GetDevice(arg0, arg1 interface{}) *gomock.Call { |
| 2042 | mr.mock.ctrl.T.Helper() |
| 2043 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDevice", reflect.TypeOf((*MockVolthaServiceServer)(nil).GetDevice), arg0, arg1) |
| 2044 | } |
| 2045 | |
| 2046 | // GetDeviceType mocks base method. |
| 2047 | func (m *MockVolthaServiceServer) GetDeviceType(arg0 context.Context, arg1 *common.ID) (*voltha.DeviceType, error) { |
| 2048 | m.ctrl.T.Helper() |
| 2049 | ret := m.ctrl.Call(m, "GetDeviceType", arg0, arg1) |
| 2050 | ret0, _ := ret[0].(*voltha.DeviceType) |
| 2051 | ret1, _ := ret[1].(error) |
| 2052 | return ret0, ret1 |
| 2053 | } |
| 2054 | |
| 2055 | // GetDeviceType indicates an expected call of GetDeviceType. |
| 2056 | func (mr *MockVolthaServiceServerMockRecorder) GetDeviceType(arg0, arg1 interface{}) *gomock.Call { |
| 2057 | mr.mock.ctrl.T.Helper() |
| 2058 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeviceType", reflect.TypeOf((*MockVolthaServiceServer)(nil).GetDeviceType), arg0, arg1) |
| 2059 | } |
| 2060 | |
| 2061 | // GetEventFilter mocks base method. |
| 2062 | func (m *MockVolthaServiceServer) GetEventFilter(arg0 context.Context, arg1 *common.ID) (*voltha.EventFilters, error) { |
| 2063 | m.ctrl.T.Helper() |
| 2064 | ret := m.ctrl.Call(m, "GetEventFilter", arg0, arg1) |
| 2065 | ret0, _ := ret[0].(*voltha.EventFilters) |
| 2066 | ret1, _ := ret[1].(error) |
| 2067 | return ret0, ret1 |
| 2068 | } |
| 2069 | |
| 2070 | // GetEventFilter indicates an expected call of GetEventFilter. |
| 2071 | func (mr *MockVolthaServiceServerMockRecorder) GetEventFilter(arg0, arg1 interface{}) *gomock.Call { |
| 2072 | mr.mock.ctrl.T.Helper() |
| 2073 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEventFilter", reflect.TypeOf((*MockVolthaServiceServer)(nil).GetEventFilter), arg0, arg1) |
| 2074 | } |
| 2075 | |
| 2076 | // GetExtValue mocks base method. |
| 2077 | func (m *MockVolthaServiceServer) GetExtValue(arg0 context.Context, arg1 *extension.ValueSpecifier) (*extension.ReturnValues, error) { |
| 2078 | m.ctrl.T.Helper() |
| 2079 | ret := m.ctrl.Call(m, "GetExtValue", arg0, arg1) |
| 2080 | ret0, _ := ret[0].(*extension.ReturnValues) |
| 2081 | ret1, _ := ret[1].(error) |
| 2082 | return ret0, ret1 |
| 2083 | } |
| 2084 | |
| 2085 | // GetExtValue indicates an expected call of GetExtValue. |
| 2086 | func (mr *MockVolthaServiceServerMockRecorder) GetExtValue(arg0, arg1 interface{}) *gomock.Call { |
| 2087 | mr.mock.ctrl.T.Helper() |
| 2088 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetExtValue", reflect.TypeOf((*MockVolthaServiceServer)(nil).GetExtValue), arg0, arg1) |
| 2089 | } |
| 2090 | |
| 2091 | // GetImageDownload mocks base method. |
| 2092 | func (m *MockVolthaServiceServer) GetImageDownload(arg0 context.Context, arg1 *voltha.ImageDownload) (*voltha.ImageDownload, error) { |
| 2093 | m.ctrl.T.Helper() |
| 2094 | ret := m.ctrl.Call(m, "GetImageDownload", arg0, arg1) |
| 2095 | ret0, _ := ret[0].(*voltha.ImageDownload) |
| 2096 | ret1, _ := ret[1].(error) |
| 2097 | return ret0, ret1 |
| 2098 | } |
| 2099 | |
| 2100 | // GetImageDownload indicates an expected call of GetImageDownload. |
| 2101 | func (mr *MockVolthaServiceServerMockRecorder) GetImageDownload(arg0, arg1 interface{}) *gomock.Call { |
| 2102 | mr.mock.ctrl.T.Helper() |
| 2103 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetImageDownload", reflect.TypeOf((*MockVolthaServiceServer)(nil).GetImageDownload), arg0, arg1) |
| 2104 | } |
| 2105 | |
| 2106 | // GetImageDownloadStatus mocks base method. |
| 2107 | func (m *MockVolthaServiceServer) GetImageDownloadStatus(arg0 context.Context, arg1 *voltha.ImageDownload) (*voltha.ImageDownload, error) { |
| 2108 | m.ctrl.T.Helper() |
| 2109 | ret := m.ctrl.Call(m, "GetImageDownloadStatus", arg0, arg1) |
| 2110 | ret0, _ := ret[0].(*voltha.ImageDownload) |
| 2111 | ret1, _ := ret[1].(error) |
| 2112 | return ret0, ret1 |
| 2113 | } |
| 2114 | |
| 2115 | // GetImageDownloadStatus indicates an expected call of GetImageDownloadStatus. |
| 2116 | func (mr *MockVolthaServiceServerMockRecorder) GetImageDownloadStatus(arg0, arg1 interface{}) *gomock.Call { |
| 2117 | mr.mock.ctrl.T.Helper() |
| 2118 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetImageDownloadStatus", reflect.TypeOf((*MockVolthaServiceServer)(nil).GetImageDownloadStatus), arg0, arg1) |
| 2119 | } |
| 2120 | |
| 2121 | // GetImageStatus mocks base method. |
| 2122 | func (m *MockVolthaServiceServer) GetImageStatus(arg0 context.Context, arg1 *voltha.DeviceImageRequest) (*voltha.DeviceImageResponse, error) { |
| 2123 | m.ctrl.T.Helper() |
| 2124 | ret := m.ctrl.Call(m, "GetImageStatus", arg0, arg1) |
| 2125 | ret0, _ := ret[0].(*voltha.DeviceImageResponse) |
| 2126 | ret1, _ := ret[1].(error) |
| 2127 | return ret0, ret1 |
| 2128 | } |
| 2129 | |
| 2130 | // GetImageStatus indicates an expected call of GetImageStatus. |
| 2131 | func (mr *MockVolthaServiceServerMockRecorder) GetImageStatus(arg0, arg1 interface{}) *gomock.Call { |
| 2132 | mr.mock.ctrl.T.Helper() |
| 2133 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetImageStatus", reflect.TypeOf((*MockVolthaServiceServer)(nil).GetImageStatus), arg0, arg1) |
| 2134 | } |
| 2135 | |
| 2136 | // GetImages mocks base method. |
| 2137 | func (m *MockVolthaServiceServer) GetImages(arg0 context.Context, arg1 *common.ID) (*voltha.Images, error) { |
| 2138 | m.ctrl.T.Helper() |
| 2139 | ret := m.ctrl.Call(m, "GetImages", arg0, arg1) |
| 2140 | ret0, _ := ret[0].(*voltha.Images) |
| 2141 | ret1, _ := ret[1].(error) |
| 2142 | return ret0, ret1 |
| 2143 | } |
| 2144 | |
| 2145 | // GetImages indicates an expected call of GetImages. |
| 2146 | func (mr *MockVolthaServiceServerMockRecorder) GetImages(arg0, arg1 interface{}) *gomock.Call { |
| 2147 | mr.mock.ctrl.T.Helper() |
| 2148 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetImages", reflect.TypeOf((*MockVolthaServiceServer)(nil).GetImages), arg0, arg1) |
| 2149 | } |
| 2150 | |
| 2151 | // GetLogicalDevice mocks base method. |
| 2152 | func (m *MockVolthaServiceServer) GetLogicalDevice(arg0 context.Context, arg1 *common.ID) (*voltha.LogicalDevice, error) { |
| 2153 | m.ctrl.T.Helper() |
| 2154 | ret := m.ctrl.Call(m, "GetLogicalDevice", arg0, arg1) |
| 2155 | ret0, _ := ret[0].(*voltha.LogicalDevice) |
| 2156 | ret1, _ := ret[1].(error) |
| 2157 | return ret0, ret1 |
| 2158 | } |
| 2159 | |
| 2160 | // GetLogicalDevice indicates an expected call of GetLogicalDevice. |
| 2161 | func (mr *MockVolthaServiceServerMockRecorder) GetLogicalDevice(arg0, arg1 interface{}) *gomock.Call { |
| 2162 | mr.mock.ctrl.T.Helper() |
| 2163 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalDevice", reflect.TypeOf((*MockVolthaServiceServer)(nil).GetLogicalDevice), arg0, arg1) |
| 2164 | } |
| 2165 | |
| 2166 | // GetLogicalDevicePort mocks base method. |
| 2167 | func (m *MockVolthaServiceServer) GetLogicalDevicePort(arg0 context.Context, arg1 *voltha.LogicalPortId) (*voltha.LogicalPort, error) { |
| 2168 | m.ctrl.T.Helper() |
| 2169 | ret := m.ctrl.Call(m, "GetLogicalDevicePort", arg0, arg1) |
| 2170 | ret0, _ := ret[0].(*voltha.LogicalPort) |
| 2171 | ret1, _ := ret[1].(error) |
| 2172 | return ret0, ret1 |
| 2173 | } |
| 2174 | |
| 2175 | // GetLogicalDevicePort indicates an expected call of GetLogicalDevicePort. |
| 2176 | func (mr *MockVolthaServiceServerMockRecorder) GetLogicalDevicePort(arg0, arg1 interface{}) *gomock.Call { |
| 2177 | mr.mock.ctrl.T.Helper() |
| 2178 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalDevicePort", reflect.TypeOf((*MockVolthaServiceServer)(nil).GetLogicalDevicePort), arg0, arg1) |
| 2179 | } |
| 2180 | |
| 2181 | // GetMibDeviceData mocks base method. |
| 2182 | func (m *MockVolthaServiceServer) GetMibDeviceData(arg0 context.Context, arg1 *common.ID) (*omci.MibDeviceData, error) { |
| 2183 | m.ctrl.T.Helper() |
| 2184 | ret := m.ctrl.Call(m, "GetMibDeviceData", arg0, arg1) |
| 2185 | ret0, _ := ret[0].(*omci.MibDeviceData) |
| 2186 | ret1, _ := ret[1].(error) |
| 2187 | return ret0, ret1 |
| 2188 | } |
| 2189 | |
| 2190 | // GetMibDeviceData indicates an expected call of GetMibDeviceData. |
| 2191 | func (mr *MockVolthaServiceServerMockRecorder) GetMibDeviceData(arg0, arg1 interface{}) *gomock.Call { |
| 2192 | mr.mock.ctrl.T.Helper() |
| 2193 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMibDeviceData", reflect.TypeOf((*MockVolthaServiceServer)(nil).GetMibDeviceData), arg0, arg1) |
| 2194 | } |
| 2195 | |
| 2196 | // GetOnuImages mocks base method. |
| 2197 | func (m *MockVolthaServiceServer) GetOnuImages(arg0 context.Context, arg1 *common.ID) (*voltha.OnuImages, error) { |
| 2198 | m.ctrl.T.Helper() |
| 2199 | ret := m.ctrl.Call(m, "GetOnuImages", arg0, arg1) |
| 2200 | ret0, _ := ret[0].(*voltha.OnuImages) |
| 2201 | ret1, _ := ret[1].(error) |
| 2202 | return ret0, ret1 |
| 2203 | } |
| 2204 | |
| 2205 | // GetOnuImages indicates an expected call of GetOnuImages. |
| 2206 | func (mr *MockVolthaServiceServerMockRecorder) GetOnuImages(arg0, arg1 interface{}) *gomock.Call { |
| 2207 | mr.mock.ctrl.T.Helper() |
| 2208 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOnuImages", reflect.TypeOf((*MockVolthaServiceServer)(nil).GetOnuImages), arg0, arg1) |
| 2209 | } |
| 2210 | |
| 2211 | // GetVoltha mocks base method. |
| 2212 | func (m *MockVolthaServiceServer) GetVoltha(arg0 context.Context, arg1 *empty.Empty) (*voltha.Voltha, error) { |
| 2213 | m.ctrl.T.Helper() |
| 2214 | ret := m.ctrl.Call(m, "GetVoltha", arg0, arg1) |
| 2215 | ret0, _ := ret[0].(*voltha.Voltha) |
| 2216 | ret1, _ := ret[1].(error) |
| 2217 | return ret0, ret1 |
| 2218 | } |
| 2219 | |
| 2220 | // GetVoltha indicates an expected call of GetVoltha. |
| 2221 | func (mr *MockVolthaServiceServerMockRecorder) GetVoltha(arg0, arg1 interface{}) *gomock.Call { |
| 2222 | mr.mock.ctrl.T.Helper() |
| 2223 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVoltha", reflect.TypeOf((*MockVolthaServiceServer)(nil).GetVoltha), arg0, arg1) |
| 2224 | } |
| 2225 | |
| 2226 | // ListAdapters mocks base method. |
| 2227 | func (m *MockVolthaServiceServer) ListAdapters(arg0 context.Context, arg1 *empty.Empty) (*voltha.Adapters, error) { |
| 2228 | m.ctrl.T.Helper() |
| 2229 | ret := m.ctrl.Call(m, "ListAdapters", arg0, arg1) |
| 2230 | ret0, _ := ret[0].(*voltha.Adapters) |
| 2231 | ret1, _ := ret[1].(error) |
| 2232 | return ret0, ret1 |
| 2233 | } |
| 2234 | |
| 2235 | // ListAdapters indicates an expected call of ListAdapters. |
| 2236 | func (mr *MockVolthaServiceServerMockRecorder) ListAdapters(arg0, arg1 interface{}) *gomock.Call { |
| 2237 | mr.mock.ctrl.T.Helper() |
| 2238 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAdapters", reflect.TypeOf((*MockVolthaServiceServer)(nil).ListAdapters), arg0, arg1) |
| 2239 | } |
| 2240 | |
| 2241 | // ListCoreInstances mocks base method. |
| 2242 | func (m *MockVolthaServiceServer) ListCoreInstances(arg0 context.Context, arg1 *empty.Empty) (*voltha.CoreInstances, error) { |
| 2243 | m.ctrl.T.Helper() |
| 2244 | ret := m.ctrl.Call(m, "ListCoreInstances", arg0, arg1) |
| 2245 | ret0, _ := ret[0].(*voltha.CoreInstances) |
| 2246 | ret1, _ := ret[1].(error) |
| 2247 | return ret0, ret1 |
| 2248 | } |
| 2249 | |
| 2250 | // ListCoreInstances indicates an expected call of ListCoreInstances. |
| 2251 | func (mr *MockVolthaServiceServerMockRecorder) ListCoreInstances(arg0, arg1 interface{}) *gomock.Call { |
| 2252 | mr.mock.ctrl.T.Helper() |
| 2253 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListCoreInstances", reflect.TypeOf((*MockVolthaServiceServer)(nil).ListCoreInstances), arg0, arg1) |
| 2254 | } |
| 2255 | |
| 2256 | // ListDeviceFlowGroups mocks base method. |
| 2257 | func (m *MockVolthaServiceServer) ListDeviceFlowGroups(arg0 context.Context, arg1 *common.ID) (*openflow_13.FlowGroups, error) { |
| 2258 | m.ctrl.T.Helper() |
| 2259 | ret := m.ctrl.Call(m, "ListDeviceFlowGroups", arg0, arg1) |
| 2260 | ret0, _ := ret[0].(*openflow_13.FlowGroups) |
| 2261 | ret1, _ := ret[1].(error) |
| 2262 | return ret0, ret1 |
| 2263 | } |
| 2264 | |
| 2265 | // ListDeviceFlowGroups indicates an expected call of ListDeviceFlowGroups. |
| 2266 | func (mr *MockVolthaServiceServerMockRecorder) ListDeviceFlowGroups(arg0, arg1 interface{}) *gomock.Call { |
| 2267 | mr.mock.ctrl.T.Helper() |
| 2268 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDeviceFlowGroups", reflect.TypeOf((*MockVolthaServiceServer)(nil).ListDeviceFlowGroups), arg0, arg1) |
| 2269 | } |
| 2270 | |
| 2271 | // ListDeviceFlows mocks base method. |
| 2272 | func (m *MockVolthaServiceServer) ListDeviceFlows(arg0 context.Context, arg1 *common.ID) (*openflow_13.Flows, error) { |
| 2273 | m.ctrl.T.Helper() |
| 2274 | ret := m.ctrl.Call(m, "ListDeviceFlows", arg0, arg1) |
| 2275 | ret0, _ := ret[0].(*openflow_13.Flows) |
| 2276 | ret1, _ := ret[1].(error) |
| 2277 | return ret0, ret1 |
| 2278 | } |
| 2279 | |
| 2280 | // ListDeviceFlows indicates an expected call of ListDeviceFlows. |
| 2281 | func (mr *MockVolthaServiceServerMockRecorder) ListDeviceFlows(arg0, arg1 interface{}) *gomock.Call { |
| 2282 | mr.mock.ctrl.T.Helper() |
| 2283 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDeviceFlows", reflect.TypeOf((*MockVolthaServiceServer)(nil).ListDeviceFlows), arg0, arg1) |
| 2284 | } |
| 2285 | |
| 2286 | // ListDeviceIds mocks base method. |
| 2287 | func (m *MockVolthaServiceServer) ListDeviceIds(arg0 context.Context, arg1 *empty.Empty) (*common.IDs, error) { |
| 2288 | m.ctrl.T.Helper() |
| 2289 | ret := m.ctrl.Call(m, "ListDeviceIds", arg0, arg1) |
| 2290 | ret0, _ := ret[0].(*common.IDs) |
| 2291 | ret1, _ := ret[1].(error) |
| 2292 | return ret0, ret1 |
| 2293 | } |
| 2294 | |
| 2295 | // ListDeviceIds indicates an expected call of ListDeviceIds. |
| 2296 | func (mr *MockVolthaServiceServerMockRecorder) ListDeviceIds(arg0, arg1 interface{}) *gomock.Call { |
| 2297 | mr.mock.ctrl.T.Helper() |
| 2298 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDeviceIds", reflect.TypeOf((*MockVolthaServiceServer)(nil).ListDeviceIds), arg0, arg1) |
| 2299 | } |
| 2300 | |
| 2301 | // ListDevicePmConfigs mocks base method. |
| 2302 | func (m *MockVolthaServiceServer) ListDevicePmConfigs(arg0 context.Context, arg1 *common.ID) (*voltha.PmConfigs, error) { |
| 2303 | m.ctrl.T.Helper() |
| 2304 | ret := m.ctrl.Call(m, "ListDevicePmConfigs", arg0, arg1) |
| 2305 | ret0, _ := ret[0].(*voltha.PmConfigs) |
| 2306 | ret1, _ := ret[1].(error) |
| 2307 | return ret0, ret1 |
| 2308 | } |
| 2309 | |
| 2310 | // ListDevicePmConfigs indicates an expected call of ListDevicePmConfigs. |
| 2311 | func (mr *MockVolthaServiceServerMockRecorder) ListDevicePmConfigs(arg0, arg1 interface{}) *gomock.Call { |
| 2312 | mr.mock.ctrl.T.Helper() |
| 2313 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDevicePmConfigs", reflect.TypeOf((*MockVolthaServiceServer)(nil).ListDevicePmConfigs), arg0, arg1) |
| 2314 | } |
| 2315 | |
| 2316 | // ListDevicePorts mocks base method. |
| 2317 | func (m *MockVolthaServiceServer) ListDevicePorts(arg0 context.Context, arg1 *common.ID) (*voltha.Ports, error) { |
| 2318 | m.ctrl.T.Helper() |
| 2319 | ret := m.ctrl.Call(m, "ListDevicePorts", arg0, arg1) |
| 2320 | ret0, _ := ret[0].(*voltha.Ports) |
| 2321 | ret1, _ := ret[1].(error) |
| 2322 | return ret0, ret1 |
| 2323 | } |
| 2324 | |
| 2325 | // ListDevicePorts indicates an expected call of ListDevicePorts. |
| 2326 | func (mr *MockVolthaServiceServerMockRecorder) ListDevicePorts(arg0, arg1 interface{}) *gomock.Call { |
| 2327 | mr.mock.ctrl.T.Helper() |
| 2328 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDevicePorts", reflect.TypeOf((*MockVolthaServiceServer)(nil).ListDevicePorts), arg0, arg1) |
| 2329 | } |
| 2330 | |
| 2331 | // ListDeviceTypes mocks base method. |
| 2332 | func (m *MockVolthaServiceServer) ListDeviceTypes(arg0 context.Context, arg1 *empty.Empty) (*voltha.DeviceTypes, error) { |
| 2333 | m.ctrl.T.Helper() |
| 2334 | ret := m.ctrl.Call(m, "ListDeviceTypes", arg0, arg1) |
| 2335 | ret0, _ := ret[0].(*voltha.DeviceTypes) |
| 2336 | ret1, _ := ret[1].(error) |
| 2337 | return ret0, ret1 |
| 2338 | } |
| 2339 | |
| 2340 | // ListDeviceTypes indicates an expected call of ListDeviceTypes. |
| 2341 | func (mr *MockVolthaServiceServerMockRecorder) ListDeviceTypes(arg0, arg1 interface{}) *gomock.Call { |
| 2342 | mr.mock.ctrl.T.Helper() |
| 2343 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDeviceTypes", reflect.TypeOf((*MockVolthaServiceServer)(nil).ListDeviceTypes), arg0, arg1) |
| 2344 | } |
| 2345 | |
| 2346 | // ListDevices mocks base method. |
| 2347 | func (m *MockVolthaServiceServer) ListDevices(arg0 context.Context, arg1 *empty.Empty) (*voltha.Devices, error) { |
| 2348 | m.ctrl.T.Helper() |
| 2349 | ret := m.ctrl.Call(m, "ListDevices", arg0, arg1) |
| 2350 | ret0, _ := ret[0].(*voltha.Devices) |
| 2351 | ret1, _ := ret[1].(error) |
| 2352 | return ret0, ret1 |
| 2353 | } |
| 2354 | |
| 2355 | // ListDevices indicates an expected call of ListDevices. |
| 2356 | func (mr *MockVolthaServiceServerMockRecorder) ListDevices(arg0, arg1 interface{}) *gomock.Call { |
| 2357 | mr.mock.ctrl.T.Helper() |
| 2358 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDevices", reflect.TypeOf((*MockVolthaServiceServer)(nil).ListDevices), arg0, arg1) |
| 2359 | } |
| 2360 | |
| 2361 | // ListEventFilters mocks base method. |
| 2362 | func (m *MockVolthaServiceServer) ListEventFilters(arg0 context.Context, arg1 *empty.Empty) (*voltha.EventFilters, error) { |
| 2363 | m.ctrl.T.Helper() |
| 2364 | ret := m.ctrl.Call(m, "ListEventFilters", arg0, arg1) |
| 2365 | ret0, _ := ret[0].(*voltha.EventFilters) |
| 2366 | ret1, _ := ret[1].(error) |
| 2367 | return ret0, ret1 |
| 2368 | } |
| 2369 | |
| 2370 | // ListEventFilters indicates an expected call of ListEventFilters. |
| 2371 | func (mr *MockVolthaServiceServerMockRecorder) ListEventFilters(arg0, arg1 interface{}) *gomock.Call { |
| 2372 | mr.mock.ctrl.T.Helper() |
| 2373 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListEventFilters", reflect.TypeOf((*MockVolthaServiceServer)(nil).ListEventFilters), arg0, arg1) |
| 2374 | } |
| 2375 | |
| 2376 | // ListImageDownloads mocks base method. |
| 2377 | func (m *MockVolthaServiceServer) ListImageDownloads(arg0 context.Context, arg1 *common.ID) (*voltha.ImageDownloads, error) { |
| 2378 | m.ctrl.T.Helper() |
| 2379 | ret := m.ctrl.Call(m, "ListImageDownloads", arg0, arg1) |
| 2380 | ret0, _ := ret[0].(*voltha.ImageDownloads) |
| 2381 | ret1, _ := ret[1].(error) |
| 2382 | return ret0, ret1 |
| 2383 | } |
| 2384 | |
| 2385 | // ListImageDownloads indicates an expected call of ListImageDownloads. |
| 2386 | func (mr *MockVolthaServiceServerMockRecorder) ListImageDownloads(arg0, arg1 interface{}) *gomock.Call { |
| 2387 | mr.mock.ctrl.T.Helper() |
| 2388 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListImageDownloads", reflect.TypeOf((*MockVolthaServiceServer)(nil).ListImageDownloads), arg0, arg1) |
| 2389 | } |
| 2390 | |
| 2391 | // ListLogicalDeviceFlowGroups mocks base method. |
| 2392 | func (m *MockVolthaServiceServer) ListLogicalDeviceFlowGroups(arg0 context.Context, arg1 *common.ID) (*openflow_13.FlowGroups, error) { |
| 2393 | m.ctrl.T.Helper() |
| 2394 | ret := m.ctrl.Call(m, "ListLogicalDeviceFlowGroups", arg0, arg1) |
| 2395 | ret0, _ := ret[0].(*openflow_13.FlowGroups) |
| 2396 | ret1, _ := ret[1].(error) |
| 2397 | return ret0, ret1 |
| 2398 | } |
| 2399 | |
| 2400 | // ListLogicalDeviceFlowGroups indicates an expected call of ListLogicalDeviceFlowGroups. |
| 2401 | func (mr *MockVolthaServiceServerMockRecorder) ListLogicalDeviceFlowGroups(arg0, arg1 interface{}) *gomock.Call { |
| 2402 | mr.mock.ctrl.T.Helper() |
| 2403 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalDeviceFlowGroups", reflect.TypeOf((*MockVolthaServiceServer)(nil).ListLogicalDeviceFlowGroups), arg0, arg1) |
| 2404 | } |
| 2405 | |
| 2406 | // ListLogicalDeviceFlows mocks base method. |
| 2407 | func (m *MockVolthaServiceServer) ListLogicalDeviceFlows(arg0 context.Context, arg1 *common.ID) (*openflow_13.Flows, error) { |
| 2408 | m.ctrl.T.Helper() |
| 2409 | ret := m.ctrl.Call(m, "ListLogicalDeviceFlows", arg0, arg1) |
| 2410 | ret0, _ := ret[0].(*openflow_13.Flows) |
| 2411 | ret1, _ := ret[1].(error) |
| 2412 | return ret0, ret1 |
| 2413 | } |
| 2414 | |
| 2415 | // ListLogicalDeviceFlows indicates an expected call of ListLogicalDeviceFlows. |
| 2416 | func (mr *MockVolthaServiceServerMockRecorder) ListLogicalDeviceFlows(arg0, arg1 interface{}) *gomock.Call { |
| 2417 | mr.mock.ctrl.T.Helper() |
| 2418 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalDeviceFlows", reflect.TypeOf((*MockVolthaServiceServer)(nil).ListLogicalDeviceFlows), arg0, arg1) |
| 2419 | } |
| 2420 | |
| 2421 | // ListLogicalDeviceMeters mocks base method. |
| 2422 | func (m *MockVolthaServiceServer) ListLogicalDeviceMeters(arg0 context.Context, arg1 *common.ID) (*openflow_13.Meters, error) { |
| 2423 | m.ctrl.T.Helper() |
| 2424 | ret := m.ctrl.Call(m, "ListLogicalDeviceMeters", arg0, arg1) |
| 2425 | ret0, _ := ret[0].(*openflow_13.Meters) |
| 2426 | ret1, _ := ret[1].(error) |
| 2427 | return ret0, ret1 |
| 2428 | } |
| 2429 | |
| 2430 | // ListLogicalDeviceMeters indicates an expected call of ListLogicalDeviceMeters. |
| 2431 | func (mr *MockVolthaServiceServerMockRecorder) ListLogicalDeviceMeters(arg0, arg1 interface{}) *gomock.Call { |
| 2432 | mr.mock.ctrl.T.Helper() |
| 2433 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalDeviceMeters", reflect.TypeOf((*MockVolthaServiceServer)(nil).ListLogicalDeviceMeters), arg0, arg1) |
| 2434 | } |
| 2435 | |
| 2436 | // ListLogicalDevicePorts mocks base method. |
| 2437 | func (m *MockVolthaServiceServer) ListLogicalDevicePorts(arg0 context.Context, arg1 *common.ID) (*voltha.LogicalPorts, error) { |
| 2438 | m.ctrl.T.Helper() |
| 2439 | ret := m.ctrl.Call(m, "ListLogicalDevicePorts", arg0, arg1) |
| 2440 | ret0, _ := ret[0].(*voltha.LogicalPorts) |
| 2441 | ret1, _ := ret[1].(error) |
| 2442 | return ret0, ret1 |
| 2443 | } |
| 2444 | |
| 2445 | // ListLogicalDevicePorts indicates an expected call of ListLogicalDevicePorts. |
| 2446 | func (mr *MockVolthaServiceServerMockRecorder) ListLogicalDevicePorts(arg0, arg1 interface{}) *gomock.Call { |
| 2447 | mr.mock.ctrl.T.Helper() |
| 2448 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalDevicePorts", reflect.TypeOf((*MockVolthaServiceServer)(nil).ListLogicalDevicePorts), arg0, arg1) |
| 2449 | } |
| 2450 | |
| 2451 | // ListLogicalDevices mocks base method. |
| 2452 | func (m *MockVolthaServiceServer) ListLogicalDevices(arg0 context.Context, arg1 *empty.Empty) (*voltha.LogicalDevices, error) { |
| 2453 | m.ctrl.T.Helper() |
| 2454 | ret := m.ctrl.Call(m, "ListLogicalDevices", arg0, arg1) |
| 2455 | ret0, _ := ret[0].(*voltha.LogicalDevices) |
| 2456 | ret1, _ := ret[1].(error) |
| 2457 | return ret0, ret1 |
| 2458 | } |
| 2459 | |
| 2460 | // ListLogicalDevices indicates an expected call of ListLogicalDevices. |
| 2461 | func (mr *MockVolthaServiceServerMockRecorder) ListLogicalDevices(arg0, arg1 interface{}) *gomock.Call { |
| 2462 | mr.mock.ctrl.T.Helper() |
| 2463 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalDevices", reflect.TypeOf((*MockVolthaServiceServer)(nil).ListLogicalDevices), arg0, arg1) |
| 2464 | } |
| 2465 | |
| 2466 | // RebootDevice mocks base method. |
| 2467 | func (m *MockVolthaServiceServer) RebootDevice(arg0 context.Context, arg1 *common.ID) (*empty.Empty, error) { |
| 2468 | m.ctrl.T.Helper() |
| 2469 | ret := m.ctrl.Call(m, "RebootDevice", arg0, arg1) |
| 2470 | ret0, _ := ret[0].(*empty.Empty) |
| 2471 | ret1, _ := ret[1].(error) |
| 2472 | return ret0, ret1 |
| 2473 | } |
| 2474 | |
| 2475 | // RebootDevice indicates an expected call of RebootDevice. |
| 2476 | func (mr *MockVolthaServiceServerMockRecorder) RebootDevice(arg0, arg1 interface{}) *gomock.Call { |
| 2477 | mr.mock.ctrl.T.Helper() |
| 2478 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RebootDevice", reflect.TypeOf((*MockVolthaServiceServer)(nil).RebootDevice), arg0, arg1) |
| 2479 | } |
| 2480 | |
| 2481 | // ReceiveChangeEvents mocks base method. |
| 2482 | func (m *MockVolthaServiceServer) ReceiveChangeEvents(arg0 *empty.Empty, arg1 voltha.VolthaService_ReceiveChangeEventsServer) error { |
| 2483 | m.ctrl.T.Helper() |
| 2484 | ret := m.ctrl.Call(m, "ReceiveChangeEvents", arg0, arg1) |
| 2485 | ret0, _ := ret[0].(error) |
| 2486 | return ret0 |
| 2487 | } |
| 2488 | |
| 2489 | // ReceiveChangeEvents indicates an expected call of ReceiveChangeEvents. |
| 2490 | func (mr *MockVolthaServiceServerMockRecorder) ReceiveChangeEvents(arg0, arg1 interface{}) *gomock.Call { |
| 2491 | mr.mock.ctrl.T.Helper() |
| 2492 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReceiveChangeEvents", reflect.TypeOf((*MockVolthaServiceServer)(nil).ReceiveChangeEvents), arg0, arg1) |
| 2493 | } |
| 2494 | |
| 2495 | // ReceivePacketsIn mocks base method. |
| 2496 | func (m *MockVolthaServiceServer) ReceivePacketsIn(arg0 *empty.Empty, arg1 voltha.VolthaService_ReceivePacketsInServer) error { |
| 2497 | m.ctrl.T.Helper() |
| 2498 | ret := m.ctrl.Call(m, "ReceivePacketsIn", arg0, arg1) |
| 2499 | ret0, _ := ret[0].(error) |
| 2500 | return ret0 |
| 2501 | } |
| 2502 | |
| 2503 | // ReceivePacketsIn indicates an expected call of ReceivePacketsIn. |
| 2504 | func (mr *MockVolthaServiceServerMockRecorder) ReceivePacketsIn(arg0, arg1 interface{}) *gomock.Call { |
| 2505 | mr.mock.ctrl.T.Helper() |
| 2506 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReceivePacketsIn", reflect.TypeOf((*MockVolthaServiceServer)(nil).ReceivePacketsIn), arg0, arg1) |
| 2507 | } |
| 2508 | |
| 2509 | // ReconcileDevices mocks base method. |
| 2510 | func (m *MockVolthaServiceServer) ReconcileDevices(arg0 context.Context, arg1 *common.IDs) (*empty.Empty, error) { |
| 2511 | m.ctrl.T.Helper() |
| 2512 | ret := m.ctrl.Call(m, "ReconcileDevices", arg0, arg1) |
| 2513 | ret0, _ := ret[0].(*empty.Empty) |
| 2514 | ret1, _ := ret[1].(error) |
| 2515 | return ret0, ret1 |
| 2516 | } |
| 2517 | |
| 2518 | // ReconcileDevices indicates an expected call of ReconcileDevices. |
| 2519 | func (mr *MockVolthaServiceServerMockRecorder) ReconcileDevices(arg0, arg1 interface{}) *gomock.Call { |
| 2520 | mr.mock.ctrl.T.Helper() |
| 2521 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReconcileDevices", reflect.TypeOf((*MockVolthaServiceServer)(nil).ReconcileDevices), arg0, arg1) |
| 2522 | } |
| 2523 | |
| 2524 | // RevertImageUpdate mocks base method. |
| 2525 | func (m *MockVolthaServiceServer) RevertImageUpdate(arg0 context.Context, arg1 *voltha.ImageDownload) (*common.OperationResp, error) { |
| 2526 | m.ctrl.T.Helper() |
| 2527 | ret := m.ctrl.Call(m, "RevertImageUpdate", arg0, arg1) |
| 2528 | ret0, _ := ret[0].(*common.OperationResp) |
| 2529 | ret1, _ := ret[1].(error) |
| 2530 | return ret0, ret1 |
| 2531 | } |
| 2532 | |
| 2533 | // RevertImageUpdate indicates an expected call of RevertImageUpdate. |
| 2534 | func (mr *MockVolthaServiceServerMockRecorder) RevertImageUpdate(arg0, arg1 interface{}) *gomock.Call { |
| 2535 | mr.mock.ctrl.T.Helper() |
| 2536 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RevertImageUpdate", reflect.TypeOf((*MockVolthaServiceServer)(nil).RevertImageUpdate), arg0, arg1) |
| 2537 | } |
| 2538 | |
| 2539 | // SelfTest mocks base method. |
| 2540 | func (m *MockVolthaServiceServer) SelfTest(arg0 context.Context, arg1 *common.ID) (*voltha.SelfTestResponse, error) { |
| 2541 | m.ctrl.T.Helper() |
| 2542 | ret := m.ctrl.Call(m, "SelfTest", arg0, arg1) |
| 2543 | ret0, _ := ret[0].(*voltha.SelfTestResponse) |
| 2544 | ret1, _ := ret[1].(error) |
| 2545 | return ret0, ret1 |
| 2546 | } |
| 2547 | |
| 2548 | // SelfTest indicates an expected call of SelfTest. |
| 2549 | func (mr *MockVolthaServiceServerMockRecorder) SelfTest(arg0, arg1 interface{}) *gomock.Call { |
| 2550 | mr.mock.ctrl.T.Helper() |
| 2551 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SelfTest", reflect.TypeOf((*MockVolthaServiceServer)(nil).SelfTest), arg0, arg1) |
| 2552 | } |
| 2553 | |
| 2554 | // SetExtValue mocks base method. |
| 2555 | func (m *MockVolthaServiceServer) SetExtValue(arg0 context.Context, arg1 *extension.ValueSet) (*empty.Empty, error) { |
| 2556 | m.ctrl.T.Helper() |
| 2557 | ret := m.ctrl.Call(m, "SetExtValue", arg0, arg1) |
| 2558 | ret0, _ := ret[0].(*empty.Empty) |
| 2559 | ret1, _ := ret[1].(error) |
| 2560 | return ret0, ret1 |
| 2561 | } |
| 2562 | |
| 2563 | // SetExtValue indicates an expected call of SetExtValue. |
| 2564 | func (mr *MockVolthaServiceServerMockRecorder) SetExtValue(arg0, arg1 interface{}) *gomock.Call { |
| 2565 | mr.mock.ctrl.T.Helper() |
| 2566 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetExtValue", reflect.TypeOf((*MockVolthaServiceServer)(nil).SetExtValue), arg0, arg1) |
| 2567 | } |
| 2568 | |
| 2569 | // SimulateAlarm mocks base method. |
| 2570 | func (m *MockVolthaServiceServer) SimulateAlarm(arg0 context.Context, arg1 *voltha.SimulateAlarmRequest) (*common.OperationResp, error) { |
| 2571 | m.ctrl.T.Helper() |
| 2572 | ret := m.ctrl.Call(m, "SimulateAlarm", arg0, arg1) |
| 2573 | ret0, _ := ret[0].(*common.OperationResp) |
| 2574 | ret1, _ := ret[1].(error) |
| 2575 | return ret0, ret1 |
| 2576 | } |
| 2577 | |
| 2578 | // SimulateAlarm indicates an expected call of SimulateAlarm. |
| 2579 | func (mr *MockVolthaServiceServerMockRecorder) SimulateAlarm(arg0, arg1 interface{}) *gomock.Call { |
| 2580 | mr.mock.ctrl.T.Helper() |
| 2581 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SimulateAlarm", reflect.TypeOf((*MockVolthaServiceServer)(nil).SimulateAlarm), arg0, arg1) |
| 2582 | } |
| 2583 | |
| 2584 | // StartOmciTestAction mocks base method. |
| 2585 | func (m *MockVolthaServiceServer) StartOmciTestAction(arg0 context.Context, arg1 *omci.OmciTestRequest) (*omci.TestResponse, error) { |
| 2586 | m.ctrl.T.Helper() |
| 2587 | ret := m.ctrl.Call(m, "StartOmciTestAction", arg0, arg1) |
| 2588 | ret0, _ := ret[0].(*omci.TestResponse) |
| 2589 | ret1, _ := ret[1].(error) |
| 2590 | return ret0, ret1 |
| 2591 | } |
| 2592 | |
| 2593 | // StartOmciTestAction indicates an expected call of StartOmciTestAction. |
| 2594 | func (mr *MockVolthaServiceServerMockRecorder) StartOmciTestAction(arg0, arg1 interface{}) *gomock.Call { |
| 2595 | mr.mock.ctrl.T.Helper() |
| 2596 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StartOmciTestAction", reflect.TypeOf((*MockVolthaServiceServer)(nil).StartOmciTestAction), arg0, arg1) |
| 2597 | } |
| 2598 | |
| 2599 | // StreamPacketsOut mocks base method. |
| 2600 | func (m *MockVolthaServiceServer) StreamPacketsOut(arg0 voltha.VolthaService_StreamPacketsOutServer) error { |
| 2601 | m.ctrl.T.Helper() |
| 2602 | ret := m.ctrl.Call(m, "StreamPacketsOut", arg0) |
| 2603 | ret0, _ := ret[0].(error) |
| 2604 | return ret0 |
| 2605 | } |
| 2606 | |
| 2607 | // StreamPacketsOut indicates an expected call of StreamPacketsOut. |
| 2608 | func (mr *MockVolthaServiceServerMockRecorder) StreamPacketsOut(arg0 interface{}) *gomock.Call { |
| 2609 | mr.mock.ctrl.T.Helper() |
| 2610 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StreamPacketsOut", reflect.TypeOf((*MockVolthaServiceServer)(nil).StreamPacketsOut), arg0) |
| 2611 | } |
| 2612 | |
| 2613 | // UpdateDevicePmConfigs mocks base method. |
| 2614 | func (m *MockVolthaServiceServer) UpdateDevicePmConfigs(arg0 context.Context, arg1 *voltha.PmConfigs) (*empty.Empty, error) { |
| 2615 | m.ctrl.T.Helper() |
| 2616 | ret := m.ctrl.Call(m, "UpdateDevicePmConfigs", arg0, arg1) |
| 2617 | ret0, _ := ret[0].(*empty.Empty) |
| 2618 | ret1, _ := ret[1].(error) |
| 2619 | return ret0, ret1 |
| 2620 | } |
| 2621 | |
| 2622 | // UpdateDevicePmConfigs indicates an expected call of UpdateDevicePmConfigs. |
| 2623 | func (mr *MockVolthaServiceServerMockRecorder) UpdateDevicePmConfigs(arg0, arg1 interface{}) *gomock.Call { |
| 2624 | mr.mock.ctrl.T.Helper() |
| 2625 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateDevicePmConfigs", reflect.TypeOf((*MockVolthaServiceServer)(nil).UpdateDevicePmConfigs), arg0, arg1) |
| 2626 | } |
| 2627 | |
| 2628 | // UpdateEventFilter mocks base method. |
| 2629 | func (m *MockVolthaServiceServer) UpdateEventFilter(arg0 context.Context, arg1 *voltha.EventFilter) (*voltha.EventFilter, error) { |
| 2630 | m.ctrl.T.Helper() |
| 2631 | ret := m.ctrl.Call(m, "UpdateEventFilter", arg0, arg1) |
| 2632 | ret0, _ := ret[0].(*voltha.EventFilter) |
| 2633 | ret1, _ := ret[1].(error) |
| 2634 | return ret0, ret1 |
| 2635 | } |
| 2636 | |
| 2637 | // UpdateEventFilter indicates an expected call of UpdateEventFilter. |
| 2638 | func (mr *MockVolthaServiceServerMockRecorder) UpdateEventFilter(arg0, arg1 interface{}) *gomock.Call { |
| 2639 | mr.mock.ctrl.T.Helper() |
| 2640 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateEventFilter", reflect.TypeOf((*MockVolthaServiceServer)(nil).UpdateEventFilter), arg0, arg1) |
| 2641 | } |
| 2642 | |
| 2643 | // UpdateLogicalDeviceFlowGroupTable mocks base method. |
| 2644 | func (m *MockVolthaServiceServer) UpdateLogicalDeviceFlowGroupTable(arg0 context.Context, arg1 *openflow_13.FlowGroupTableUpdate) (*empty.Empty, error) { |
| 2645 | m.ctrl.T.Helper() |
| 2646 | ret := m.ctrl.Call(m, "UpdateLogicalDeviceFlowGroupTable", arg0, arg1) |
| 2647 | ret0, _ := ret[0].(*empty.Empty) |
| 2648 | ret1, _ := ret[1].(error) |
| 2649 | return ret0, ret1 |
| 2650 | } |
| 2651 | |
| 2652 | // UpdateLogicalDeviceFlowGroupTable indicates an expected call of UpdateLogicalDeviceFlowGroupTable. |
| 2653 | func (mr *MockVolthaServiceServerMockRecorder) UpdateLogicalDeviceFlowGroupTable(arg0, arg1 interface{}) *gomock.Call { |
| 2654 | mr.mock.ctrl.T.Helper() |
| 2655 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalDeviceFlowGroupTable", reflect.TypeOf((*MockVolthaServiceServer)(nil).UpdateLogicalDeviceFlowGroupTable), arg0, arg1) |
| 2656 | } |
| 2657 | |
| 2658 | // UpdateLogicalDeviceFlowTable mocks base method. |
| 2659 | func (m *MockVolthaServiceServer) UpdateLogicalDeviceFlowTable(arg0 context.Context, arg1 *openflow_13.FlowTableUpdate) (*empty.Empty, error) { |
| 2660 | m.ctrl.T.Helper() |
| 2661 | ret := m.ctrl.Call(m, "UpdateLogicalDeviceFlowTable", arg0, arg1) |
| 2662 | ret0, _ := ret[0].(*empty.Empty) |
| 2663 | ret1, _ := ret[1].(error) |
| 2664 | return ret0, ret1 |
| 2665 | } |
| 2666 | |
| 2667 | // UpdateLogicalDeviceFlowTable indicates an expected call of UpdateLogicalDeviceFlowTable. |
| 2668 | func (mr *MockVolthaServiceServerMockRecorder) UpdateLogicalDeviceFlowTable(arg0, arg1 interface{}) *gomock.Call { |
| 2669 | mr.mock.ctrl.T.Helper() |
| 2670 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalDeviceFlowTable", reflect.TypeOf((*MockVolthaServiceServer)(nil).UpdateLogicalDeviceFlowTable), arg0, arg1) |
| 2671 | } |
| 2672 | |
| 2673 | // UpdateLogicalDeviceMeterTable mocks base method. |
| 2674 | func (m *MockVolthaServiceServer) UpdateLogicalDeviceMeterTable(arg0 context.Context, arg1 *openflow_13.MeterModUpdate) (*empty.Empty, error) { |
| 2675 | m.ctrl.T.Helper() |
| 2676 | ret := m.ctrl.Call(m, "UpdateLogicalDeviceMeterTable", arg0, arg1) |
| 2677 | ret0, _ := ret[0].(*empty.Empty) |
| 2678 | ret1, _ := ret[1].(error) |
| 2679 | return ret0, ret1 |
| 2680 | } |
| 2681 | |
| 2682 | // UpdateLogicalDeviceMeterTable indicates an expected call of UpdateLogicalDeviceMeterTable. |
| 2683 | func (mr *MockVolthaServiceServerMockRecorder) UpdateLogicalDeviceMeterTable(arg0, arg1 interface{}) *gomock.Call { |
| 2684 | mr.mock.ctrl.T.Helper() |
| 2685 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalDeviceMeterTable", reflect.TypeOf((*MockVolthaServiceServer)(nil).UpdateLogicalDeviceMeterTable), arg0, arg1) |
| 2686 | } |
| 2687 | |
| 2688 | // MockVolthaService_StreamPacketsOutServer is a mock of VolthaService_StreamPacketsOutServer interface. |
| 2689 | type MockVolthaService_StreamPacketsOutServer struct { |
| 2690 | ctrl *gomock.Controller |
| 2691 | recorder *MockVolthaService_StreamPacketsOutServerMockRecorder |
| 2692 | } |
| 2693 | |
| 2694 | // MockVolthaService_StreamPacketsOutServerMockRecorder is the mock recorder for MockVolthaService_StreamPacketsOutServer. |
| 2695 | type MockVolthaService_StreamPacketsOutServerMockRecorder struct { |
| 2696 | mock *MockVolthaService_StreamPacketsOutServer |
| 2697 | } |
| 2698 | |
| 2699 | // NewMockVolthaService_StreamPacketsOutServer creates a new mock instance. |
| 2700 | func NewMockVolthaService_StreamPacketsOutServer(ctrl *gomock.Controller) *MockVolthaService_StreamPacketsOutServer { |
| 2701 | mock := &MockVolthaService_StreamPacketsOutServer{ctrl: ctrl} |
| 2702 | mock.recorder = &MockVolthaService_StreamPacketsOutServerMockRecorder{mock} |
| 2703 | return mock |
| 2704 | } |
| 2705 | |
| 2706 | // EXPECT returns an object that allows the caller to indicate expected use. |
| 2707 | func (m *MockVolthaService_StreamPacketsOutServer) EXPECT() *MockVolthaService_StreamPacketsOutServerMockRecorder { |
| 2708 | return m.recorder |
| 2709 | } |
| 2710 | |
| 2711 | // Context mocks base method. |
| 2712 | func (m *MockVolthaService_StreamPacketsOutServer) Context() context.Context { |
| 2713 | m.ctrl.T.Helper() |
| 2714 | ret := m.ctrl.Call(m, "Context") |
| 2715 | ret0, _ := ret[0].(context.Context) |
| 2716 | return ret0 |
| 2717 | } |
| 2718 | |
| 2719 | // Context indicates an expected call of Context. |
| 2720 | func (mr *MockVolthaService_StreamPacketsOutServerMockRecorder) Context() *gomock.Call { |
| 2721 | mr.mock.ctrl.T.Helper() |
| 2722 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockVolthaService_StreamPacketsOutServer)(nil).Context)) |
| 2723 | } |
| 2724 | |
| 2725 | // Recv mocks base method. |
| 2726 | func (m *MockVolthaService_StreamPacketsOutServer) Recv() (*openflow_13.PacketOut, error) { |
| 2727 | m.ctrl.T.Helper() |
| 2728 | ret := m.ctrl.Call(m, "Recv") |
| 2729 | ret0, _ := ret[0].(*openflow_13.PacketOut) |
| 2730 | ret1, _ := ret[1].(error) |
| 2731 | return ret0, ret1 |
| 2732 | } |
| 2733 | |
| 2734 | // Recv indicates an expected call of Recv. |
| 2735 | func (mr *MockVolthaService_StreamPacketsOutServerMockRecorder) Recv() *gomock.Call { |
| 2736 | mr.mock.ctrl.T.Helper() |
| 2737 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Recv", reflect.TypeOf((*MockVolthaService_StreamPacketsOutServer)(nil).Recv)) |
| 2738 | } |
| 2739 | |
| 2740 | // RecvMsg mocks base method. |
| 2741 | func (m_2 *MockVolthaService_StreamPacketsOutServer) RecvMsg(m interface{}) error { |
| 2742 | m_2.ctrl.T.Helper() |
| 2743 | ret := m_2.ctrl.Call(m_2, "RecvMsg", m) |
| 2744 | ret0, _ := ret[0].(error) |
| 2745 | return ret0 |
| 2746 | } |
| 2747 | |
| 2748 | // RecvMsg indicates an expected call of RecvMsg. |
| 2749 | func (mr *MockVolthaService_StreamPacketsOutServerMockRecorder) RecvMsg(m interface{}) *gomock.Call { |
| 2750 | mr.mock.ctrl.T.Helper() |
| 2751 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockVolthaService_StreamPacketsOutServer)(nil).RecvMsg), m) |
| 2752 | } |
| 2753 | |
| 2754 | // SendAndClose mocks base method. |
| 2755 | func (m *MockVolthaService_StreamPacketsOutServer) SendAndClose(arg0 *empty.Empty) error { |
| 2756 | m.ctrl.T.Helper() |
| 2757 | ret := m.ctrl.Call(m, "SendAndClose", arg0) |
| 2758 | ret0, _ := ret[0].(error) |
| 2759 | return ret0 |
| 2760 | } |
| 2761 | |
| 2762 | // SendAndClose indicates an expected call of SendAndClose. |
| 2763 | func (mr *MockVolthaService_StreamPacketsOutServerMockRecorder) SendAndClose(arg0 interface{}) *gomock.Call { |
| 2764 | mr.mock.ctrl.T.Helper() |
| 2765 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendAndClose", reflect.TypeOf((*MockVolthaService_StreamPacketsOutServer)(nil).SendAndClose), arg0) |
| 2766 | } |
| 2767 | |
| 2768 | // SendHeader mocks base method. |
| 2769 | func (m *MockVolthaService_StreamPacketsOutServer) SendHeader(arg0 metadata.MD) error { |
| 2770 | m.ctrl.T.Helper() |
| 2771 | ret := m.ctrl.Call(m, "SendHeader", arg0) |
| 2772 | ret0, _ := ret[0].(error) |
| 2773 | return ret0 |
| 2774 | } |
| 2775 | |
| 2776 | // SendHeader indicates an expected call of SendHeader. |
| 2777 | func (mr *MockVolthaService_StreamPacketsOutServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call { |
| 2778 | mr.mock.ctrl.T.Helper() |
| 2779 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendHeader", reflect.TypeOf((*MockVolthaService_StreamPacketsOutServer)(nil).SendHeader), arg0) |
| 2780 | } |
| 2781 | |
| 2782 | // SendMsg mocks base method. |
| 2783 | func (m_2 *MockVolthaService_StreamPacketsOutServer) SendMsg(m interface{}) error { |
| 2784 | m_2.ctrl.T.Helper() |
| 2785 | ret := m_2.ctrl.Call(m_2, "SendMsg", m) |
| 2786 | ret0, _ := ret[0].(error) |
| 2787 | return ret0 |
| 2788 | } |
| 2789 | |
| 2790 | // SendMsg indicates an expected call of SendMsg. |
| 2791 | func (mr *MockVolthaService_StreamPacketsOutServerMockRecorder) SendMsg(m interface{}) *gomock.Call { |
| 2792 | mr.mock.ctrl.T.Helper() |
| 2793 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockVolthaService_StreamPacketsOutServer)(nil).SendMsg), m) |
| 2794 | } |
| 2795 | |
| 2796 | // SetHeader mocks base method. |
| 2797 | func (m *MockVolthaService_StreamPacketsOutServer) SetHeader(arg0 metadata.MD) error { |
| 2798 | m.ctrl.T.Helper() |
| 2799 | ret := m.ctrl.Call(m, "SetHeader", arg0) |
| 2800 | ret0, _ := ret[0].(error) |
| 2801 | return ret0 |
| 2802 | } |
| 2803 | |
| 2804 | // SetHeader indicates an expected call of SetHeader. |
| 2805 | func (mr *MockVolthaService_StreamPacketsOutServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call { |
| 2806 | mr.mock.ctrl.T.Helper() |
| 2807 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHeader", reflect.TypeOf((*MockVolthaService_StreamPacketsOutServer)(nil).SetHeader), arg0) |
| 2808 | } |
| 2809 | |
| 2810 | // SetTrailer mocks base method. |
| 2811 | func (m *MockVolthaService_StreamPacketsOutServer) SetTrailer(arg0 metadata.MD) { |
| 2812 | m.ctrl.T.Helper() |
| 2813 | m.ctrl.Call(m, "SetTrailer", arg0) |
| 2814 | } |
| 2815 | |
| 2816 | // SetTrailer indicates an expected call of SetTrailer. |
| 2817 | func (mr *MockVolthaService_StreamPacketsOutServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call { |
| 2818 | mr.mock.ctrl.T.Helper() |
| 2819 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTrailer", reflect.TypeOf((*MockVolthaService_StreamPacketsOutServer)(nil).SetTrailer), arg0) |
| 2820 | } |
| 2821 | |
| 2822 | // MockVolthaService_ReceivePacketsInServer is a mock of VolthaService_ReceivePacketsInServer interface. |
| 2823 | type MockVolthaService_ReceivePacketsInServer struct { |
| 2824 | ctrl *gomock.Controller |
| 2825 | recorder *MockVolthaService_ReceivePacketsInServerMockRecorder |
| 2826 | } |
| 2827 | |
| 2828 | // MockVolthaService_ReceivePacketsInServerMockRecorder is the mock recorder for MockVolthaService_ReceivePacketsInServer. |
| 2829 | type MockVolthaService_ReceivePacketsInServerMockRecorder struct { |
| 2830 | mock *MockVolthaService_ReceivePacketsInServer |
| 2831 | } |
| 2832 | |
| 2833 | // NewMockVolthaService_ReceivePacketsInServer creates a new mock instance. |
| 2834 | func NewMockVolthaService_ReceivePacketsInServer(ctrl *gomock.Controller) *MockVolthaService_ReceivePacketsInServer { |
| 2835 | mock := &MockVolthaService_ReceivePacketsInServer{ctrl: ctrl} |
| 2836 | mock.recorder = &MockVolthaService_ReceivePacketsInServerMockRecorder{mock} |
| 2837 | return mock |
| 2838 | } |
| 2839 | |
| 2840 | // EXPECT returns an object that allows the caller to indicate expected use. |
| 2841 | func (m *MockVolthaService_ReceivePacketsInServer) EXPECT() *MockVolthaService_ReceivePacketsInServerMockRecorder { |
| 2842 | return m.recorder |
| 2843 | } |
| 2844 | |
| 2845 | // Context mocks base method. |
| 2846 | func (m *MockVolthaService_ReceivePacketsInServer) Context() context.Context { |
| 2847 | m.ctrl.T.Helper() |
| 2848 | ret := m.ctrl.Call(m, "Context") |
| 2849 | ret0, _ := ret[0].(context.Context) |
| 2850 | return ret0 |
| 2851 | } |
| 2852 | |
| 2853 | // Context indicates an expected call of Context. |
| 2854 | func (mr *MockVolthaService_ReceivePacketsInServerMockRecorder) Context() *gomock.Call { |
| 2855 | mr.mock.ctrl.T.Helper() |
| 2856 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockVolthaService_ReceivePacketsInServer)(nil).Context)) |
| 2857 | } |
| 2858 | |
| 2859 | // RecvMsg mocks base method. |
| 2860 | func (m_2 *MockVolthaService_ReceivePacketsInServer) RecvMsg(m interface{}) error { |
| 2861 | m_2.ctrl.T.Helper() |
| 2862 | ret := m_2.ctrl.Call(m_2, "RecvMsg", m) |
| 2863 | ret0, _ := ret[0].(error) |
| 2864 | return ret0 |
| 2865 | } |
| 2866 | |
| 2867 | // RecvMsg indicates an expected call of RecvMsg. |
| 2868 | func (mr *MockVolthaService_ReceivePacketsInServerMockRecorder) RecvMsg(m interface{}) *gomock.Call { |
| 2869 | mr.mock.ctrl.T.Helper() |
| 2870 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockVolthaService_ReceivePacketsInServer)(nil).RecvMsg), m) |
| 2871 | } |
| 2872 | |
| 2873 | // Send mocks base method. |
| 2874 | func (m *MockVolthaService_ReceivePacketsInServer) Send(arg0 *openflow_13.PacketIn) error { |
| 2875 | m.ctrl.T.Helper() |
| 2876 | ret := m.ctrl.Call(m, "Send", arg0) |
| 2877 | ret0, _ := ret[0].(error) |
| 2878 | return ret0 |
| 2879 | } |
| 2880 | |
| 2881 | // Send indicates an expected call of Send. |
| 2882 | func (mr *MockVolthaService_ReceivePacketsInServerMockRecorder) Send(arg0 interface{}) *gomock.Call { |
| 2883 | mr.mock.ctrl.T.Helper() |
| 2884 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockVolthaService_ReceivePacketsInServer)(nil).Send), arg0) |
| 2885 | } |
| 2886 | |
| 2887 | // SendHeader mocks base method. |
| 2888 | func (m *MockVolthaService_ReceivePacketsInServer) SendHeader(arg0 metadata.MD) error { |
| 2889 | m.ctrl.T.Helper() |
| 2890 | ret := m.ctrl.Call(m, "SendHeader", arg0) |
| 2891 | ret0, _ := ret[0].(error) |
| 2892 | return ret0 |
| 2893 | } |
| 2894 | |
| 2895 | // SendHeader indicates an expected call of SendHeader. |
| 2896 | func (mr *MockVolthaService_ReceivePacketsInServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call { |
| 2897 | mr.mock.ctrl.T.Helper() |
| 2898 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendHeader", reflect.TypeOf((*MockVolthaService_ReceivePacketsInServer)(nil).SendHeader), arg0) |
| 2899 | } |
| 2900 | |
| 2901 | // SendMsg mocks base method. |
| 2902 | func (m_2 *MockVolthaService_ReceivePacketsInServer) SendMsg(m interface{}) error { |
| 2903 | m_2.ctrl.T.Helper() |
| 2904 | ret := m_2.ctrl.Call(m_2, "SendMsg", m) |
| 2905 | ret0, _ := ret[0].(error) |
| 2906 | return ret0 |
| 2907 | } |
| 2908 | |
| 2909 | // SendMsg indicates an expected call of SendMsg. |
| 2910 | func (mr *MockVolthaService_ReceivePacketsInServerMockRecorder) SendMsg(m interface{}) *gomock.Call { |
| 2911 | mr.mock.ctrl.T.Helper() |
| 2912 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockVolthaService_ReceivePacketsInServer)(nil).SendMsg), m) |
| 2913 | } |
| 2914 | |
| 2915 | // SetHeader mocks base method. |
| 2916 | func (m *MockVolthaService_ReceivePacketsInServer) SetHeader(arg0 metadata.MD) error { |
| 2917 | m.ctrl.T.Helper() |
| 2918 | ret := m.ctrl.Call(m, "SetHeader", arg0) |
| 2919 | ret0, _ := ret[0].(error) |
| 2920 | return ret0 |
| 2921 | } |
| 2922 | |
| 2923 | // SetHeader indicates an expected call of SetHeader. |
| 2924 | func (mr *MockVolthaService_ReceivePacketsInServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call { |
| 2925 | mr.mock.ctrl.T.Helper() |
| 2926 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHeader", reflect.TypeOf((*MockVolthaService_ReceivePacketsInServer)(nil).SetHeader), arg0) |
| 2927 | } |
| 2928 | |
| 2929 | // SetTrailer mocks base method. |
| 2930 | func (m *MockVolthaService_ReceivePacketsInServer) SetTrailer(arg0 metadata.MD) { |
| 2931 | m.ctrl.T.Helper() |
| 2932 | m.ctrl.Call(m, "SetTrailer", arg0) |
| 2933 | } |
| 2934 | |
| 2935 | // SetTrailer indicates an expected call of SetTrailer. |
| 2936 | func (mr *MockVolthaService_ReceivePacketsInServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call { |
| 2937 | mr.mock.ctrl.T.Helper() |
| 2938 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTrailer", reflect.TypeOf((*MockVolthaService_ReceivePacketsInServer)(nil).SetTrailer), arg0) |
| 2939 | } |
| 2940 | |
| 2941 | // MockVolthaService_ReceiveChangeEventsServer is a mock of VolthaService_ReceiveChangeEventsServer interface. |
| 2942 | type MockVolthaService_ReceiveChangeEventsServer struct { |
| 2943 | ctrl *gomock.Controller |
| 2944 | recorder *MockVolthaService_ReceiveChangeEventsServerMockRecorder |
| 2945 | } |
| 2946 | |
| 2947 | // MockVolthaService_ReceiveChangeEventsServerMockRecorder is the mock recorder for MockVolthaService_ReceiveChangeEventsServer. |
| 2948 | type MockVolthaService_ReceiveChangeEventsServerMockRecorder struct { |
| 2949 | mock *MockVolthaService_ReceiveChangeEventsServer |
| 2950 | } |
| 2951 | |
| 2952 | // NewMockVolthaService_ReceiveChangeEventsServer creates a new mock instance. |
| 2953 | func NewMockVolthaService_ReceiveChangeEventsServer(ctrl *gomock.Controller) *MockVolthaService_ReceiveChangeEventsServer { |
| 2954 | mock := &MockVolthaService_ReceiveChangeEventsServer{ctrl: ctrl} |
| 2955 | mock.recorder = &MockVolthaService_ReceiveChangeEventsServerMockRecorder{mock} |
| 2956 | return mock |
| 2957 | } |
| 2958 | |
| 2959 | // EXPECT returns an object that allows the caller to indicate expected use. |
| 2960 | func (m *MockVolthaService_ReceiveChangeEventsServer) EXPECT() *MockVolthaService_ReceiveChangeEventsServerMockRecorder { |
| 2961 | return m.recorder |
| 2962 | } |
| 2963 | |
| 2964 | // Context mocks base method. |
| 2965 | func (m *MockVolthaService_ReceiveChangeEventsServer) Context() context.Context { |
| 2966 | m.ctrl.T.Helper() |
| 2967 | ret := m.ctrl.Call(m, "Context") |
| 2968 | ret0, _ := ret[0].(context.Context) |
| 2969 | return ret0 |
| 2970 | } |
| 2971 | |
| 2972 | // Context indicates an expected call of Context. |
| 2973 | func (mr *MockVolthaService_ReceiveChangeEventsServerMockRecorder) Context() *gomock.Call { |
| 2974 | mr.mock.ctrl.T.Helper() |
| 2975 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockVolthaService_ReceiveChangeEventsServer)(nil).Context)) |
| 2976 | } |
| 2977 | |
| 2978 | // RecvMsg mocks base method. |
| 2979 | func (m_2 *MockVolthaService_ReceiveChangeEventsServer) RecvMsg(m interface{}) error { |
| 2980 | m_2.ctrl.T.Helper() |
| 2981 | ret := m_2.ctrl.Call(m_2, "RecvMsg", m) |
| 2982 | ret0, _ := ret[0].(error) |
| 2983 | return ret0 |
| 2984 | } |
| 2985 | |
| 2986 | // RecvMsg indicates an expected call of RecvMsg. |
| 2987 | func (mr *MockVolthaService_ReceiveChangeEventsServerMockRecorder) RecvMsg(m interface{}) *gomock.Call { |
| 2988 | mr.mock.ctrl.T.Helper() |
| 2989 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockVolthaService_ReceiveChangeEventsServer)(nil).RecvMsg), m) |
| 2990 | } |
| 2991 | |
| 2992 | // Send mocks base method. |
| 2993 | func (m *MockVolthaService_ReceiveChangeEventsServer) Send(arg0 *openflow_13.ChangeEvent) error { |
| 2994 | m.ctrl.T.Helper() |
| 2995 | ret := m.ctrl.Call(m, "Send", arg0) |
| 2996 | ret0, _ := ret[0].(error) |
| 2997 | return ret0 |
| 2998 | } |
| 2999 | |
| 3000 | // Send indicates an expected call of Send. |
| 3001 | func (mr *MockVolthaService_ReceiveChangeEventsServerMockRecorder) Send(arg0 interface{}) *gomock.Call { |
| 3002 | mr.mock.ctrl.T.Helper() |
| 3003 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockVolthaService_ReceiveChangeEventsServer)(nil).Send), arg0) |
| 3004 | } |
| 3005 | |
| 3006 | // SendHeader mocks base method. |
| 3007 | func (m *MockVolthaService_ReceiveChangeEventsServer) SendHeader(arg0 metadata.MD) error { |
| 3008 | m.ctrl.T.Helper() |
| 3009 | ret := m.ctrl.Call(m, "SendHeader", arg0) |
| 3010 | ret0, _ := ret[0].(error) |
| 3011 | return ret0 |
| 3012 | } |
| 3013 | |
| 3014 | // SendHeader indicates an expected call of SendHeader. |
| 3015 | func (mr *MockVolthaService_ReceiveChangeEventsServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call { |
| 3016 | mr.mock.ctrl.T.Helper() |
| 3017 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendHeader", reflect.TypeOf((*MockVolthaService_ReceiveChangeEventsServer)(nil).SendHeader), arg0) |
| 3018 | } |
| 3019 | |
| 3020 | // SendMsg mocks base method. |
| 3021 | func (m_2 *MockVolthaService_ReceiveChangeEventsServer) SendMsg(m interface{}) error { |
| 3022 | m_2.ctrl.T.Helper() |
| 3023 | ret := m_2.ctrl.Call(m_2, "SendMsg", m) |
| 3024 | ret0, _ := ret[0].(error) |
| 3025 | return ret0 |
| 3026 | } |
| 3027 | |
| 3028 | // SendMsg indicates an expected call of SendMsg. |
| 3029 | func (mr *MockVolthaService_ReceiveChangeEventsServerMockRecorder) SendMsg(m interface{}) *gomock.Call { |
| 3030 | mr.mock.ctrl.T.Helper() |
| 3031 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockVolthaService_ReceiveChangeEventsServer)(nil).SendMsg), m) |
| 3032 | } |
| 3033 | |
| 3034 | // SetHeader mocks base method. |
| 3035 | func (m *MockVolthaService_ReceiveChangeEventsServer) SetHeader(arg0 metadata.MD) error { |
| 3036 | m.ctrl.T.Helper() |
| 3037 | ret := m.ctrl.Call(m, "SetHeader", arg0) |
| 3038 | ret0, _ := ret[0].(error) |
| 3039 | return ret0 |
| 3040 | } |
| 3041 | |
| 3042 | // SetHeader indicates an expected call of SetHeader. |
| 3043 | func (mr *MockVolthaService_ReceiveChangeEventsServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call { |
| 3044 | mr.mock.ctrl.T.Helper() |
| 3045 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetHeader", reflect.TypeOf((*MockVolthaService_ReceiveChangeEventsServer)(nil).SetHeader), arg0) |
| 3046 | } |
| 3047 | |
| 3048 | // SetTrailer mocks base method. |
| 3049 | func (m *MockVolthaService_ReceiveChangeEventsServer) SetTrailer(arg0 metadata.MD) { |
| 3050 | m.ctrl.T.Helper() |
| 3051 | m.ctrl.Call(m, "SetTrailer", arg0) |
| 3052 | } |
| 3053 | |
| 3054 | // SetTrailer indicates an expected call of SetTrailer. |
| 3055 | func (mr *MockVolthaService_ReceiveChangeEventsServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call { |
| 3056 | mr.mock.ctrl.T.Helper() |
| 3057 | return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetTrailer", reflect.TypeOf((*MockVolthaService_ReceiveChangeEventsServer)(nil).SetTrailer), arg0) |
| 3058 | } |