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