github.com/aporeto-inc/trireme-lib@v10.358.0+incompatible/controller/pkg/ipsetmanager/mock_ipsetmanager/ipsetmanagermock.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: ipsetmanager.go 3 4 // Package mock_ipsetmanager is a generated GoMock package. 5 package mock_ipsetmanager 6 7 import ( 8 gomock "github.com/golang/mock/gomock" 9 policy "go.aporeto.io/enforcerd/trireme-lib/policy" 10 net "net" 11 reflect "reflect" 12 ) 13 14 // MockServerL3 is a mock of ServerL3 interface 15 type MockServerL3 struct { 16 ctrl *gomock.Controller 17 recorder *MockServerL3MockRecorder 18 } 19 20 // MockServerL3MockRecorder is the mock recorder for MockServerL3 21 type MockServerL3MockRecorder struct { 22 mock *MockServerL3 23 } 24 25 // NewMockServerL3 creates a new mock instance 26 func NewMockServerL3(ctrl *gomock.Controller) *MockServerL3 { 27 mock := &MockServerL3{ctrl: ctrl} 28 mock.recorder = &MockServerL3MockRecorder{mock} 29 return mock 30 } 31 32 // EXPECT returns an object that allows the caller to indicate expected use 33 func (m *MockServerL3) EXPECT() *MockServerL3MockRecorder { 34 return m.recorder 35 } 36 37 // CreateServerPortSet mocks base method 38 func (m *MockServerL3) CreateServerPortSet(contextID string) error { 39 ret := m.ctrl.Call(m, "CreateServerPortSet", contextID) 40 ret0, _ := ret[0].(error) 41 return ret0 42 } 43 44 // CreateServerPortSet indicates an expected call of CreateServerPortSet 45 func (mr *MockServerL3MockRecorder) CreateServerPortSet(contextID interface{}) *gomock.Call { 46 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateServerPortSet", reflect.TypeOf((*MockServerL3)(nil).CreateServerPortSet), contextID) 47 } 48 49 // GetServerPortSetName mocks base method 50 func (m *MockServerL3) GetServerPortSetName(contextID string) string { 51 ret := m.ctrl.Call(m, "GetServerPortSetName", contextID) 52 ret0, _ := ret[0].(string) 53 return ret0 54 } 55 56 // GetServerPortSetName indicates an expected call of GetServerPortSetName 57 func (mr *MockServerL3MockRecorder) GetServerPortSetName(contextID interface{}) *gomock.Call { 58 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServerPortSetName", reflect.TypeOf((*MockServerL3)(nil).GetServerPortSetName), contextID) 59 } 60 61 // DestroyServerPortSet mocks base method 62 func (m *MockServerL3) DestroyServerPortSet(contextID string) error { 63 ret := m.ctrl.Call(m, "DestroyServerPortSet", contextID) 64 ret0, _ := ret[0].(error) 65 return ret0 66 } 67 68 // DestroyServerPortSet indicates an expected call of DestroyServerPortSet 69 func (mr *MockServerL3MockRecorder) DestroyServerPortSet(contextID interface{}) *gomock.Call { 70 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DestroyServerPortSet", reflect.TypeOf((*MockServerL3)(nil).DestroyServerPortSet), contextID) 71 } 72 73 // AddPortToServerPortSet mocks base method 74 func (m *MockServerL3) AddPortToServerPortSet(contextID, port string) error { 75 ret := m.ctrl.Call(m, "AddPortToServerPortSet", contextID, port) 76 ret0, _ := ret[0].(error) 77 return ret0 78 } 79 80 // AddPortToServerPortSet indicates an expected call of AddPortToServerPortSet 81 func (mr *MockServerL3MockRecorder) AddPortToServerPortSet(contextID, port interface{}) *gomock.Call { 82 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddPortToServerPortSet", reflect.TypeOf((*MockServerL3)(nil).AddPortToServerPortSet), contextID, port) 83 } 84 85 // DeletePortFromServerPortSet mocks base method 86 func (m *MockServerL3) DeletePortFromServerPortSet(contextID, port string) error { 87 ret := m.ctrl.Call(m, "DeletePortFromServerPortSet", contextID, port) 88 ret0, _ := ret[0].(error) 89 return ret0 90 } 91 92 // DeletePortFromServerPortSet indicates an expected call of DeletePortFromServerPortSet 93 func (mr *MockServerL3MockRecorder) DeletePortFromServerPortSet(contextID, port interface{}) *gomock.Call { 94 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePortFromServerPortSet", reflect.TypeOf((*MockServerL3)(nil).DeletePortFromServerPortSet), contextID, port) 95 } 96 97 // MockAclL3 is a mock of AclL3 interface 98 type MockAclL3 struct { 99 ctrl *gomock.Controller 100 recorder *MockAclL3MockRecorder 101 } 102 103 // MockAclL3MockRecorder is the mock recorder for MockAclL3 104 type MockAclL3MockRecorder struct { 105 mock *MockAclL3 106 } 107 108 // NewMockAclL3 creates a new mock instance 109 func NewMockAclL3(ctrl *gomock.Controller) *MockAclL3 { 110 mock := &MockAclL3{ctrl: ctrl} 111 mock.recorder = &MockAclL3MockRecorder{mock} 112 return mock 113 } 114 115 // EXPECT returns an object that allows the caller to indicate expected use 116 func (m *MockAclL3) EXPECT() *MockAclL3MockRecorder { 117 return m.recorder 118 } 119 120 // RegisterExternalNets mocks base method 121 func (m *MockAclL3) RegisterExternalNets(contextID string, extnets policy.IPRuleList) error { 122 ret := m.ctrl.Call(m, "RegisterExternalNets", contextID, extnets) 123 ret0, _ := ret[0].(error) 124 return ret0 125 } 126 127 // RegisterExternalNets indicates an expected call of RegisterExternalNets 128 func (mr *MockAclL3MockRecorder) RegisterExternalNets(contextID, extnets interface{}) *gomock.Call { 129 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterExternalNets", reflect.TypeOf((*MockAclL3)(nil).RegisterExternalNets), contextID, extnets) 130 } 131 132 // UpdateACLIPsets mocks base method 133 func (m *MockAclL3) UpdateACLIPsets(arg0 []string, arg1 string) { 134 m.ctrl.Call(m, "UpdateACLIPsets", arg0, arg1) 135 } 136 137 // UpdateACLIPsets indicates an expected call of UpdateACLIPsets 138 func (mr *MockAclL3MockRecorder) UpdateACLIPsets(arg0, arg1 interface{}) *gomock.Call { 139 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateACLIPsets", reflect.TypeOf((*MockAclL3)(nil).UpdateACLIPsets), arg0, arg1) 140 } 141 142 // DestroyUnusedIPsets mocks base method 143 func (m *MockAclL3) DestroyUnusedIPsets() { 144 m.ctrl.Call(m, "DestroyUnusedIPsets") 145 } 146 147 // DestroyUnusedIPsets indicates an expected call of DestroyUnusedIPsets 148 func (mr *MockAclL3MockRecorder) DestroyUnusedIPsets() *gomock.Call { 149 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DestroyUnusedIPsets", reflect.TypeOf((*MockAclL3)(nil).DestroyUnusedIPsets)) 150 } 151 152 // RemoveExternalNets mocks base method 153 func (m *MockAclL3) RemoveExternalNets(contextID string) { 154 m.ctrl.Call(m, "RemoveExternalNets", contextID) 155 } 156 157 // RemoveExternalNets indicates an expected call of RemoveExternalNets 158 func (mr *MockAclL3MockRecorder) RemoveExternalNets(contextID interface{}) *gomock.Call { 159 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveExternalNets", reflect.TypeOf((*MockAclL3)(nil).RemoveExternalNets), contextID) 160 } 161 162 // GetACLIPsetsNames mocks base method 163 func (m *MockAclL3) GetACLIPsetsNames(extnets policy.IPRuleList) []string { 164 ret := m.ctrl.Call(m, "GetACLIPsetsNames", extnets) 165 ret0, _ := ret[0].([]string) 166 return ret0 167 } 168 169 // GetACLIPsetsNames indicates an expected call of GetACLIPsetsNames 170 func (mr *MockAclL3MockRecorder) GetACLIPsetsNames(extnets interface{}) *gomock.Call { 171 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetACLIPsetsNames", reflect.TypeOf((*MockAclL3)(nil).GetACLIPsetsNames), extnets) 172 } 173 174 // MockProxyL4 is a mock of ProxyL4 interface 175 type MockProxyL4 struct { 176 ctrl *gomock.Controller 177 recorder *MockProxyL4MockRecorder 178 } 179 180 // MockProxyL4MockRecorder is the mock recorder for MockProxyL4 181 type MockProxyL4MockRecorder struct { 182 mock *MockProxyL4 183 } 184 185 // NewMockProxyL4 creates a new mock instance 186 func NewMockProxyL4(ctrl *gomock.Controller) *MockProxyL4 { 187 mock := &MockProxyL4{ctrl: ctrl} 188 mock.recorder = &MockProxyL4MockRecorder{mock} 189 return mock 190 } 191 192 // EXPECT returns an object that allows the caller to indicate expected use 193 func (m *MockProxyL4) EXPECT() *MockProxyL4MockRecorder { 194 return m.recorder 195 } 196 197 // CreateProxySets mocks base method 198 func (m *MockProxyL4) CreateProxySets(contextID string) error { 199 ret := m.ctrl.Call(m, "CreateProxySets", contextID) 200 ret0, _ := ret[0].(error) 201 return ret0 202 } 203 204 // CreateProxySets indicates an expected call of CreateProxySets 205 func (mr *MockProxyL4MockRecorder) CreateProxySets(contextID interface{}) *gomock.Call { 206 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateProxySets", reflect.TypeOf((*MockProxyL4)(nil).CreateProxySets), contextID) 207 } 208 209 // GetProxySetNames mocks base method 210 func (m *MockProxyL4) GetProxySetNames(contextID string) (string, string) { 211 ret := m.ctrl.Call(m, "GetProxySetNames", contextID) 212 ret0, _ := ret[0].(string) 213 ret1, _ := ret[1].(string) 214 return ret0, ret1 215 } 216 217 // GetProxySetNames indicates an expected call of GetProxySetNames 218 func (mr *MockProxyL4MockRecorder) GetProxySetNames(contextID interface{}) *gomock.Call { 219 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetProxySetNames", reflect.TypeOf((*MockProxyL4)(nil).GetProxySetNames), contextID) 220 } 221 222 // DestroyProxySets mocks base method 223 func (m *MockProxyL4) DestroyProxySets(contextID string) { 224 m.ctrl.Call(m, "DestroyProxySets", contextID) 225 } 226 227 // DestroyProxySets indicates an expected call of DestroyProxySets 228 func (mr *MockProxyL4MockRecorder) DestroyProxySets(contextID interface{}) *gomock.Call { 229 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DestroyProxySets", reflect.TypeOf((*MockProxyL4)(nil).DestroyProxySets), contextID) 230 } 231 232 // FlushProxySets mocks base method 233 func (m *MockProxyL4) FlushProxySets(contextID string) { 234 m.ctrl.Call(m, "FlushProxySets", contextID) 235 } 236 237 // FlushProxySets indicates an expected call of FlushProxySets 238 func (mr *MockProxyL4MockRecorder) FlushProxySets(contextID interface{}) *gomock.Call { 239 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FlushProxySets", reflect.TypeOf((*MockProxyL4)(nil).FlushProxySets), contextID) 240 } 241 242 // AddIPPortToDependentService mocks base method 243 func (m *MockProxyL4) AddIPPortToDependentService(contextID string, ip *net.IPNet, port string) error { 244 ret := m.ctrl.Call(m, "AddIPPortToDependentService", contextID, ip, port) 245 ret0, _ := ret[0].(error) 246 return ret0 247 } 248 249 // AddIPPortToDependentService indicates an expected call of AddIPPortToDependentService 250 func (mr *MockProxyL4MockRecorder) AddIPPortToDependentService(contextID, ip, port interface{}) *gomock.Call { 251 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddIPPortToDependentService", reflect.TypeOf((*MockProxyL4)(nil).AddIPPortToDependentService), contextID, ip, port) 252 } 253 254 // AddPortToExposedService mocks base method 255 func (m *MockProxyL4) AddPortToExposedService(contextID, port string) error { 256 ret := m.ctrl.Call(m, "AddPortToExposedService", contextID, port) 257 ret0, _ := ret[0].(error) 258 return ret0 259 } 260 261 // AddPortToExposedService indicates an expected call of AddPortToExposedService 262 func (mr *MockProxyL4MockRecorder) AddPortToExposedService(contextID, port interface{}) *gomock.Call { 263 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddPortToExposedService", reflect.TypeOf((*MockProxyL4)(nil).AddPortToExposedService), contextID, port) 264 } 265 266 // MockIPSetManager is a mock of IPSetManager interface 267 type MockIPSetManager struct { 268 ctrl *gomock.Controller 269 recorder *MockIPSetManagerMockRecorder 270 } 271 272 // MockIPSetManagerMockRecorder is the mock recorder for MockIPSetManager 273 type MockIPSetManagerMockRecorder struct { 274 mock *MockIPSetManager 275 } 276 277 // NewMockIPSetManager creates a new mock instance 278 func NewMockIPSetManager(ctrl *gomock.Controller) *MockIPSetManager { 279 mock := &MockIPSetManager{ctrl: ctrl} 280 mock.recorder = &MockIPSetManagerMockRecorder{mock} 281 return mock 282 } 283 284 // EXPECT returns an object that allows the caller to indicate expected use 285 func (m *MockIPSetManager) EXPECT() *MockIPSetManagerMockRecorder { 286 return m.recorder 287 } 288 289 // CreateServerPortSet mocks base method 290 func (m *MockIPSetManager) CreateServerPortSet(contextID string) error { 291 ret := m.ctrl.Call(m, "CreateServerPortSet", contextID) 292 ret0, _ := ret[0].(error) 293 return ret0 294 } 295 296 // CreateServerPortSet indicates an expected call of CreateServerPortSet 297 func (mr *MockIPSetManagerMockRecorder) CreateServerPortSet(contextID interface{}) *gomock.Call { 298 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateServerPortSet", reflect.TypeOf((*MockIPSetManager)(nil).CreateServerPortSet), contextID) 299 } 300 301 // GetServerPortSetName mocks base method 302 func (m *MockIPSetManager) GetServerPortSetName(contextID string) string { 303 ret := m.ctrl.Call(m, "GetServerPortSetName", contextID) 304 ret0, _ := ret[0].(string) 305 return ret0 306 } 307 308 // GetServerPortSetName indicates an expected call of GetServerPortSetName 309 func (mr *MockIPSetManagerMockRecorder) GetServerPortSetName(contextID interface{}) *gomock.Call { 310 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServerPortSetName", reflect.TypeOf((*MockIPSetManager)(nil).GetServerPortSetName), contextID) 311 } 312 313 // DestroyServerPortSet mocks base method 314 func (m *MockIPSetManager) DestroyServerPortSet(contextID string) error { 315 ret := m.ctrl.Call(m, "DestroyServerPortSet", contextID) 316 ret0, _ := ret[0].(error) 317 return ret0 318 } 319 320 // DestroyServerPortSet indicates an expected call of DestroyServerPortSet 321 func (mr *MockIPSetManagerMockRecorder) DestroyServerPortSet(contextID interface{}) *gomock.Call { 322 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DestroyServerPortSet", reflect.TypeOf((*MockIPSetManager)(nil).DestroyServerPortSet), contextID) 323 } 324 325 // AddPortToServerPortSet mocks base method 326 func (m *MockIPSetManager) AddPortToServerPortSet(contextID, port string) error { 327 ret := m.ctrl.Call(m, "AddPortToServerPortSet", contextID, port) 328 ret0, _ := ret[0].(error) 329 return ret0 330 } 331 332 // AddPortToServerPortSet indicates an expected call of AddPortToServerPortSet 333 func (mr *MockIPSetManagerMockRecorder) AddPortToServerPortSet(contextID, port interface{}) *gomock.Call { 334 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddPortToServerPortSet", reflect.TypeOf((*MockIPSetManager)(nil).AddPortToServerPortSet), contextID, port) 335 } 336 337 // DeletePortFromServerPortSet mocks base method 338 func (m *MockIPSetManager) DeletePortFromServerPortSet(contextID, port string) error { 339 ret := m.ctrl.Call(m, "DeletePortFromServerPortSet", contextID, port) 340 ret0, _ := ret[0].(error) 341 return ret0 342 } 343 344 // DeletePortFromServerPortSet indicates an expected call of DeletePortFromServerPortSet 345 func (mr *MockIPSetManagerMockRecorder) DeletePortFromServerPortSet(contextID, port interface{}) *gomock.Call { 346 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePortFromServerPortSet", reflect.TypeOf((*MockIPSetManager)(nil).DeletePortFromServerPortSet), contextID, port) 347 } 348 349 // RegisterExternalNets mocks base method 350 func (m *MockIPSetManager) RegisterExternalNets(contextID string, extnets policy.IPRuleList) error { 351 ret := m.ctrl.Call(m, "RegisterExternalNets", contextID, extnets) 352 ret0, _ := ret[0].(error) 353 return ret0 354 } 355 356 // RegisterExternalNets indicates an expected call of RegisterExternalNets 357 func (mr *MockIPSetManagerMockRecorder) RegisterExternalNets(contextID, extnets interface{}) *gomock.Call { 358 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RegisterExternalNets", reflect.TypeOf((*MockIPSetManager)(nil).RegisterExternalNets), contextID, extnets) 359 } 360 361 // UpdateACLIPsets mocks base method 362 func (m *MockIPSetManager) UpdateACLIPsets(arg0 []string, arg1 string) { 363 m.ctrl.Call(m, "UpdateACLIPsets", arg0, arg1) 364 } 365 366 // UpdateACLIPsets indicates an expected call of UpdateACLIPsets 367 func (mr *MockIPSetManagerMockRecorder) UpdateACLIPsets(arg0, arg1 interface{}) *gomock.Call { 368 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateACLIPsets", reflect.TypeOf((*MockIPSetManager)(nil).UpdateACLIPsets), arg0, arg1) 369 } 370 371 // DestroyUnusedIPsets mocks base method 372 func (m *MockIPSetManager) DestroyUnusedIPsets() { 373 m.ctrl.Call(m, "DestroyUnusedIPsets") 374 } 375 376 // DestroyUnusedIPsets indicates an expected call of DestroyUnusedIPsets 377 func (mr *MockIPSetManagerMockRecorder) DestroyUnusedIPsets() *gomock.Call { 378 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DestroyUnusedIPsets", reflect.TypeOf((*MockIPSetManager)(nil).DestroyUnusedIPsets)) 379 } 380 381 // RemoveExternalNets mocks base method 382 func (m *MockIPSetManager) RemoveExternalNets(contextID string) { 383 m.ctrl.Call(m, "RemoveExternalNets", contextID) 384 } 385 386 // RemoveExternalNets indicates an expected call of RemoveExternalNets 387 func (mr *MockIPSetManagerMockRecorder) RemoveExternalNets(contextID interface{}) *gomock.Call { 388 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveExternalNets", reflect.TypeOf((*MockIPSetManager)(nil).RemoveExternalNets), contextID) 389 } 390 391 // GetACLIPsetsNames mocks base method 392 func (m *MockIPSetManager) GetACLIPsetsNames(extnets policy.IPRuleList) []string { 393 ret := m.ctrl.Call(m, "GetACLIPsetsNames", extnets) 394 ret0, _ := ret[0].([]string) 395 return ret0 396 } 397 398 // GetACLIPsetsNames indicates an expected call of GetACLIPsetsNames 399 func (mr *MockIPSetManagerMockRecorder) GetACLIPsetsNames(extnets interface{}) *gomock.Call { 400 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetACLIPsetsNames", reflect.TypeOf((*MockIPSetManager)(nil).GetACLIPsetsNames), extnets) 401 } 402 403 // CreateProxySets mocks base method 404 func (m *MockIPSetManager) CreateProxySets(contextID string) error { 405 ret := m.ctrl.Call(m, "CreateProxySets", contextID) 406 ret0, _ := ret[0].(error) 407 return ret0 408 } 409 410 // CreateProxySets indicates an expected call of CreateProxySets 411 func (mr *MockIPSetManagerMockRecorder) CreateProxySets(contextID interface{}) *gomock.Call { 412 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateProxySets", reflect.TypeOf((*MockIPSetManager)(nil).CreateProxySets), contextID) 413 } 414 415 // GetProxySetNames mocks base method 416 func (m *MockIPSetManager) GetProxySetNames(contextID string) (string, string) { 417 ret := m.ctrl.Call(m, "GetProxySetNames", contextID) 418 ret0, _ := ret[0].(string) 419 ret1, _ := ret[1].(string) 420 return ret0, ret1 421 } 422 423 // GetProxySetNames indicates an expected call of GetProxySetNames 424 func (mr *MockIPSetManagerMockRecorder) GetProxySetNames(contextID interface{}) *gomock.Call { 425 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetProxySetNames", reflect.TypeOf((*MockIPSetManager)(nil).GetProxySetNames), contextID) 426 } 427 428 // DestroyProxySets mocks base method 429 func (m *MockIPSetManager) DestroyProxySets(contextID string) { 430 m.ctrl.Call(m, "DestroyProxySets", contextID) 431 } 432 433 // DestroyProxySets indicates an expected call of DestroyProxySets 434 func (mr *MockIPSetManagerMockRecorder) DestroyProxySets(contextID interface{}) *gomock.Call { 435 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DestroyProxySets", reflect.TypeOf((*MockIPSetManager)(nil).DestroyProxySets), contextID) 436 } 437 438 // FlushProxySets mocks base method 439 func (m *MockIPSetManager) FlushProxySets(contextID string) { 440 m.ctrl.Call(m, "FlushProxySets", contextID) 441 } 442 443 // FlushProxySets indicates an expected call of FlushProxySets 444 func (mr *MockIPSetManagerMockRecorder) FlushProxySets(contextID interface{}) *gomock.Call { 445 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FlushProxySets", reflect.TypeOf((*MockIPSetManager)(nil).FlushProxySets), contextID) 446 } 447 448 // AddIPPortToDependentService mocks base method 449 func (m *MockIPSetManager) AddIPPortToDependentService(contextID string, ip *net.IPNet, port string) error { 450 ret := m.ctrl.Call(m, "AddIPPortToDependentService", contextID, ip, port) 451 ret0, _ := ret[0].(error) 452 return ret0 453 } 454 455 // AddIPPortToDependentService indicates an expected call of AddIPPortToDependentService 456 func (mr *MockIPSetManagerMockRecorder) AddIPPortToDependentService(contextID, ip, port interface{}) *gomock.Call { 457 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddIPPortToDependentService", reflect.TypeOf((*MockIPSetManager)(nil).AddIPPortToDependentService), contextID, ip, port) 458 } 459 460 // AddPortToExposedService mocks base method 461 func (m *MockIPSetManager) AddPortToExposedService(contextID, port string) error { 462 ret := m.ctrl.Call(m, "AddPortToExposedService", contextID, port) 463 ret0, _ := ret[0].(error) 464 return ret0 465 } 466 467 // AddPortToExposedService indicates an expected call of AddPortToExposedService 468 func (mr *MockIPSetManagerMockRecorder) AddPortToExposedService(contextID, port interface{}) *gomock.Call { 469 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddPortToExposedService", reflect.TypeOf((*MockIPSetManager)(nil).AddPortToExposedService), contextID, port) 470 }