github.com/release-engineering/exodus-rsync@v1.11.2/internal/conf/mock.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: conf.go 3 4 // Package conf is a generated GoMock package. 5 package conf 6 7 import ( 8 context "context" 9 reflect "reflect" 10 11 gomock "github.com/golang/mock/gomock" 12 args "github.com/release-engineering/exodus-rsync/internal/args" 13 ) 14 15 // MockInterface is a mock of Interface interface. 16 type MockInterface struct { 17 ctrl *gomock.Controller 18 recorder *MockInterfaceMockRecorder 19 } 20 21 // MockInterfaceMockRecorder is the mock recorder for MockInterface. 22 type MockInterfaceMockRecorder struct { 23 mock *MockInterface 24 } 25 26 // NewMockInterface creates a new mock instance. 27 func NewMockInterface(ctrl *gomock.Controller) *MockInterface { 28 mock := &MockInterface{ctrl: ctrl} 29 mock.recorder = &MockInterfaceMockRecorder{mock} 30 return mock 31 } 32 33 // EXPECT returns an object that allows the caller to indicate expected use. 34 func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder { 35 return m.recorder 36 } 37 38 // Load mocks base method. 39 func (m *MockInterface) Load(arg0 context.Context, arg1 args.Config) (GlobalConfig, error) { 40 m.ctrl.T.Helper() 41 ret := m.ctrl.Call(m, "Load", arg0, arg1) 42 ret0, _ := ret[0].(GlobalConfig) 43 ret1, _ := ret[1].(error) 44 return ret0, ret1 45 } 46 47 // Load indicates an expected call of Load. 48 func (mr *MockInterfaceMockRecorder) Load(arg0, arg1 interface{}) *gomock.Call { 49 mr.mock.ctrl.T.Helper() 50 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Load", reflect.TypeOf((*MockInterface)(nil).Load), arg0, arg1) 51 } 52 53 // MockConfig is a mock of Config interface. 54 type MockConfig struct { 55 ctrl *gomock.Controller 56 recorder *MockConfigMockRecorder 57 } 58 59 // MockConfigMockRecorder is the mock recorder for MockConfig. 60 type MockConfigMockRecorder struct { 61 mock *MockConfig 62 } 63 64 // NewMockConfig creates a new mock instance. 65 func NewMockConfig(ctrl *gomock.Controller) *MockConfig { 66 mock := &MockConfig{ctrl: ctrl} 67 mock.recorder = &MockConfigMockRecorder{mock} 68 return mock 69 } 70 71 // EXPECT returns an object that allows the caller to indicate expected use. 72 func (m *MockConfig) EXPECT() *MockConfigMockRecorder { 73 return m.recorder 74 } 75 76 // Diag mocks base method. 77 func (m *MockConfig) Diag() bool { 78 m.ctrl.T.Helper() 79 ret := m.ctrl.Call(m, "Diag") 80 ret0, _ := ret[0].(bool) 81 return ret0 82 } 83 84 // Diag indicates an expected call of Diag. 85 func (mr *MockConfigMockRecorder) Diag() *gomock.Call { 86 mr.mock.ctrl.T.Helper() 87 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Diag", reflect.TypeOf((*MockConfig)(nil).Diag)) 88 } 89 90 // GwBatchSize mocks base method. 91 func (m *MockConfig) GwBatchSize() int { 92 m.ctrl.T.Helper() 93 ret := m.ctrl.Call(m, "GwBatchSize") 94 ret0, _ := ret[0].(int) 95 return ret0 96 } 97 98 // GwBatchSize indicates an expected call of GwBatchSize. 99 func (mr *MockConfigMockRecorder) GwBatchSize() *gomock.Call { 100 mr.mock.ctrl.T.Helper() 101 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwBatchSize", reflect.TypeOf((*MockConfig)(nil).GwBatchSize)) 102 } 103 104 // GwCert mocks base method. 105 func (m *MockConfig) GwCert() string { 106 m.ctrl.T.Helper() 107 ret := m.ctrl.Call(m, "GwCert") 108 ret0, _ := ret[0].(string) 109 return ret0 110 } 111 112 // GwCert indicates an expected call of GwCert. 113 func (mr *MockConfigMockRecorder) GwCert() *gomock.Call { 114 mr.mock.ctrl.T.Helper() 115 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwCert", reflect.TypeOf((*MockConfig)(nil).GwCert)) 116 } 117 118 // GwCommit mocks base method. 119 func (m *MockConfig) GwCommit() string { 120 m.ctrl.T.Helper() 121 ret := m.ctrl.Call(m, "GwCommit") 122 ret0, _ := ret[0].(string) 123 return ret0 124 } 125 126 // GwCommit indicates an expected call of GwCommit. 127 func (mr *MockConfigMockRecorder) GwCommit() *gomock.Call { 128 mr.mock.ctrl.T.Helper() 129 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwCommit", reflect.TypeOf((*MockConfig)(nil).GwCommit)) 130 } 131 132 // GwEnv mocks base method. 133 func (m *MockConfig) GwEnv() string { 134 m.ctrl.T.Helper() 135 ret := m.ctrl.Call(m, "GwEnv") 136 ret0, _ := ret[0].(string) 137 return ret0 138 } 139 140 // GwEnv indicates an expected call of GwEnv. 141 func (mr *MockConfigMockRecorder) GwEnv() *gomock.Call { 142 mr.mock.ctrl.T.Helper() 143 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwEnv", reflect.TypeOf((*MockConfig)(nil).GwEnv)) 144 } 145 146 // GwKey mocks base method. 147 func (m *MockConfig) GwKey() string { 148 m.ctrl.T.Helper() 149 ret := m.ctrl.Call(m, "GwKey") 150 ret0, _ := ret[0].(string) 151 return ret0 152 } 153 154 // GwKey indicates an expected call of GwKey. 155 func (mr *MockConfigMockRecorder) GwKey() *gomock.Call { 156 mr.mock.ctrl.T.Helper() 157 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwKey", reflect.TypeOf((*MockConfig)(nil).GwKey)) 158 } 159 160 // GwMaxAttempts mocks base method. 161 func (m *MockConfig) GwMaxAttempts() int { 162 m.ctrl.T.Helper() 163 ret := m.ctrl.Call(m, "GwMaxAttempts") 164 ret0, _ := ret[0].(int) 165 return ret0 166 } 167 168 // GwMaxAttempts indicates an expected call of GwMaxAttempts. 169 func (mr *MockConfigMockRecorder) GwMaxAttempts() *gomock.Call { 170 mr.mock.ctrl.T.Helper() 171 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwMaxAttempts", reflect.TypeOf((*MockConfig)(nil).GwMaxAttempts)) 172 } 173 174 // GwMaxBackoff mocks base method. 175 func (m *MockConfig) GwMaxBackoff() int { 176 m.ctrl.T.Helper() 177 ret := m.ctrl.Call(m, "GwMaxBackoff") 178 ret0, _ := ret[0].(int) 179 return ret0 180 } 181 182 // GwMaxBackoff indicates an expected call of GwMaxBackoff. 183 func (mr *MockConfigMockRecorder) GwMaxBackoff() *gomock.Call { 184 mr.mock.ctrl.T.Helper() 185 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwMaxBackoff", reflect.TypeOf((*MockConfig)(nil).GwMaxBackoff)) 186 } 187 188 // GwPollInterval mocks base method. 189 func (m *MockConfig) GwPollInterval() int { 190 m.ctrl.T.Helper() 191 ret := m.ctrl.Call(m, "GwPollInterval") 192 ret0, _ := ret[0].(int) 193 return ret0 194 } 195 196 // GwPollInterval indicates an expected call of GwPollInterval. 197 func (mr *MockConfigMockRecorder) GwPollInterval() *gomock.Call { 198 mr.mock.ctrl.T.Helper() 199 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwPollInterval", reflect.TypeOf((*MockConfig)(nil).GwPollInterval)) 200 } 201 202 // GwURL mocks base method. 203 func (m *MockConfig) GwURL() string { 204 m.ctrl.T.Helper() 205 ret := m.ctrl.Call(m, "GwURL") 206 ret0, _ := ret[0].(string) 207 return ret0 208 } 209 210 // GwURL indicates an expected call of GwURL. 211 func (mr *MockConfigMockRecorder) GwURL() *gomock.Call { 212 mr.mock.ctrl.T.Helper() 213 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwURL", reflect.TypeOf((*MockConfig)(nil).GwURL)) 214 } 215 216 // LogLevel mocks base method. 217 func (m *MockConfig) LogLevel() string { 218 m.ctrl.T.Helper() 219 ret := m.ctrl.Call(m, "LogLevel") 220 ret0, _ := ret[0].(string) 221 return ret0 222 } 223 224 // LogLevel indicates an expected call of LogLevel. 225 func (mr *MockConfigMockRecorder) LogLevel() *gomock.Call { 226 mr.mock.ctrl.T.Helper() 227 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogLevel", reflect.TypeOf((*MockConfig)(nil).LogLevel)) 228 } 229 230 // Logger mocks base method. 231 func (m *MockConfig) Logger() string { 232 m.ctrl.T.Helper() 233 ret := m.ctrl.Call(m, "Logger") 234 ret0, _ := ret[0].(string) 235 return ret0 236 } 237 238 // Logger indicates an expected call of Logger. 239 func (mr *MockConfigMockRecorder) Logger() *gomock.Call { 240 mr.mock.ctrl.T.Helper() 241 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Logger", reflect.TypeOf((*MockConfig)(nil).Logger)) 242 } 243 244 // RsyncMode mocks base method. 245 func (m *MockConfig) RsyncMode() string { 246 m.ctrl.T.Helper() 247 ret := m.ctrl.Call(m, "RsyncMode") 248 ret0, _ := ret[0].(string) 249 return ret0 250 } 251 252 // RsyncMode indicates an expected call of RsyncMode. 253 func (mr *MockConfigMockRecorder) RsyncMode() *gomock.Call { 254 mr.mock.ctrl.T.Helper() 255 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RsyncMode", reflect.TypeOf((*MockConfig)(nil).RsyncMode)) 256 } 257 258 // Strip mocks base method. 259 func (m *MockConfig) Strip() string { 260 m.ctrl.T.Helper() 261 ret := m.ctrl.Call(m, "Strip") 262 ret0, _ := ret[0].(string) 263 return ret0 264 } 265 266 // Strip indicates an expected call of Strip. 267 func (mr *MockConfigMockRecorder) Strip() *gomock.Call { 268 mr.mock.ctrl.T.Helper() 269 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Strip", reflect.TypeOf((*MockConfig)(nil).Strip)) 270 } 271 272 // UploadThreads mocks base method. 273 func (m *MockConfig) UploadThreads() int { 274 m.ctrl.T.Helper() 275 ret := m.ctrl.Call(m, "UploadThreads") 276 ret0, _ := ret[0].(int) 277 return ret0 278 } 279 280 // UploadThreads indicates an expected call of UploadThreads. 281 func (mr *MockConfigMockRecorder) UploadThreads() *gomock.Call { 282 mr.mock.ctrl.T.Helper() 283 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UploadThreads", reflect.TypeOf((*MockConfig)(nil).UploadThreads)) 284 } 285 286 // Verbosity mocks base method. 287 func (m *MockConfig) Verbosity() int { 288 m.ctrl.T.Helper() 289 ret := m.ctrl.Call(m, "Verbosity") 290 ret0, _ := ret[0].(int) 291 return ret0 292 } 293 294 // Verbosity indicates an expected call of Verbosity. 295 func (mr *MockConfigMockRecorder) Verbosity() *gomock.Call { 296 mr.mock.ctrl.T.Helper() 297 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Verbosity", reflect.TypeOf((*MockConfig)(nil).Verbosity)) 298 } 299 300 // MockEnvironmentConfig is a mock of EnvironmentConfig interface. 301 type MockEnvironmentConfig struct { 302 ctrl *gomock.Controller 303 recorder *MockEnvironmentConfigMockRecorder 304 } 305 306 // MockEnvironmentConfigMockRecorder is the mock recorder for MockEnvironmentConfig. 307 type MockEnvironmentConfigMockRecorder struct { 308 mock *MockEnvironmentConfig 309 } 310 311 // NewMockEnvironmentConfig creates a new mock instance. 312 func NewMockEnvironmentConfig(ctrl *gomock.Controller) *MockEnvironmentConfig { 313 mock := &MockEnvironmentConfig{ctrl: ctrl} 314 mock.recorder = &MockEnvironmentConfigMockRecorder{mock} 315 return mock 316 } 317 318 // EXPECT returns an object that allows the caller to indicate expected use. 319 func (m *MockEnvironmentConfig) EXPECT() *MockEnvironmentConfigMockRecorder { 320 return m.recorder 321 } 322 323 // Diag mocks base method. 324 func (m *MockEnvironmentConfig) Diag() bool { 325 m.ctrl.T.Helper() 326 ret := m.ctrl.Call(m, "Diag") 327 ret0, _ := ret[0].(bool) 328 return ret0 329 } 330 331 // Diag indicates an expected call of Diag. 332 func (mr *MockEnvironmentConfigMockRecorder) Diag() *gomock.Call { 333 mr.mock.ctrl.T.Helper() 334 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Diag", reflect.TypeOf((*MockEnvironmentConfig)(nil).Diag)) 335 } 336 337 // GwBatchSize mocks base method. 338 func (m *MockEnvironmentConfig) GwBatchSize() int { 339 m.ctrl.T.Helper() 340 ret := m.ctrl.Call(m, "GwBatchSize") 341 ret0, _ := ret[0].(int) 342 return ret0 343 } 344 345 // GwBatchSize indicates an expected call of GwBatchSize. 346 func (mr *MockEnvironmentConfigMockRecorder) GwBatchSize() *gomock.Call { 347 mr.mock.ctrl.T.Helper() 348 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwBatchSize", reflect.TypeOf((*MockEnvironmentConfig)(nil).GwBatchSize)) 349 } 350 351 // GwCert mocks base method. 352 func (m *MockEnvironmentConfig) GwCert() string { 353 m.ctrl.T.Helper() 354 ret := m.ctrl.Call(m, "GwCert") 355 ret0, _ := ret[0].(string) 356 return ret0 357 } 358 359 // GwCert indicates an expected call of GwCert. 360 func (mr *MockEnvironmentConfigMockRecorder) GwCert() *gomock.Call { 361 mr.mock.ctrl.T.Helper() 362 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwCert", reflect.TypeOf((*MockEnvironmentConfig)(nil).GwCert)) 363 } 364 365 // GwCommit mocks base method. 366 func (m *MockEnvironmentConfig) GwCommit() string { 367 m.ctrl.T.Helper() 368 ret := m.ctrl.Call(m, "GwCommit") 369 ret0, _ := ret[0].(string) 370 return ret0 371 } 372 373 // GwCommit indicates an expected call of GwCommit. 374 func (mr *MockEnvironmentConfigMockRecorder) GwCommit() *gomock.Call { 375 mr.mock.ctrl.T.Helper() 376 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwCommit", reflect.TypeOf((*MockEnvironmentConfig)(nil).GwCommit)) 377 } 378 379 // GwEnv mocks base method. 380 func (m *MockEnvironmentConfig) GwEnv() string { 381 m.ctrl.T.Helper() 382 ret := m.ctrl.Call(m, "GwEnv") 383 ret0, _ := ret[0].(string) 384 return ret0 385 } 386 387 // GwEnv indicates an expected call of GwEnv. 388 func (mr *MockEnvironmentConfigMockRecorder) GwEnv() *gomock.Call { 389 mr.mock.ctrl.T.Helper() 390 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwEnv", reflect.TypeOf((*MockEnvironmentConfig)(nil).GwEnv)) 391 } 392 393 // GwKey mocks base method. 394 func (m *MockEnvironmentConfig) GwKey() string { 395 m.ctrl.T.Helper() 396 ret := m.ctrl.Call(m, "GwKey") 397 ret0, _ := ret[0].(string) 398 return ret0 399 } 400 401 // GwKey indicates an expected call of GwKey. 402 func (mr *MockEnvironmentConfigMockRecorder) GwKey() *gomock.Call { 403 mr.mock.ctrl.T.Helper() 404 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwKey", reflect.TypeOf((*MockEnvironmentConfig)(nil).GwKey)) 405 } 406 407 // GwMaxAttempts mocks base method. 408 func (m *MockEnvironmentConfig) GwMaxAttempts() int { 409 m.ctrl.T.Helper() 410 ret := m.ctrl.Call(m, "GwMaxAttempts") 411 ret0, _ := ret[0].(int) 412 return ret0 413 } 414 415 // GwMaxAttempts indicates an expected call of GwMaxAttempts. 416 func (mr *MockEnvironmentConfigMockRecorder) GwMaxAttempts() *gomock.Call { 417 mr.mock.ctrl.T.Helper() 418 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwMaxAttempts", reflect.TypeOf((*MockEnvironmentConfig)(nil).GwMaxAttempts)) 419 } 420 421 // GwMaxBackoff mocks base method. 422 func (m *MockEnvironmentConfig) GwMaxBackoff() int { 423 m.ctrl.T.Helper() 424 ret := m.ctrl.Call(m, "GwMaxBackoff") 425 ret0, _ := ret[0].(int) 426 return ret0 427 } 428 429 // GwMaxBackoff indicates an expected call of GwMaxBackoff. 430 func (mr *MockEnvironmentConfigMockRecorder) GwMaxBackoff() *gomock.Call { 431 mr.mock.ctrl.T.Helper() 432 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwMaxBackoff", reflect.TypeOf((*MockEnvironmentConfig)(nil).GwMaxBackoff)) 433 } 434 435 // GwPollInterval mocks base method. 436 func (m *MockEnvironmentConfig) GwPollInterval() int { 437 m.ctrl.T.Helper() 438 ret := m.ctrl.Call(m, "GwPollInterval") 439 ret0, _ := ret[0].(int) 440 return ret0 441 } 442 443 // GwPollInterval indicates an expected call of GwPollInterval. 444 func (mr *MockEnvironmentConfigMockRecorder) GwPollInterval() *gomock.Call { 445 mr.mock.ctrl.T.Helper() 446 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwPollInterval", reflect.TypeOf((*MockEnvironmentConfig)(nil).GwPollInterval)) 447 } 448 449 // GwURL mocks base method. 450 func (m *MockEnvironmentConfig) GwURL() string { 451 m.ctrl.T.Helper() 452 ret := m.ctrl.Call(m, "GwURL") 453 ret0, _ := ret[0].(string) 454 return ret0 455 } 456 457 // GwURL indicates an expected call of GwURL. 458 func (mr *MockEnvironmentConfigMockRecorder) GwURL() *gomock.Call { 459 mr.mock.ctrl.T.Helper() 460 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwURL", reflect.TypeOf((*MockEnvironmentConfig)(nil).GwURL)) 461 } 462 463 // LogLevel mocks base method. 464 func (m *MockEnvironmentConfig) LogLevel() string { 465 m.ctrl.T.Helper() 466 ret := m.ctrl.Call(m, "LogLevel") 467 ret0, _ := ret[0].(string) 468 return ret0 469 } 470 471 // LogLevel indicates an expected call of LogLevel. 472 func (mr *MockEnvironmentConfigMockRecorder) LogLevel() *gomock.Call { 473 mr.mock.ctrl.T.Helper() 474 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogLevel", reflect.TypeOf((*MockEnvironmentConfig)(nil).LogLevel)) 475 } 476 477 // Logger mocks base method. 478 func (m *MockEnvironmentConfig) Logger() string { 479 m.ctrl.T.Helper() 480 ret := m.ctrl.Call(m, "Logger") 481 ret0, _ := ret[0].(string) 482 return ret0 483 } 484 485 // Logger indicates an expected call of Logger. 486 func (mr *MockEnvironmentConfigMockRecorder) Logger() *gomock.Call { 487 mr.mock.ctrl.T.Helper() 488 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Logger", reflect.TypeOf((*MockEnvironmentConfig)(nil).Logger)) 489 } 490 491 // Prefix mocks base method. 492 func (m *MockEnvironmentConfig) Prefix() string { 493 m.ctrl.T.Helper() 494 ret := m.ctrl.Call(m, "Prefix") 495 ret0, _ := ret[0].(string) 496 return ret0 497 } 498 499 // Prefix indicates an expected call of Prefix. 500 func (mr *MockEnvironmentConfigMockRecorder) Prefix() *gomock.Call { 501 mr.mock.ctrl.T.Helper() 502 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Prefix", reflect.TypeOf((*MockEnvironmentConfig)(nil).Prefix)) 503 } 504 505 // RsyncMode mocks base method. 506 func (m *MockEnvironmentConfig) RsyncMode() string { 507 m.ctrl.T.Helper() 508 ret := m.ctrl.Call(m, "RsyncMode") 509 ret0, _ := ret[0].(string) 510 return ret0 511 } 512 513 // RsyncMode indicates an expected call of RsyncMode. 514 func (mr *MockEnvironmentConfigMockRecorder) RsyncMode() *gomock.Call { 515 mr.mock.ctrl.T.Helper() 516 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RsyncMode", reflect.TypeOf((*MockEnvironmentConfig)(nil).RsyncMode)) 517 } 518 519 // Strip mocks base method. 520 func (m *MockEnvironmentConfig) Strip() string { 521 m.ctrl.T.Helper() 522 ret := m.ctrl.Call(m, "Strip") 523 ret0, _ := ret[0].(string) 524 return ret0 525 } 526 527 // Strip indicates an expected call of Strip. 528 func (mr *MockEnvironmentConfigMockRecorder) Strip() *gomock.Call { 529 mr.mock.ctrl.T.Helper() 530 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Strip", reflect.TypeOf((*MockEnvironmentConfig)(nil).Strip)) 531 } 532 533 // UploadThreads mocks base method. 534 func (m *MockEnvironmentConfig) UploadThreads() int { 535 m.ctrl.T.Helper() 536 ret := m.ctrl.Call(m, "UploadThreads") 537 ret0, _ := ret[0].(int) 538 return ret0 539 } 540 541 // UploadThreads indicates an expected call of UploadThreads. 542 func (mr *MockEnvironmentConfigMockRecorder) UploadThreads() *gomock.Call { 543 mr.mock.ctrl.T.Helper() 544 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UploadThreads", reflect.TypeOf((*MockEnvironmentConfig)(nil).UploadThreads)) 545 } 546 547 // Verbosity mocks base method. 548 func (m *MockEnvironmentConfig) Verbosity() int { 549 m.ctrl.T.Helper() 550 ret := m.ctrl.Call(m, "Verbosity") 551 ret0, _ := ret[0].(int) 552 return ret0 553 } 554 555 // Verbosity indicates an expected call of Verbosity. 556 func (mr *MockEnvironmentConfigMockRecorder) Verbosity() *gomock.Call { 557 mr.mock.ctrl.T.Helper() 558 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Verbosity", reflect.TypeOf((*MockEnvironmentConfig)(nil).Verbosity)) 559 } 560 561 // MockGlobalConfig is a mock of GlobalConfig interface. 562 type MockGlobalConfig struct { 563 ctrl *gomock.Controller 564 recorder *MockGlobalConfigMockRecorder 565 } 566 567 // MockGlobalConfigMockRecorder is the mock recorder for MockGlobalConfig. 568 type MockGlobalConfigMockRecorder struct { 569 mock *MockGlobalConfig 570 } 571 572 // NewMockGlobalConfig creates a new mock instance. 573 func NewMockGlobalConfig(ctrl *gomock.Controller) *MockGlobalConfig { 574 mock := &MockGlobalConfig{ctrl: ctrl} 575 mock.recorder = &MockGlobalConfigMockRecorder{mock} 576 return mock 577 } 578 579 // EXPECT returns an object that allows the caller to indicate expected use. 580 func (m *MockGlobalConfig) EXPECT() *MockGlobalConfigMockRecorder { 581 return m.recorder 582 } 583 584 // Diag mocks base method. 585 func (m *MockGlobalConfig) Diag() bool { 586 m.ctrl.T.Helper() 587 ret := m.ctrl.Call(m, "Diag") 588 ret0, _ := ret[0].(bool) 589 return ret0 590 } 591 592 // Diag indicates an expected call of Diag. 593 func (mr *MockGlobalConfigMockRecorder) Diag() *gomock.Call { 594 mr.mock.ctrl.T.Helper() 595 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Diag", reflect.TypeOf((*MockGlobalConfig)(nil).Diag)) 596 } 597 598 // EnvironmentForDest mocks base method. 599 func (m *MockGlobalConfig) EnvironmentForDest(arg0 context.Context, arg1 string) EnvironmentConfig { 600 m.ctrl.T.Helper() 601 ret := m.ctrl.Call(m, "EnvironmentForDest", arg0, arg1) 602 ret0, _ := ret[0].(EnvironmentConfig) 603 return ret0 604 } 605 606 // EnvironmentForDest indicates an expected call of EnvironmentForDest. 607 func (mr *MockGlobalConfigMockRecorder) EnvironmentForDest(arg0, arg1 interface{}) *gomock.Call { 608 mr.mock.ctrl.T.Helper() 609 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnvironmentForDest", reflect.TypeOf((*MockGlobalConfig)(nil).EnvironmentForDest), arg0, arg1) 610 } 611 612 // GwBatchSize mocks base method. 613 func (m *MockGlobalConfig) GwBatchSize() int { 614 m.ctrl.T.Helper() 615 ret := m.ctrl.Call(m, "GwBatchSize") 616 ret0, _ := ret[0].(int) 617 return ret0 618 } 619 620 // GwBatchSize indicates an expected call of GwBatchSize. 621 func (mr *MockGlobalConfigMockRecorder) GwBatchSize() *gomock.Call { 622 mr.mock.ctrl.T.Helper() 623 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwBatchSize", reflect.TypeOf((*MockGlobalConfig)(nil).GwBatchSize)) 624 } 625 626 // GwCert mocks base method. 627 func (m *MockGlobalConfig) GwCert() string { 628 m.ctrl.T.Helper() 629 ret := m.ctrl.Call(m, "GwCert") 630 ret0, _ := ret[0].(string) 631 return ret0 632 } 633 634 // GwCert indicates an expected call of GwCert. 635 func (mr *MockGlobalConfigMockRecorder) GwCert() *gomock.Call { 636 mr.mock.ctrl.T.Helper() 637 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwCert", reflect.TypeOf((*MockGlobalConfig)(nil).GwCert)) 638 } 639 640 // GwCommit mocks base method. 641 func (m *MockGlobalConfig) GwCommit() string { 642 m.ctrl.T.Helper() 643 ret := m.ctrl.Call(m, "GwCommit") 644 ret0, _ := ret[0].(string) 645 return ret0 646 } 647 648 // GwCommit indicates an expected call of GwCommit. 649 func (mr *MockGlobalConfigMockRecorder) GwCommit() *gomock.Call { 650 mr.mock.ctrl.T.Helper() 651 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwCommit", reflect.TypeOf((*MockGlobalConfig)(nil).GwCommit)) 652 } 653 654 // GwEnv mocks base method. 655 func (m *MockGlobalConfig) GwEnv() string { 656 m.ctrl.T.Helper() 657 ret := m.ctrl.Call(m, "GwEnv") 658 ret0, _ := ret[0].(string) 659 return ret0 660 } 661 662 // GwEnv indicates an expected call of GwEnv. 663 func (mr *MockGlobalConfigMockRecorder) GwEnv() *gomock.Call { 664 mr.mock.ctrl.T.Helper() 665 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwEnv", reflect.TypeOf((*MockGlobalConfig)(nil).GwEnv)) 666 } 667 668 // GwKey mocks base method. 669 func (m *MockGlobalConfig) GwKey() string { 670 m.ctrl.T.Helper() 671 ret := m.ctrl.Call(m, "GwKey") 672 ret0, _ := ret[0].(string) 673 return ret0 674 } 675 676 // GwKey indicates an expected call of GwKey. 677 func (mr *MockGlobalConfigMockRecorder) GwKey() *gomock.Call { 678 mr.mock.ctrl.T.Helper() 679 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwKey", reflect.TypeOf((*MockGlobalConfig)(nil).GwKey)) 680 } 681 682 // GwMaxAttempts mocks base method. 683 func (m *MockGlobalConfig) GwMaxAttempts() int { 684 m.ctrl.T.Helper() 685 ret := m.ctrl.Call(m, "GwMaxAttempts") 686 ret0, _ := ret[0].(int) 687 return ret0 688 } 689 690 // GwMaxAttempts indicates an expected call of GwMaxAttempts. 691 func (mr *MockGlobalConfigMockRecorder) GwMaxAttempts() *gomock.Call { 692 mr.mock.ctrl.T.Helper() 693 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwMaxAttempts", reflect.TypeOf((*MockGlobalConfig)(nil).GwMaxAttempts)) 694 } 695 696 // GwMaxBackoff mocks base method. 697 func (m *MockGlobalConfig) GwMaxBackoff() int { 698 m.ctrl.T.Helper() 699 ret := m.ctrl.Call(m, "GwMaxBackoff") 700 ret0, _ := ret[0].(int) 701 return ret0 702 } 703 704 // GwMaxBackoff indicates an expected call of GwMaxBackoff. 705 func (mr *MockGlobalConfigMockRecorder) GwMaxBackoff() *gomock.Call { 706 mr.mock.ctrl.T.Helper() 707 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwMaxBackoff", reflect.TypeOf((*MockGlobalConfig)(nil).GwMaxBackoff)) 708 } 709 710 // GwPollInterval mocks base method. 711 func (m *MockGlobalConfig) GwPollInterval() int { 712 m.ctrl.T.Helper() 713 ret := m.ctrl.Call(m, "GwPollInterval") 714 ret0, _ := ret[0].(int) 715 return ret0 716 } 717 718 // GwPollInterval indicates an expected call of GwPollInterval. 719 func (mr *MockGlobalConfigMockRecorder) GwPollInterval() *gomock.Call { 720 mr.mock.ctrl.T.Helper() 721 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwPollInterval", reflect.TypeOf((*MockGlobalConfig)(nil).GwPollInterval)) 722 } 723 724 // GwURL mocks base method. 725 func (m *MockGlobalConfig) GwURL() string { 726 m.ctrl.T.Helper() 727 ret := m.ctrl.Call(m, "GwURL") 728 ret0, _ := ret[0].(string) 729 return ret0 730 } 731 732 // GwURL indicates an expected call of GwURL. 733 func (mr *MockGlobalConfigMockRecorder) GwURL() *gomock.Call { 734 mr.mock.ctrl.T.Helper() 735 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GwURL", reflect.TypeOf((*MockGlobalConfig)(nil).GwURL)) 736 } 737 738 // LogLevel mocks base method. 739 func (m *MockGlobalConfig) LogLevel() string { 740 m.ctrl.T.Helper() 741 ret := m.ctrl.Call(m, "LogLevel") 742 ret0, _ := ret[0].(string) 743 return ret0 744 } 745 746 // LogLevel indicates an expected call of LogLevel. 747 func (mr *MockGlobalConfigMockRecorder) LogLevel() *gomock.Call { 748 mr.mock.ctrl.T.Helper() 749 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogLevel", reflect.TypeOf((*MockGlobalConfig)(nil).LogLevel)) 750 } 751 752 // Logger mocks base method. 753 func (m *MockGlobalConfig) Logger() string { 754 m.ctrl.T.Helper() 755 ret := m.ctrl.Call(m, "Logger") 756 ret0, _ := ret[0].(string) 757 return ret0 758 } 759 760 // Logger indicates an expected call of Logger. 761 func (mr *MockGlobalConfigMockRecorder) Logger() *gomock.Call { 762 mr.mock.ctrl.T.Helper() 763 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Logger", reflect.TypeOf((*MockGlobalConfig)(nil).Logger)) 764 } 765 766 // RsyncMode mocks base method. 767 func (m *MockGlobalConfig) RsyncMode() string { 768 m.ctrl.T.Helper() 769 ret := m.ctrl.Call(m, "RsyncMode") 770 ret0, _ := ret[0].(string) 771 return ret0 772 } 773 774 // RsyncMode indicates an expected call of RsyncMode. 775 func (mr *MockGlobalConfigMockRecorder) RsyncMode() *gomock.Call { 776 mr.mock.ctrl.T.Helper() 777 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RsyncMode", reflect.TypeOf((*MockGlobalConfig)(nil).RsyncMode)) 778 } 779 780 // Strip mocks base method. 781 func (m *MockGlobalConfig) Strip() string { 782 m.ctrl.T.Helper() 783 ret := m.ctrl.Call(m, "Strip") 784 ret0, _ := ret[0].(string) 785 return ret0 786 } 787 788 // Strip indicates an expected call of Strip. 789 func (mr *MockGlobalConfigMockRecorder) Strip() *gomock.Call { 790 mr.mock.ctrl.T.Helper() 791 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Strip", reflect.TypeOf((*MockGlobalConfig)(nil).Strip)) 792 } 793 794 // UploadThreads mocks base method. 795 func (m *MockGlobalConfig) UploadThreads() int { 796 m.ctrl.T.Helper() 797 ret := m.ctrl.Call(m, "UploadThreads") 798 ret0, _ := ret[0].(int) 799 return ret0 800 } 801 802 // UploadThreads indicates an expected call of UploadThreads. 803 func (mr *MockGlobalConfigMockRecorder) UploadThreads() *gomock.Call { 804 mr.mock.ctrl.T.Helper() 805 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UploadThreads", reflect.TypeOf((*MockGlobalConfig)(nil).UploadThreads)) 806 } 807 808 // Verbosity mocks base method. 809 func (m *MockGlobalConfig) Verbosity() int { 810 m.ctrl.T.Helper() 811 ret := m.ctrl.Call(m, "Verbosity") 812 ret0, _ := ret[0].(int) 813 return ret0 814 } 815 816 // Verbosity indicates an expected call of Verbosity. 817 func (mr *MockGlobalConfigMockRecorder) Verbosity() *gomock.Call { 818 mr.mock.ctrl.T.Helper() 819 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Verbosity", reflect.TypeOf((*MockGlobalConfig)(nil).Verbosity)) 820 }