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