github.com/swisscom/cloudfoundry-cli@v7.1.0+incompatible/actor/v2action/v2actionfakes/fake_cloud_controller_client.go (about) 1 // Code generated by counterfeiter. DO NOT EDIT. 2 package v2actionfakes 3 4 import ( 5 "io" 6 "sync" 7 8 "code.cloudfoundry.org/cli/actor/v2action" 9 "code.cloudfoundry.org/cli/api/cloudcontroller/ccv2" 10 ) 11 12 type FakeCloudControllerClient struct { 13 APIStub func() string 14 aPIMutex sync.RWMutex 15 aPIArgsForCall []struct { 16 } 17 aPIReturns struct { 18 result1 string 19 } 20 aPIReturnsOnCall map[int]struct { 21 result1 string 22 } 23 APIVersionStub func() string 24 aPIVersionMutex sync.RWMutex 25 aPIVersionArgsForCall []struct { 26 } 27 aPIVersionReturns struct { 28 result1 string 29 } 30 aPIVersionReturnsOnCall map[int]struct { 31 result1 string 32 } 33 AuthorizationEndpointStub func() string 34 authorizationEndpointMutex sync.RWMutex 35 authorizationEndpointArgsForCall []struct { 36 } 37 authorizationEndpointReturns struct { 38 result1 string 39 } 40 authorizationEndpointReturnsOnCall map[int]struct { 41 result1 string 42 } 43 CheckRouteStub func(ccv2.Route) (bool, ccv2.Warnings, error) 44 checkRouteMutex sync.RWMutex 45 checkRouteArgsForCall []struct { 46 arg1 ccv2.Route 47 } 48 checkRouteReturns struct { 49 result1 bool 50 result2 ccv2.Warnings 51 result3 error 52 } 53 checkRouteReturnsOnCall map[int]struct { 54 result1 bool 55 result2 ccv2.Warnings 56 result3 error 57 } 58 CreateApplicationStub func(ccv2.Application) (ccv2.Application, ccv2.Warnings, error) 59 createApplicationMutex sync.RWMutex 60 createApplicationArgsForCall []struct { 61 arg1 ccv2.Application 62 } 63 createApplicationReturns struct { 64 result1 ccv2.Application 65 result2 ccv2.Warnings 66 result3 error 67 } 68 createApplicationReturnsOnCall map[int]struct { 69 result1 ccv2.Application 70 result2 ccv2.Warnings 71 result3 error 72 } 73 CreateBuildpackStub func(ccv2.Buildpack) (ccv2.Buildpack, ccv2.Warnings, error) 74 createBuildpackMutex sync.RWMutex 75 createBuildpackArgsForCall []struct { 76 arg1 ccv2.Buildpack 77 } 78 createBuildpackReturns struct { 79 result1 ccv2.Buildpack 80 result2 ccv2.Warnings 81 result3 error 82 } 83 createBuildpackReturnsOnCall map[int]struct { 84 result1 ccv2.Buildpack 85 result2 ccv2.Warnings 86 result3 error 87 } 88 CreateOrganizationStub func(string, string) (ccv2.Organization, ccv2.Warnings, error) 89 createOrganizationMutex sync.RWMutex 90 createOrganizationArgsForCall []struct { 91 arg1 string 92 arg2 string 93 } 94 createOrganizationReturns struct { 95 result1 ccv2.Organization 96 result2 ccv2.Warnings 97 result3 error 98 } 99 createOrganizationReturnsOnCall map[int]struct { 100 result1 ccv2.Organization 101 result2 ccv2.Warnings 102 result3 error 103 } 104 CreateRouteStub func(ccv2.Route, bool) (ccv2.Route, ccv2.Warnings, error) 105 createRouteMutex sync.RWMutex 106 createRouteArgsForCall []struct { 107 arg1 ccv2.Route 108 arg2 bool 109 } 110 createRouteReturns struct { 111 result1 ccv2.Route 112 result2 ccv2.Warnings 113 result3 error 114 } 115 createRouteReturnsOnCall map[int]struct { 116 result1 ccv2.Route 117 result2 ccv2.Warnings 118 result3 error 119 } 120 CreateServiceBindingStub func(string, string, string, bool, map[string]interface{}) (ccv2.ServiceBinding, ccv2.Warnings, error) 121 createServiceBindingMutex sync.RWMutex 122 createServiceBindingArgsForCall []struct { 123 arg1 string 124 arg2 string 125 arg3 string 126 arg4 bool 127 arg5 map[string]interface{} 128 } 129 createServiceBindingReturns struct { 130 result1 ccv2.ServiceBinding 131 result2 ccv2.Warnings 132 result3 error 133 } 134 createServiceBindingReturnsOnCall map[int]struct { 135 result1 ccv2.ServiceBinding 136 result2 ccv2.Warnings 137 result3 error 138 } 139 CreateServiceBrokerStub func(string, string, string, string, string) (ccv2.ServiceBroker, ccv2.Warnings, error) 140 createServiceBrokerMutex sync.RWMutex 141 createServiceBrokerArgsForCall []struct { 142 arg1 string 143 arg2 string 144 arg3 string 145 arg4 string 146 arg5 string 147 } 148 createServiceBrokerReturns struct { 149 result1 ccv2.ServiceBroker 150 result2 ccv2.Warnings 151 result3 error 152 } 153 createServiceBrokerReturnsOnCall map[int]struct { 154 result1 ccv2.ServiceBroker 155 result2 ccv2.Warnings 156 result3 error 157 } 158 CreateServiceInstanceStub func(string, string, string, map[string]interface{}, []string) (ccv2.ServiceInstance, ccv2.Warnings, error) 159 createServiceInstanceMutex sync.RWMutex 160 createServiceInstanceArgsForCall []struct { 161 arg1 string 162 arg2 string 163 arg3 string 164 arg4 map[string]interface{} 165 arg5 []string 166 } 167 createServiceInstanceReturns struct { 168 result1 ccv2.ServiceInstance 169 result2 ccv2.Warnings 170 result3 error 171 } 172 createServiceInstanceReturnsOnCall map[int]struct { 173 result1 ccv2.ServiceInstance 174 result2 ccv2.Warnings 175 result3 error 176 } 177 CreateServiceKeyStub func(string, string, map[string]interface{}) (ccv2.ServiceKey, ccv2.Warnings, error) 178 createServiceKeyMutex sync.RWMutex 179 createServiceKeyArgsForCall []struct { 180 arg1 string 181 arg2 string 182 arg3 map[string]interface{} 183 } 184 createServiceKeyReturns struct { 185 result1 ccv2.ServiceKey 186 result2 ccv2.Warnings 187 result3 error 188 } 189 createServiceKeyReturnsOnCall map[int]struct { 190 result1 ccv2.ServiceKey 191 result2 ccv2.Warnings 192 result3 error 193 } 194 CreateServicePlanVisibilityStub func(string, string) (ccv2.ServicePlanVisibility, ccv2.Warnings, error) 195 createServicePlanVisibilityMutex sync.RWMutex 196 createServicePlanVisibilityArgsForCall []struct { 197 arg1 string 198 arg2 string 199 } 200 createServicePlanVisibilityReturns struct { 201 result1 ccv2.ServicePlanVisibility 202 result2 ccv2.Warnings 203 result3 error 204 } 205 createServicePlanVisibilityReturnsOnCall map[int]struct { 206 result1 ccv2.ServicePlanVisibility 207 result2 ccv2.Warnings 208 result3 error 209 } 210 CreateSharedDomainStub func(string, string, bool) (ccv2.Warnings, error) 211 createSharedDomainMutex sync.RWMutex 212 createSharedDomainArgsForCall []struct { 213 arg1 string 214 arg2 string 215 arg3 bool 216 } 217 createSharedDomainReturns struct { 218 result1 ccv2.Warnings 219 result2 error 220 } 221 createSharedDomainReturnsOnCall map[int]struct { 222 result1 ccv2.Warnings 223 result2 error 224 } 225 CreateSpaceStub func(string, string) (ccv2.Space, ccv2.Warnings, error) 226 createSpaceMutex sync.RWMutex 227 createSpaceArgsForCall []struct { 228 arg1 string 229 arg2 string 230 } 231 createSpaceReturns struct { 232 result1 ccv2.Space 233 result2 ccv2.Warnings 234 result3 error 235 } 236 createSpaceReturnsOnCall map[int]struct { 237 result1 ccv2.Space 238 result2 ccv2.Warnings 239 result3 error 240 } 241 CreateUserStub func(string) (ccv2.User, ccv2.Warnings, error) 242 createUserMutex sync.RWMutex 243 createUserArgsForCall []struct { 244 arg1 string 245 } 246 createUserReturns struct { 247 result1 ccv2.User 248 result2 ccv2.Warnings 249 result3 error 250 } 251 createUserReturnsOnCall map[int]struct { 252 result1 ccv2.User 253 result2 ccv2.Warnings 254 result3 error 255 } 256 DeleteOrganizationJobStub func(string) (ccv2.Job, ccv2.Warnings, error) 257 deleteOrganizationJobMutex sync.RWMutex 258 deleteOrganizationJobArgsForCall []struct { 259 arg1 string 260 } 261 deleteOrganizationJobReturns struct { 262 result1 ccv2.Job 263 result2 ccv2.Warnings 264 result3 error 265 } 266 deleteOrganizationJobReturnsOnCall map[int]struct { 267 result1 ccv2.Job 268 result2 ccv2.Warnings 269 result3 error 270 } 271 DeleteRouteStub func(string) (ccv2.Warnings, error) 272 deleteRouteMutex sync.RWMutex 273 deleteRouteArgsForCall []struct { 274 arg1 string 275 } 276 deleteRouteReturns struct { 277 result1 ccv2.Warnings 278 result2 error 279 } 280 deleteRouteReturnsOnCall map[int]struct { 281 result1 ccv2.Warnings 282 result2 error 283 } 284 DeleteRouteApplicationStub func(string, string) (ccv2.Warnings, error) 285 deleteRouteApplicationMutex sync.RWMutex 286 deleteRouteApplicationArgsForCall []struct { 287 arg1 string 288 arg2 string 289 } 290 deleteRouteApplicationReturns struct { 291 result1 ccv2.Warnings 292 result2 error 293 } 294 deleteRouteApplicationReturnsOnCall map[int]struct { 295 result1 ccv2.Warnings 296 result2 error 297 } 298 DeleteSecurityGroupSpaceStub func(string, string) (ccv2.Warnings, error) 299 deleteSecurityGroupSpaceMutex sync.RWMutex 300 deleteSecurityGroupSpaceArgsForCall []struct { 301 arg1 string 302 arg2 string 303 } 304 deleteSecurityGroupSpaceReturns struct { 305 result1 ccv2.Warnings 306 result2 error 307 } 308 deleteSecurityGroupSpaceReturnsOnCall map[int]struct { 309 result1 ccv2.Warnings 310 result2 error 311 } 312 DeleteSecurityGroupStagingSpaceStub func(string, string) (ccv2.Warnings, error) 313 deleteSecurityGroupStagingSpaceMutex sync.RWMutex 314 deleteSecurityGroupStagingSpaceArgsForCall []struct { 315 arg1 string 316 arg2 string 317 } 318 deleteSecurityGroupStagingSpaceReturns struct { 319 result1 ccv2.Warnings 320 result2 error 321 } 322 deleteSecurityGroupStagingSpaceReturnsOnCall map[int]struct { 323 result1 ccv2.Warnings 324 result2 error 325 } 326 DeleteServiceStub func(string, bool) (ccv2.Warnings, error) 327 deleteServiceMutex sync.RWMutex 328 deleteServiceArgsForCall []struct { 329 arg1 string 330 arg2 bool 331 } 332 deleteServiceReturns struct { 333 result1 ccv2.Warnings 334 result2 error 335 } 336 deleteServiceReturnsOnCall map[int]struct { 337 result1 ccv2.Warnings 338 result2 error 339 } 340 DeleteServiceBindingStub func(string, bool) (ccv2.ServiceBinding, ccv2.Warnings, error) 341 deleteServiceBindingMutex sync.RWMutex 342 deleteServiceBindingArgsForCall []struct { 343 arg1 string 344 arg2 bool 345 } 346 deleteServiceBindingReturns struct { 347 result1 ccv2.ServiceBinding 348 result2 ccv2.Warnings 349 result3 error 350 } 351 deleteServiceBindingReturnsOnCall map[int]struct { 352 result1 ccv2.ServiceBinding 353 result2 ccv2.Warnings 354 result3 error 355 } 356 DeleteServicePlanVisibilityStub func(string) (ccv2.Warnings, error) 357 deleteServicePlanVisibilityMutex sync.RWMutex 358 deleteServicePlanVisibilityArgsForCall []struct { 359 arg1 string 360 } 361 deleteServicePlanVisibilityReturns struct { 362 result1 ccv2.Warnings 363 result2 error 364 } 365 deleteServicePlanVisibilityReturnsOnCall map[int]struct { 366 result1 ccv2.Warnings 367 result2 error 368 } 369 DeleteSpaceJobStub func(string) (ccv2.Job, ccv2.Warnings, error) 370 deleteSpaceJobMutex sync.RWMutex 371 deleteSpaceJobArgsForCall []struct { 372 arg1 string 373 } 374 deleteSpaceJobReturns struct { 375 result1 ccv2.Job 376 result2 ccv2.Warnings 377 result3 error 378 } 379 deleteSpaceJobReturnsOnCall map[int]struct { 380 result1 ccv2.Job 381 result2 ccv2.Warnings 382 result3 error 383 } 384 DeleteSpaceUnmappedRoutesStub func(string) (ccv2.Warnings, error) 385 deleteSpaceUnmappedRoutesMutex sync.RWMutex 386 deleteSpaceUnmappedRoutesArgsForCall []struct { 387 arg1 string 388 } 389 deleteSpaceUnmappedRoutesReturns struct { 390 result1 ccv2.Warnings 391 result2 error 392 } 393 deleteSpaceUnmappedRoutesReturnsOnCall map[int]struct { 394 result1 ccv2.Warnings 395 result2 error 396 } 397 DopplerEndpointStub func() string 398 dopplerEndpointMutex sync.RWMutex 399 dopplerEndpointArgsForCall []struct { 400 } 401 dopplerEndpointReturns struct { 402 result1 string 403 } 404 dopplerEndpointReturnsOnCall map[int]struct { 405 result1 string 406 } 407 GetApplicationStub func(string) (ccv2.Application, ccv2.Warnings, error) 408 getApplicationMutex sync.RWMutex 409 getApplicationArgsForCall []struct { 410 arg1 string 411 } 412 getApplicationReturns struct { 413 result1 ccv2.Application 414 result2 ccv2.Warnings 415 result3 error 416 } 417 getApplicationReturnsOnCall map[int]struct { 418 result1 ccv2.Application 419 result2 ccv2.Warnings 420 result3 error 421 } 422 GetApplicationApplicationInstanceStatusesStub func(string) (map[int]ccv2.ApplicationInstanceStatus, ccv2.Warnings, error) 423 getApplicationApplicationInstanceStatusesMutex sync.RWMutex 424 getApplicationApplicationInstanceStatusesArgsForCall []struct { 425 arg1 string 426 } 427 getApplicationApplicationInstanceStatusesReturns struct { 428 result1 map[int]ccv2.ApplicationInstanceStatus 429 result2 ccv2.Warnings 430 result3 error 431 } 432 getApplicationApplicationInstanceStatusesReturnsOnCall map[int]struct { 433 result1 map[int]ccv2.ApplicationInstanceStatus 434 result2 ccv2.Warnings 435 result3 error 436 } 437 GetApplicationApplicationInstancesStub func(string) (map[int]ccv2.ApplicationInstance, ccv2.Warnings, error) 438 getApplicationApplicationInstancesMutex sync.RWMutex 439 getApplicationApplicationInstancesArgsForCall []struct { 440 arg1 string 441 } 442 getApplicationApplicationInstancesReturns struct { 443 result1 map[int]ccv2.ApplicationInstance 444 result2 ccv2.Warnings 445 result3 error 446 } 447 getApplicationApplicationInstancesReturnsOnCall map[int]struct { 448 result1 map[int]ccv2.ApplicationInstance 449 result2 ccv2.Warnings 450 result3 error 451 } 452 GetApplicationRoutesStub func(string, ...ccv2.Filter) ([]ccv2.Route, ccv2.Warnings, error) 453 getApplicationRoutesMutex sync.RWMutex 454 getApplicationRoutesArgsForCall []struct { 455 arg1 string 456 arg2 []ccv2.Filter 457 } 458 getApplicationRoutesReturns struct { 459 result1 []ccv2.Route 460 result2 ccv2.Warnings 461 result3 error 462 } 463 getApplicationRoutesReturnsOnCall map[int]struct { 464 result1 []ccv2.Route 465 result2 ccv2.Warnings 466 result3 error 467 } 468 GetApplicationsStub func(...ccv2.Filter) ([]ccv2.Application, ccv2.Warnings, error) 469 getApplicationsMutex sync.RWMutex 470 getApplicationsArgsForCall []struct { 471 arg1 []ccv2.Filter 472 } 473 getApplicationsReturns struct { 474 result1 []ccv2.Application 475 result2 ccv2.Warnings 476 result3 error 477 } 478 getApplicationsReturnsOnCall map[int]struct { 479 result1 []ccv2.Application 480 result2 ccv2.Warnings 481 result3 error 482 } 483 GetBuildpacksStub func(...ccv2.Filter) ([]ccv2.Buildpack, ccv2.Warnings, error) 484 getBuildpacksMutex sync.RWMutex 485 getBuildpacksArgsForCall []struct { 486 arg1 []ccv2.Filter 487 } 488 getBuildpacksReturns struct { 489 result1 []ccv2.Buildpack 490 result2 ccv2.Warnings 491 result3 error 492 } 493 getBuildpacksReturnsOnCall map[int]struct { 494 result1 []ccv2.Buildpack 495 result2 ccv2.Warnings 496 result3 error 497 } 498 GetConfigFeatureFlagsStub func() ([]ccv2.FeatureFlag, ccv2.Warnings, error) 499 getConfigFeatureFlagsMutex sync.RWMutex 500 getConfigFeatureFlagsArgsForCall []struct { 501 } 502 getConfigFeatureFlagsReturns struct { 503 result1 []ccv2.FeatureFlag 504 result2 ccv2.Warnings 505 result3 error 506 } 507 getConfigFeatureFlagsReturnsOnCall map[int]struct { 508 result1 []ccv2.FeatureFlag 509 result2 ccv2.Warnings 510 result3 error 511 } 512 GetJobStub func(string) (ccv2.Job, ccv2.Warnings, error) 513 getJobMutex sync.RWMutex 514 getJobArgsForCall []struct { 515 arg1 string 516 } 517 getJobReturns struct { 518 result1 ccv2.Job 519 result2 ccv2.Warnings 520 result3 error 521 } 522 getJobReturnsOnCall map[int]struct { 523 result1 ccv2.Job 524 result2 ccv2.Warnings 525 result3 error 526 } 527 GetOrganizationStub func(string) (ccv2.Organization, ccv2.Warnings, error) 528 getOrganizationMutex sync.RWMutex 529 getOrganizationArgsForCall []struct { 530 arg1 string 531 } 532 getOrganizationReturns struct { 533 result1 ccv2.Organization 534 result2 ccv2.Warnings 535 result3 error 536 } 537 getOrganizationReturnsOnCall map[int]struct { 538 result1 ccv2.Organization 539 result2 ccv2.Warnings 540 result3 error 541 } 542 GetOrganizationPrivateDomainsStub func(string, ...ccv2.Filter) ([]ccv2.Domain, ccv2.Warnings, error) 543 getOrganizationPrivateDomainsMutex sync.RWMutex 544 getOrganizationPrivateDomainsArgsForCall []struct { 545 arg1 string 546 arg2 []ccv2.Filter 547 } 548 getOrganizationPrivateDomainsReturns struct { 549 result1 []ccv2.Domain 550 result2 ccv2.Warnings 551 result3 error 552 } 553 getOrganizationPrivateDomainsReturnsOnCall map[int]struct { 554 result1 []ccv2.Domain 555 result2 ccv2.Warnings 556 result3 error 557 } 558 GetOrganizationQuotaStub func(string) (ccv2.OrganizationQuota, ccv2.Warnings, error) 559 getOrganizationQuotaMutex sync.RWMutex 560 getOrganizationQuotaArgsForCall []struct { 561 arg1 string 562 } 563 getOrganizationQuotaReturns struct { 564 result1 ccv2.OrganizationQuota 565 result2 ccv2.Warnings 566 result3 error 567 } 568 getOrganizationQuotaReturnsOnCall map[int]struct { 569 result1 ccv2.OrganizationQuota 570 result2 ccv2.Warnings 571 result3 error 572 } 573 GetOrganizationQuotasStub func(...ccv2.Filter) ([]ccv2.OrganizationQuota, ccv2.Warnings, error) 574 getOrganizationQuotasMutex sync.RWMutex 575 getOrganizationQuotasArgsForCall []struct { 576 arg1 []ccv2.Filter 577 } 578 getOrganizationQuotasReturns struct { 579 result1 []ccv2.OrganizationQuota 580 result2 ccv2.Warnings 581 result3 error 582 } 583 getOrganizationQuotasReturnsOnCall map[int]struct { 584 result1 []ccv2.OrganizationQuota 585 result2 ccv2.Warnings 586 result3 error 587 } 588 GetOrganizationsStub func(...ccv2.Filter) ([]ccv2.Organization, ccv2.Warnings, error) 589 getOrganizationsMutex sync.RWMutex 590 getOrganizationsArgsForCall []struct { 591 arg1 []ccv2.Filter 592 } 593 getOrganizationsReturns struct { 594 result1 []ccv2.Organization 595 result2 ccv2.Warnings 596 result3 error 597 } 598 getOrganizationsReturnsOnCall map[int]struct { 599 result1 []ccv2.Organization 600 result2 ccv2.Warnings 601 result3 error 602 } 603 GetPrivateDomainStub func(string) (ccv2.Domain, ccv2.Warnings, error) 604 getPrivateDomainMutex sync.RWMutex 605 getPrivateDomainArgsForCall []struct { 606 arg1 string 607 } 608 getPrivateDomainReturns struct { 609 result1 ccv2.Domain 610 result2 ccv2.Warnings 611 result3 error 612 } 613 getPrivateDomainReturnsOnCall map[int]struct { 614 result1 ccv2.Domain 615 result2 ccv2.Warnings 616 result3 error 617 } 618 GetRouteApplicationsStub func(string, ...ccv2.Filter) ([]ccv2.Application, ccv2.Warnings, error) 619 getRouteApplicationsMutex sync.RWMutex 620 getRouteApplicationsArgsForCall []struct { 621 arg1 string 622 arg2 []ccv2.Filter 623 } 624 getRouteApplicationsReturns struct { 625 result1 []ccv2.Application 626 result2 ccv2.Warnings 627 result3 error 628 } 629 getRouteApplicationsReturnsOnCall map[int]struct { 630 result1 []ccv2.Application 631 result2 ccv2.Warnings 632 result3 error 633 } 634 GetRoutesStub func(...ccv2.Filter) ([]ccv2.Route, ccv2.Warnings, error) 635 getRoutesMutex sync.RWMutex 636 getRoutesArgsForCall []struct { 637 arg1 []ccv2.Filter 638 } 639 getRoutesReturns struct { 640 result1 []ccv2.Route 641 result2 ccv2.Warnings 642 result3 error 643 } 644 getRoutesReturnsOnCall map[int]struct { 645 result1 []ccv2.Route 646 result2 ccv2.Warnings 647 result3 error 648 } 649 GetSecurityGroupSpacesStub func(string) ([]ccv2.Space, ccv2.Warnings, error) 650 getSecurityGroupSpacesMutex sync.RWMutex 651 getSecurityGroupSpacesArgsForCall []struct { 652 arg1 string 653 } 654 getSecurityGroupSpacesReturns struct { 655 result1 []ccv2.Space 656 result2 ccv2.Warnings 657 result3 error 658 } 659 getSecurityGroupSpacesReturnsOnCall map[int]struct { 660 result1 []ccv2.Space 661 result2 ccv2.Warnings 662 result3 error 663 } 664 GetSecurityGroupStagingSpacesStub func(string) ([]ccv2.Space, ccv2.Warnings, error) 665 getSecurityGroupStagingSpacesMutex sync.RWMutex 666 getSecurityGroupStagingSpacesArgsForCall []struct { 667 arg1 string 668 } 669 getSecurityGroupStagingSpacesReturns struct { 670 result1 []ccv2.Space 671 result2 ccv2.Warnings 672 result3 error 673 } 674 getSecurityGroupStagingSpacesReturnsOnCall map[int]struct { 675 result1 []ccv2.Space 676 result2 ccv2.Warnings 677 result3 error 678 } 679 GetSecurityGroupsStub func(...ccv2.Filter) ([]ccv2.SecurityGroup, ccv2.Warnings, error) 680 getSecurityGroupsMutex sync.RWMutex 681 getSecurityGroupsArgsForCall []struct { 682 arg1 []ccv2.Filter 683 } 684 getSecurityGroupsReturns struct { 685 result1 []ccv2.SecurityGroup 686 result2 ccv2.Warnings 687 result3 error 688 } 689 getSecurityGroupsReturnsOnCall map[int]struct { 690 result1 []ccv2.SecurityGroup 691 result2 ccv2.Warnings 692 result3 error 693 } 694 GetServiceStub func(string) (ccv2.Service, ccv2.Warnings, error) 695 getServiceMutex sync.RWMutex 696 getServiceArgsForCall []struct { 697 arg1 string 698 } 699 getServiceReturns struct { 700 result1 ccv2.Service 701 result2 ccv2.Warnings 702 result3 error 703 } 704 getServiceReturnsOnCall map[int]struct { 705 result1 ccv2.Service 706 result2 ccv2.Warnings 707 result3 error 708 } 709 GetServiceBindingsStub func(...ccv2.Filter) ([]ccv2.ServiceBinding, ccv2.Warnings, error) 710 getServiceBindingsMutex sync.RWMutex 711 getServiceBindingsArgsForCall []struct { 712 arg1 []ccv2.Filter 713 } 714 getServiceBindingsReturns struct { 715 result1 []ccv2.ServiceBinding 716 result2 ccv2.Warnings 717 result3 error 718 } 719 getServiceBindingsReturnsOnCall map[int]struct { 720 result1 []ccv2.ServiceBinding 721 result2 ccv2.Warnings 722 result3 error 723 } 724 GetServiceBrokersStub func(...ccv2.Filter) ([]ccv2.ServiceBroker, ccv2.Warnings, error) 725 getServiceBrokersMutex sync.RWMutex 726 getServiceBrokersArgsForCall []struct { 727 arg1 []ccv2.Filter 728 } 729 getServiceBrokersReturns struct { 730 result1 []ccv2.ServiceBroker 731 result2 ccv2.Warnings 732 result3 error 733 } 734 getServiceBrokersReturnsOnCall map[int]struct { 735 result1 []ccv2.ServiceBroker 736 result2 ccv2.Warnings 737 result3 error 738 } 739 GetServiceInstanceStub func(string) (ccv2.ServiceInstance, ccv2.Warnings, error) 740 getServiceInstanceMutex sync.RWMutex 741 getServiceInstanceArgsForCall []struct { 742 arg1 string 743 } 744 getServiceInstanceReturns struct { 745 result1 ccv2.ServiceInstance 746 result2 ccv2.Warnings 747 result3 error 748 } 749 getServiceInstanceReturnsOnCall map[int]struct { 750 result1 ccv2.ServiceInstance 751 result2 ccv2.Warnings 752 result3 error 753 } 754 GetServiceInstanceServiceBindingsStub func(string) ([]ccv2.ServiceBinding, ccv2.Warnings, error) 755 getServiceInstanceServiceBindingsMutex sync.RWMutex 756 getServiceInstanceServiceBindingsArgsForCall []struct { 757 arg1 string 758 } 759 getServiceInstanceServiceBindingsReturns struct { 760 result1 []ccv2.ServiceBinding 761 result2 ccv2.Warnings 762 result3 error 763 } 764 getServiceInstanceServiceBindingsReturnsOnCall map[int]struct { 765 result1 []ccv2.ServiceBinding 766 result2 ccv2.Warnings 767 result3 error 768 } 769 GetServiceInstanceSharedFromStub func(string) (ccv2.ServiceInstanceSharedFrom, ccv2.Warnings, error) 770 getServiceInstanceSharedFromMutex sync.RWMutex 771 getServiceInstanceSharedFromArgsForCall []struct { 772 arg1 string 773 } 774 getServiceInstanceSharedFromReturns struct { 775 result1 ccv2.ServiceInstanceSharedFrom 776 result2 ccv2.Warnings 777 result3 error 778 } 779 getServiceInstanceSharedFromReturnsOnCall map[int]struct { 780 result1 ccv2.ServiceInstanceSharedFrom 781 result2 ccv2.Warnings 782 result3 error 783 } 784 GetServiceInstanceSharedTosStub func(string) ([]ccv2.ServiceInstanceSharedTo, ccv2.Warnings, error) 785 getServiceInstanceSharedTosMutex sync.RWMutex 786 getServiceInstanceSharedTosArgsForCall []struct { 787 arg1 string 788 } 789 getServiceInstanceSharedTosReturns struct { 790 result1 []ccv2.ServiceInstanceSharedTo 791 result2 ccv2.Warnings 792 result3 error 793 } 794 getServiceInstanceSharedTosReturnsOnCall map[int]struct { 795 result1 []ccv2.ServiceInstanceSharedTo 796 result2 ccv2.Warnings 797 result3 error 798 } 799 GetServiceInstancesStub func(...ccv2.Filter) ([]ccv2.ServiceInstance, ccv2.Warnings, error) 800 getServiceInstancesMutex sync.RWMutex 801 getServiceInstancesArgsForCall []struct { 802 arg1 []ccv2.Filter 803 } 804 getServiceInstancesReturns struct { 805 result1 []ccv2.ServiceInstance 806 result2 ccv2.Warnings 807 result3 error 808 } 809 getServiceInstancesReturnsOnCall map[int]struct { 810 result1 []ccv2.ServiceInstance 811 result2 ccv2.Warnings 812 result3 error 813 } 814 GetServicePlanStub func(string) (ccv2.ServicePlan, ccv2.Warnings, error) 815 getServicePlanMutex sync.RWMutex 816 getServicePlanArgsForCall []struct { 817 arg1 string 818 } 819 getServicePlanReturns struct { 820 result1 ccv2.ServicePlan 821 result2 ccv2.Warnings 822 result3 error 823 } 824 getServicePlanReturnsOnCall map[int]struct { 825 result1 ccv2.ServicePlan 826 result2 ccv2.Warnings 827 result3 error 828 } 829 GetServicePlanVisibilitiesStub func(...ccv2.Filter) ([]ccv2.ServicePlanVisibility, ccv2.Warnings, error) 830 getServicePlanVisibilitiesMutex sync.RWMutex 831 getServicePlanVisibilitiesArgsForCall []struct { 832 arg1 []ccv2.Filter 833 } 834 getServicePlanVisibilitiesReturns struct { 835 result1 []ccv2.ServicePlanVisibility 836 result2 ccv2.Warnings 837 result3 error 838 } 839 getServicePlanVisibilitiesReturnsOnCall map[int]struct { 840 result1 []ccv2.ServicePlanVisibility 841 result2 ccv2.Warnings 842 result3 error 843 } 844 GetServicePlansStub func(...ccv2.Filter) ([]ccv2.ServicePlan, ccv2.Warnings, error) 845 getServicePlansMutex sync.RWMutex 846 getServicePlansArgsForCall []struct { 847 arg1 []ccv2.Filter 848 } 849 getServicePlansReturns struct { 850 result1 []ccv2.ServicePlan 851 result2 ccv2.Warnings 852 result3 error 853 } 854 getServicePlansReturnsOnCall map[int]struct { 855 result1 []ccv2.ServicePlan 856 result2 ccv2.Warnings 857 result3 error 858 } 859 GetServicesStub func(...ccv2.Filter) ([]ccv2.Service, ccv2.Warnings, error) 860 getServicesMutex sync.RWMutex 861 getServicesArgsForCall []struct { 862 arg1 []ccv2.Filter 863 } 864 getServicesReturns struct { 865 result1 []ccv2.Service 866 result2 ccv2.Warnings 867 result3 error 868 } 869 getServicesReturnsOnCall map[int]struct { 870 result1 []ccv2.Service 871 result2 ccv2.Warnings 872 result3 error 873 } 874 GetSharedDomainStub func(string) (ccv2.Domain, ccv2.Warnings, error) 875 getSharedDomainMutex sync.RWMutex 876 getSharedDomainArgsForCall []struct { 877 arg1 string 878 } 879 getSharedDomainReturns struct { 880 result1 ccv2.Domain 881 result2 ccv2.Warnings 882 result3 error 883 } 884 getSharedDomainReturnsOnCall map[int]struct { 885 result1 ccv2.Domain 886 result2 ccv2.Warnings 887 result3 error 888 } 889 GetSharedDomainsStub func(...ccv2.Filter) ([]ccv2.Domain, ccv2.Warnings, error) 890 getSharedDomainsMutex sync.RWMutex 891 getSharedDomainsArgsForCall []struct { 892 arg1 []ccv2.Filter 893 } 894 getSharedDomainsReturns struct { 895 result1 []ccv2.Domain 896 result2 ccv2.Warnings 897 result3 error 898 } 899 getSharedDomainsReturnsOnCall map[int]struct { 900 result1 []ccv2.Domain 901 result2 ccv2.Warnings 902 result3 error 903 } 904 GetSpaceQuotaDefinitionStub func(string) (ccv2.SpaceQuota, ccv2.Warnings, error) 905 getSpaceQuotaDefinitionMutex sync.RWMutex 906 getSpaceQuotaDefinitionArgsForCall []struct { 907 arg1 string 908 } 909 getSpaceQuotaDefinitionReturns struct { 910 result1 ccv2.SpaceQuota 911 result2 ccv2.Warnings 912 result3 error 913 } 914 getSpaceQuotaDefinitionReturnsOnCall map[int]struct { 915 result1 ccv2.SpaceQuota 916 result2 ccv2.Warnings 917 result3 error 918 } 919 GetSpaceQuotasStub func(string) ([]ccv2.SpaceQuota, ccv2.Warnings, error) 920 getSpaceQuotasMutex sync.RWMutex 921 getSpaceQuotasArgsForCall []struct { 922 arg1 string 923 } 924 getSpaceQuotasReturns struct { 925 result1 []ccv2.SpaceQuota 926 result2 ccv2.Warnings 927 result3 error 928 } 929 getSpaceQuotasReturnsOnCall map[int]struct { 930 result1 []ccv2.SpaceQuota 931 result2 ccv2.Warnings 932 result3 error 933 } 934 GetSpaceRoutesStub func(string, ...ccv2.Filter) ([]ccv2.Route, ccv2.Warnings, error) 935 getSpaceRoutesMutex sync.RWMutex 936 getSpaceRoutesArgsForCall []struct { 937 arg1 string 938 arg2 []ccv2.Filter 939 } 940 getSpaceRoutesReturns struct { 941 result1 []ccv2.Route 942 result2 ccv2.Warnings 943 result3 error 944 } 945 getSpaceRoutesReturnsOnCall map[int]struct { 946 result1 []ccv2.Route 947 result2 ccv2.Warnings 948 result3 error 949 } 950 GetSpaceSecurityGroupsStub func(string, ...ccv2.Filter) ([]ccv2.SecurityGroup, ccv2.Warnings, error) 951 getSpaceSecurityGroupsMutex sync.RWMutex 952 getSpaceSecurityGroupsArgsForCall []struct { 953 arg1 string 954 arg2 []ccv2.Filter 955 } 956 getSpaceSecurityGroupsReturns struct { 957 result1 []ccv2.SecurityGroup 958 result2 ccv2.Warnings 959 result3 error 960 } 961 getSpaceSecurityGroupsReturnsOnCall map[int]struct { 962 result1 []ccv2.SecurityGroup 963 result2 ccv2.Warnings 964 result3 error 965 } 966 GetSpaceServiceInstancesStub func(string, bool, ...ccv2.Filter) ([]ccv2.ServiceInstance, ccv2.Warnings, error) 967 getSpaceServiceInstancesMutex sync.RWMutex 968 getSpaceServiceInstancesArgsForCall []struct { 969 arg1 string 970 arg2 bool 971 arg3 []ccv2.Filter 972 } 973 getSpaceServiceInstancesReturns struct { 974 result1 []ccv2.ServiceInstance 975 result2 ccv2.Warnings 976 result3 error 977 } 978 getSpaceServiceInstancesReturnsOnCall map[int]struct { 979 result1 []ccv2.ServiceInstance 980 result2 ccv2.Warnings 981 result3 error 982 } 983 GetSpaceServicesStub func(string, ...ccv2.Filter) ([]ccv2.Service, ccv2.Warnings, error) 984 getSpaceServicesMutex sync.RWMutex 985 getSpaceServicesArgsForCall []struct { 986 arg1 string 987 arg2 []ccv2.Filter 988 } 989 getSpaceServicesReturns struct { 990 result1 []ccv2.Service 991 result2 ccv2.Warnings 992 result3 error 993 } 994 getSpaceServicesReturnsOnCall map[int]struct { 995 result1 []ccv2.Service 996 result2 ccv2.Warnings 997 result3 error 998 } 999 GetSpaceStagingSecurityGroupsStub func(string, ...ccv2.Filter) ([]ccv2.SecurityGroup, ccv2.Warnings, error) 1000 getSpaceStagingSecurityGroupsMutex sync.RWMutex 1001 getSpaceStagingSecurityGroupsArgsForCall []struct { 1002 arg1 string 1003 arg2 []ccv2.Filter 1004 } 1005 getSpaceStagingSecurityGroupsReturns struct { 1006 result1 []ccv2.SecurityGroup 1007 result2 ccv2.Warnings 1008 result3 error 1009 } 1010 getSpaceStagingSecurityGroupsReturnsOnCall map[int]struct { 1011 result1 []ccv2.SecurityGroup 1012 result2 ccv2.Warnings 1013 result3 error 1014 } 1015 GetSpaceSummaryStub func(string) (ccv2.SpaceSummary, ccv2.Warnings, error) 1016 getSpaceSummaryMutex sync.RWMutex 1017 getSpaceSummaryArgsForCall []struct { 1018 arg1 string 1019 } 1020 getSpaceSummaryReturns struct { 1021 result1 ccv2.SpaceSummary 1022 result2 ccv2.Warnings 1023 result3 error 1024 } 1025 getSpaceSummaryReturnsOnCall map[int]struct { 1026 result1 ccv2.SpaceSummary 1027 result2 ccv2.Warnings 1028 result3 error 1029 } 1030 GetSpacesStub func(...ccv2.Filter) ([]ccv2.Space, ccv2.Warnings, error) 1031 getSpacesMutex sync.RWMutex 1032 getSpacesArgsForCall []struct { 1033 arg1 []ccv2.Filter 1034 } 1035 getSpacesReturns struct { 1036 result1 []ccv2.Space 1037 result2 ccv2.Warnings 1038 result3 error 1039 } 1040 getSpacesReturnsOnCall map[int]struct { 1041 result1 []ccv2.Space 1042 result2 ccv2.Warnings 1043 result3 error 1044 } 1045 GetStackStub func(string) (ccv2.Stack, ccv2.Warnings, error) 1046 getStackMutex sync.RWMutex 1047 getStackArgsForCall []struct { 1048 arg1 string 1049 } 1050 getStackReturns struct { 1051 result1 ccv2.Stack 1052 result2 ccv2.Warnings 1053 result3 error 1054 } 1055 getStackReturnsOnCall map[int]struct { 1056 result1 ccv2.Stack 1057 result2 ccv2.Warnings 1058 result3 error 1059 } 1060 GetStacksStub func(...ccv2.Filter) ([]ccv2.Stack, ccv2.Warnings, error) 1061 getStacksMutex sync.RWMutex 1062 getStacksArgsForCall []struct { 1063 arg1 []ccv2.Filter 1064 } 1065 getStacksReturns struct { 1066 result1 []ccv2.Stack 1067 result2 ccv2.Warnings 1068 result3 error 1069 } 1070 getStacksReturnsOnCall map[int]struct { 1071 result1 []ccv2.Stack 1072 result2 ccv2.Warnings 1073 result3 error 1074 } 1075 GetUserProvidedServiceInstanceServiceBindingsStub func(string) ([]ccv2.ServiceBinding, ccv2.Warnings, error) 1076 getUserProvidedServiceInstanceServiceBindingsMutex sync.RWMutex 1077 getUserProvidedServiceInstanceServiceBindingsArgsForCall []struct { 1078 arg1 string 1079 } 1080 getUserProvidedServiceInstanceServiceBindingsReturns struct { 1081 result1 []ccv2.ServiceBinding 1082 result2 ccv2.Warnings 1083 result3 error 1084 } 1085 getUserProvidedServiceInstanceServiceBindingsReturnsOnCall map[int]struct { 1086 result1 []ccv2.ServiceBinding 1087 result2 ccv2.Warnings 1088 result3 error 1089 } 1090 LogCacheEndpointStub func() string 1091 logCacheEndpointMutex sync.RWMutex 1092 logCacheEndpointArgsForCall []struct { 1093 } 1094 logCacheEndpointReturns struct { 1095 result1 string 1096 } 1097 logCacheEndpointReturnsOnCall map[int]struct { 1098 result1 string 1099 } 1100 MinCLIVersionStub func() string 1101 minCLIVersionMutex sync.RWMutex 1102 minCLIVersionArgsForCall []struct { 1103 } 1104 minCLIVersionReturns struct { 1105 result1 string 1106 } 1107 minCLIVersionReturnsOnCall map[int]struct { 1108 result1 string 1109 } 1110 PollJobStub func(ccv2.Job) (ccv2.Warnings, error) 1111 pollJobMutex sync.RWMutex 1112 pollJobArgsForCall []struct { 1113 arg1 ccv2.Job 1114 } 1115 pollJobReturns struct { 1116 result1 ccv2.Warnings 1117 result2 error 1118 } 1119 pollJobReturnsOnCall map[int]struct { 1120 result1 ccv2.Warnings 1121 result2 error 1122 } 1123 RestageApplicationStub func(ccv2.Application) (ccv2.Application, ccv2.Warnings, error) 1124 restageApplicationMutex sync.RWMutex 1125 restageApplicationArgsForCall []struct { 1126 arg1 ccv2.Application 1127 } 1128 restageApplicationReturns struct { 1129 result1 ccv2.Application 1130 result2 ccv2.Warnings 1131 result3 error 1132 } 1133 restageApplicationReturnsOnCall map[int]struct { 1134 result1 ccv2.Application 1135 result2 ccv2.Warnings 1136 result3 error 1137 } 1138 RoutingEndpointStub func() string 1139 routingEndpointMutex sync.RWMutex 1140 routingEndpointArgsForCall []struct { 1141 } 1142 routingEndpointReturns struct { 1143 result1 string 1144 } 1145 routingEndpointReturnsOnCall map[int]struct { 1146 result1 string 1147 } 1148 SetSpaceQuotaStub func(string, string) (ccv2.Warnings, error) 1149 setSpaceQuotaMutex sync.RWMutex 1150 setSpaceQuotaArgsForCall []struct { 1151 arg1 string 1152 arg2 string 1153 } 1154 setSpaceQuotaReturns struct { 1155 result1 ccv2.Warnings 1156 result2 error 1157 } 1158 setSpaceQuotaReturnsOnCall map[int]struct { 1159 result1 ccv2.Warnings 1160 result2 error 1161 } 1162 TargetCFStub func(ccv2.TargetSettings) (ccv2.Warnings, error) 1163 targetCFMutex sync.RWMutex 1164 targetCFArgsForCall []struct { 1165 arg1 ccv2.TargetSettings 1166 } 1167 targetCFReturns struct { 1168 result1 ccv2.Warnings 1169 result2 error 1170 } 1171 targetCFReturnsOnCall map[int]struct { 1172 result1 ccv2.Warnings 1173 result2 error 1174 } 1175 UpdateApplicationStub func(ccv2.Application) (ccv2.Application, ccv2.Warnings, error) 1176 updateApplicationMutex sync.RWMutex 1177 updateApplicationArgsForCall []struct { 1178 arg1 ccv2.Application 1179 } 1180 updateApplicationReturns struct { 1181 result1 ccv2.Application 1182 result2 ccv2.Warnings 1183 result3 error 1184 } 1185 updateApplicationReturnsOnCall map[int]struct { 1186 result1 ccv2.Application 1187 result2 ccv2.Warnings 1188 result3 error 1189 } 1190 UpdateBuildpackStub func(ccv2.Buildpack) (ccv2.Buildpack, ccv2.Warnings, error) 1191 updateBuildpackMutex sync.RWMutex 1192 updateBuildpackArgsForCall []struct { 1193 arg1 ccv2.Buildpack 1194 } 1195 updateBuildpackReturns struct { 1196 result1 ccv2.Buildpack 1197 result2 ccv2.Warnings 1198 result3 error 1199 } 1200 updateBuildpackReturnsOnCall map[int]struct { 1201 result1 ccv2.Buildpack 1202 result2 ccv2.Warnings 1203 result3 error 1204 } 1205 UpdateOrganizationManagerStub func(string, string) (ccv2.Warnings, error) 1206 updateOrganizationManagerMutex sync.RWMutex 1207 updateOrganizationManagerArgsForCall []struct { 1208 arg1 string 1209 arg2 string 1210 } 1211 updateOrganizationManagerReturns struct { 1212 result1 ccv2.Warnings 1213 result2 error 1214 } 1215 updateOrganizationManagerReturnsOnCall map[int]struct { 1216 result1 ccv2.Warnings 1217 result2 error 1218 } 1219 UpdateOrganizationManagerByUsernameStub func(string, string) (ccv2.Warnings, error) 1220 updateOrganizationManagerByUsernameMutex sync.RWMutex 1221 updateOrganizationManagerByUsernameArgsForCall []struct { 1222 arg1 string 1223 arg2 string 1224 } 1225 updateOrganizationManagerByUsernameReturns struct { 1226 result1 ccv2.Warnings 1227 result2 error 1228 } 1229 updateOrganizationManagerByUsernameReturnsOnCall map[int]struct { 1230 result1 ccv2.Warnings 1231 result2 error 1232 } 1233 UpdateOrganizationUserStub func(string, string) (ccv2.Warnings, error) 1234 updateOrganizationUserMutex sync.RWMutex 1235 updateOrganizationUserArgsForCall []struct { 1236 arg1 string 1237 arg2 string 1238 } 1239 updateOrganizationUserReturns struct { 1240 result1 ccv2.Warnings 1241 result2 error 1242 } 1243 updateOrganizationUserReturnsOnCall map[int]struct { 1244 result1 ccv2.Warnings 1245 result2 error 1246 } 1247 UpdateOrganizationUserByUsernameStub func(string, string) (ccv2.Warnings, error) 1248 updateOrganizationUserByUsernameMutex sync.RWMutex 1249 updateOrganizationUserByUsernameArgsForCall []struct { 1250 arg1 string 1251 arg2 string 1252 } 1253 updateOrganizationUserByUsernameReturns struct { 1254 result1 ccv2.Warnings 1255 result2 error 1256 } 1257 updateOrganizationUserByUsernameReturnsOnCall map[int]struct { 1258 result1 ccv2.Warnings 1259 result2 error 1260 } 1261 UpdateResourceMatchStub func([]ccv2.Resource) ([]ccv2.Resource, ccv2.Warnings, error) 1262 updateResourceMatchMutex sync.RWMutex 1263 updateResourceMatchArgsForCall []struct { 1264 arg1 []ccv2.Resource 1265 } 1266 updateResourceMatchReturns struct { 1267 result1 []ccv2.Resource 1268 result2 ccv2.Warnings 1269 result3 error 1270 } 1271 updateResourceMatchReturnsOnCall map[int]struct { 1272 result1 []ccv2.Resource 1273 result2 ccv2.Warnings 1274 result3 error 1275 } 1276 UpdateRouteApplicationStub func(string, string) (ccv2.Route, ccv2.Warnings, error) 1277 updateRouteApplicationMutex sync.RWMutex 1278 updateRouteApplicationArgsForCall []struct { 1279 arg1 string 1280 arg2 string 1281 } 1282 updateRouteApplicationReturns struct { 1283 result1 ccv2.Route 1284 result2 ccv2.Warnings 1285 result3 error 1286 } 1287 updateRouteApplicationReturnsOnCall map[int]struct { 1288 result1 ccv2.Route 1289 result2 ccv2.Warnings 1290 result3 error 1291 } 1292 UpdateSecurityGroupSpaceStub func(string, string) (ccv2.Warnings, error) 1293 updateSecurityGroupSpaceMutex sync.RWMutex 1294 updateSecurityGroupSpaceArgsForCall []struct { 1295 arg1 string 1296 arg2 string 1297 } 1298 updateSecurityGroupSpaceReturns struct { 1299 result1 ccv2.Warnings 1300 result2 error 1301 } 1302 updateSecurityGroupSpaceReturnsOnCall map[int]struct { 1303 result1 ccv2.Warnings 1304 result2 error 1305 } 1306 UpdateSecurityGroupStagingSpaceStub func(string, string) (ccv2.Warnings, error) 1307 updateSecurityGroupStagingSpaceMutex sync.RWMutex 1308 updateSecurityGroupStagingSpaceArgsForCall []struct { 1309 arg1 string 1310 arg2 string 1311 } 1312 updateSecurityGroupStagingSpaceReturns struct { 1313 result1 ccv2.Warnings 1314 result2 error 1315 } 1316 updateSecurityGroupStagingSpaceReturnsOnCall map[int]struct { 1317 result1 ccv2.Warnings 1318 result2 error 1319 } 1320 UpdateServiceInstanceMaintenanceInfoStub func(string, ccv2.MaintenanceInfo) (ccv2.Warnings, error) 1321 updateServiceInstanceMaintenanceInfoMutex sync.RWMutex 1322 updateServiceInstanceMaintenanceInfoArgsForCall []struct { 1323 arg1 string 1324 arg2 ccv2.MaintenanceInfo 1325 } 1326 updateServiceInstanceMaintenanceInfoReturns struct { 1327 result1 ccv2.Warnings 1328 result2 error 1329 } 1330 updateServiceInstanceMaintenanceInfoReturnsOnCall map[int]struct { 1331 result1 ccv2.Warnings 1332 result2 error 1333 } 1334 UpdateServicePlanStub func(string, bool) (ccv2.Warnings, error) 1335 updateServicePlanMutex sync.RWMutex 1336 updateServicePlanArgsForCall []struct { 1337 arg1 string 1338 arg2 bool 1339 } 1340 updateServicePlanReturns struct { 1341 result1 ccv2.Warnings 1342 result2 error 1343 } 1344 updateServicePlanReturnsOnCall map[int]struct { 1345 result1 ccv2.Warnings 1346 result2 error 1347 } 1348 UpdateSpaceDeveloperStub func(string, string) (ccv2.Warnings, error) 1349 updateSpaceDeveloperMutex sync.RWMutex 1350 updateSpaceDeveloperArgsForCall []struct { 1351 arg1 string 1352 arg2 string 1353 } 1354 updateSpaceDeveloperReturns struct { 1355 result1 ccv2.Warnings 1356 result2 error 1357 } 1358 updateSpaceDeveloperReturnsOnCall map[int]struct { 1359 result1 ccv2.Warnings 1360 result2 error 1361 } 1362 UpdateSpaceDeveloperByUsernameStub func(string, string) (ccv2.Warnings, error) 1363 updateSpaceDeveloperByUsernameMutex sync.RWMutex 1364 updateSpaceDeveloperByUsernameArgsForCall []struct { 1365 arg1 string 1366 arg2 string 1367 } 1368 updateSpaceDeveloperByUsernameReturns struct { 1369 result1 ccv2.Warnings 1370 result2 error 1371 } 1372 updateSpaceDeveloperByUsernameReturnsOnCall map[int]struct { 1373 result1 ccv2.Warnings 1374 result2 error 1375 } 1376 UpdateSpaceManagerStub func(string, string) (ccv2.Warnings, error) 1377 updateSpaceManagerMutex sync.RWMutex 1378 updateSpaceManagerArgsForCall []struct { 1379 arg1 string 1380 arg2 string 1381 } 1382 updateSpaceManagerReturns struct { 1383 result1 ccv2.Warnings 1384 result2 error 1385 } 1386 updateSpaceManagerReturnsOnCall map[int]struct { 1387 result1 ccv2.Warnings 1388 result2 error 1389 } 1390 UpdateSpaceManagerByUsernameStub func(string, string) (ccv2.Warnings, error) 1391 updateSpaceManagerByUsernameMutex sync.RWMutex 1392 updateSpaceManagerByUsernameArgsForCall []struct { 1393 arg1 string 1394 arg2 string 1395 } 1396 updateSpaceManagerByUsernameReturns struct { 1397 result1 ccv2.Warnings 1398 result2 error 1399 } 1400 updateSpaceManagerByUsernameReturnsOnCall map[int]struct { 1401 result1 ccv2.Warnings 1402 result2 error 1403 } 1404 UpdateUserProvidedServiceInstanceStub func(string, ccv2.UserProvidedServiceInstance) (ccv2.Warnings, error) 1405 updateUserProvidedServiceInstanceMutex sync.RWMutex 1406 updateUserProvidedServiceInstanceArgsForCall []struct { 1407 arg1 string 1408 arg2 ccv2.UserProvidedServiceInstance 1409 } 1410 updateUserProvidedServiceInstanceReturns struct { 1411 result1 ccv2.Warnings 1412 result2 error 1413 } 1414 updateUserProvidedServiceInstanceReturnsOnCall map[int]struct { 1415 result1 ccv2.Warnings 1416 result2 error 1417 } 1418 UploadApplicationPackageStub func(string, []ccv2.Resource, ccv2.Reader, int64) (ccv2.Job, ccv2.Warnings, error) 1419 uploadApplicationPackageMutex sync.RWMutex 1420 uploadApplicationPackageArgsForCall []struct { 1421 arg1 string 1422 arg2 []ccv2.Resource 1423 arg3 ccv2.Reader 1424 arg4 int64 1425 } 1426 uploadApplicationPackageReturns struct { 1427 result1 ccv2.Job 1428 result2 ccv2.Warnings 1429 result3 error 1430 } 1431 uploadApplicationPackageReturnsOnCall map[int]struct { 1432 result1 ccv2.Job 1433 result2 ccv2.Warnings 1434 result3 error 1435 } 1436 UploadBuildpackStub func(string, string, io.Reader, int64) (ccv2.Warnings, error) 1437 uploadBuildpackMutex sync.RWMutex 1438 uploadBuildpackArgsForCall []struct { 1439 arg1 string 1440 arg2 string 1441 arg3 io.Reader 1442 arg4 int64 1443 } 1444 uploadBuildpackReturns struct { 1445 result1 ccv2.Warnings 1446 result2 error 1447 } 1448 uploadBuildpackReturnsOnCall map[int]struct { 1449 result1 ccv2.Warnings 1450 result2 error 1451 } 1452 UploadDropletStub func(string, io.Reader, int64) (ccv2.Job, ccv2.Warnings, error) 1453 uploadDropletMutex sync.RWMutex 1454 uploadDropletArgsForCall []struct { 1455 arg1 string 1456 arg2 io.Reader 1457 arg3 int64 1458 } 1459 uploadDropletReturns struct { 1460 result1 ccv2.Job 1461 result2 ccv2.Warnings 1462 result3 error 1463 } 1464 uploadDropletReturnsOnCall map[int]struct { 1465 result1 ccv2.Job 1466 result2 ccv2.Warnings 1467 result3 error 1468 } 1469 invocations map[string][][]interface{} 1470 invocationsMutex sync.RWMutex 1471 } 1472 1473 func (fake *FakeCloudControllerClient) API() string { 1474 fake.aPIMutex.Lock() 1475 ret, specificReturn := fake.aPIReturnsOnCall[len(fake.aPIArgsForCall)] 1476 fake.aPIArgsForCall = append(fake.aPIArgsForCall, struct { 1477 }{}) 1478 fake.recordInvocation("API", []interface{}{}) 1479 fake.aPIMutex.Unlock() 1480 if fake.APIStub != nil { 1481 return fake.APIStub() 1482 } 1483 if specificReturn { 1484 return ret.result1 1485 } 1486 fakeReturns := fake.aPIReturns 1487 return fakeReturns.result1 1488 } 1489 1490 func (fake *FakeCloudControllerClient) APICallCount() int { 1491 fake.aPIMutex.RLock() 1492 defer fake.aPIMutex.RUnlock() 1493 return len(fake.aPIArgsForCall) 1494 } 1495 1496 func (fake *FakeCloudControllerClient) APICalls(stub func() string) { 1497 fake.aPIMutex.Lock() 1498 defer fake.aPIMutex.Unlock() 1499 fake.APIStub = stub 1500 } 1501 1502 func (fake *FakeCloudControllerClient) APIReturns(result1 string) { 1503 fake.aPIMutex.Lock() 1504 defer fake.aPIMutex.Unlock() 1505 fake.APIStub = nil 1506 fake.aPIReturns = struct { 1507 result1 string 1508 }{result1} 1509 } 1510 1511 func (fake *FakeCloudControllerClient) APIReturnsOnCall(i int, result1 string) { 1512 fake.aPIMutex.Lock() 1513 defer fake.aPIMutex.Unlock() 1514 fake.APIStub = nil 1515 if fake.aPIReturnsOnCall == nil { 1516 fake.aPIReturnsOnCall = make(map[int]struct { 1517 result1 string 1518 }) 1519 } 1520 fake.aPIReturnsOnCall[i] = struct { 1521 result1 string 1522 }{result1} 1523 } 1524 1525 func (fake *FakeCloudControllerClient) APIVersion() string { 1526 fake.aPIVersionMutex.Lock() 1527 ret, specificReturn := fake.aPIVersionReturnsOnCall[len(fake.aPIVersionArgsForCall)] 1528 fake.aPIVersionArgsForCall = append(fake.aPIVersionArgsForCall, struct { 1529 }{}) 1530 fake.recordInvocation("APIVersion", []interface{}{}) 1531 fake.aPIVersionMutex.Unlock() 1532 if fake.APIVersionStub != nil { 1533 return fake.APIVersionStub() 1534 } 1535 if specificReturn { 1536 return ret.result1 1537 } 1538 fakeReturns := fake.aPIVersionReturns 1539 return fakeReturns.result1 1540 } 1541 1542 func (fake *FakeCloudControllerClient) APIVersionCallCount() int { 1543 fake.aPIVersionMutex.RLock() 1544 defer fake.aPIVersionMutex.RUnlock() 1545 return len(fake.aPIVersionArgsForCall) 1546 } 1547 1548 func (fake *FakeCloudControllerClient) APIVersionCalls(stub func() string) { 1549 fake.aPIVersionMutex.Lock() 1550 defer fake.aPIVersionMutex.Unlock() 1551 fake.APIVersionStub = stub 1552 } 1553 1554 func (fake *FakeCloudControllerClient) APIVersionReturns(result1 string) { 1555 fake.aPIVersionMutex.Lock() 1556 defer fake.aPIVersionMutex.Unlock() 1557 fake.APIVersionStub = nil 1558 fake.aPIVersionReturns = struct { 1559 result1 string 1560 }{result1} 1561 } 1562 1563 func (fake *FakeCloudControllerClient) APIVersionReturnsOnCall(i int, result1 string) { 1564 fake.aPIVersionMutex.Lock() 1565 defer fake.aPIVersionMutex.Unlock() 1566 fake.APIVersionStub = nil 1567 if fake.aPIVersionReturnsOnCall == nil { 1568 fake.aPIVersionReturnsOnCall = make(map[int]struct { 1569 result1 string 1570 }) 1571 } 1572 fake.aPIVersionReturnsOnCall[i] = struct { 1573 result1 string 1574 }{result1} 1575 } 1576 1577 func (fake *FakeCloudControllerClient) AuthorizationEndpoint() string { 1578 fake.authorizationEndpointMutex.Lock() 1579 ret, specificReturn := fake.authorizationEndpointReturnsOnCall[len(fake.authorizationEndpointArgsForCall)] 1580 fake.authorizationEndpointArgsForCall = append(fake.authorizationEndpointArgsForCall, struct { 1581 }{}) 1582 fake.recordInvocation("AuthorizationEndpoint", []interface{}{}) 1583 fake.authorizationEndpointMutex.Unlock() 1584 if fake.AuthorizationEndpointStub != nil { 1585 return fake.AuthorizationEndpointStub() 1586 } 1587 if specificReturn { 1588 return ret.result1 1589 } 1590 fakeReturns := fake.authorizationEndpointReturns 1591 return fakeReturns.result1 1592 } 1593 1594 func (fake *FakeCloudControllerClient) AuthorizationEndpointCallCount() int { 1595 fake.authorizationEndpointMutex.RLock() 1596 defer fake.authorizationEndpointMutex.RUnlock() 1597 return len(fake.authorizationEndpointArgsForCall) 1598 } 1599 1600 func (fake *FakeCloudControllerClient) AuthorizationEndpointCalls(stub func() string) { 1601 fake.authorizationEndpointMutex.Lock() 1602 defer fake.authorizationEndpointMutex.Unlock() 1603 fake.AuthorizationEndpointStub = stub 1604 } 1605 1606 func (fake *FakeCloudControllerClient) AuthorizationEndpointReturns(result1 string) { 1607 fake.authorizationEndpointMutex.Lock() 1608 defer fake.authorizationEndpointMutex.Unlock() 1609 fake.AuthorizationEndpointStub = nil 1610 fake.authorizationEndpointReturns = struct { 1611 result1 string 1612 }{result1} 1613 } 1614 1615 func (fake *FakeCloudControllerClient) AuthorizationEndpointReturnsOnCall(i int, result1 string) { 1616 fake.authorizationEndpointMutex.Lock() 1617 defer fake.authorizationEndpointMutex.Unlock() 1618 fake.AuthorizationEndpointStub = nil 1619 if fake.authorizationEndpointReturnsOnCall == nil { 1620 fake.authorizationEndpointReturnsOnCall = make(map[int]struct { 1621 result1 string 1622 }) 1623 } 1624 fake.authorizationEndpointReturnsOnCall[i] = struct { 1625 result1 string 1626 }{result1} 1627 } 1628 1629 func (fake *FakeCloudControllerClient) CheckRoute(arg1 ccv2.Route) (bool, ccv2.Warnings, error) { 1630 fake.checkRouteMutex.Lock() 1631 ret, specificReturn := fake.checkRouteReturnsOnCall[len(fake.checkRouteArgsForCall)] 1632 fake.checkRouteArgsForCall = append(fake.checkRouteArgsForCall, struct { 1633 arg1 ccv2.Route 1634 }{arg1}) 1635 fake.recordInvocation("CheckRoute", []interface{}{arg1}) 1636 fake.checkRouteMutex.Unlock() 1637 if fake.CheckRouteStub != nil { 1638 return fake.CheckRouteStub(arg1) 1639 } 1640 if specificReturn { 1641 return ret.result1, ret.result2, ret.result3 1642 } 1643 fakeReturns := fake.checkRouteReturns 1644 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 1645 } 1646 1647 func (fake *FakeCloudControllerClient) CheckRouteCallCount() int { 1648 fake.checkRouteMutex.RLock() 1649 defer fake.checkRouteMutex.RUnlock() 1650 return len(fake.checkRouteArgsForCall) 1651 } 1652 1653 func (fake *FakeCloudControllerClient) CheckRouteCalls(stub func(ccv2.Route) (bool, ccv2.Warnings, error)) { 1654 fake.checkRouteMutex.Lock() 1655 defer fake.checkRouteMutex.Unlock() 1656 fake.CheckRouteStub = stub 1657 } 1658 1659 func (fake *FakeCloudControllerClient) CheckRouteArgsForCall(i int) ccv2.Route { 1660 fake.checkRouteMutex.RLock() 1661 defer fake.checkRouteMutex.RUnlock() 1662 argsForCall := fake.checkRouteArgsForCall[i] 1663 return argsForCall.arg1 1664 } 1665 1666 func (fake *FakeCloudControllerClient) CheckRouteReturns(result1 bool, result2 ccv2.Warnings, result3 error) { 1667 fake.checkRouteMutex.Lock() 1668 defer fake.checkRouteMutex.Unlock() 1669 fake.CheckRouteStub = nil 1670 fake.checkRouteReturns = struct { 1671 result1 bool 1672 result2 ccv2.Warnings 1673 result3 error 1674 }{result1, result2, result3} 1675 } 1676 1677 func (fake *FakeCloudControllerClient) CheckRouteReturnsOnCall(i int, result1 bool, result2 ccv2.Warnings, result3 error) { 1678 fake.checkRouteMutex.Lock() 1679 defer fake.checkRouteMutex.Unlock() 1680 fake.CheckRouteStub = nil 1681 if fake.checkRouteReturnsOnCall == nil { 1682 fake.checkRouteReturnsOnCall = make(map[int]struct { 1683 result1 bool 1684 result2 ccv2.Warnings 1685 result3 error 1686 }) 1687 } 1688 fake.checkRouteReturnsOnCall[i] = struct { 1689 result1 bool 1690 result2 ccv2.Warnings 1691 result3 error 1692 }{result1, result2, result3} 1693 } 1694 1695 func (fake *FakeCloudControllerClient) CreateApplication(arg1 ccv2.Application) (ccv2.Application, ccv2.Warnings, error) { 1696 fake.createApplicationMutex.Lock() 1697 ret, specificReturn := fake.createApplicationReturnsOnCall[len(fake.createApplicationArgsForCall)] 1698 fake.createApplicationArgsForCall = append(fake.createApplicationArgsForCall, struct { 1699 arg1 ccv2.Application 1700 }{arg1}) 1701 fake.recordInvocation("CreateApplication", []interface{}{arg1}) 1702 fake.createApplicationMutex.Unlock() 1703 if fake.CreateApplicationStub != nil { 1704 return fake.CreateApplicationStub(arg1) 1705 } 1706 if specificReturn { 1707 return ret.result1, ret.result2, ret.result3 1708 } 1709 fakeReturns := fake.createApplicationReturns 1710 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 1711 } 1712 1713 func (fake *FakeCloudControllerClient) CreateApplicationCallCount() int { 1714 fake.createApplicationMutex.RLock() 1715 defer fake.createApplicationMutex.RUnlock() 1716 return len(fake.createApplicationArgsForCall) 1717 } 1718 1719 func (fake *FakeCloudControllerClient) CreateApplicationCalls(stub func(ccv2.Application) (ccv2.Application, ccv2.Warnings, error)) { 1720 fake.createApplicationMutex.Lock() 1721 defer fake.createApplicationMutex.Unlock() 1722 fake.CreateApplicationStub = stub 1723 } 1724 1725 func (fake *FakeCloudControllerClient) CreateApplicationArgsForCall(i int) ccv2.Application { 1726 fake.createApplicationMutex.RLock() 1727 defer fake.createApplicationMutex.RUnlock() 1728 argsForCall := fake.createApplicationArgsForCall[i] 1729 return argsForCall.arg1 1730 } 1731 1732 func (fake *FakeCloudControllerClient) CreateApplicationReturns(result1 ccv2.Application, result2 ccv2.Warnings, result3 error) { 1733 fake.createApplicationMutex.Lock() 1734 defer fake.createApplicationMutex.Unlock() 1735 fake.CreateApplicationStub = nil 1736 fake.createApplicationReturns = struct { 1737 result1 ccv2.Application 1738 result2 ccv2.Warnings 1739 result3 error 1740 }{result1, result2, result3} 1741 } 1742 1743 func (fake *FakeCloudControllerClient) CreateApplicationReturnsOnCall(i int, result1 ccv2.Application, result2 ccv2.Warnings, result3 error) { 1744 fake.createApplicationMutex.Lock() 1745 defer fake.createApplicationMutex.Unlock() 1746 fake.CreateApplicationStub = nil 1747 if fake.createApplicationReturnsOnCall == nil { 1748 fake.createApplicationReturnsOnCall = make(map[int]struct { 1749 result1 ccv2.Application 1750 result2 ccv2.Warnings 1751 result3 error 1752 }) 1753 } 1754 fake.createApplicationReturnsOnCall[i] = struct { 1755 result1 ccv2.Application 1756 result2 ccv2.Warnings 1757 result3 error 1758 }{result1, result2, result3} 1759 } 1760 1761 func (fake *FakeCloudControllerClient) CreateBuildpack(arg1 ccv2.Buildpack) (ccv2.Buildpack, ccv2.Warnings, error) { 1762 fake.createBuildpackMutex.Lock() 1763 ret, specificReturn := fake.createBuildpackReturnsOnCall[len(fake.createBuildpackArgsForCall)] 1764 fake.createBuildpackArgsForCall = append(fake.createBuildpackArgsForCall, struct { 1765 arg1 ccv2.Buildpack 1766 }{arg1}) 1767 fake.recordInvocation("CreateBuildpack", []interface{}{arg1}) 1768 fake.createBuildpackMutex.Unlock() 1769 if fake.CreateBuildpackStub != nil { 1770 return fake.CreateBuildpackStub(arg1) 1771 } 1772 if specificReturn { 1773 return ret.result1, ret.result2, ret.result3 1774 } 1775 fakeReturns := fake.createBuildpackReturns 1776 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 1777 } 1778 1779 func (fake *FakeCloudControllerClient) CreateBuildpackCallCount() int { 1780 fake.createBuildpackMutex.RLock() 1781 defer fake.createBuildpackMutex.RUnlock() 1782 return len(fake.createBuildpackArgsForCall) 1783 } 1784 1785 func (fake *FakeCloudControllerClient) CreateBuildpackCalls(stub func(ccv2.Buildpack) (ccv2.Buildpack, ccv2.Warnings, error)) { 1786 fake.createBuildpackMutex.Lock() 1787 defer fake.createBuildpackMutex.Unlock() 1788 fake.CreateBuildpackStub = stub 1789 } 1790 1791 func (fake *FakeCloudControllerClient) CreateBuildpackArgsForCall(i int) ccv2.Buildpack { 1792 fake.createBuildpackMutex.RLock() 1793 defer fake.createBuildpackMutex.RUnlock() 1794 argsForCall := fake.createBuildpackArgsForCall[i] 1795 return argsForCall.arg1 1796 } 1797 1798 func (fake *FakeCloudControllerClient) CreateBuildpackReturns(result1 ccv2.Buildpack, result2 ccv2.Warnings, result3 error) { 1799 fake.createBuildpackMutex.Lock() 1800 defer fake.createBuildpackMutex.Unlock() 1801 fake.CreateBuildpackStub = nil 1802 fake.createBuildpackReturns = struct { 1803 result1 ccv2.Buildpack 1804 result2 ccv2.Warnings 1805 result3 error 1806 }{result1, result2, result3} 1807 } 1808 1809 func (fake *FakeCloudControllerClient) CreateBuildpackReturnsOnCall(i int, result1 ccv2.Buildpack, result2 ccv2.Warnings, result3 error) { 1810 fake.createBuildpackMutex.Lock() 1811 defer fake.createBuildpackMutex.Unlock() 1812 fake.CreateBuildpackStub = nil 1813 if fake.createBuildpackReturnsOnCall == nil { 1814 fake.createBuildpackReturnsOnCall = make(map[int]struct { 1815 result1 ccv2.Buildpack 1816 result2 ccv2.Warnings 1817 result3 error 1818 }) 1819 } 1820 fake.createBuildpackReturnsOnCall[i] = struct { 1821 result1 ccv2.Buildpack 1822 result2 ccv2.Warnings 1823 result3 error 1824 }{result1, result2, result3} 1825 } 1826 1827 func (fake *FakeCloudControllerClient) CreateOrganization(arg1 string, arg2 string) (ccv2.Organization, ccv2.Warnings, error) { 1828 fake.createOrganizationMutex.Lock() 1829 ret, specificReturn := fake.createOrganizationReturnsOnCall[len(fake.createOrganizationArgsForCall)] 1830 fake.createOrganizationArgsForCall = append(fake.createOrganizationArgsForCall, struct { 1831 arg1 string 1832 arg2 string 1833 }{arg1, arg2}) 1834 fake.recordInvocation("CreateOrganization", []interface{}{arg1, arg2}) 1835 fake.createOrganizationMutex.Unlock() 1836 if fake.CreateOrganizationStub != nil { 1837 return fake.CreateOrganizationStub(arg1, arg2) 1838 } 1839 if specificReturn { 1840 return ret.result1, ret.result2, ret.result3 1841 } 1842 fakeReturns := fake.createOrganizationReturns 1843 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 1844 } 1845 1846 func (fake *FakeCloudControllerClient) CreateOrganizationCallCount() int { 1847 fake.createOrganizationMutex.RLock() 1848 defer fake.createOrganizationMutex.RUnlock() 1849 return len(fake.createOrganizationArgsForCall) 1850 } 1851 1852 func (fake *FakeCloudControllerClient) CreateOrganizationCalls(stub func(string, string) (ccv2.Organization, ccv2.Warnings, error)) { 1853 fake.createOrganizationMutex.Lock() 1854 defer fake.createOrganizationMutex.Unlock() 1855 fake.CreateOrganizationStub = stub 1856 } 1857 1858 func (fake *FakeCloudControllerClient) CreateOrganizationArgsForCall(i int) (string, string) { 1859 fake.createOrganizationMutex.RLock() 1860 defer fake.createOrganizationMutex.RUnlock() 1861 argsForCall := fake.createOrganizationArgsForCall[i] 1862 return argsForCall.arg1, argsForCall.arg2 1863 } 1864 1865 func (fake *FakeCloudControllerClient) CreateOrganizationReturns(result1 ccv2.Organization, result2 ccv2.Warnings, result3 error) { 1866 fake.createOrganizationMutex.Lock() 1867 defer fake.createOrganizationMutex.Unlock() 1868 fake.CreateOrganizationStub = nil 1869 fake.createOrganizationReturns = struct { 1870 result1 ccv2.Organization 1871 result2 ccv2.Warnings 1872 result3 error 1873 }{result1, result2, result3} 1874 } 1875 1876 func (fake *FakeCloudControllerClient) CreateOrganizationReturnsOnCall(i int, result1 ccv2.Organization, result2 ccv2.Warnings, result3 error) { 1877 fake.createOrganizationMutex.Lock() 1878 defer fake.createOrganizationMutex.Unlock() 1879 fake.CreateOrganizationStub = nil 1880 if fake.createOrganizationReturnsOnCall == nil { 1881 fake.createOrganizationReturnsOnCall = make(map[int]struct { 1882 result1 ccv2.Organization 1883 result2 ccv2.Warnings 1884 result3 error 1885 }) 1886 } 1887 fake.createOrganizationReturnsOnCall[i] = struct { 1888 result1 ccv2.Organization 1889 result2 ccv2.Warnings 1890 result3 error 1891 }{result1, result2, result3} 1892 } 1893 1894 func (fake *FakeCloudControllerClient) CreateRoute(arg1 ccv2.Route, arg2 bool) (ccv2.Route, ccv2.Warnings, error) { 1895 fake.createRouteMutex.Lock() 1896 ret, specificReturn := fake.createRouteReturnsOnCall[len(fake.createRouteArgsForCall)] 1897 fake.createRouteArgsForCall = append(fake.createRouteArgsForCall, struct { 1898 arg1 ccv2.Route 1899 arg2 bool 1900 }{arg1, arg2}) 1901 fake.recordInvocation("CreateRoute", []interface{}{arg1, arg2}) 1902 fake.createRouteMutex.Unlock() 1903 if fake.CreateRouteStub != nil { 1904 return fake.CreateRouteStub(arg1, arg2) 1905 } 1906 if specificReturn { 1907 return ret.result1, ret.result2, ret.result3 1908 } 1909 fakeReturns := fake.createRouteReturns 1910 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 1911 } 1912 1913 func (fake *FakeCloudControllerClient) CreateRouteCallCount() int { 1914 fake.createRouteMutex.RLock() 1915 defer fake.createRouteMutex.RUnlock() 1916 return len(fake.createRouteArgsForCall) 1917 } 1918 1919 func (fake *FakeCloudControllerClient) CreateRouteCalls(stub func(ccv2.Route, bool) (ccv2.Route, ccv2.Warnings, error)) { 1920 fake.createRouteMutex.Lock() 1921 defer fake.createRouteMutex.Unlock() 1922 fake.CreateRouteStub = stub 1923 } 1924 1925 func (fake *FakeCloudControllerClient) CreateRouteArgsForCall(i int) (ccv2.Route, bool) { 1926 fake.createRouteMutex.RLock() 1927 defer fake.createRouteMutex.RUnlock() 1928 argsForCall := fake.createRouteArgsForCall[i] 1929 return argsForCall.arg1, argsForCall.arg2 1930 } 1931 1932 func (fake *FakeCloudControllerClient) CreateRouteReturns(result1 ccv2.Route, result2 ccv2.Warnings, result3 error) { 1933 fake.createRouteMutex.Lock() 1934 defer fake.createRouteMutex.Unlock() 1935 fake.CreateRouteStub = nil 1936 fake.createRouteReturns = struct { 1937 result1 ccv2.Route 1938 result2 ccv2.Warnings 1939 result3 error 1940 }{result1, result2, result3} 1941 } 1942 1943 func (fake *FakeCloudControllerClient) CreateRouteReturnsOnCall(i int, result1 ccv2.Route, result2 ccv2.Warnings, result3 error) { 1944 fake.createRouteMutex.Lock() 1945 defer fake.createRouteMutex.Unlock() 1946 fake.CreateRouteStub = nil 1947 if fake.createRouteReturnsOnCall == nil { 1948 fake.createRouteReturnsOnCall = make(map[int]struct { 1949 result1 ccv2.Route 1950 result2 ccv2.Warnings 1951 result3 error 1952 }) 1953 } 1954 fake.createRouteReturnsOnCall[i] = struct { 1955 result1 ccv2.Route 1956 result2 ccv2.Warnings 1957 result3 error 1958 }{result1, result2, result3} 1959 } 1960 1961 func (fake *FakeCloudControllerClient) CreateServiceBinding(arg1 string, arg2 string, arg3 string, arg4 bool, arg5 map[string]interface{}) (ccv2.ServiceBinding, ccv2.Warnings, error) { 1962 fake.createServiceBindingMutex.Lock() 1963 ret, specificReturn := fake.createServiceBindingReturnsOnCall[len(fake.createServiceBindingArgsForCall)] 1964 fake.createServiceBindingArgsForCall = append(fake.createServiceBindingArgsForCall, struct { 1965 arg1 string 1966 arg2 string 1967 arg3 string 1968 arg4 bool 1969 arg5 map[string]interface{} 1970 }{arg1, arg2, arg3, arg4, arg5}) 1971 fake.recordInvocation("CreateServiceBinding", []interface{}{arg1, arg2, arg3, arg4, arg5}) 1972 fake.createServiceBindingMutex.Unlock() 1973 if fake.CreateServiceBindingStub != nil { 1974 return fake.CreateServiceBindingStub(arg1, arg2, arg3, arg4, arg5) 1975 } 1976 if specificReturn { 1977 return ret.result1, ret.result2, ret.result3 1978 } 1979 fakeReturns := fake.createServiceBindingReturns 1980 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 1981 } 1982 1983 func (fake *FakeCloudControllerClient) CreateServiceBindingCallCount() int { 1984 fake.createServiceBindingMutex.RLock() 1985 defer fake.createServiceBindingMutex.RUnlock() 1986 return len(fake.createServiceBindingArgsForCall) 1987 } 1988 1989 func (fake *FakeCloudControllerClient) CreateServiceBindingCalls(stub func(string, string, string, bool, map[string]interface{}) (ccv2.ServiceBinding, ccv2.Warnings, error)) { 1990 fake.createServiceBindingMutex.Lock() 1991 defer fake.createServiceBindingMutex.Unlock() 1992 fake.CreateServiceBindingStub = stub 1993 } 1994 1995 func (fake *FakeCloudControllerClient) CreateServiceBindingArgsForCall(i int) (string, string, string, bool, map[string]interface{}) { 1996 fake.createServiceBindingMutex.RLock() 1997 defer fake.createServiceBindingMutex.RUnlock() 1998 argsForCall := fake.createServiceBindingArgsForCall[i] 1999 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4, argsForCall.arg5 2000 } 2001 2002 func (fake *FakeCloudControllerClient) CreateServiceBindingReturns(result1 ccv2.ServiceBinding, result2 ccv2.Warnings, result3 error) { 2003 fake.createServiceBindingMutex.Lock() 2004 defer fake.createServiceBindingMutex.Unlock() 2005 fake.CreateServiceBindingStub = nil 2006 fake.createServiceBindingReturns = struct { 2007 result1 ccv2.ServiceBinding 2008 result2 ccv2.Warnings 2009 result3 error 2010 }{result1, result2, result3} 2011 } 2012 2013 func (fake *FakeCloudControllerClient) CreateServiceBindingReturnsOnCall(i int, result1 ccv2.ServiceBinding, result2 ccv2.Warnings, result3 error) { 2014 fake.createServiceBindingMutex.Lock() 2015 defer fake.createServiceBindingMutex.Unlock() 2016 fake.CreateServiceBindingStub = nil 2017 if fake.createServiceBindingReturnsOnCall == nil { 2018 fake.createServiceBindingReturnsOnCall = make(map[int]struct { 2019 result1 ccv2.ServiceBinding 2020 result2 ccv2.Warnings 2021 result3 error 2022 }) 2023 } 2024 fake.createServiceBindingReturnsOnCall[i] = struct { 2025 result1 ccv2.ServiceBinding 2026 result2 ccv2.Warnings 2027 result3 error 2028 }{result1, result2, result3} 2029 } 2030 2031 func (fake *FakeCloudControllerClient) CreateServiceBroker(arg1 string, arg2 string, arg3 string, arg4 string, arg5 string) (ccv2.ServiceBroker, ccv2.Warnings, error) { 2032 fake.createServiceBrokerMutex.Lock() 2033 ret, specificReturn := fake.createServiceBrokerReturnsOnCall[len(fake.createServiceBrokerArgsForCall)] 2034 fake.createServiceBrokerArgsForCall = append(fake.createServiceBrokerArgsForCall, struct { 2035 arg1 string 2036 arg2 string 2037 arg3 string 2038 arg4 string 2039 arg5 string 2040 }{arg1, arg2, arg3, arg4, arg5}) 2041 fake.recordInvocation("CreateServiceBroker", []interface{}{arg1, arg2, arg3, arg4, arg5}) 2042 fake.createServiceBrokerMutex.Unlock() 2043 if fake.CreateServiceBrokerStub != nil { 2044 return fake.CreateServiceBrokerStub(arg1, arg2, arg3, arg4, arg5) 2045 } 2046 if specificReturn { 2047 return ret.result1, ret.result2, ret.result3 2048 } 2049 fakeReturns := fake.createServiceBrokerReturns 2050 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 2051 } 2052 2053 func (fake *FakeCloudControllerClient) CreateServiceBrokerCallCount() int { 2054 fake.createServiceBrokerMutex.RLock() 2055 defer fake.createServiceBrokerMutex.RUnlock() 2056 return len(fake.createServiceBrokerArgsForCall) 2057 } 2058 2059 func (fake *FakeCloudControllerClient) CreateServiceBrokerCalls(stub func(string, string, string, string, string) (ccv2.ServiceBroker, ccv2.Warnings, error)) { 2060 fake.createServiceBrokerMutex.Lock() 2061 defer fake.createServiceBrokerMutex.Unlock() 2062 fake.CreateServiceBrokerStub = stub 2063 } 2064 2065 func (fake *FakeCloudControllerClient) CreateServiceBrokerArgsForCall(i int) (string, string, string, string, string) { 2066 fake.createServiceBrokerMutex.RLock() 2067 defer fake.createServiceBrokerMutex.RUnlock() 2068 argsForCall := fake.createServiceBrokerArgsForCall[i] 2069 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4, argsForCall.arg5 2070 } 2071 2072 func (fake *FakeCloudControllerClient) CreateServiceBrokerReturns(result1 ccv2.ServiceBroker, result2 ccv2.Warnings, result3 error) { 2073 fake.createServiceBrokerMutex.Lock() 2074 defer fake.createServiceBrokerMutex.Unlock() 2075 fake.CreateServiceBrokerStub = nil 2076 fake.createServiceBrokerReturns = struct { 2077 result1 ccv2.ServiceBroker 2078 result2 ccv2.Warnings 2079 result3 error 2080 }{result1, result2, result3} 2081 } 2082 2083 func (fake *FakeCloudControllerClient) CreateServiceBrokerReturnsOnCall(i int, result1 ccv2.ServiceBroker, result2 ccv2.Warnings, result3 error) { 2084 fake.createServiceBrokerMutex.Lock() 2085 defer fake.createServiceBrokerMutex.Unlock() 2086 fake.CreateServiceBrokerStub = nil 2087 if fake.createServiceBrokerReturnsOnCall == nil { 2088 fake.createServiceBrokerReturnsOnCall = make(map[int]struct { 2089 result1 ccv2.ServiceBroker 2090 result2 ccv2.Warnings 2091 result3 error 2092 }) 2093 } 2094 fake.createServiceBrokerReturnsOnCall[i] = struct { 2095 result1 ccv2.ServiceBroker 2096 result2 ccv2.Warnings 2097 result3 error 2098 }{result1, result2, result3} 2099 } 2100 2101 func (fake *FakeCloudControllerClient) CreateServiceInstance(arg1 string, arg2 string, arg3 string, arg4 map[string]interface{}, arg5 []string) (ccv2.ServiceInstance, ccv2.Warnings, error) { 2102 var arg5Copy []string 2103 if arg5 != nil { 2104 arg5Copy = make([]string, len(arg5)) 2105 copy(arg5Copy, arg5) 2106 } 2107 fake.createServiceInstanceMutex.Lock() 2108 ret, specificReturn := fake.createServiceInstanceReturnsOnCall[len(fake.createServiceInstanceArgsForCall)] 2109 fake.createServiceInstanceArgsForCall = append(fake.createServiceInstanceArgsForCall, struct { 2110 arg1 string 2111 arg2 string 2112 arg3 string 2113 arg4 map[string]interface{} 2114 arg5 []string 2115 }{arg1, arg2, arg3, arg4, arg5Copy}) 2116 fake.recordInvocation("CreateServiceInstance", []interface{}{arg1, arg2, arg3, arg4, arg5Copy}) 2117 fake.createServiceInstanceMutex.Unlock() 2118 if fake.CreateServiceInstanceStub != nil { 2119 return fake.CreateServiceInstanceStub(arg1, arg2, arg3, arg4, arg5) 2120 } 2121 if specificReturn { 2122 return ret.result1, ret.result2, ret.result3 2123 } 2124 fakeReturns := fake.createServiceInstanceReturns 2125 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 2126 } 2127 2128 func (fake *FakeCloudControllerClient) CreateServiceInstanceCallCount() int { 2129 fake.createServiceInstanceMutex.RLock() 2130 defer fake.createServiceInstanceMutex.RUnlock() 2131 return len(fake.createServiceInstanceArgsForCall) 2132 } 2133 2134 func (fake *FakeCloudControllerClient) CreateServiceInstanceCalls(stub func(string, string, string, map[string]interface{}, []string) (ccv2.ServiceInstance, ccv2.Warnings, error)) { 2135 fake.createServiceInstanceMutex.Lock() 2136 defer fake.createServiceInstanceMutex.Unlock() 2137 fake.CreateServiceInstanceStub = stub 2138 } 2139 2140 func (fake *FakeCloudControllerClient) CreateServiceInstanceArgsForCall(i int) (string, string, string, map[string]interface{}, []string) { 2141 fake.createServiceInstanceMutex.RLock() 2142 defer fake.createServiceInstanceMutex.RUnlock() 2143 argsForCall := fake.createServiceInstanceArgsForCall[i] 2144 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4, argsForCall.arg5 2145 } 2146 2147 func (fake *FakeCloudControllerClient) CreateServiceInstanceReturns(result1 ccv2.ServiceInstance, result2 ccv2.Warnings, result3 error) { 2148 fake.createServiceInstanceMutex.Lock() 2149 defer fake.createServiceInstanceMutex.Unlock() 2150 fake.CreateServiceInstanceStub = nil 2151 fake.createServiceInstanceReturns = struct { 2152 result1 ccv2.ServiceInstance 2153 result2 ccv2.Warnings 2154 result3 error 2155 }{result1, result2, result3} 2156 } 2157 2158 func (fake *FakeCloudControllerClient) CreateServiceInstanceReturnsOnCall(i int, result1 ccv2.ServiceInstance, result2 ccv2.Warnings, result3 error) { 2159 fake.createServiceInstanceMutex.Lock() 2160 defer fake.createServiceInstanceMutex.Unlock() 2161 fake.CreateServiceInstanceStub = nil 2162 if fake.createServiceInstanceReturnsOnCall == nil { 2163 fake.createServiceInstanceReturnsOnCall = make(map[int]struct { 2164 result1 ccv2.ServiceInstance 2165 result2 ccv2.Warnings 2166 result3 error 2167 }) 2168 } 2169 fake.createServiceInstanceReturnsOnCall[i] = struct { 2170 result1 ccv2.ServiceInstance 2171 result2 ccv2.Warnings 2172 result3 error 2173 }{result1, result2, result3} 2174 } 2175 2176 func (fake *FakeCloudControllerClient) CreateServiceKey(arg1 string, arg2 string, arg3 map[string]interface{}) (ccv2.ServiceKey, ccv2.Warnings, error) { 2177 fake.createServiceKeyMutex.Lock() 2178 ret, specificReturn := fake.createServiceKeyReturnsOnCall[len(fake.createServiceKeyArgsForCall)] 2179 fake.createServiceKeyArgsForCall = append(fake.createServiceKeyArgsForCall, struct { 2180 arg1 string 2181 arg2 string 2182 arg3 map[string]interface{} 2183 }{arg1, arg2, arg3}) 2184 fake.recordInvocation("CreateServiceKey", []interface{}{arg1, arg2, arg3}) 2185 fake.createServiceKeyMutex.Unlock() 2186 if fake.CreateServiceKeyStub != nil { 2187 return fake.CreateServiceKeyStub(arg1, arg2, arg3) 2188 } 2189 if specificReturn { 2190 return ret.result1, ret.result2, ret.result3 2191 } 2192 fakeReturns := fake.createServiceKeyReturns 2193 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 2194 } 2195 2196 func (fake *FakeCloudControllerClient) CreateServiceKeyCallCount() int { 2197 fake.createServiceKeyMutex.RLock() 2198 defer fake.createServiceKeyMutex.RUnlock() 2199 return len(fake.createServiceKeyArgsForCall) 2200 } 2201 2202 func (fake *FakeCloudControllerClient) CreateServiceKeyCalls(stub func(string, string, map[string]interface{}) (ccv2.ServiceKey, ccv2.Warnings, error)) { 2203 fake.createServiceKeyMutex.Lock() 2204 defer fake.createServiceKeyMutex.Unlock() 2205 fake.CreateServiceKeyStub = stub 2206 } 2207 2208 func (fake *FakeCloudControllerClient) CreateServiceKeyArgsForCall(i int) (string, string, map[string]interface{}) { 2209 fake.createServiceKeyMutex.RLock() 2210 defer fake.createServiceKeyMutex.RUnlock() 2211 argsForCall := fake.createServiceKeyArgsForCall[i] 2212 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3 2213 } 2214 2215 func (fake *FakeCloudControllerClient) CreateServiceKeyReturns(result1 ccv2.ServiceKey, result2 ccv2.Warnings, result3 error) { 2216 fake.createServiceKeyMutex.Lock() 2217 defer fake.createServiceKeyMutex.Unlock() 2218 fake.CreateServiceKeyStub = nil 2219 fake.createServiceKeyReturns = struct { 2220 result1 ccv2.ServiceKey 2221 result2 ccv2.Warnings 2222 result3 error 2223 }{result1, result2, result3} 2224 } 2225 2226 func (fake *FakeCloudControllerClient) CreateServiceKeyReturnsOnCall(i int, result1 ccv2.ServiceKey, result2 ccv2.Warnings, result3 error) { 2227 fake.createServiceKeyMutex.Lock() 2228 defer fake.createServiceKeyMutex.Unlock() 2229 fake.CreateServiceKeyStub = nil 2230 if fake.createServiceKeyReturnsOnCall == nil { 2231 fake.createServiceKeyReturnsOnCall = make(map[int]struct { 2232 result1 ccv2.ServiceKey 2233 result2 ccv2.Warnings 2234 result3 error 2235 }) 2236 } 2237 fake.createServiceKeyReturnsOnCall[i] = struct { 2238 result1 ccv2.ServiceKey 2239 result2 ccv2.Warnings 2240 result3 error 2241 }{result1, result2, result3} 2242 } 2243 2244 func (fake *FakeCloudControllerClient) CreateServicePlanVisibility(arg1 string, arg2 string) (ccv2.ServicePlanVisibility, ccv2.Warnings, error) { 2245 fake.createServicePlanVisibilityMutex.Lock() 2246 ret, specificReturn := fake.createServicePlanVisibilityReturnsOnCall[len(fake.createServicePlanVisibilityArgsForCall)] 2247 fake.createServicePlanVisibilityArgsForCall = append(fake.createServicePlanVisibilityArgsForCall, struct { 2248 arg1 string 2249 arg2 string 2250 }{arg1, arg2}) 2251 fake.recordInvocation("CreateServicePlanVisibility", []interface{}{arg1, arg2}) 2252 fake.createServicePlanVisibilityMutex.Unlock() 2253 if fake.CreateServicePlanVisibilityStub != nil { 2254 return fake.CreateServicePlanVisibilityStub(arg1, arg2) 2255 } 2256 if specificReturn { 2257 return ret.result1, ret.result2, ret.result3 2258 } 2259 fakeReturns := fake.createServicePlanVisibilityReturns 2260 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 2261 } 2262 2263 func (fake *FakeCloudControllerClient) CreateServicePlanVisibilityCallCount() int { 2264 fake.createServicePlanVisibilityMutex.RLock() 2265 defer fake.createServicePlanVisibilityMutex.RUnlock() 2266 return len(fake.createServicePlanVisibilityArgsForCall) 2267 } 2268 2269 func (fake *FakeCloudControllerClient) CreateServicePlanVisibilityCalls(stub func(string, string) (ccv2.ServicePlanVisibility, ccv2.Warnings, error)) { 2270 fake.createServicePlanVisibilityMutex.Lock() 2271 defer fake.createServicePlanVisibilityMutex.Unlock() 2272 fake.CreateServicePlanVisibilityStub = stub 2273 } 2274 2275 func (fake *FakeCloudControllerClient) CreateServicePlanVisibilityArgsForCall(i int) (string, string) { 2276 fake.createServicePlanVisibilityMutex.RLock() 2277 defer fake.createServicePlanVisibilityMutex.RUnlock() 2278 argsForCall := fake.createServicePlanVisibilityArgsForCall[i] 2279 return argsForCall.arg1, argsForCall.arg2 2280 } 2281 2282 func (fake *FakeCloudControllerClient) CreateServicePlanVisibilityReturns(result1 ccv2.ServicePlanVisibility, result2 ccv2.Warnings, result3 error) { 2283 fake.createServicePlanVisibilityMutex.Lock() 2284 defer fake.createServicePlanVisibilityMutex.Unlock() 2285 fake.CreateServicePlanVisibilityStub = nil 2286 fake.createServicePlanVisibilityReturns = struct { 2287 result1 ccv2.ServicePlanVisibility 2288 result2 ccv2.Warnings 2289 result3 error 2290 }{result1, result2, result3} 2291 } 2292 2293 func (fake *FakeCloudControllerClient) CreateServicePlanVisibilityReturnsOnCall(i int, result1 ccv2.ServicePlanVisibility, result2 ccv2.Warnings, result3 error) { 2294 fake.createServicePlanVisibilityMutex.Lock() 2295 defer fake.createServicePlanVisibilityMutex.Unlock() 2296 fake.CreateServicePlanVisibilityStub = nil 2297 if fake.createServicePlanVisibilityReturnsOnCall == nil { 2298 fake.createServicePlanVisibilityReturnsOnCall = make(map[int]struct { 2299 result1 ccv2.ServicePlanVisibility 2300 result2 ccv2.Warnings 2301 result3 error 2302 }) 2303 } 2304 fake.createServicePlanVisibilityReturnsOnCall[i] = struct { 2305 result1 ccv2.ServicePlanVisibility 2306 result2 ccv2.Warnings 2307 result3 error 2308 }{result1, result2, result3} 2309 } 2310 2311 func (fake *FakeCloudControllerClient) CreateSharedDomain(arg1 string, arg2 string, arg3 bool) (ccv2.Warnings, error) { 2312 fake.createSharedDomainMutex.Lock() 2313 ret, specificReturn := fake.createSharedDomainReturnsOnCall[len(fake.createSharedDomainArgsForCall)] 2314 fake.createSharedDomainArgsForCall = append(fake.createSharedDomainArgsForCall, struct { 2315 arg1 string 2316 arg2 string 2317 arg3 bool 2318 }{arg1, arg2, arg3}) 2319 fake.recordInvocation("CreateSharedDomain", []interface{}{arg1, arg2, arg3}) 2320 fake.createSharedDomainMutex.Unlock() 2321 if fake.CreateSharedDomainStub != nil { 2322 return fake.CreateSharedDomainStub(arg1, arg2, arg3) 2323 } 2324 if specificReturn { 2325 return ret.result1, ret.result2 2326 } 2327 fakeReturns := fake.createSharedDomainReturns 2328 return fakeReturns.result1, fakeReturns.result2 2329 } 2330 2331 func (fake *FakeCloudControllerClient) CreateSharedDomainCallCount() int { 2332 fake.createSharedDomainMutex.RLock() 2333 defer fake.createSharedDomainMutex.RUnlock() 2334 return len(fake.createSharedDomainArgsForCall) 2335 } 2336 2337 func (fake *FakeCloudControllerClient) CreateSharedDomainCalls(stub func(string, string, bool) (ccv2.Warnings, error)) { 2338 fake.createSharedDomainMutex.Lock() 2339 defer fake.createSharedDomainMutex.Unlock() 2340 fake.CreateSharedDomainStub = stub 2341 } 2342 2343 func (fake *FakeCloudControllerClient) CreateSharedDomainArgsForCall(i int) (string, string, bool) { 2344 fake.createSharedDomainMutex.RLock() 2345 defer fake.createSharedDomainMutex.RUnlock() 2346 argsForCall := fake.createSharedDomainArgsForCall[i] 2347 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3 2348 } 2349 2350 func (fake *FakeCloudControllerClient) CreateSharedDomainReturns(result1 ccv2.Warnings, result2 error) { 2351 fake.createSharedDomainMutex.Lock() 2352 defer fake.createSharedDomainMutex.Unlock() 2353 fake.CreateSharedDomainStub = nil 2354 fake.createSharedDomainReturns = struct { 2355 result1 ccv2.Warnings 2356 result2 error 2357 }{result1, result2} 2358 } 2359 2360 func (fake *FakeCloudControllerClient) CreateSharedDomainReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 2361 fake.createSharedDomainMutex.Lock() 2362 defer fake.createSharedDomainMutex.Unlock() 2363 fake.CreateSharedDomainStub = nil 2364 if fake.createSharedDomainReturnsOnCall == nil { 2365 fake.createSharedDomainReturnsOnCall = make(map[int]struct { 2366 result1 ccv2.Warnings 2367 result2 error 2368 }) 2369 } 2370 fake.createSharedDomainReturnsOnCall[i] = struct { 2371 result1 ccv2.Warnings 2372 result2 error 2373 }{result1, result2} 2374 } 2375 2376 func (fake *FakeCloudControllerClient) CreateSpace(arg1 string, arg2 string) (ccv2.Space, ccv2.Warnings, error) { 2377 fake.createSpaceMutex.Lock() 2378 ret, specificReturn := fake.createSpaceReturnsOnCall[len(fake.createSpaceArgsForCall)] 2379 fake.createSpaceArgsForCall = append(fake.createSpaceArgsForCall, struct { 2380 arg1 string 2381 arg2 string 2382 }{arg1, arg2}) 2383 fake.recordInvocation("CreateSpace", []interface{}{arg1, arg2}) 2384 fake.createSpaceMutex.Unlock() 2385 if fake.CreateSpaceStub != nil { 2386 return fake.CreateSpaceStub(arg1, arg2) 2387 } 2388 if specificReturn { 2389 return ret.result1, ret.result2, ret.result3 2390 } 2391 fakeReturns := fake.createSpaceReturns 2392 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 2393 } 2394 2395 func (fake *FakeCloudControllerClient) CreateSpaceCallCount() int { 2396 fake.createSpaceMutex.RLock() 2397 defer fake.createSpaceMutex.RUnlock() 2398 return len(fake.createSpaceArgsForCall) 2399 } 2400 2401 func (fake *FakeCloudControllerClient) CreateSpaceCalls(stub func(string, string) (ccv2.Space, ccv2.Warnings, error)) { 2402 fake.createSpaceMutex.Lock() 2403 defer fake.createSpaceMutex.Unlock() 2404 fake.CreateSpaceStub = stub 2405 } 2406 2407 func (fake *FakeCloudControllerClient) CreateSpaceArgsForCall(i int) (string, string) { 2408 fake.createSpaceMutex.RLock() 2409 defer fake.createSpaceMutex.RUnlock() 2410 argsForCall := fake.createSpaceArgsForCall[i] 2411 return argsForCall.arg1, argsForCall.arg2 2412 } 2413 2414 func (fake *FakeCloudControllerClient) CreateSpaceReturns(result1 ccv2.Space, result2 ccv2.Warnings, result3 error) { 2415 fake.createSpaceMutex.Lock() 2416 defer fake.createSpaceMutex.Unlock() 2417 fake.CreateSpaceStub = nil 2418 fake.createSpaceReturns = struct { 2419 result1 ccv2.Space 2420 result2 ccv2.Warnings 2421 result3 error 2422 }{result1, result2, result3} 2423 } 2424 2425 func (fake *FakeCloudControllerClient) CreateSpaceReturnsOnCall(i int, result1 ccv2.Space, result2 ccv2.Warnings, result3 error) { 2426 fake.createSpaceMutex.Lock() 2427 defer fake.createSpaceMutex.Unlock() 2428 fake.CreateSpaceStub = nil 2429 if fake.createSpaceReturnsOnCall == nil { 2430 fake.createSpaceReturnsOnCall = make(map[int]struct { 2431 result1 ccv2.Space 2432 result2 ccv2.Warnings 2433 result3 error 2434 }) 2435 } 2436 fake.createSpaceReturnsOnCall[i] = struct { 2437 result1 ccv2.Space 2438 result2 ccv2.Warnings 2439 result3 error 2440 }{result1, result2, result3} 2441 } 2442 2443 func (fake *FakeCloudControllerClient) CreateUser(arg1 string) (ccv2.User, ccv2.Warnings, error) { 2444 fake.createUserMutex.Lock() 2445 ret, specificReturn := fake.createUserReturnsOnCall[len(fake.createUserArgsForCall)] 2446 fake.createUserArgsForCall = append(fake.createUserArgsForCall, struct { 2447 arg1 string 2448 }{arg1}) 2449 fake.recordInvocation("CreateUser", []interface{}{arg1}) 2450 fake.createUserMutex.Unlock() 2451 if fake.CreateUserStub != nil { 2452 return fake.CreateUserStub(arg1) 2453 } 2454 if specificReturn { 2455 return ret.result1, ret.result2, ret.result3 2456 } 2457 fakeReturns := fake.createUserReturns 2458 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 2459 } 2460 2461 func (fake *FakeCloudControllerClient) CreateUserCallCount() int { 2462 fake.createUserMutex.RLock() 2463 defer fake.createUserMutex.RUnlock() 2464 return len(fake.createUserArgsForCall) 2465 } 2466 2467 func (fake *FakeCloudControllerClient) CreateUserCalls(stub func(string) (ccv2.User, ccv2.Warnings, error)) { 2468 fake.createUserMutex.Lock() 2469 defer fake.createUserMutex.Unlock() 2470 fake.CreateUserStub = stub 2471 } 2472 2473 func (fake *FakeCloudControllerClient) CreateUserArgsForCall(i int) string { 2474 fake.createUserMutex.RLock() 2475 defer fake.createUserMutex.RUnlock() 2476 argsForCall := fake.createUserArgsForCall[i] 2477 return argsForCall.arg1 2478 } 2479 2480 func (fake *FakeCloudControllerClient) CreateUserReturns(result1 ccv2.User, result2 ccv2.Warnings, result3 error) { 2481 fake.createUserMutex.Lock() 2482 defer fake.createUserMutex.Unlock() 2483 fake.CreateUserStub = nil 2484 fake.createUserReturns = struct { 2485 result1 ccv2.User 2486 result2 ccv2.Warnings 2487 result3 error 2488 }{result1, result2, result3} 2489 } 2490 2491 func (fake *FakeCloudControllerClient) CreateUserReturnsOnCall(i int, result1 ccv2.User, result2 ccv2.Warnings, result3 error) { 2492 fake.createUserMutex.Lock() 2493 defer fake.createUserMutex.Unlock() 2494 fake.CreateUserStub = nil 2495 if fake.createUserReturnsOnCall == nil { 2496 fake.createUserReturnsOnCall = make(map[int]struct { 2497 result1 ccv2.User 2498 result2 ccv2.Warnings 2499 result3 error 2500 }) 2501 } 2502 fake.createUserReturnsOnCall[i] = struct { 2503 result1 ccv2.User 2504 result2 ccv2.Warnings 2505 result3 error 2506 }{result1, result2, result3} 2507 } 2508 2509 func (fake *FakeCloudControllerClient) DeleteOrganizationJob(arg1 string) (ccv2.Job, ccv2.Warnings, error) { 2510 fake.deleteOrganizationJobMutex.Lock() 2511 ret, specificReturn := fake.deleteOrganizationJobReturnsOnCall[len(fake.deleteOrganizationJobArgsForCall)] 2512 fake.deleteOrganizationJobArgsForCall = append(fake.deleteOrganizationJobArgsForCall, struct { 2513 arg1 string 2514 }{arg1}) 2515 fake.recordInvocation("DeleteOrganizationJob", []interface{}{arg1}) 2516 fake.deleteOrganizationJobMutex.Unlock() 2517 if fake.DeleteOrganizationJobStub != nil { 2518 return fake.DeleteOrganizationJobStub(arg1) 2519 } 2520 if specificReturn { 2521 return ret.result1, ret.result2, ret.result3 2522 } 2523 fakeReturns := fake.deleteOrganizationJobReturns 2524 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 2525 } 2526 2527 func (fake *FakeCloudControllerClient) DeleteOrganizationJobCallCount() int { 2528 fake.deleteOrganizationJobMutex.RLock() 2529 defer fake.deleteOrganizationJobMutex.RUnlock() 2530 return len(fake.deleteOrganizationJobArgsForCall) 2531 } 2532 2533 func (fake *FakeCloudControllerClient) DeleteOrganizationJobCalls(stub func(string) (ccv2.Job, ccv2.Warnings, error)) { 2534 fake.deleteOrganizationJobMutex.Lock() 2535 defer fake.deleteOrganizationJobMutex.Unlock() 2536 fake.DeleteOrganizationJobStub = stub 2537 } 2538 2539 func (fake *FakeCloudControllerClient) DeleteOrganizationJobArgsForCall(i int) string { 2540 fake.deleteOrganizationJobMutex.RLock() 2541 defer fake.deleteOrganizationJobMutex.RUnlock() 2542 argsForCall := fake.deleteOrganizationJobArgsForCall[i] 2543 return argsForCall.arg1 2544 } 2545 2546 func (fake *FakeCloudControllerClient) DeleteOrganizationJobReturns(result1 ccv2.Job, result2 ccv2.Warnings, result3 error) { 2547 fake.deleteOrganizationJobMutex.Lock() 2548 defer fake.deleteOrganizationJobMutex.Unlock() 2549 fake.DeleteOrganizationJobStub = nil 2550 fake.deleteOrganizationJobReturns = struct { 2551 result1 ccv2.Job 2552 result2 ccv2.Warnings 2553 result3 error 2554 }{result1, result2, result3} 2555 } 2556 2557 func (fake *FakeCloudControllerClient) DeleteOrganizationJobReturnsOnCall(i int, result1 ccv2.Job, result2 ccv2.Warnings, result3 error) { 2558 fake.deleteOrganizationJobMutex.Lock() 2559 defer fake.deleteOrganizationJobMutex.Unlock() 2560 fake.DeleteOrganizationJobStub = nil 2561 if fake.deleteOrganizationJobReturnsOnCall == nil { 2562 fake.deleteOrganizationJobReturnsOnCall = make(map[int]struct { 2563 result1 ccv2.Job 2564 result2 ccv2.Warnings 2565 result3 error 2566 }) 2567 } 2568 fake.deleteOrganizationJobReturnsOnCall[i] = struct { 2569 result1 ccv2.Job 2570 result2 ccv2.Warnings 2571 result3 error 2572 }{result1, result2, result3} 2573 } 2574 2575 func (fake *FakeCloudControllerClient) DeleteRoute(arg1 string) (ccv2.Warnings, error) { 2576 fake.deleteRouteMutex.Lock() 2577 ret, specificReturn := fake.deleteRouteReturnsOnCall[len(fake.deleteRouteArgsForCall)] 2578 fake.deleteRouteArgsForCall = append(fake.deleteRouteArgsForCall, struct { 2579 arg1 string 2580 }{arg1}) 2581 fake.recordInvocation("DeleteRoute", []interface{}{arg1}) 2582 fake.deleteRouteMutex.Unlock() 2583 if fake.DeleteRouteStub != nil { 2584 return fake.DeleteRouteStub(arg1) 2585 } 2586 if specificReturn { 2587 return ret.result1, ret.result2 2588 } 2589 fakeReturns := fake.deleteRouteReturns 2590 return fakeReturns.result1, fakeReturns.result2 2591 } 2592 2593 func (fake *FakeCloudControllerClient) DeleteRouteCallCount() int { 2594 fake.deleteRouteMutex.RLock() 2595 defer fake.deleteRouteMutex.RUnlock() 2596 return len(fake.deleteRouteArgsForCall) 2597 } 2598 2599 func (fake *FakeCloudControllerClient) DeleteRouteCalls(stub func(string) (ccv2.Warnings, error)) { 2600 fake.deleteRouteMutex.Lock() 2601 defer fake.deleteRouteMutex.Unlock() 2602 fake.DeleteRouteStub = stub 2603 } 2604 2605 func (fake *FakeCloudControllerClient) DeleteRouteArgsForCall(i int) string { 2606 fake.deleteRouteMutex.RLock() 2607 defer fake.deleteRouteMutex.RUnlock() 2608 argsForCall := fake.deleteRouteArgsForCall[i] 2609 return argsForCall.arg1 2610 } 2611 2612 func (fake *FakeCloudControllerClient) DeleteRouteReturns(result1 ccv2.Warnings, result2 error) { 2613 fake.deleteRouteMutex.Lock() 2614 defer fake.deleteRouteMutex.Unlock() 2615 fake.DeleteRouteStub = nil 2616 fake.deleteRouteReturns = struct { 2617 result1 ccv2.Warnings 2618 result2 error 2619 }{result1, result2} 2620 } 2621 2622 func (fake *FakeCloudControllerClient) DeleteRouteReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 2623 fake.deleteRouteMutex.Lock() 2624 defer fake.deleteRouteMutex.Unlock() 2625 fake.DeleteRouteStub = nil 2626 if fake.deleteRouteReturnsOnCall == nil { 2627 fake.deleteRouteReturnsOnCall = make(map[int]struct { 2628 result1 ccv2.Warnings 2629 result2 error 2630 }) 2631 } 2632 fake.deleteRouteReturnsOnCall[i] = struct { 2633 result1 ccv2.Warnings 2634 result2 error 2635 }{result1, result2} 2636 } 2637 2638 func (fake *FakeCloudControllerClient) DeleteRouteApplication(arg1 string, arg2 string) (ccv2.Warnings, error) { 2639 fake.deleteRouteApplicationMutex.Lock() 2640 ret, specificReturn := fake.deleteRouteApplicationReturnsOnCall[len(fake.deleteRouteApplicationArgsForCall)] 2641 fake.deleteRouteApplicationArgsForCall = append(fake.deleteRouteApplicationArgsForCall, struct { 2642 arg1 string 2643 arg2 string 2644 }{arg1, arg2}) 2645 fake.recordInvocation("DeleteRouteApplication", []interface{}{arg1, arg2}) 2646 fake.deleteRouteApplicationMutex.Unlock() 2647 if fake.DeleteRouteApplicationStub != nil { 2648 return fake.DeleteRouteApplicationStub(arg1, arg2) 2649 } 2650 if specificReturn { 2651 return ret.result1, ret.result2 2652 } 2653 fakeReturns := fake.deleteRouteApplicationReturns 2654 return fakeReturns.result1, fakeReturns.result2 2655 } 2656 2657 func (fake *FakeCloudControllerClient) DeleteRouteApplicationCallCount() int { 2658 fake.deleteRouteApplicationMutex.RLock() 2659 defer fake.deleteRouteApplicationMutex.RUnlock() 2660 return len(fake.deleteRouteApplicationArgsForCall) 2661 } 2662 2663 func (fake *FakeCloudControllerClient) DeleteRouteApplicationCalls(stub func(string, string) (ccv2.Warnings, error)) { 2664 fake.deleteRouteApplicationMutex.Lock() 2665 defer fake.deleteRouteApplicationMutex.Unlock() 2666 fake.DeleteRouteApplicationStub = stub 2667 } 2668 2669 func (fake *FakeCloudControllerClient) DeleteRouteApplicationArgsForCall(i int) (string, string) { 2670 fake.deleteRouteApplicationMutex.RLock() 2671 defer fake.deleteRouteApplicationMutex.RUnlock() 2672 argsForCall := fake.deleteRouteApplicationArgsForCall[i] 2673 return argsForCall.arg1, argsForCall.arg2 2674 } 2675 2676 func (fake *FakeCloudControllerClient) DeleteRouteApplicationReturns(result1 ccv2.Warnings, result2 error) { 2677 fake.deleteRouteApplicationMutex.Lock() 2678 defer fake.deleteRouteApplicationMutex.Unlock() 2679 fake.DeleteRouteApplicationStub = nil 2680 fake.deleteRouteApplicationReturns = struct { 2681 result1 ccv2.Warnings 2682 result2 error 2683 }{result1, result2} 2684 } 2685 2686 func (fake *FakeCloudControllerClient) DeleteRouteApplicationReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 2687 fake.deleteRouteApplicationMutex.Lock() 2688 defer fake.deleteRouteApplicationMutex.Unlock() 2689 fake.DeleteRouteApplicationStub = nil 2690 if fake.deleteRouteApplicationReturnsOnCall == nil { 2691 fake.deleteRouteApplicationReturnsOnCall = make(map[int]struct { 2692 result1 ccv2.Warnings 2693 result2 error 2694 }) 2695 } 2696 fake.deleteRouteApplicationReturnsOnCall[i] = struct { 2697 result1 ccv2.Warnings 2698 result2 error 2699 }{result1, result2} 2700 } 2701 2702 func (fake *FakeCloudControllerClient) DeleteSecurityGroupSpace(arg1 string, arg2 string) (ccv2.Warnings, error) { 2703 fake.deleteSecurityGroupSpaceMutex.Lock() 2704 ret, specificReturn := fake.deleteSecurityGroupSpaceReturnsOnCall[len(fake.deleteSecurityGroupSpaceArgsForCall)] 2705 fake.deleteSecurityGroupSpaceArgsForCall = append(fake.deleteSecurityGroupSpaceArgsForCall, struct { 2706 arg1 string 2707 arg2 string 2708 }{arg1, arg2}) 2709 fake.recordInvocation("DeleteSecurityGroupSpace", []interface{}{arg1, arg2}) 2710 fake.deleteSecurityGroupSpaceMutex.Unlock() 2711 if fake.DeleteSecurityGroupSpaceStub != nil { 2712 return fake.DeleteSecurityGroupSpaceStub(arg1, arg2) 2713 } 2714 if specificReturn { 2715 return ret.result1, ret.result2 2716 } 2717 fakeReturns := fake.deleteSecurityGroupSpaceReturns 2718 return fakeReturns.result1, fakeReturns.result2 2719 } 2720 2721 func (fake *FakeCloudControllerClient) DeleteSecurityGroupSpaceCallCount() int { 2722 fake.deleteSecurityGroupSpaceMutex.RLock() 2723 defer fake.deleteSecurityGroupSpaceMutex.RUnlock() 2724 return len(fake.deleteSecurityGroupSpaceArgsForCall) 2725 } 2726 2727 func (fake *FakeCloudControllerClient) DeleteSecurityGroupSpaceCalls(stub func(string, string) (ccv2.Warnings, error)) { 2728 fake.deleteSecurityGroupSpaceMutex.Lock() 2729 defer fake.deleteSecurityGroupSpaceMutex.Unlock() 2730 fake.DeleteSecurityGroupSpaceStub = stub 2731 } 2732 2733 func (fake *FakeCloudControllerClient) DeleteSecurityGroupSpaceArgsForCall(i int) (string, string) { 2734 fake.deleteSecurityGroupSpaceMutex.RLock() 2735 defer fake.deleteSecurityGroupSpaceMutex.RUnlock() 2736 argsForCall := fake.deleteSecurityGroupSpaceArgsForCall[i] 2737 return argsForCall.arg1, argsForCall.arg2 2738 } 2739 2740 func (fake *FakeCloudControllerClient) DeleteSecurityGroupSpaceReturns(result1 ccv2.Warnings, result2 error) { 2741 fake.deleteSecurityGroupSpaceMutex.Lock() 2742 defer fake.deleteSecurityGroupSpaceMutex.Unlock() 2743 fake.DeleteSecurityGroupSpaceStub = nil 2744 fake.deleteSecurityGroupSpaceReturns = struct { 2745 result1 ccv2.Warnings 2746 result2 error 2747 }{result1, result2} 2748 } 2749 2750 func (fake *FakeCloudControllerClient) DeleteSecurityGroupSpaceReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 2751 fake.deleteSecurityGroupSpaceMutex.Lock() 2752 defer fake.deleteSecurityGroupSpaceMutex.Unlock() 2753 fake.DeleteSecurityGroupSpaceStub = nil 2754 if fake.deleteSecurityGroupSpaceReturnsOnCall == nil { 2755 fake.deleteSecurityGroupSpaceReturnsOnCall = make(map[int]struct { 2756 result1 ccv2.Warnings 2757 result2 error 2758 }) 2759 } 2760 fake.deleteSecurityGroupSpaceReturnsOnCall[i] = struct { 2761 result1 ccv2.Warnings 2762 result2 error 2763 }{result1, result2} 2764 } 2765 2766 func (fake *FakeCloudControllerClient) DeleteSecurityGroupStagingSpace(arg1 string, arg2 string) (ccv2.Warnings, error) { 2767 fake.deleteSecurityGroupStagingSpaceMutex.Lock() 2768 ret, specificReturn := fake.deleteSecurityGroupStagingSpaceReturnsOnCall[len(fake.deleteSecurityGroupStagingSpaceArgsForCall)] 2769 fake.deleteSecurityGroupStagingSpaceArgsForCall = append(fake.deleteSecurityGroupStagingSpaceArgsForCall, struct { 2770 arg1 string 2771 arg2 string 2772 }{arg1, arg2}) 2773 fake.recordInvocation("DeleteSecurityGroupStagingSpace", []interface{}{arg1, arg2}) 2774 fake.deleteSecurityGroupStagingSpaceMutex.Unlock() 2775 if fake.DeleteSecurityGroupStagingSpaceStub != nil { 2776 return fake.DeleteSecurityGroupStagingSpaceStub(arg1, arg2) 2777 } 2778 if specificReturn { 2779 return ret.result1, ret.result2 2780 } 2781 fakeReturns := fake.deleteSecurityGroupStagingSpaceReturns 2782 return fakeReturns.result1, fakeReturns.result2 2783 } 2784 2785 func (fake *FakeCloudControllerClient) DeleteSecurityGroupStagingSpaceCallCount() int { 2786 fake.deleteSecurityGroupStagingSpaceMutex.RLock() 2787 defer fake.deleteSecurityGroupStagingSpaceMutex.RUnlock() 2788 return len(fake.deleteSecurityGroupStagingSpaceArgsForCall) 2789 } 2790 2791 func (fake *FakeCloudControllerClient) DeleteSecurityGroupStagingSpaceCalls(stub func(string, string) (ccv2.Warnings, error)) { 2792 fake.deleteSecurityGroupStagingSpaceMutex.Lock() 2793 defer fake.deleteSecurityGroupStagingSpaceMutex.Unlock() 2794 fake.DeleteSecurityGroupStagingSpaceStub = stub 2795 } 2796 2797 func (fake *FakeCloudControllerClient) DeleteSecurityGroupStagingSpaceArgsForCall(i int) (string, string) { 2798 fake.deleteSecurityGroupStagingSpaceMutex.RLock() 2799 defer fake.deleteSecurityGroupStagingSpaceMutex.RUnlock() 2800 argsForCall := fake.deleteSecurityGroupStagingSpaceArgsForCall[i] 2801 return argsForCall.arg1, argsForCall.arg2 2802 } 2803 2804 func (fake *FakeCloudControllerClient) DeleteSecurityGroupStagingSpaceReturns(result1 ccv2.Warnings, result2 error) { 2805 fake.deleteSecurityGroupStagingSpaceMutex.Lock() 2806 defer fake.deleteSecurityGroupStagingSpaceMutex.Unlock() 2807 fake.DeleteSecurityGroupStagingSpaceStub = nil 2808 fake.deleteSecurityGroupStagingSpaceReturns = struct { 2809 result1 ccv2.Warnings 2810 result2 error 2811 }{result1, result2} 2812 } 2813 2814 func (fake *FakeCloudControllerClient) DeleteSecurityGroupStagingSpaceReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 2815 fake.deleteSecurityGroupStagingSpaceMutex.Lock() 2816 defer fake.deleteSecurityGroupStagingSpaceMutex.Unlock() 2817 fake.DeleteSecurityGroupStagingSpaceStub = nil 2818 if fake.deleteSecurityGroupStagingSpaceReturnsOnCall == nil { 2819 fake.deleteSecurityGroupStagingSpaceReturnsOnCall = make(map[int]struct { 2820 result1 ccv2.Warnings 2821 result2 error 2822 }) 2823 } 2824 fake.deleteSecurityGroupStagingSpaceReturnsOnCall[i] = struct { 2825 result1 ccv2.Warnings 2826 result2 error 2827 }{result1, result2} 2828 } 2829 2830 func (fake *FakeCloudControllerClient) DeleteService(arg1 string, arg2 bool) (ccv2.Warnings, error) { 2831 fake.deleteServiceMutex.Lock() 2832 ret, specificReturn := fake.deleteServiceReturnsOnCall[len(fake.deleteServiceArgsForCall)] 2833 fake.deleteServiceArgsForCall = append(fake.deleteServiceArgsForCall, struct { 2834 arg1 string 2835 arg2 bool 2836 }{arg1, arg2}) 2837 fake.recordInvocation("DeleteService", []interface{}{arg1, arg2}) 2838 fake.deleteServiceMutex.Unlock() 2839 if fake.DeleteServiceStub != nil { 2840 return fake.DeleteServiceStub(arg1, arg2) 2841 } 2842 if specificReturn { 2843 return ret.result1, ret.result2 2844 } 2845 fakeReturns := fake.deleteServiceReturns 2846 return fakeReturns.result1, fakeReturns.result2 2847 } 2848 2849 func (fake *FakeCloudControllerClient) DeleteServiceCallCount() int { 2850 fake.deleteServiceMutex.RLock() 2851 defer fake.deleteServiceMutex.RUnlock() 2852 return len(fake.deleteServiceArgsForCall) 2853 } 2854 2855 func (fake *FakeCloudControllerClient) DeleteServiceCalls(stub func(string, bool) (ccv2.Warnings, error)) { 2856 fake.deleteServiceMutex.Lock() 2857 defer fake.deleteServiceMutex.Unlock() 2858 fake.DeleteServiceStub = stub 2859 } 2860 2861 func (fake *FakeCloudControllerClient) DeleteServiceArgsForCall(i int) (string, bool) { 2862 fake.deleteServiceMutex.RLock() 2863 defer fake.deleteServiceMutex.RUnlock() 2864 argsForCall := fake.deleteServiceArgsForCall[i] 2865 return argsForCall.arg1, argsForCall.arg2 2866 } 2867 2868 func (fake *FakeCloudControllerClient) DeleteServiceReturns(result1 ccv2.Warnings, result2 error) { 2869 fake.deleteServiceMutex.Lock() 2870 defer fake.deleteServiceMutex.Unlock() 2871 fake.DeleteServiceStub = nil 2872 fake.deleteServiceReturns = struct { 2873 result1 ccv2.Warnings 2874 result2 error 2875 }{result1, result2} 2876 } 2877 2878 func (fake *FakeCloudControllerClient) DeleteServiceReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 2879 fake.deleteServiceMutex.Lock() 2880 defer fake.deleteServiceMutex.Unlock() 2881 fake.DeleteServiceStub = nil 2882 if fake.deleteServiceReturnsOnCall == nil { 2883 fake.deleteServiceReturnsOnCall = make(map[int]struct { 2884 result1 ccv2.Warnings 2885 result2 error 2886 }) 2887 } 2888 fake.deleteServiceReturnsOnCall[i] = struct { 2889 result1 ccv2.Warnings 2890 result2 error 2891 }{result1, result2} 2892 } 2893 2894 func (fake *FakeCloudControllerClient) DeleteServiceBinding(arg1 string, arg2 bool) (ccv2.ServiceBinding, ccv2.Warnings, error) { 2895 fake.deleteServiceBindingMutex.Lock() 2896 ret, specificReturn := fake.deleteServiceBindingReturnsOnCall[len(fake.deleteServiceBindingArgsForCall)] 2897 fake.deleteServiceBindingArgsForCall = append(fake.deleteServiceBindingArgsForCall, struct { 2898 arg1 string 2899 arg2 bool 2900 }{arg1, arg2}) 2901 fake.recordInvocation("DeleteServiceBinding", []interface{}{arg1, arg2}) 2902 fake.deleteServiceBindingMutex.Unlock() 2903 if fake.DeleteServiceBindingStub != nil { 2904 return fake.DeleteServiceBindingStub(arg1, arg2) 2905 } 2906 if specificReturn { 2907 return ret.result1, ret.result2, ret.result3 2908 } 2909 fakeReturns := fake.deleteServiceBindingReturns 2910 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 2911 } 2912 2913 func (fake *FakeCloudControllerClient) DeleteServiceBindingCallCount() int { 2914 fake.deleteServiceBindingMutex.RLock() 2915 defer fake.deleteServiceBindingMutex.RUnlock() 2916 return len(fake.deleteServiceBindingArgsForCall) 2917 } 2918 2919 func (fake *FakeCloudControllerClient) DeleteServiceBindingCalls(stub func(string, bool) (ccv2.ServiceBinding, ccv2.Warnings, error)) { 2920 fake.deleteServiceBindingMutex.Lock() 2921 defer fake.deleteServiceBindingMutex.Unlock() 2922 fake.DeleteServiceBindingStub = stub 2923 } 2924 2925 func (fake *FakeCloudControllerClient) DeleteServiceBindingArgsForCall(i int) (string, bool) { 2926 fake.deleteServiceBindingMutex.RLock() 2927 defer fake.deleteServiceBindingMutex.RUnlock() 2928 argsForCall := fake.deleteServiceBindingArgsForCall[i] 2929 return argsForCall.arg1, argsForCall.arg2 2930 } 2931 2932 func (fake *FakeCloudControllerClient) DeleteServiceBindingReturns(result1 ccv2.ServiceBinding, result2 ccv2.Warnings, result3 error) { 2933 fake.deleteServiceBindingMutex.Lock() 2934 defer fake.deleteServiceBindingMutex.Unlock() 2935 fake.DeleteServiceBindingStub = nil 2936 fake.deleteServiceBindingReturns = struct { 2937 result1 ccv2.ServiceBinding 2938 result2 ccv2.Warnings 2939 result3 error 2940 }{result1, result2, result3} 2941 } 2942 2943 func (fake *FakeCloudControllerClient) DeleteServiceBindingReturnsOnCall(i int, result1 ccv2.ServiceBinding, result2 ccv2.Warnings, result3 error) { 2944 fake.deleteServiceBindingMutex.Lock() 2945 defer fake.deleteServiceBindingMutex.Unlock() 2946 fake.DeleteServiceBindingStub = nil 2947 if fake.deleteServiceBindingReturnsOnCall == nil { 2948 fake.deleteServiceBindingReturnsOnCall = make(map[int]struct { 2949 result1 ccv2.ServiceBinding 2950 result2 ccv2.Warnings 2951 result3 error 2952 }) 2953 } 2954 fake.deleteServiceBindingReturnsOnCall[i] = struct { 2955 result1 ccv2.ServiceBinding 2956 result2 ccv2.Warnings 2957 result3 error 2958 }{result1, result2, result3} 2959 } 2960 2961 func (fake *FakeCloudControllerClient) DeleteServicePlanVisibility(arg1 string) (ccv2.Warnings, error) { 2962 fake.deleteServicePlanVisibilityMutex.Lock() 2963 ret, specificReturn := fake.deleteServicePlanVisibilityReturnsOnCall[len(fake.deleteServicePlanVisibilityArgsForCall)] 2964 fake.deleteServicePlanVisibilityArgsForCall = append(fake.deleteServicePlanVisibilityArgsForCall, struct { 2965 arg1 string 2966 }{arg1}) 2967 fake.recordInvocation("DeleteServicePlanVisibility", []interface{}{arg1}) 2968 fake.deleteServicePlanVisibilityMutex.Unlock() 2969 if fake.DeleteServicePlanVisibilityStub != nil { 2970 return fake.DeleteServicePlanVisibilityStub(arg1) 2971 } 2972 if specificReturn { 2973 return ret.result1, ret.result2 2974 } 2975 fakeReturns := fake.deleteServicePlanVisibilityReturns 2976 return fakeReturns.result1, fakeReturns.result2 2977 } 2978 2979 func (fake *FakeCloudControllerClient) DeleteServicePlanVisibilityCallCount() int { 2980 fake.deleteServicePlanVisibilityMutex.RLock() 2981 defer fake.deleteServicePlanVisibilityMutex.RUnlock() 2982 return len(fake.deleteServicePlanVisibilityArgsForCall) 2983 } 2984 2985 func (fake *FakeCloudControllerClient) DeleteServicePlanVisibilityCalls(stub func(string) (ccv2.Warnings, error)) { 2986 fake.deleteServicePlanVisibilityMutex.Lock() 2987 defer fake.deleteServicePlanVisibilityMutex.Unlock() 2988 fake.DeleteServicePlanVisibilityStub = stub 2989 } 2990 2991 func (fake *FakeCloudControllerClient) DeleteServicePlanVisibilityArgsForCall(i int) string { 2992 fake.deleteServicePlanVisibilityMutex.RLock() 2993 defer fake.deleteServicePlanVisibilityMutex.RUnlock() 2994 argsForCall := fake.deleteServicePlanVisibilityArgsForCall[i] 2995 return argsForCall.arg1 2996 } 2997 2998 func (fake *FakeCloudControllerClient) DeleteServicePlanVisibilityReturns(result1 ccv2.Warnings, result2 error) { 2999 fake.deleteServicePlanVisibilityMutex.Lock() 3000 defer fake.deleteServicePlanVisibilityMutex.Unlock() 3001 fake.DeleteServicePlanVisibilityStub = nil 3002 fake.deleteServicePlanVisibilityReturns = struct { 3003 result1 ccv2.Warnings 3004 result2 error 3005 }{result1, result2} 3006 } 3007 3008 func (fake *FakeCloudControllerClient) DeleteServicePlanVisibilityReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 3009 fake.deleteServicePlanVisibilityMutex.Lock() 3010 defer fake.deleteServicePlanVisibilityMutex.Unlock() 3011 fake.DeleteServicePlanVisibilityStub = nil 3012 if fake.deleteServicePlanVisibilityReturnsOnCall == nil { 3013 fake.deleteServicePlanVisibilityReturnsOnCall = make(map[int]struct { 3014 result1 ccv2.Warnings 3015 result2 error 3016 }) 3017 } 3018 fake.deleteServicePlanVisibilityReturnsOnCall[i] = struct { 3019 result1 ccv2.Warnings 3020 result2 error 3021 }{result1, result2} 3022 } 3023 3024 func (fake *FakeCloudControllerClient) DeleteSpaceJob(arg1 string) (ccv2.Job, ccv2.Warnings, error) { 3025 fake.deleteSpaceJobMutex.Lock() 3026 ret, specificReturn := fake.deleteSpaceJobReturnsOnCall[len(fake.deleteSpaceJobArgsForCall)] 3027 fake.deleteSpaceJobArgsForCall = append(fake.deleteSpaceJobArgsForCall, struct { 3028 arg1 string 3029 }{arg1}) 3030 fake.recordInvocation("DeleteSpaceJob", []interface{}{arg1}) 3031 fake.deleteSpaceJobMutex.Unlock() 3032 if fake.DeleteSpaceJobStub != nil { 3033 return fake.DeleteSpaceJobStub(arg1) 3034 } 3035 if specificReturn { 3036 return ret.result1, ret.result2, ret.result3 3037 } 3038 fakeReturns := fake.deleteSpaceJobReturns 3039 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3040 } 3041 3042 func (fake *FakeCloudControllerClient) DeleteSpaceJobCallCount() int { 3043 fake.deleteSpaceJobMutex.RLock() 3044 defer fake.deleteSpaceJobMutex.RUnlock() 3045 return len(fake.deleteSpaceJobArgsForCall) 3046 } 3047 3048 func (fake *FakeCloudControllerClient) DeleteSpaceJobCalls(stub func(string) (ccv2.Job, ccv2.Warnings, error)) { 3049 fake.deleteSpaceJobMutex.Lock() 3050 defer fake.deleteSpaceJobMutex.Unlock() 3051 fake.DeleteSpaceJobStub = stub 3052 } 3053 3054 func (fake *FakeCloudControllerClient) DeleteSpaceJobArgsForCall(i int) string { 3055 fake.deleteSpaceJobMutex.RLock() 3056 defer fake.deleteSpaceJobMutex.RUnlock() 3057 argsForCall := fake.deleteSpaceJobArgsForCall[i] 3058 return argsForCall.arg1 3059 } 3060 3061 func (fake *FakeCloudControllerClient) DeleteSpaceJobReturns(result1 ccv2.Job, result2 ccv2.Warnings, result3 error) { 3062 fake.deleteSpaceJobMutex.Lock() 3063 defer fake.deleteSpaceJobMutex.Unlock() 3064 fake.DeleteSpaceJobStub = nil 3065 fake.deleteSpaceJobReturns = struct { 3066 result1 ccv2.Job 3067 result2 ccv2.Warnings 3068 result3 error 3069 }{result1, result2, result3} 3070 } 3071 3072 func (fake *FakeCloudControllerClient) DeleteSpaceJobReturnsOnCall(i int, result1 ccv2.Job, result2 ccv2.Warnings, result3 error) { 3073 fake.deleteSpaceJobMutex.Lock() 3074 defer fake.deleteSpaceJobMutex.Unlock() 3075 fake.DeleteSpaceJobStub = nil 3076 if fake.deleteSpaceJobReturnsOnCall == nil { 3077 fake.deleteSpaceJobReturnsOnCall = make(map[int]struct { 3078 result1 ccv2.Job 3079 result2 ccv2.Warnings 3080 result3 error 3081 }) 3082 } 3083 fake.deleteSpaceJobReturnsOnCall[i] = struct { 3084 result1 ccv2.Job 3085 result2 ccv2.Warnings 3086 result3 error 3087 }{result1, result2, result3} 3088 } 3089 3090 func (fake *FakeCloudControllerClient) DeleteSpaceUnmappedRoutes(arg1 string) (ccv2.Warnings, error) { 3091 fake.deleteSpaceUnmappedRoutesMutex.Lock() 3092 ret, specificReturn := fake.deleteSpaceUnmappedRoutesReturnsOnCall[len(fake.deleteSpaceUnmappedRoutesArgsForCall)] 3093 fake.deleteSpaceUnmappedRoutesArgsForCall = append(fake.deleteSpaceUnmappedRoutesArgsForCall, struct { 3094 arg1 string 3095 }{arg1}) 3096 fake.recordInvocation("DeleteSpaceUnmappedRoutes", []interface{}{arg1}) 3097 fake.deleteSpaceUnmappedRoutesMutex.Unlock() 3098 if fake.DeleteSpaceUnmappedRoutesStub != nil { 3099 return fake.DeleteSpaceUnmappedRoutesStub(arg1) 3100 } 3101 if specificReturn { 3102 return ret.result1, ret.result2 3103 } 3104 fakeReturns := fake.deleteSpaceUnmappedRoutesReturns 3105 return fakeReturns.result1, fakeReturns.result2 3106 } 3107 3108 func (fake *FakeCloudControllerClient) DeleteSpaceUnmappedRoutesCallCount() int { 3109 fake.deleteSpaceUnmappedRoutesMutex.RLock() 3110 defer fake.deleteSpaceUnmappedRoutesMutex.RUnlock() 3111 return len(fake.deleteSpaceUnmappedRoutesArgsForCall) 3112 } 3113 3114 func (fake *FakeCloudControllerClient) DeleteSpaceUnmappedRoutesCalls(stub func(string) (ccv2.Warnings, error)) { 3115 fake.deleteSpaceUnmappedRoutesMutex.Lock() 3116 defer fake.deleteSpaceUnmappedRoutesMutex.Unlock() 3117 fake.DeleteSpaceUnmappedRoutesStub = stub 3118 } 3119 3120 func (fake *FakeCloudControllerClient) DeleteSpaceUnmappedRoutesArgsForCall(i int) string { 3121 fake.deleteSpaceUnmappedRoutesMutex.RLock() 3122 defer fake.deleteSpaceUnmappedRoutesMutex.RUnlock() 3123 argsForCall := fake.deleteSpaceUnmappedRoutesArgsForCall[i] 3124 return argsForCall.arg1 3125 } 3126 3127 func (fake *FakeCloudControllerClient) DeleteSpaceUnmappedRoutesReturns(result1 ccv2.Warnings, result2 error) { 3128 fake.deleteSpaceUnmappedRoutesMutex.Lock() 3129 defer fake.deleteSpaceUnmappedRoutesMutex.Unlock() 3130 fake.DeleteSpaceUnmappedRoutesStub = nil 3131 fake.deleteSpaceUnmappedRoutesReturns = struct { 3132 result1 ccv2.Warnings 3133 result2 error 3134 }{result1, result2} 3135 } 3136 3137 func (fake *FakeCloudControllerClient) DeleteSpaceUnmappedRoutesReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 3138 fake.deleteSpaceUnmappedRoutesMutex.Lock() 3139 defer fake.deleteSpaceUnmappedRoutesMutex.Unlock() 3140 fake.DeleteSpaceUnmappedRoutesStub = nil 3141 if fake.deleteSpaceUnmappedRoutesReturnsOnCall == nil { 3142 fake.deleteSpaceUnmappedRoutesReturnsOnCall = make(map[int]struct { 3143 result1 ccv2.Warnings 3144 result2 error 3145 }) 3146 } 3147 fake.deleteSpaceUnmappedRoutesReturnsOnCall[i] = struct { 3148 result1 ccv2.Warnings 3149 result2 error 3150 }{result1, result2} 3151 } 3152 3153 func (fake *FakeCloudControllerClient) DopplerEndpoint() string { 3154 fake.dopplerEndpointMutex.Lock() 3155 ret, specificReturn := fake.dopplerEndpointReturnsOnCall[len(fake.dopplerEndpointArgsForCall)] 3156 fake.dopplerEndpointArgsForCall = append(fake.dopplerEndpointArgsForCall, struct { 3157 }{}) 3158 fake.recordInvocation("DopplerEndpoint", []interface{}{}) 3159 fake.dopplerEndpointMutex.Unlock() 3160 if fake.DopplerEndpointStub != nil { 3161 return fake.DopplerEndpointStub() 3162 } 3163 if specificReturn { 3164 return ret.result1 3165 } 3166 fakeReturns := fake.dopplerEndpointReturns 3167 return fakeReturns.result1 3168 } 3169 3170 func (fake *FakeCloudControllerClient) DopplerEndpointCallCount() int { 3171 fake.dopplerEndpointMutex.RLock() 3172 defer fake.dopplerEndpointMutex.RUnlock() 3173 return len(fake.dopplerEndpointArgsForCall) 3174 } 3175 3176 func (fake *FakeCloudControllerClient) DopplerEndpointCalls(stub func() string) { 3177 fake.dopplerEndpointMutex.Lock() 3178 defer fake.dopplerEndpointMutex.Unlock() 3179 fake.DopplerEndpointStub = stub 3180 } 3181 3182 func (fake *FakeCloudControllerClient) DopplerEndpointReturns(result1 string) { 3183 fake.dopplerEndpointMutex.Lock() 3184 defer fake.dopplerEndpointMutex.Unlock() 3185 fake.DopplerEndpointStub = nil 3186 fake.dopplerEndpointReturns = struct { 3187 result1 string 3188 }{result1} 3189 } 3190 3191 func (fake *FakeCloudControllerClient) DopplerEndpointReturnsOnCall(i int, result1 string) { 3192 fake.dopplerEndpointMutex.Lock() 3193 defer fake.dopplerEndpointMutex.Unlock() 3194 fake.DopplerEndpointStub = nil 3195 if fake.dopplerEndpointReturnsOnCall == nil { 3196 fake.dopplerEndpointReturnsOnCall = make(map[int]struct { 3197 result1 string 3198 }) 3199 } 3200 fake.dopplerEndpointReturnsOnCall[i] = struct { 3201 result1 string 3202 }{result1} 3203 } 3204 3205 func (fake *FakeCloudControllerClient) GetApplication(arg1 string) (ccv2.Application, ccv2.Warnings, error) { 3206 fake.getApplicationMutex.Lock() 3207 ret, specificReturn := fake.getApplicationReturnsOnCall[len(fake.getApplicationArgsForCall)] 3208 fake.getApplicationArgsForCall = append(fake.getApplicationArgsForCall, struct { 3209 arg1 string 3210 }{arg1}) 3211 fake.recordInvocation("GetApplication", []interface{}{arg1}) 3212 fake.getApplicationMutex.Unlock() 3213 if fake.GetApplicationStub != nil { 3214 return fake.GetApplicationStub(arg1) 3215 } 3216 if specificReturn { 3217 return ret.result1, ret.result2, ret.result3 3218 } 3219 fakeReturns := fake.getApplicationReturns 3220 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3221 } 3222 3223 func (fake *FakeCloudControllerClient) GetApplicationCallCount() int { 3224 fake.getApplicationMutex.RLock() 3225 defer fake.getApplicationMutex.RUnlock() 3226 return len(fake.getApplicationArgsForCall) 3227 } 3228 3229 func (fake *FakeCloudControllerClient) GetApplicationCalls(stub func(string) (ccv2.Application, ccv2.Warnings, error)) { 3230 fake.getApplicationMutex.Lock() 3231 defer fake.getApplicationMutex.Unlock() 3232 fake.GetApplicationStub = stub 3233 } 3234 3235 func (fake *FakeCloudControllerClient) GetApplicationArgsForCall(i int) string { 3236 fake.getApplicationMutex.RLock() 3237 defer fake.getApplicationMutex.RUnlock() 3238 argsForCall := fake.getApplicationArgsForCall[i] 3239 return argsForCall.arg1 3240 } 3241 3242 func (fake *FakeCloudControllerClient) GetApplicationReturns(result1 ccv2.Application, result2 ccv2.Warnings, result3 error) { 3243 fake.getApplicationMutex.Lock() 3244 defer fake.getApplicationMutex.Unlock() 3245 fake.GetApplicationStub = nil 3246 fake.getApplicationReturns = struct { 3247 result1 ccv2.Application 3248 result2 ccv2.Warnings 3249 result3 error 3250 }{result1, result2, result3} 3251 } 3252 3253 func (fake *FakeCloudControllerClient) GetApplicationReturnsOnCall(i int, result1 ccv2.Application, result2 ccv2.Warnings, result3 error) { 3254 fake.getApplicationMutex.Lock() 3255 defer fake.getApplicationMutex.Unlock() 3256 fake.GetApplicationStub = nil 3257 if fake.getApplicationReturnsOnCall == nil { 3258 fake.getApplicationReturnsOnCall = make(map[int]struct { 3259 result1 ccv2.Application 3260 result2 ccv2.Warnings 3261 result3 error 3262 }) 3263 } 3264 fake.getApplicationReturnsOnCall[i] = struct { 3265 result1 ccv2.Application 3266 result2 ccv2.Warnings 3267 result3 error 3268 }{result1, result2, result3} 3269 } 3270 3271 func (fake *FakeCloudControllerClient) GetApplicationApplicationInstanceStatuses(arg1 string) (map[int]ccv2.ApplicationInstanceStatus, ccv2.Warnings, error) { 3272 fake.getApplicationApplicationInstanceStatusesMutex.Lock() 3273 ret, specificReturn := fake.getApplicationApplicationInstanceStatusesReturnsOnCall[len(fake.getApplicationApplicationInstanceStatusesArgsForCall)] 3274 fake.getApplicationApplicationInstanceStatusesArgsForCall = append(fake.getApplicationApplicationInstanceStatusesArgsForCall, struct { 3275 arg1 string 3276 }{arg1}) 3277 fake.recordInvocation("GetApplicationApplicationInstanceStatuses", []interface{}{arg1}) 3278 fake.getApplicationApplicationInstanceStatusesMutex.Unlock() 3279 if fake.GetApplicationApplicationInstanceStatusesStub != nil { 3280 return fake.GetApplicationApplicationInstanceStatusesStub(arg1) 3281 } 3282 if specificReturn { 3283 return ret.result1, ret.result2, ret.result3 3284 } 3285 fakeReturns := fake.getApplicationApplicationInstanceStatusesReturns 3286 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3287 } 3288 3289 func (fake *FakeCloudControllerClient) GetApplicationApplicationInstanceStatusesCallCount() int { 3290 fake.getApplicationApplicationInstanceStatusesMutex.RLock() 3291 defer fake.getApplicationApplicationInstanceStatusesMutex.RUnlock() 3292 return len(fake.getApplicationApplicationInstanceStatusesArgsForCall) 3293 } 3294 3295 func (fake *FakeCloudControllerClient) GetApplicationApplicationInstanceStatusesCalls(stub func(string) (map[int]ccv2.ApplicationInstanceStatus, ccv2.Warnings, error)) { 3296 fake.getApplicationApplicationInstanceStatusesMutex.Lock() 3297 defer fake.getApplicationApplicationInstanceStatusesMutex.Unlock() 3298 fake.GetApplicationApplicationInstanceStatusesStub = stub 3299 } 3300 3301 func (fake *FakeCloudControllerClient) GetApplicationApplicationInstanceStatusesArgsForCall(i int) string { 3302 fake.getApplicationApplicationInstanceStatusesMutex.RLock() 3303 defer fake.getApplicationApplicationInstanceStatusesMutex.RUnlock() 3304 argsForCall := fake.getApplicationApplicationInstanceStatusesArgsForCall[i] 3305 return argsForCall.arg1 3306 } 3307 3308 func (fake *FakeCloudControllerClient) GetApplicationApplicationInstanceStatusesReturns(result1 map[int]ccv2.ApplicationInstanceStatus, result2 ccv2.Warnings, result3 error) { 3309 fake.getApplicationApplicationInstanceStatusesMutex.Lock() 3310 defer fake.getApplicationApplicationInstanceStatusesMutex.Unlock() 3311 fake.GetApplicationApplicationInstanceStatusesStub = nil 3312 fake.getApplicationApplicationInstanceStatusesReturns = struct { 3313 result1 map[int]ccv2.ApplicationInstanceStatus 3314 result2 ccv2.Warnings 3315 result3 error 3316 }{result1, result2, result3} 3317 } 3318 3319 func (fake *FakeCloudControllerClient) GetApplicationApplicationInstanceStatusesReturnsOnCall(i int, result1 map[int]ccv2.ApplicationInstanceStatus, result2 ccv2.Warnings, result3 error) { 3320 fake.getApplicationApplicationInstanceStatusesMutex.Lock() 3321 defer fake.getApplicationApplicationInstanceStatusesMutex.Unlock() 3322 fake.GetApplicationApplicationInstanceStatusesStub = nil 3323 if fake.getApplicationApplicationInstanceStatusesReturnsOnCall == nil { 3324 fake.getApplicationApplicationInstanceStatusesReturnsOnCall = make(map[int]struct { 3325 result1 map[int]ccv2.ApplicationInstanceStatus 3326 result2 ccv2.Warnings 3327 result3 error 3328 }) 3329 } 3330 fake.getApplicationApplicationInstanceStatusesReturnsOnCall[i] = struct { 3331 result1 map[int]ccv2.ApplicationInstanceStatus 3332 result2 ccv2.Warnings 3333 result3 error 3334 }{result1, result2, result3} 3335 } 3336 3337 func (fake *FakeCloudControllerClient) GetApplicationApplicationInstances(arg1 string) (map[int]ccv2.ApplicationInstance, ccv2.Warnings, error) { 3338 fake.getApplicationApplicationInstancesMutex.Lock() 3339 ret, specificReturn := fake.getApplicationApplicationInstancesReturnsOnCall[len(fake.getApplicationApplicationInstancesArgsForCall)] 3340 fake.getApplicationApplicationInstancesArgsForCall = append(fake.getApplicationApplicationInstancesArgsForCall, struct { 3341 arg1 string 3342 }{arg1}) 3343 fake.recordInvocation("GetApplicationApplicationInstances", []interface{}{arg1}) 3344 fake.getApplicationApplicationInstancesMutex.Unlock() 3345 if fake.GetApplicationApplicationInstancesStub != nil { 3346 return fake.GetApplicationApplicationInstancesStub(arg1) 3347 } 3348 if specificReturn { 3349 return ret.result1, ret.result2, ret.result3 3350 } 3351 fakeReturns := fake.getApplicationApplicationInstancesReturns 3352 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3353 } 3354 3355 func (fake *FakeCloudControllerClient) GetApplicationApplicationInstancesCallCount() int { 3356 fake.getApplicationApplicationInstancesMutex.RLock() 3357 defer fake.getApplicationApplicationInstancesMutex.RUnlock() 3358 return len(fake.getApplicationApplicationInstancesArgsForCall) 3359 } 3360 3361 func (fake *FakeCloudControllerClient) GetApplicationApplicationInstancesCalls(stub func(string) (map[int]ccv2.ApplicationInstance, ccv2.Warnings, error)) { 3362 fake.getApplicationApplicationInstancesMutex.Lock() 3363 defer fake.getApplicationApplicationInstancesMutex.Unlock() 3364 fake.GetApplicationApplicationInstancesStub = stub 3365 } 3366 3367 func (fake *FakeCloudControllerClient) GetApplicationApplicationInstancesArgsForCall(i int) string { 3368 fake.getApplicationApplicationInstancesMutex.RLock() 3369 defer fake.getApplicationApplicationInstancesMutex.RUnlock() 3370 argsForCall := fake.getApplicationApplicationInstancesArgsForCall[i] 3371 return argsForCall.arg1 3372 } 3373 3374 func (fake *FakeCloudControllerClient) GetApplicationApplicationInstancesReturns(result1 map[int]ccv2.ApplicationInstance, result2 ccv2.Warnings, result3 error) { 3375 fake.getApplicationApplicationInstancesMutex.Lock() 3376 defer fake.getApplicationApplicationInstancesMutex.Unlock() 3377 fake.GetApplicationApplicationInstancesStub = nil 3378 fake.getApplicationApplicationInstancesReturns = struct { 3379 result1 map[int]ccv2.ApplicationInstance 3380 result2 ccv2.Warnings 3381 result3 error 3382 }{result1, result2, result3} 3383 } 3384 3385 func (fake *FakeCloudControllerClient) GetApplicationApplicationInstancesReturnsOnCall(i int, result1 map[int]ccv2.ApplicationInstance, result2 ccv2.Warnings, result3 error) { 3386 fake.getApplicationApplicationInstancesMutex.Lock() 3387 defer fake.getApplicationApplicationInstancesMutex.Unlock() 3388 fake.GetApplicationApplicationInstancesStub = nil 3389 if fake.getApplicationApplicationInstancesReturnsOnCall == nil { 3390 fake.getApplicationApplicationInstancesReturnsOnCall = make(map[int]struct { 3391 result1 map[int]ccv2.ApplicationInstance 3392 result2 ccv2.Warnings 3393 result3 error 3394 }) 3395 } 3396 fake.getApplicationApplicationInstancesReturnsOnCall[i] = struct { 3397 result1 map[int]ccv2.ApplicationInstance 3398 result2 ccv2.Warnings 3399 result3 error 3400 }{result1, result2, result3} 3401 } 3402 3403 func (fake *FakeCloudControllerClient) GetApplicationRoutes(arg1 string, arg2 ...ccv2.Filter) ([]ccv2.Route, ccv2.Warnings, error) { 3404 fake.getApplicationRoutesMutex.Lock() 3405 ret, specificReturn := fake.getApplicationRoutesReturnsOnCall[len(fake.getApplicationRoutesArgsForCall)] 3406 fake.getApplicationRoutesArgsForCall = append(fake.getApplicationRoutesArgsForCall, struct { 3407 arg1 string 3408 arg2 []ccv2.Filter 3409 }{arg1, arg2}) 3410 fake.recordInvocation("GetApplicationRoutes", []interface{}{arg1, arg2}) 3411 fake.getApplicationRoutesMutex.Unlock() 3412 if fake.GetApplicationRoutesStub != nil { 3413 return fake.GetApplicationRoutesStub(arg1, arg2...) 3414 } 3415 if specificReturn { 3416 return ret.result1, ret.result2, ret.result3 3417 } 3418 fakeReturns := fake.getApplicationRoutesReturns 3419 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3420 } 3421 3422 func (fake *FakeCloudControllerClient) GetApplicationRoutesCallCount() int { 3423 fake.getApplicationRoutesMutex.RLock() 3424 defer fake.getApplicationRoutesMutex.RUnlock() 3425 return len(fake.getApplicationRoutesArgsForCall) 3426 } 3427 3428 func (fake *FakeCloudControllerClient) GetApplicationRoutesCalls(stub func(string, ...ccv2.Filter) ([]ccv2.Route, ccv2.Warnings, error)) { 3429 fake.getApplicationRoutesMutex.Lock() 3430 defer fake.getApplicationRoutesMutex.Unlock() 3431 fake.GetApplicationRoutesStub = stub 3432 } 3433 3434 func (fake *FakeCloudControllerClient) GetApplicationRoutesArgsForCall(i int) (string, []ccv2.Filter) { 3435 fake.getApplicationRoutesMutex.RLock() 3436 defer fake.getApplicationRoutesMutex.RUnlock() 3437 argsForCall := fake.getApplicationRoutesArgsForCall[i] 3438 return argsForCall.arg1, argsForCall.arg2 3439 } 3440 3441 func (fake *FakeCloudControllerClient) GetApplicationRoutesReturns(result1 []ccv2.Route, result2 ccv2.Warnings, result3 error) { 3442 fake.getApplicationRoutesMutex.Lock() 3443 defer fake.getApplicationRoutesMutex.Unlock() 3444 fake.GetApplicationRoutesStub = nil 3445 fake.getApplicationRoutesReturns = struct { 3446 result1 []ccv2.Route 3447 result2 ccv2.Warnings 3448 result3 error 3449 }{result1, result2, result3} 3450 } 3451 3452 func (fake *FakeCloudControllerClient) GetApplicationRoutesReturnsOnCall(i int, result1 []ccv2.Route, result2 ccv2.Warnings, result3 error) { 3453 fake.getApplicationRoutesMutex.Lock() 3454 defer fake.getApplicationRoutesMutex.Unlock() 3455 fake.GetApplicationRoutesStub = nil 3456 if fake.getApplicationRoutesReturnsOnCall == nil { 3457 fake.getApplicationRoutesReturnsOnCall = make(map[int]struct { 3458 result1 []ccv2.Route 3459 result2 ccv2.Warnings 3460 result3 error 3461 }) 3462 } 3463 fake.getApplicationRoutesReturnsOnCall[i] = struct { 3464 result1 []ccv2.Route 3465 result2 ccv2.Warnings 3466 result3 error 3467 }{result1, result2, result3} 3468 } 3469 3470 func (fake *FakeCloudControllerClient) GetApplications(arg1 ...ccv2.Filter) ([]ccv2.Application, ccv2.Warnings, error) { 3471 fake.getApplicationsMutex.Lock() 3472 ret, specificReturn := fake.getApplicationsReturnsOnCall[len(fake.getApplicationsArgsForCall)] 3473 fake.getApplicationsArgsForCall = append(fake.getApplicationsArgsForCall, struct { 3474 arg1 []ccv2.Filter 3475 }{arg1}) 3476 fake.recordInvocation("GetApplications", []interface{}{arg1}) 3477 fake.getApplicationsMutex.Unlock() 3478 if fake.GetApplicationsStub != nil { 3479 return fake.GetApplicationsStub(arg1...) 3480 } 3481 if specificReturn { 3482 return ret.result1, ret.result2, ret.result3 3483 } 3484 fakeReturns := fake.getApplicationsReturns 3485 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3486 } 3487 3488 func (fake *FakeCloudControllerClient) GetApplicationsCallCount() int { 3489 fake.getApplicationsMutex.RLock() 3490 defer fake.getApplicationsMutex.RUnlock() 3491 return len(fake.getApplicationsArgsForCall) 3492 } 3493 3494 func (fake *FakeCloudControllerClient) GetApplicationsCalls(stub func(...ccv2.Filter) ([]ccv2.Application, ccv2.Warnings, error)) { 3495 fake.getApplicationsMutex.Lock() 3496 defer fake.getApplicationsMutex.Unlock() 3497 fake.GetApplicationsStub = stub 3498 } 3499 3500 func (fake *FakeCloudControllerClient) GetApplicationsArgsForCall(i int) []ccv2.Filter { 3501 fake.getApplicationsMutex.RLock() 3502 defer fake.getApplicationsMutex.RUnlock() 3503 argsForCall := fake.getApplicationsArgsForCall[i] 3504 return argsForCall.arg1 3505 } 3506 3507 func (fake *FakeCloudControllerClient) GetApplicationsReturns(result1 []ccv2.Application, result2 ccv2.Warnings, result3 error) { 3508 fake.getApplicationsMutex.Lock() 3509 defer fake.getApplicationsMutex.Unlock() 3510 fake.GetApplicationsStub = nil 3511 fake.getApplicationsReturns = struct { 3512 result1 []ccv2.Application 3513 result2 ccv2.Warnings 3514 result3 error 3515 }{result1, result2, result3} 3516 } 3517 3518 func (fake *FakeCloudControllerClient) GetApplicationsReturnsOnCall(i int, result1 []ccv2.Application, result2 ccv2.Warnings, result3 error) { 3519 fake.getApplicationsMutex.Lock() 3520 defer fake.getApplicationsMutex.Unlock() 3521 fake.GetApplicationsStub = nil 3522 if fake.getApplicationsReturnsOnCall == nil { 3523 fake.getApplicationsReturnsOnCall = make(map[int]struct { 3524 result1 []ccv2.Application 3525 result2 ccv2.Warnings 3526 result3 error 3527 }) 3528 } 3529 fake.getApplicationsReturnsOnCall[i] = struct { 3530 result1 []ccv2.Application 3531 result2 ccv2.Warnings 3532 result3 error 3533 }{result1, result2, result3} 3534 } 3535 3536 func (fake *FakeCloudControllerClient) GetBuildpacks(arg1 ...ccv2.Filter) ([]ccv2.Buildpack, ccv2.Warnings, error) { 3537 fake.getBuildpacksMutex.Lock() 3538 ret, specificReturn := fake.getBuildpacksReturnsOnCall[len(fake.getBuildpacksArgsForCall)] 3539 fake.getBuildpacksArgsForCall = append(fake.getBuildpacksArgsForCall, struct { 3540 arg1 []ccv2.Filter 3541 }{arg1}) 3542 fake.recordInvocation("GetBuildpacks", []interface{}{arg1}) 3543 fake.getBuildpacksMutex.Unlock() 3544 if fake.GetBuildpacksStub != nil { 3545 return fake.GetBuildpacksStub(arg1...) 3546 } 3547 if specificReturn { 3548 return ret.result1, ret.result2, ret.result3 3549 } 3550 fakeReturns := fake.getBuildpacksReturns 3551 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3552 } 3553 3554 func (fake *FakeCloudControllerClient) GetBuildpacksCallCount() int { 3555 fake.getBuildpacksMutex.RLock() 3556 defer fake.getBuildpacksMutex.RUnlock() 3557 return len(fake.getBuildpacksArgsForCall) 3558 } 3559 3560 func (fake *FakeCloudControllerClient) GetBuildpacksCalls(stub func(...ccv2.Filter) ([]ccv2.Buildpack, ccv2.Warnings, error)) { 3561 fake.getBuildpacksMutex.Lock() 3562 defer fake.getBuildpacksMutex.Unlock() 3563 fake.GetBuildpacksStub = stub 3564 } 3565 3566 func (fake *FakeCloudControllerClient) GetBuildpacksArgsForCall(i int) []ccv2.Filter { 3567 fake.getBuildpacksMutex.RLock() 3568 defer fake.getBuildpacksMutex.RUnlock() 3569 argsForCall := fake.getBuildpacksArgsForCall[i] 3570 return argsForCall.arg1 3571 } 3572 3573 func (fake *FakeCloudControllerClient) GetBuildpacksReturns(result1 []ccv2.Buildpack, result2 ccv2.Warnings, result3 error) { 3574 fake.getBuildpacksMutex.Lock() 3575 defer fake.getBuildpacksMutex.Unlock() 3576 fake.GetBuildpacksStub = nil 3577 fake.getBuildpacksReturns = struct { 3578 result1 []ccv2.Buildpack 3579 result2 ccv2.Warnings 3580 result3 error 3581 }{result1, result2, result3} 3582 } 3583 3584 func (fake *FakeCloudControllerClient) GetBuildpacksReturnsOnCall(i int, result1 []ccv2.Buildpack, result2 ccv2.Warnings, result3 error) { 3585 fake.getBuildpacksMutex.Lock() 3586 defer fake.getBuildpacksMutex.Unlock() 3587 fake.GetBuildpacksStub = nil 3588 if fake.getBuildpacksReturnsOnCall == nil { 3589 fake.getBuildpacksReturnsOnCall = make(map[int]struct { 3590 result1 []ccv2.Buildpack 3591 result2 ccv2.Warnings 3592 result3 error 3593 }) 3594 } 3595 fake.getBuildpacksReturnsOnCall[i] = struct { 3596 result1 []ccv2.Buildpack 3597 result2 ccv2.Warnings 3598 result3 error 3599 }{result1, result2, result3} 3600 } 3601 3602 func (fake *FakeCloudControllerClient) GetConfigFeatureFlags() ([]ccv2.FeatureFlag, ccv2.Warnings, error) { 3603 fake.getConfigFeatureFlagsMutex.Lock() 3604 ret, specificReturn := fake.getConfigFeatureFlagsReturnsOnCall[len(fake.getConfigFeatureFlagsArgsForCall)] 3605 fake.getConfigFeatureFlagsArgsForCall = append(fake.getConfigFeatureFlagsArgsForCall, struct { 3606 }{}) 3607 fake.recordInvocation("GetConfigFeatureFlags", []interface{}{}) 3608 fake.getConfigFeatureFlagsMutex.Unlock() 3609 if fake.GetConfigFeatureFlagsStub != nil { 3610 return fake.GetConfigFeatureFlagsStub() 3611 } 3612 if specificReturn { 3613 return ret.result1, ret.result2, ret.result3 3614 } 3615 fakeReturns := fake.getConfigFeatureFlagsReturns 3616 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3617 } 3618 3619 func (fake *FakeCloudControllerClient) GetConfigFeatureFlagsCallCount() int { 3620 fake.getConfigFeatureFlagsMutex.RLock() 3621 defer fake.getConfigFeatureFlagsMutex.RUnlock() 3622 return len(fake.getConfigFeatureFlagsArgsForCall) 3623 } 3624 3625 func (fake *FakeCloudControllerClient) GetConfigFeatureFlagsCalls(stub func() ([]ccv2.FeatureFlag, ccv2.Warnings, error)) { 3626 fake.getConfigFeatureFlagsMutex.Lock() 3627 defer fake.getConfigFeatureFlagsMutex.Unlock() 3628 fake.GetConfigFeatureFlagsStub = stub 3629 } 3630 3631 func (fake *FakeCloudControllerClient) GetConfigFeatureFlagsReturns(result1 []ccv2.FeatureFlag, result2 ccv2.Warnings, result3 error) { 3632 fake.getConfigFeatureFlagsMutex.Lock() 3633 defer fake.getConfigFeatureFlagsMutex.Unlock() 3634 fake.GetConfigFeatureFlagsStub = nil 3635 fake.getConfigFeatureFlagsReturns = struct { 3636 result1 []ccv2.FeatureFlag 3637 result2 ccv2.Warnings 3638 result3 error 3639 }{result1, result2, result3} 3640 } 3641 3642 func (fake *FakeCloudControllerClient) GetConfigFeatureFlagsReturnsOnCall(i int, result1 []ccv2.FeatureFlag, result2 ccv2.Warnings, result3 error) { 3643 fake.getConfigFeatureFlagsMutex.Lock() 3644 defer fake.getConfigFeatureFlagsMutex.Unlock() 3645 fake.GetConfigFeatureFlagsStub = nil 3646 if fake.getConfigFeatureFlagsReturnsOnCall == nil { 3647 fake.getConfigFeatureFlagsReturnsOnCall = make(map[int]struct { 3648 result1 []ccv2.FeatureFlag 3649 result2 ccv2.Warnings 3650 result3 error 3651 }) 3652 } 3653 fake.getConfigFeatureFlagsReturnsOnCall[i] = struct { 3654 result1 []ccv2.FeatureFlag 3655 result2 ccv2.Warnings 3656 result3 error 3657 }{result1, result2, result3} 3658 } 3659 3660 func (fake *FakeCloudControllerClient) GetJob(arg1 string) (ccv2.Job, ccv2.Warnings, error) { 3661 fake.getJobMutex.Lock() 3662 ret, specificReturn := fake.getJobReturnsOnCall[len(fake.getJobArgsForCall)] 3663 fake.getJobArgsForCall = append(fake.getJobArgsForCall, struct { 3664 arg1 string 3665 }{arg1}) 3666 fake.recordInvocation("GetJob", []interface{}{arg1}) 3667 fake.getJobMutex.Unlock() 3668 if fake.GetJobStub != nil { 3669 return fake.GetJobStub(arg1) 3670 } 3671 if specificReturn { 3672 return ret.result1, ret.result2, ret.result3 3673 } 3674 fakeReturns := fake.getJobReturns 3675 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3676 } 3677 3678 func (fake *FakeCloudControllerClient) GetJobCallCount() int { 3679 fake.getJobMutex.RLock() 3680 defer fake.getJobMutex.RUnlock() 3681 return len(fake.getJobArgsForCall) 3682 } 3683 3684 func (fake *FakeCloudControllerClient) GetJobCalls(stub func(string) (ccv2.Job, ccv2.Warnings, error)) { 3685 fake.getJobMutex.Lock() 3686 defer fake.getJobMutex.Unlock() 3687 fake.GetJobStub = stub 3688 } 3689 3690 func (fake *FakeCloudControllerClient) GetJobArgsForCall(i int) string { 3691 fake.getJobMutex.RLock() 3692 defer fake.getJobMutex.RUnlock() 3693 argsForCall := fake.getJobArgsForCall[i] 3694 return argsForCall.arg1 3695 } 3696 3697 func (fake *FakeCloudControllerClient) GetJobReturns(result1 ccv2.Job, result2 ccv2.Warnings, result3 error) { 3698 fake.getJobMutex.Lock() 3699 defer fake.getJobMutex.Unlock() 3700 fake.GetJobStub = nil 3701 fake.getJobReturns = struct { 3702 result1 ccv2.Job 3703 result2 ccv2.Warnings 3704 result3 error 3705 }{result1, result2, result3} 3706 } 3707 3708 func (fake *FakeCloudControllerClient) GetJobReturnsOnCall(i int, result1 ccv2.Job, result2 ccv2.Warnings, result3 error) { 3709 fake.getJobMutex.Lock() 3710 defer fake.getJobMutex.Unlock() 3711 fake.GetJobStub = nil 3712 if fake.getJobReturnsOnCall == nil { 3713 fake.getJobReturnsOnCall = make(map[int]struct { 3714 result1 ccv2.Job 3715 result2 ccv2.Warnings 3716 result3 error 3717 }) 3718 } 3719 fake.getJobReturnsOnCall[i] = struct { 3720 result1 ccv2.Job 3721 result2 ccv2.Warnings 3722 result3 error 3723 }{result1, result2, result3} 3724 } 3725 3726 func (fake *FakeCloudControllerClient) GetOrganization(arg1 string) (ccv2.Organization, ccv2.Warnings, error) { 3727 fake.getOrganizationMutex.Lock() 3728 ret, specificReturn := fake.getOrganizationReturnsOnCall[len(fake.getOrganizationArgsForCall)] 3729 fake.getOrganizationArgsForCall = append(fake.getOrganizationArgsForCall, struct { 3730 arg1 string 3731 }{arg1}) 3732 fake.recordInvocation("GetOrganization", []interface{}{arg1}) 3733 fake.getOrganizationMutex.Unlock() 3734 if fake.GetOrganizationStub != nil { 3735 return fake.GetOrganizationStub(arg1) 3736 } 3737 if specificReturn { 3738 return ret.result1, ret.result2, ret.result3 3739 } 3740 fakeReturns := fake.getOrganizationReturns 3741 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3742 } 3743 3744 func (fake *FakeCloudControllerClient) GetOrganizationCallCount() int { 3745 fake.getOrganizationMutex.RLock() 3746 defer fake.getOrganizationMutex.RUnlock() 3747 return len(fake.getOrganizationArgsForCall) 3748 } 3749 3750 func (fake *FakeCloudControllerClient) GetOrganizationCalls(stub func(string) (ccv2.Organization, ccv2.Warnings, error)) { 3751 fake.getOrganizationMutex.Lock() 3752 defer fake.getOrganizationMutex.Unlock() 3753 fake.GetOrganizationStub = stub 3754 } 3755 3756 func (fake *FakeCloudControllerClient) GetOrganizationArgsForCall(i int) string { 3757 fake.getOrganizationMutex.RLock() 3758 defer fake.getOrganizationMutex.RUnlock() 3759 argsForCall := fake.getOrganizationArgsForCall[i] 3760 return argsForCall.arg1 3761 } 3762 3763 func (fake *FakeCloudControllerClient) GetOrganizationReturns(result1 ccv2.Organization, result2 ccv2.Warnings, result3 error) { 3764 fake.getOrganizationMutex.Lock() 3765 defer fake.getOrganizationMutex.Unlock() 3766 fake.GetOrganizationStub = nil 3767 fake.getOrganizationReturns = struct { 3768 result1 ccv2.Organization 3769 result2 ccv2.Warnings 3770 result3 error 3771 }{result1, result2, result3} 3772 } 3773 3774 func (fake *FakeCloudControllerClient) GetOrganizationReturnsOnCall(i int, result1 ccv2.Organization, result2 ccv2.Warnings, result3 error) { 3775 fake.getOrganizationMutex.Lock() 3776 defer fake.getOrganizationMutex.Unlock() 3777 fake.GetOrganizationStub = nil 3778 if fake.getOrganizationReturnsOnCall == nil { 3779 fake.getOrganizationReturnsOnCall = make(map[int]struct { 3780 result1 ccv2.Organization 3781 result2 ccv2.Warnings 3782 result3 error 3783 }) 3784 } 3785 fake.getOrganizationReturnsOnCall[i] = struct { 3786 result1 ccv2.Organization 3787 result2 ccv2.Warnings 3788 result3 error 3789 }{result1, result2, result3} 3790 } 3791 3792 func (fake *FakeCloudControllerClient) GetOrganizationPrivateDomains(arg1 string, arg2 ...ccv2.Filter) ([]ccv2.Domain, ccv2.Warnings, error) { 3793 fake.getOrganizationPrivateDomainsMutex.Lock() 3794 ret, specificReturn := fake.getOrganizationPrivateDomainsReturnsOnCall[len(fake.getOrganizationPrivateDomainsArgsForCall)] 3795 fake.getOrganizationPrivateDomainsArgsForCall = append(fake.getOrganizationPrivateDomainsArgsForCall, struct { 3796 arg1 string 3797 arg2 []ccv2.Filter 3798 }{arg1, arg2}) 3799 fake.recordInvocation("GetOrganizationPrivateDomains", []interface{}{arg1, arg2}) 3800 fake.getOrganizationPrivateDomainsMutex.Unlock() 3801 if fake.GetOrganizationPrivateDomainsStub != nil { 3802 return fake.GetOrganizationPrivateDomainsStub(arg1, arg2...) 3803 } 3804 if specificReturn { 3805 return ret.result1, ret.result2, ret.result3 3806 } 3807 fakeReturns := fake.getOrganizationPrivateDomainsReturns 3808 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3809 } 3810 3811 func (fake *FakeCloudControllerClient) GetOrganizationPrivateDomainsCallCount() int { 3812 fake.getOrganizationPrivateDomainsMutex.RLock() 3813 defer fake.getOrganizationPrivateDomainsMutex.RUnlock() 3814 return len(fake.getOrganizationPrivateDomainsArgsForCall) 3815 } 3816 3817 func (fake *FakeCloudControllerClient) GetOrganizationPrivateDomainsCalls(stub func(string, ...ccv2.Filter) ([]ccv2.Domain, ccv2.Warnings, error)) { 3818 fake.getOrganizationPrivateDomainsMutex.Lock() 3819 defer fake.getOrganizationPrivateDomainsMutex.Unlock() 3820 fake.GetOrganizationPrivateDomainsStub = stub 3821 } 3822 3823 func (fake *FakeCloudControllerClient) GetOrganizationPrivateDomainsArgsForCall(i int) (string, []ccv2.Filter) { 3824 fake.getOrganizationPrivateDomainsMutex.RLock() 3825 defer fake.getOrganizationPrivateDomainsMutex.RUnlock() 3826 argsForCall := fake.getOrganizationPrivateDomainsArgsForCall[i] 3827 return argsForCall.arg1, argsForCall.arg2 3828 } 3829 3830 func (fake *FakeCloudControllerClient) GetOrganizationPrivateDomainsReturns(result1 []ccv2.Domain, result2 ccv2.Warnings, result3 error) { 3831 fake.getOrganizationPrivateDomainsMutex.Lock() 3832 defer fake.getOrganizationPrivateDomainsMutex.Unlock() 3833 fake.GetOrganizationPrivateDomainsStub = nil 3834 fake.getOrganizationPrivateDomainsReturns = struct { 3835 result1 []ccv2.Domain 3836 result2 ccv2.Warnings 3837 result3 error 3838 }{result1, result2, result3} 3839 } 3840 3841 func (fake *FakeCloudControllerClient) GetOrganizationPrivateDomainsReturnsOnCall(i int, result1 []ccv2.Domain, result2 ccv2.Warnings, result3 error) { 3842 fake.getOrganizationPrivateDomainsMutex.Lock() 3843 defer fake.getOrganizationPrivateDomainsMutex.Unlock() 3844 fake.GetOrganizationPrivateDomainsStub = nil 3845 if fake.getOrganizationPrivateDomainsReturnsOnCall == nil { 3846 fake.getOrganizationPrivateDomainsReturnsOnCall = make(map[int]struct { 3847 result1 []ccv2.Domain 3848 result2 ccv2.Warnings 3849 result3 error 3850 }) 3851 } 3852 fake.getOrganizationPrivateDomainsReturnsOnCall[i] = struct { 3853 result1 []ccv2.Domain 3854 result2 ccv2.Warnings 3855 result3 error 3856 }{result1, result2, result3} 3857 } 3858 3859 func (fake *FakeCloudControllerClient) GetOrganizationQuota(arg1 string) (ccv2.OrganizationQuota, ccv2.Warnings, error) { 3860 fake.getOrganizationQuotaMutex.Lock() 3861 ret, specificReturn := fake.getOrganizationQuotaReturnsOnCall[len(fake.getOrganizationQuotaArgsForCall)] 3862 fake.getOrganizationQuotaArgsForCall = append(fake.getOrganizationQuotaArgsForCall, struct { 3863 arg1 string 3864 }{arg1}) 3865 fake.recordInvocation("GetOrganizationQuota", []interface{}{arg1}) 3866 fake.getOrganizationQuotaMutex.Unlock() 3867 if fake.GetOrganizationQuotaStub != nil { 3868 return fake.GetOrganizationQuotaStub(arg1) 3869 } 3870 if specificReturn { 3871 return ret.result1, ret.result2, ret.result3 3872 } 3873 fakeReturns := fake.getOrganizationQuotaReturns 3874 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3875 } 3876 3877 func (fake *FakeCloudControllerClient) GetOrganizationQuotaCallCount() int { 3878 fake.getOrganizationQuotaMutex.RLock() 3879 defer fake.getOrganizationQuotaMutex.RUnlock() 3880 return len(fake.getOrganizationQuotaArgsForCall) 3881 } 3882 3883 func (fake *FakeCloudControllerClient) GetOrganizationQuotaCalls(stub func(string) (ccv2.OrganizationQuota, ccv2.Warnings, error)) { 3884 fake.getOrganizationQuotaMutex.Lock() 3885 defer fake.getOrganizationQuotaMutex.Unlock() 3886 fake.GetOrganizationQuotaStub = stub 3887 } 3888 3889 func (fake *FakeCloudControllerClient) GetOrganizationQuotaArgsForCall(i int) string { 3890 fake.getOrganizationQuotaMutex.RLock() 3891 defer fake.getOrganizationQuotaMutex.RUnlock() 3892 argsForCall := fake.getOrganizationQuotaArgsForCall[i] 3893 return argsForCall.arg1 3894 } 3895 3896 func (fake *FakeCloudControllerClient) GetOrganizationQuotaReturns(result1 ccv2.OrganizationQuota, result2 ccv2.Warnings, result3 error) { 3897 fake.getOrganizationQuotaMutex.Lock() 3898 defer fake.getOrganizationQuotaMutex.Unlock() 3899 fake.GetOrganizationQuotaStub = nil 3900 fake.getOrganizationQuotaReturns = struct { 3901 result1 ccv2.OrganizationQuota 3902 result2 ccv2.Warnings 3903 result3 error 3904 }{result1, result2, result3} 3905 } 3906 3907 func (fake *FakeCloudControllerClient) GetOrganizationQuotaReturnsOnCall(i int, result1 ccv2.OrganizationQuota, result2 ccv2.Warnings, result3 error) { 3908 fake.getOrganizationQuotaMutex.Lock() 3909 defer fake.getOrganizationQuotaMutex.Unlock() 3910 fake.GetOrganizationQuotaStub = nil 3911 if fake.getOrganizationQuotaReturnsOnCall == nil { 3912 fake.getOrganizationQuotaReturnsOnCall = make(map[int]struct { 3913 result1 ccv2.OrganizationQuota 3914 result2 ccv2.Warnings 3915 result3 error 3916 }) 3917 } 3918 fake.getOrganizationQuotaReturnsOnCall[i] = struct { 3919 result1 ccv2.OrganizationQuota 3920 result2 ccv2.Warnings 3921 result3 error 3922 }{result1, result2, result3} 3923 } 3924 3925 func (fake *FakeCloudControllerClient) GetOrganizationQuotas(arg1 ...ccv2.Filter) ([]ccv2.OrganizationQuota, ccv2.Warnings, error) { 3926 fake.getOrganizationQuotasMutex.Lock() 3927 ret, specificReturn := fake.getOrganizationQuotasReturnsOnCall[len(fake.getOrganizationQuotasArgsForCall)] 3928 fake.getOrganizationQuotasArgsForCall = append(fake.getOrganizationQuotasArgsForCall, struct { 3929 arg1 []ccv2.Filter 3930 }{arg1}) 3931 fake.recordInvocation("GetOrganizationQuotas", []interface{}{arg1}) 3932 fake.getOrganizationQuotasMutex.Unlock() 3933 if fake.GetOrganizationQuotasStub != nil { 3934 return fake.GetOrganizationQuotasStub(arg1...) 3935 } 3936 if specificReturn { 3937 return ret.result1, ret.result2, ret.result3 3938 } 3939 fakeReturns := fake.getOrganizationQuotasReturns 3940 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3941 } 3942 3943 func (fake *FakeCloudControllerClient) GetOrganizationQuotasCallCount() int { 3944 fake.getOrganizationQuotasMutex.RLock() 3945 defer fake.getOrganizationQuotasMutex.RUnlock() 3946 return len(fake.getOrganizationQuotasArgsForCall) 3947 } 3948 3949 func (fake *FakeCloudControllerClient) GetOrganizationQuotasCalls(stub func(...ccv2.Filter) ([]ccv2.OrganizationQuota, ccv2.Warnings, error)) { 3950 fake.getOrganizationQuotasMutex.Lock() 3951 defer fake.getOrganizationQuotasMutex.Unlock() 3952 fake.GetOrganizationQuotasStub = stub 3953 } 3954 3955 func (fake *FakeCloudControllerClient) GetOrganizationQuotasArgsForCall(i int) []ccv2.Filter { 3956 fake.getOrganizationQuotasMutex.RLock() 3957 defer fake.getOrganizationQuotasMutex.RUnlock() 3958 argsForCall := fake.getOrganizationQuotasArgsForCall[i] 3959 return argsForCall.arg1 3960 } 3961 3962 func (fake *FakeCloudControllerClient) GetOrganizationQuotasReturns(result1 []ccv2.OrganizationQuota, result2 ccv2.Warnings, result3 error) { 3963 fake.getOrganizationQuotasMutex.Lock() 3964 defer fake.getOrganizationQuotasMutex.Unlock() 3965 fake.GetOrganizationQuotasStub = nil 3966 fake.getOrganizationQuotasReturns = struct { 3967 result1 []ccv2.OrganizationQuota 3968 result2 ccv2.Warnings 3969 result3 error 3970 }{result1, result2, result3} 3971 } 3972 3973 func (fake *FakeCloudControllerClient) GetOrganizationQuotasReturnsOnCall(i int, result1 []ccv2.OrganizationQuota, result2 ccv2.Warnings, result3 error) { 3974 fake.getOrganizationQuotasMutex.Lock() 3975 defer fake.getOrganizationQuotasMutex.Unlock() 3976 fake.GetOrganizationQuotasStub = nil 3977 if fake.getOrganizationQuotasReturnsOnCall == nil { 3978 fake.getOrganizationQuotasReturnsOnCall = make(map[int]struct { 3979 result1 []ccv2.OrganizationQuota 3980 result2 ccv2.Warnings 3981 result3 error 3982 }) 3983 } 3984 fake.getOrganizationQuotasReturnsOnCall[i] = struct { 3985 result1 []ccv2.OrganizationQuota 3986 result2 ccv2.Warnings 3987 result3 error 3988 }{result1, result2, result3} 3989 } 3990 3991 func (fake *FakeCloudControllerClient) GetOrganizations(arg1 ...ccv2.Filter) ([]ccv2.Organization, ccv2.Warnings, error) { 3992 fake.getOrganizationsMutex.Lock() 3993 ret, specificReturn := fake.getOrganizationsReturnsOnCall[len(fake.getOrganizationsArgsForCall)] 3994 fake.getOrganizationsArgsForCall = append(fake.getOrganizationsArgsForCall, struct { 3995 arg1 []ccv2.Filter 3996 }{arg1}) 3997 fake.recordInvocation("GetOrganizations", []interface{}{arg1}) 3998 fake.getOrganizationsMutex.Unlock() 3999 if fake.GetOrganizationsStub != nil { 4000 return fake.GetOrganizationsStub(arg1...) 4001 } 4002 if specificReturn { 4003 return ret.result1, ret.result2, ret.result3 4004 } 4005 fakeReturns := fake.getOrganizationsReturns 4006 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4007 } 4008 4009 func (fake *FakeCloudControllerClient) GetOrganizationsCallCount() int { 4010 fake.getOrganizationsMutex.RLock() 4011 defer fake.getOrganizationsMutex.RUnlock() 4012 return len(fake.getOrganizationsArgsForCall) 4013 } 4014 4015 func (fake *FakeCloudControllerClient) GetOrganizationsCalls(stub func(...ccv2.Filter) ([]ccv2.Organization, ccv2.Warnings, error)) { 4016 fake.getOrganizationsMutex.Lock() 4017 defer fake.getOrganizationsMutex.Unlock() 4018 fake.GetOrganizationsStub = stub 4019 } 4020 4021 func (fake *FakeCloudControllerClient) GetOrganizationsArgsForCall(i int) []ccv2.Filter { 4022 fake.getOrganizationsMutex.RLock() 4023 defer fake.getOrganizationsMutex.RUnlock() 4024 argsForCall := fake.getOrganizationsArgsForCall[i] 4025 return argsForCall.arg1 4026 } 4027 4028 func (fake *FakeCloudControllerClient) GetOrganizationsReturns(result1 []ccv2.Organization, result2 ccv2.Warnings, result3 error) { 4029 fake.getOrganizationsMutex.Lock() 4030 defer fake.getOrganizationsMutex.Unlock() 4031 fake.GetOrganizationsStub = nil 4032 fake.getOrganizationsReturns = struct { 4033 result1 []ccv2.Organization 4034 result2 ccv2.Warnings 4035 result3 error 4036 }{result1, result2, result3} 4037 } 4038 4039 func (fake *FakeCloudControllerClient) GetOrganizationsReturnsOnCall(i int, result1 []ccv2.Organization, result2 ccv2.Warnings, result3 error) { 4040 fake.getOrganizationsMutex.Lock() 4041 defer fake.getOrganizationsMutex.Unlock() 4042 fake.GetOrganizationsStub = nil 4043 if fake.getOrganizationsReturnsOnCall == nil { 4044 fake.getOrganizationsReturnsOnCall = make(map[int]struct { 4045 result1 []ccv2.Organization 4046 result2 ccv2.Warnings 4047 result3 error 4048 }) 4049 } 4050 fake.getOrganizationsReturnsOnCall[i] = struct { 4051 result1 []ccv2.Organization 4052 result2 ccv2.Warnings 4053 result3 error 4054 }{result1, result2, result3} 4055 } 4056 4057 func (fake *FakeCloudControllerClient) GetPrivateDomain(arg1 string) (ccv2.Domain, ccv2.Warnings, error) { 4058 fake.getPrivateDomainMutex.Lock() 4059 ret, specificReturn := fake.getPrivateDomainReturnsOnCall[len(fake.getPrivateDomainArgsForCall)] 4060 fake.getPrivateDomainArgsForCall = append(fake.getPrivateDomainArgsForCall, struct { 4061 arg1 string 4062 }{arg1}) 4063 fake.recordInvocation("GetPrivateDomain", []interface{}{arg1}) 4064 fake.getPrivateDomainMutex.Unlock() 4065 if fake.GetPrivateDomainStub != nil { 4066 return fake.GetPrivateDomainStub(arg1) 4067 } 4068 if specificReturn { 4069 return ret.result1, ret.result2, ret.result3 4070 } 4071 fakeReturns := fake.getPrivateDomainReturns 4072 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4073 } 4074 4075 func (fake *FakeCloudControllerClient) GetPrivateDomainCallCount() int { 4076 fake.getPrivateDomainMutex.RLock() 4077 defer fake.getPrivateDomainMutex.RUnlock() 4078 return len(fake.getPrivateDomainArgsForCall) 4079 } 4080 4081 func (fake *FakeCloudControllerClient) GetPrivateDomainCalls(stub func(string) (ccv2.Domain, ccv2.Warnings, error)) { 4082 fake.getPrivateDomainMutex.Lock() 4083 defer fake.getPrivateDomainMutex.Unlock() 4084 fake.GetPrivateDomainStub = stub 4085 } 4086 4087 func (fake *FakeCloudControllerClient) GetPrivateDomainArgsForCall(i int) string { 4088 fake.getPrivateDomainMutex.RLock() 4089 defer fake.getPrivateDomainMutex.RUnlock() 4090 argsForCall := fake.getPrivateDomainArgsForCall[i] 4091 return argsForCall.arg1 4092 } 4093 4094 func (fake *FakeCloudControllerClient) GetPrivateDomainReturns(result1 ccv2.Domain, result2 ccv2.Warnings, result3 error) { 4095 fake.getPrivateDomainMutex.Lock() 4096 defer fake.getPrivateDomainMutex.Unlock() 4097 fake.GetPrivateDomainStub = nil 4098 fake.getPrivateDomainReturns = struct { 4099 result1 ccv2.Domain 4100 result2 ccv2.Warnings 4101 result3 error 4102 }{result1, result2, result3} 4103 } 4104 4105 func (fake *FakeCloudControllerClient) GetPrivateDomainReturnsOnCall(i int, result1 ccv2.Domain, result2 ccv2.Warnings, result3 error) { 4106 fake.getPrivateDomainMutex.Lock() 4107 defer fake.getPrivateDomainMutex.Unlock() 4108 fake.GetPrivateDomainStub = nil 4109 if fake.getPrivateDomainReturnsOnCall == nil { 4110 fake.getPrivateDomainReturnsOnCall = make(map[int]struct { 4111 result1 ccv2.Domain 4112 result2 ccv2.Warnings 4113 result3 error 4114 }) 4115 } 4116 fake.getPrivateDomainReturnsOnCall[i] = struct { 4117 result1 ccv2.Domain 4118 result2 ccv2.Warnings 4119 result3 error 4120 }{result1, result2, result3} 4121 } 4122 4123 func (fake *FakeCloudControllerClient) GetRouteApplications(arg1 string, arg2 ...ccv2.Filter) ([]ccv2.Application, ccv2.Warnings, error) { 4124 fake.getRouteApplicationsMutex.Lock() 4125 ret, specificReturn := fake.getRouteApplicationsReturnsOnCall[len(fake.getRouteApplicationsArgsForCall)] 4126 fake.getRouteApplicationsArgsForCall = append(fake.getRouteApplicationsArgsForCall, struct { 4127 arg1 string 4128 arg2 []ccv2.Filter 4129 }{arg1, arg2}) 4130 fake.recordInvocation("GetRouteApplications", []interface{}{arg1, arg2}) 4131 fake.getRouteApplicationsMutex.Unlock() 4132 if fake.GetRouteApplicationsStub != nil { 4133 return fake.GetRouteApplicationsStub(arg1, arg2...) 4134 } 4135 if specificReturn { 4136 return ret.result1, ret.result2, ret.result3 4137 } 4138 fakeReturns := fake.getRouteApplicationsReturns 4139 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4140 } 4141 4142 func (fake *FakeCloudControllerClient) GetRouteApplicationsCallCount() int { 4143 fake.getRouteApplicationsMutex.RLock() 4144 defer fake.getRouteApplicationsMutex.RUnlock() 4145 return len(fake.getRouteApplicationsArgsForCall) 4146 } 4147 4148 func (fake *FakeCloudControllerClient) GetRouteApplicationsCalls(stub func(string, ...ccv2.Filter) ([]ccv2.Application, ccv2.Warnings, error)) { 4149 fake.getRouteApplicationsMutex.Lock() 4150 defer fake.getRouteApplicationsMutex.Unlock() 4151 fake.GetRouteApplicationsStub = stub 4152 } 4153 4154 func (fake *FakeCloudControllerClient) GetRouteApplicationsArgsForCall(i int) (string, []ccv2.Filter) { 4155 fake.getRouteApplicationsMutex.RLock() 4156 defer fake.getRouteApplicationsMutex.RUnlock() 4157 argsForCall := fake.getRouteApplicationsArgsForCall[i] 4158 return argsForCall.arg1, argsForCall.arg2 4159 } 4160 4161 func (fake *FakeCloudControllerClient) GetRouteApplicationsReturns(result1 []ccv2.Application, result2 ccv2.Warnings, result3 error) { 4162 fake.getRouteApplicationsMutex.Lock() 4163 defer fake.getRouteApplicationsMutex.Unlock() 4164 fake.GetRouteApplicationsStub = nil 4165 fake.getRouteApplicationsReturns = struct { 4166 result1 []ccv2.Application 4167 result2 ccv2.Warnings 4168 result3 error 4169 }{result1, result2, result3} 4170 } 4171 4172 func (fake *FakeCloudControllerClient) GetRouteApplicationsReturnsOnCall(i int, result1 []ccv2.Application, result2 ccv2.Warnings, result3 error) { 4173 fake.getRouteApplicationsMutex.Lock() 4174 defer fake.getRouteApplicationsMutex.Unlock() 4175 fake.GetRouteApplicationsStub = nil 4176 if fake.getRouteApplicationsReturnsOnCall == nil { 4177 fake.getRouteApplicationsReturnsOnCall = make(map[int]struct { 4178 result1 []ccv2.Application 4179 result2 ccv2.Warnings 4180 result3 error 4181 }) 4182 } 4183 fake.getRouteApplicationsReturnsOnCall[i] = struct { 4184 result1 []ccv2.Application 4185 result2 ccv2.Warnings 4186 result3 error 4187 }{result1, result2, result3} 4188 } 4189 4190 func (fake *FakeCloudControllerClient) GetRoutes(arg1 ...ccv2.Filter) ([]ccv2.Route, ccv2.Warnings, error) { 4191 fake.getRoutesMutex.Lock() 4192 ret, specificReturn := fake.getRoutesReturnsOnCall[len(fake.getRoutesArgsForCall)] 4193 fake.getRoutesArgsForCall = append(fake.getRoutesArgsForCall, struct { 4194 arg1 []ccv2.Filter 4195 }{arg1}) 4196 fake.recordInvocation("GetRoutes", []interface{}{arg1}) 4197 fake.getRoutesMutex.Unlock() 4198 if fake.GetRoutesStub != nil { 4199 return fake.GetRoutesStub(arg1...) 4200 } 4201 if specificReturn { 4202 return ret.result1, ret.result2, ret.result3 4203 } 4204 fakeReturns := fake.getRoutesReturns 4205 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4206 } 4207 4208 func (fake *FakeCloudControllerClient) GetRoutesCallCount() int { 4209 fake.getRoutesMutex.RLock() 4210 defer fake.getRoutesMutex.RUnlock() 4211 return len(fake.getRoutesArgsForCall) 4212 } 4213 4214 func (fake *FakeCloudControllerClient) GetRoutesCalls(stub func(...ccv2.Filter) ([]ccv2.Route, ccv2.Warnings, error)) { 4215 fake.getRoutesMutex.Lock() 4216 defer fake.getRoutesMutex.Unlock() 4217 fake.GetRoutesStub = stub 4218 } 4219 4220 func (fake *FakeCloudControllerClient) GetRoutesArgsForCall(i int) []ccv2.Filter { 4221 fake.getRoutesMutex.RLock() 4222 defer fake.getRoutesMutex.RUnlock() 4223 argsForCall := fake.getRoutesArgsForCall[i] 4224 return argsForCall.arg1 4225 } 4226 4227 func (fake *FakeCloudControllerClient) GetRoutesReturns(result1 []ccv2.Route, result2 ccv2.Warnings, result3 error) { 4228 fake.getRoutesMutex.Lock() 4229 defer fake.getRoutesMutex.Unlock() 4230 fake.GetRoutesStub = nil 4231 fake.getRoutesReturns = struct { 4232 result1 []ccv2.Route 4233 result2 ccv2.Warnings 4234 result3 error 4235 }{result1, result2, result3} 4236 } 4237 4238 func (fake *FakeCloudControllerClient) GetRoutesReturnsOnCall(i int, result1 []ccv2.Route, result2 ccv2.Warnings, result3 error) { 4239 fake.getRoutesMutex.Lock() 4240 defer fake.getRoutesMutex.Unlock() 4241 fake.GetRoutesStub = nil 4242 if fake.getRoutesReturnsOnCall == nil { 4243 fake.getRoutesReturnsOnCall = make(map[int]struct { 4244 result1 []ccv2.Route 4245 result2 ccv2.Warnings 4246 result3 error 4247 }) 4248 } 4249 fake.getRoutesReturnsOnCall[i] = struct { 4250 result1 []ccv2.Route 4251 result2 ccv2.Warnings 4252 result3 error 4253 }{result1, result2, result3} 4254 } 4255 4256 func (fake *FakeCloudControllerClient) GetSecurityGroupSpaces(arg1 string) ([]ccv2.Space, ccv2.Warnings, error) { 4257 fake.getSecurityGroupSpacesMutex.Lock() 4258 ret, specificReturn := fake.getSecurityGroupSpacesReturnsOnCall[len(fake.getSecurityGroupSpacesArgsForCall)] 4259 fake.getSecurityGroupSpacesArgsForCall = append(fake.getSecurityGroupSpacesArgsForCall, struct { 4260 arg1 string 4261 }{arg1}) 4262 fake.recordInvocation("GetSecurityGroupSpaces", []interface{}{arg1}) 4263 fake.getSecurityGroupSpacesMutex.Unlock() 4264 if fake.GetSecurityGroupSpacesStub != nil { 4265 return fake.GetSecurityGroupSpacesStub(arg1) 4266 } 4267 if specificReturn { 4268 return ret.result1, ret.result2, ret.result3 4269 } 4270 fakeReturns := fake.getSecurityGroupSpacesReturns 4271 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4272 } 4273 4274 func (fake *FakeCloudControllerClient) GetSecurityGroupSpacesCallCount() int { 4275 fake.getSecurityGroupSpacesMutex.RLock() 4276 defer fake.getSecurityGroupSpacesMutex.RUnlock() 4277 return len(fake.getSecurityGroupSpacesArgsForCall) 4278 } 4279 4280 func (fake *FakeCloudControllerClient) GetSecurityGroupSpacesCalls(stub func(string) ([]ccv2.Space, ccv2.Warnings, error)) { 4281 fake.getSecurityGroupSpacesMutex.Lock() 4282 defer fake.getSecurityGroupSpacesMutex.Unlock() 4283 fake.GetSecurityGroupSpacesStub = stub 4284 } 4285 4286 func (fake *FakeCloudControllerClient) GetSecurityGroupSpacesArgsForCall(i int) string { 4287 fake.getSecurityGroupSpacesMutex.RLock() 4288 defer fake.getSecurityGroupSpacesMutex.RUnlock() 4289 argsForCall := fake.getSecurityGroupSpacesArgsForCall[i] 4290 return argsForCall.arg1 4291 } 4292 4293 func (fake *FakeCloudControllerClient) GetSecurityGroupSpacesReturns(result1 []ccv2.Space, result2 ccv2.Warnings, result3 error) { 4294 fake.getSecurityGroupSpacesMutex.Lock() 4295 defer fake.getSecurityGroupSpacesMutex.Unlock() 4296 fake.GetSecurityGroupSpacesStub = nil 4297 fake.getSecurityGroupSpacesReturns = struct { 4298 result1 []ccv2.Space 4299 result2 ccv2.Warnings 4300 result3 error 4301 }{result1, result2, result3} 4302 } 4303 4304 func (fake *FakeCloudControllerClient) GetSecurityGroupSpacesReturnsOnCall(i int, result1 []ccv2.Space, result2 ccv2.Warnings, result3 error) { 4305 fake.getSecurityGroupSpacesMutex.Lock() 4306 defer fake.getSecurityGroupSpacesMutex.Unlock() 4307 fake.GetSecurityGroupSpacesStub = nil 4308 if fake.getSecurityGroupSpacesReturnsOnCall == nil { 4309 fake.getSecurityGroupSpacesReturnsOnCall = make(map[int]struct { 4310 result1 []ccv2.Space 4311 result2 ccv2.Warnings 4312 result3 error 4313 }) 4314 } 4315 fake.getSecurityGroupSpacesReturnsOnCall[i] = struct { 4316 result1 []ccv2.Space 4317 result2 ccv2.Warnings 4318 result3 error 4319 }{result1, result2, result3} 4320 } 4321 4322 func (fake *FakeCloudControllerClient) GetSecurityGroupStagingSpaces(arg1 string) ([]ccv2.Space, ccv2.Warnings, error) { 4323 fake.getSecurityGroupStagingSpacesMutex.Lock() 4324 ret, specificReturn := fake.getSecurityGroupStagingSpacesReturnsOnCall[len(fake.getSecurityGroupStagingSpacesArgsForCall)] 4325 fake.getSecurityGroupStagingSpacesArgsForCall = append(fake.getSecurityGroupStagingSpacesArgsForCall, struct { 4326 arg1 string 4327 }{arg1}) 4328 fake.recordInvocation("GetSecurityGroupStagingSpaces", []interface{}{arg1}) 4329 fake.getSecurityGroupStagingSpacesMutex.Unlock() 4330 if fake.GetSecurityGroupStagingSpacesStub != nil { 4331 return fake.GetSecurityGroupStagingSpacesStub(arg1) 4332 } 4333 if specificReturn { 4334 return ret.result1, ret.result2, ret.result3 4335 } 4336 fakeReturns := fake.getSecurityGroupStagingSpacesReturns 4337 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4338 } 4339 4340 func (fake *FakeCloudControllerClient) GetSecurityGroupStagingSpacesCallCount() int { 4341 fake.getSecurityGroupStagingSpacesMutex.RLock() 4342 defer fake.getSecurityGroupStagingSpacesMutex.RUnlock() 4343 return len(fake.getSecurityGroupStagingSpacesArgsForCall) 4344 } 4345 4346 func (fake *FakeCloudControllerClient) GetSecurityGroupStagingSpacesCalls(stub func(string) ([]ccv2.Space, ccv2.Warnings, error)) { 4347 fake.getSecurityGroupStagingSpacesMutex.Lock() 4348 defer fake.getSecurityGroupStagingSpacesMutex.Unlock() 4349 fake.GetSecurityGroupStagingSpacesStub = stub 4350 } 4351 4352 func (fake *FakeCloudControllerClient) GetSecurityGroupStagingSpacesArgsForCall(i int) string { 4353 fake.getSecurityGroupStagingSpacesMutex.RLock() 4354 defer fake.getSecurityGroupStagingSpacesMutex.RUnlock() 4355 argsForCall := fake.getSecurityGroupStagingSpacesArgsForCall[i] 4356 return argsForCall.arg1 4357 } 4358 4359 func (fake *FakeCloudControllerClient) GetSecurityGroupStagingSpacesReturns(result1 []ccv2.Space, result2 ccv2.Warnings, result3 error) { 4360 fake.getSecurityGroupStagingSpacesMutex.Lock() 4361 defer fake.getSecurityGroupStagingSpacesMutex.Unlock() 4362 fake.GetSecurityGroupStagingSpacesStub = nil 4363 fake.getSecurityGroupStagingSpacesReturns = struct { 4364 result1 []ccv2.Space 4365 result2 ccv2.Warnings 4366 result3 error 4367 }{result1, result2, result3} 4368 } 4369 4370 func (fake *FakeCloudControllerClient) GetSecurityGroupStagingSpacesReturnsOnCall(i int, result1 []ccv2.Space, result2 ccv2.Warnings, result3 error) { 4371 fake.getSecurityGroupStagingSpacesMutex.Lock() 4372 defer fake.getSecurityGroupStagingSpacesMutex.Unlock() 4373 fake.GetSecurityGroupStagingSpacesStub = nil 4374 if fake.getSecurityGroupStagingSpacesReturnsOnCall == nil { 4375 fake.getSecurityGroupStagingSpacesReturnsOnCall = make(map[int]struct { 4376 result1 []ccv2.Space 4377 result2 ccv2.Warnings 4378 result3 error 4379 }) 4380 } 4381 fake.getSecurityGroupStagingSpacesReturnsOnCall[i] = struct { 4382 result1 []ccv2.Space 4383 result2 ccv2.Warnings 4384 result3 error 4385 }{result1, result2, result3} 4386 } 4387 4388 func (fake *FakeCloudControllerClient) GetSecurityGroups(arg1 ...ccv2.Filter) ([]ccv2.SecurityGroup, ccv2.Warnings, error) { 4389 fake.getSecurityGroupsMutex.Lock() 4390 ret, specificReturn := fake.getSecurityGroupsReturnsOnCall[len(fake.getSecurityGroupsArgsForCall)] 4391 fake.getSecurityGroupsArgsForCall = append(fake.getSecurityGroupsArgsForCall, struct { 4392 arg1 []ccv2.Filter 4393 }{arg1}) 4394 fake.recordInvocation("GetSecurityGroups", []interface{}{arg1}) 4395 fake.getSecurityGroupsMutex.Unlock() 4396 if fake.GetSecurityGroupsStub != nil { 4397 return fake.GetSecurityGroupsStub(arg1...) 4398 } 4399 if specificReturn { 4400 return ret.result1, ret.result2, ret.result3 4401 } 4402 fakeReturns := fake.getSecurityGroupsReturns 4403 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4404 } 4405 4406 func (fake *FakeCloudControllerClient) GetSecurityGroupsCallCount() int { 4407 fake.getSecurityGroupsMutex.RLock() 4408 defer fake.getSecurityGroupsMutex.RUnlock() 4409 return len(fake.getSecurityGroupsArgsForCall) 4410 } 4411 4412 func (fake *FakeCloudControllerClient) GetSecurityGroupsCalls(stub func(...ccv2.Filter) ([]ccv2.SecurityGroup, ccv2.Warnings, error)) { 4413 fake.getSecurityGroupsMutex.Lock() 4414 defer fake.getSecurityGroupsMutex.Unlock() 4415 fake.GetSecurityGroupsStub = stub 4416 } 4417 4418 func (fake *FakeCloudControllerClient) GetSecurityGroupsArgsForCall(i int) []ccv2.Filter { 4419 fake.getSecurityGroupsMutex.RLock() 4420 defer fake.getSecurityGroupsMutex.RUnlock() 4421 argsForCall := fake.getSecurityGroupsArgsForCall[i] 4422 return argsForCall.arg1 4423 } 4424 4425 func (fake *FakeCloudControllerClient) GetSecurityGroupsReturns(result1 []ccv2.SecurityGroup, result2 ccv2.Warnings, result3 error) { 4426 fake.getSecurityGroupsMutex.Lock() 4427 defer fake.getSecurityGroupsMutex.Unlock() 4428 fake.GetSecurityGroupsStub = nil 4429 fake.getSecurityGroupsReturns = struct { 4430 result1 []ccv2.SecurityGroup 4431 result2 ccv2.Warnings 4432 result3 error 4433 }{result1, result2, result3} 4434 } 4435 4436 func (fake *FakeCloudControllerClient) GetSecurityGroupsReturnsOnCall(i int, result1 []ccv2.SecurityGroup, result2 ccv2.Warnings, result3 error) { 4437 fake.getSecurityGroupsMutex.Lock() 4438 defer fake.getSecurityGroupsMutex.Unlock() 4439 fake.GetSecurityGroupsStub = nil 4440 if fake.getSecurityGroupsReturnsOnCall == nil { 4441 fake.getSecurityGroupsReturnsOnCall = make(map[int]struct { 4442 result1 []ccv2.SecurityGroup 4443 result2 ccv2.Warnings 4444 result3 error 4445 }) 4446 } 4447 fake.getSecurityGroupsReturnsOnCall[i] = struct { 4448 result1 []ccv2.SecurityGroup 4449 result2 ccv2.Warnings 4450 result3 error 4451 }{result1, result2, result3} 4452 } 4453 4454 func (fake *FakeCloudControllerClient) GetService(arg1 string) (ccv2.Service, ccv2.Warnings, error) { 4455 fake.getServiceMutex.Lock() 4456 ret, specificReturn := fake.getServiceReturnsOnCall[len(fake.getServiceArgsForCall)] 4457 fake.getServiceArgsForCall = append(fake.getServiceArgsForCall, struct { 4458 arg1 string 4459 }{arg1}) 4460 fake.recordInvocation("GetService", []interface{}{arg1}) 4461 fake.getServiceMutex.Unlock() 4462 if fake.GetServiceStub != nil { 4463 return fake.GetServiceStub(arg1) 4464 } 4465 if specificReturn { 4466 return ret.result1, ret.result2, ret.result3 4467 } 4468 fakeReturns := fake.getServiceReturns 4469 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4470 } 4471 4472 func (fake *FakeCloudControllerClient) GetServiceCallCount() int { 4473 fake.getServiceMutex.RLock() 4474 defer fake.getServiceMutex.RUnlock() 4475 return len(fake.getServiceArgsForCall) 4476 } 4477 4478 func (fake *FakeCloudControllerClient) GetServiceCalls(stub func(string) (ccv2.Service, ccv2.Warnings, error)) { 4479 fake.getServiceMutex.Lock() 4480 defer fake.getServiceMutex.Unlock() 4481 fake.GetServiceStub = stub 4482 } 4483 4484 func (fake *FakeCloudControllerClient) GetServiceArgsForCall(i int) string { 4485 fake.getServiceMutex.RLock() 4486 defer fake.getServiceMutex.RUnlock() 4487 argsForCall := fake.getServiceArgsForCall[i] 4488 return argsForCall.arg1 4489 } 4490 4491 func (fake *FakeCloudControllerClient) GetServiceReturns(result1 ccv2.Service, result2 ccv2.Warnings, result3 error) { 4492 fake.getServiceMutex.Lock() 4493 defer fake.getServiceMutex.Unlock() 4494 fake.GetServiceStub = nil 4495 fake.getServiceReturns = struct { 4496 result1 ccv2.Service 4497 result2 ccv2.Warnings 4498 result3 error 4499 }{result1, result2, result3} 4500 } 4501 4502 func (fake *FakeCloudControllerClient) GetServiceReturnsOnCall(i int, result1 ccv2.Service, result2 ccv2.Warnings, result3 error) { 4503 fake.getServiceMutex.Lock() 4504 defer fake.getServiceMutex.Unlock() 4505 fake.GetServiceStub = nil 4506 if fake.getServiceReturnsOnCall == nil { 4507 fake.getServiceReturnsOnCall = make(map[int]struct { 4508 result1 ccv2.Service 4509 result2 ccv2.Warnings 4510 result3 error 4511 }) 4512 } 4513 fake.getServiceReturnsOnCall[i] = struct { 4514 result1 ccv2.Service 4515 result2 ccv2.Warnings 4516 result3 error 4517 }{result1, result2, result3} 4518 } 4519 4520 func (fake *FakeCloudControllerClient) GetServiceBindings(arg1 ...ccv2.Filter) ([]ccv2.ServiceBinding, ccv2.Warnings, error) { 4521 fake.getServiceBindingsMutex.Lock() 4522 ret, specificReturn := fake.getServiceBindingsReturnsOnCall[len(fake.getServiceBindingsArgsForCall)] 4523 fake.getServiceBindingsArgsForCall = append(fake.getServiceBindingsArgsForCall, struct { 4524 arg1 []ccv2.Filter 4525 }{arg1}) 4526 fake.recordInvocation("GetServiceBindings", []interface{}{arg1}) 4527 fake.getServiceBindingsMutex.Unlock() 4528 if fake.GetServiceBindingsStub != nil { 4529 return fake.GetServiceBindingsStub(arg1...) 4530 } 4531 if specificReturn { 4532 return ret.result1, ret.result2, ret.result3 4533 } 4534 fakeReturns := fake.getServiceBindingsReturns 4535 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4536 } 4537 4538 func (fake *FakeCloudControllerClient) GetServiceBindingsCallCount() int { 4539 fake.getServiceBindingsMutex.RLock() 4540 defer fake.getServiceBindingsMutex.RUnlock() 4541 return len(fake.getServiceBindingsArgsForCall) 4542 } 4543 4544 func (fake *FakeCloudControllerClient) GetServiceBindingsCalls(stub func(...ccv2.Filter) ([]ccv2.ServiceBinding, ccv2.Warnings, error)) { 4545 fake.getServiceBindingsMutex.Lock() 4546 defer fake.getServiceBindingsMutex.Unlock() 4547 fake.GetServiceBindingsStub = stub 4548 } 4549 4550 func (fake *FakeCloudControllerClient) GetServiceBindingsArgsForCall(i int) []ccv2.Filter { 4551 fake.getServiceBindingsMutex.RLock() 4552 defer fake.getServiceBindingsMutex.RUnlock() 4553 argsForCall := fake.getServiceBindingsArgsForCall[i] 4554 return argsForCall.arg1 4555 } 4556 4557 func (fake *FakeCloudControllerClient) GetServiceBindingsReturns(result1 []ccv2.ServiceBinding, result2 ccv2.Warnings, result3 error) { 4558 fake.getServiceBindingsMutex.Lock() 4559 defer fake.getServiceBindingsMutex.Unlock() 4560 fake.GetServiceBindingsStub = nil 4561 fake.getServiceBindingsReturns = struct { 4562 result1 []ccv2.ServiceBinding 4563 result2 ccv2.Warnings 4564 result3 error 4565 }{result1, result2, result3} 4566 } 4567 4568 func (fake *FakeCloudControllerClient) GetServiceBindingsReturnsOnCall(i int, result1 []ccv2.ServiceBinding, result2 ccv2.Warnings, result3 error) { 4569 fake.getServiceBindingsMutex.Lock() 4570 defer fake.getServiceBindingsMutex.Unlock() 4571 fake.GetServiceBindingsStub = nil 4572 if fake.getServiceBindingsReturnsOnCall == nil { 4573 fake.getServiceBindingsReturnsOnCall = make(map[int]struct { 4574 result1 []ccv2.ServiceBinding 4575 result2 ccv2.Warnings 4576 result3 error 4577 }) 4578 } 4579 fake.getServiceBindingsReturnsOnCall[i] = struct { 4580 result1 []ccv2.ServiceBinding 4581 result2 ccv2.Warnings 4582 result3 error 4583 }{result1, result2, result3} 4584 } 4585 4586 func (fake *FakeCloudControllerClient) GetServiceBrokers(arg1 ...ccv2.Filter) ([]ccv2.ServiceBroker, ccv2.Warnings, error) { 4587 fake.getServiceBrokersMutex.Lock() 4588 ret, specificReturn := fake.getServiceBrokersReturnsOnCall[len(fake.getServiceBrokersArgsForCall)] 4589 fake.getServiceBrokersArgsForCall = append(fake.getServiceBrokersArgsForCall, struct { 4590 arg1 []ccv2.Filter 4591 }{arg1}) 4592 fake.recordInvocation("GetServiceBrokers", []interface{}{arg1}) 4593 fake.getServiceBrokersMutex.Unlock() 4594 if fake.GetServiceBrokersStub != nil { 4595 return fake.GetServiceBrokersStub(arg1...) 4596 } 4597 if specificReturn { 4598 return ret.result1, ret.result2, ret.result3 4599 } 4600 fakeReturns := fake.getServiceBrokersReturns 4601 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4602 } 4603 4604 func (fake *FakeCloudControllerClient) GetServiceBrokersCallCount() int { 4605 fake.getServiceBrokersMutex.RLock() 4606 defer fake.getServiceBrokersMutex.RUnlock() 4607 return len(fake.getServiceBrokersArgsForCall) 4608 } 4609 4610 func (fake *FakeCloudControllerClient) GetServiceBrokersCalls(stub func(...ccv2.Filter) ([]ccv2.ServiceBroker, ccv2.Warnings, error)) { 4611 fake.getServiceBrokersMutex.Lock() 4612 defer fake.getServiceBrokersMutex.Unlock() 4613 fake.GetServiceBrokersStub = stub 4614 } 4615 4616 func (fake *FakeCloudControllerClient) GetServiceBrokersArgsForCall(i int) []ccv2.Filter { 4617 fake.getServiceBrokersMutex.RLock() 4618 defer fake.getServiceBrokersMutex.RUnlock() 4619 argsForCall := fake.getServiceBrokersArgsForCall[i] 4620 return argsForCall.arg1 4621 } 4622 4623 func (fake *FakeCloudControllerClient) GetServiceBrokersReturns(result1 []ccv2.ServiceBroker, result2 ccv2.Warnings, result3 error) { 4624 fake.getServiceBrokersMutex.Lock() 4625 defer fake.getServiceBrokersMutex.Unlock() 4626 fake.GetServiceBrokersStub = nil 4627 fake.getServiceBrokersReturns = struct { 4628 result1 []ccv2.ServiceBroker 4629 result2 ccv2.Warnings 4630 result3 error 4631 }{result1, result2, result3} 4632 } 4633 4634 func (fake *FakeCloudControllerClient) GetServiceBrokersReturnsOnCall(i int, result1 []ccv2.ServiceBroker, result2 ccv2.Warnings, result3 error) { 4635 fake.getServiceBrokersMutex.Lock() 4636 defer fake.getServiceBrokersMutex.Unlock() 4637 fake.GetServiceBrokersStub = nil 4638 if fake.getServiceBrokersReturnsOnCall == nil { 4639 fake.getServiceBrokersReturnsOnCall = make(map[int]struct { 4640 result1 []ccv2.ServiceBroker 4641 result2 ccv2.Warnings 4642 result3 error 4643 }) 4644 } 4645 fake.getServiceBrokersReturnsOnCall[i] = struct { 4646 result1 []ccv2.ServiceBroker 4647 result2 ccv2.Warnings 4648 result3 error 4649 }{result1, result2, result3} 4650 } 4651 4652 func (fake *FakeCloudControllerClient) GetServiceInstance(arg1 string) (ccv2.ServiceInstance, ccv2.Warnings, error) { 4653 fake.getServiceInstanceMutex.Lock() 4654 ret, specificReturn := fake.getServiceInstanceReturnsOnCall[len(fake.getServiceInstanceArgsForCall)] 4655 fake.getServiceInstanceArgsForCall = append(fake.getServiceInstanceArgsForCall, struct { 4656 arg1 string 4657 }{arg1}) 4658 fake.recordInvocation("GetServiceInstance", []interface{}{arg1}) 4659 fake.getServiceInstanceMutex.Unlock() 4660 if fake.GetServiceInstanceStub != nil { 4661 return fake.GetServiceInstanceStub(arg1) 4662 } 4663 if specificReturn { 4664 return ret.result1, ret.result2, ret.result3 4665 } 4666 fakeReturns := fake.getServiceInstanceReturns 4667 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4668 } 4669 4670 func (fake *FakeCloudControllerClient) GetServiceInstanceCallCount() int { 4671 fake.getServiceInstanceMutex.RLock() 4672 defer fake.getServiceInstanceMutex.RUnlock() 4673 return len(fake.getServiceInstanceArgsForCall) 4674 } 4675 4676 func (fake *FakeCloudControllerClient) GetServiceInstanceCalls(stub func(string) (ccv2.ServiceInstance, ccv2.Warnings, error)) { 4677 fake.getServiceInstanceMutex.Lock() 4678 defer fake.getServiceInstanceMutex.Unlock() 4679 fake.GetServiceInstanceStub = stub 4680 } 4681 4682 func (fake *FakeCloudControllerClient) GetServiceInstanceArgsForCall(i int) string { 4683 fake.getServiceInstanceMutex.RLock() 4684 defer fake.getServiceInstanceMutex.RUnlock() 4685 argsForCall := fake.getServiceInstanceArgsForCall[i] 4686 return argsForCall.arg1 4687 } 4688 4689 func (fake *FakeCloudControllerClient) GetServiceInstanceReturns(result1 ccv2.ServiceInstance, result2 ccv2.Warnings, result3 error) { 4690 fake.getServiceInstanceMutex.Lock() 4691 defer fake.getServiceInstanceMutex.Unlock() 4692 fake.GetServiceInstanceStub = nil 4693 fake.getServiceInstanceReturns = struct { 4694 result1 ccv2.ServiceInstance 4695 result2 ccv2.Warnings 4696 result3 error 4697 }{result1, result2, result3} 4698 } 4699 4700 func (fake *FakeCloudControllerClient) GetServiceInstanceReturnsOnCall(i int, result1 ccv2.ServiceInstance, result2 ccv2.Warnings, result3 error) { 4701 fake.getServiceInstanceMutex.Lock() 4702 defer fake.getServiceInstanceMutex.Unlock() 4703 fake.GetServiceInstanceStub = nil 4704 if fake.getServiceInstanceReturnsOnCall == nil { 4705 fake.getServiceInstanceReturnsOnCall = make(map[int]struct { 4706 result1 ccv2.ServiceInstance 4707 result2 ccv2.Warnings 4708 result3 error 4709 }) 4710 } 4711 fake.getServiceInstanceReturnsOnCall[i] = struct { 4712 result1 ccv2.ServiceInstance 4713 result2 ccv2.Warnings 4714 result3 error 4715 }{result1, result2, result3} 4716 } 4717 4718 func (fake *FakeCloudControllerClient) GetServiceInstanceServiceBindings(arg1 string) ([]ccv2.ServiceBinding, ccv2.Warnings, error) { 4719 fake.getServiceInstanceServiceBindingsMutex.Lock() 4720 ret, specificReturn := fake.getServiceInstanceServiceBindingsReturnsOnCall[len(fake.getServiceInstanceServiceBindingsArgsForCall)] 4721 fake.getServiceInstanceServiceBindingsArgsForCall = append(fake.getServiceInstanceServiceBindingsArgsForCall, struct { 4722 arg1 string 4723 }{arg1}) 4724 fake.recordInvocation("GetServiceInstanceServiceBindings", []interface{}{arg1}) 4725 fake.getServiceInstanceServiceBindingsMutex.Unlock() 4726 if fake.GetServiceInstanceServiceBindingsStub != nil { 4727 return fake.GetServiceInstanceServiceBindingsStub(arg1) 4728 } 4729 if specificReturn { 4730 return ret.result1, ret.result2, ret.result3 4731 } 4732 fakeReturns := fake.getServiceInstanceServiceBindingsReturns 4733 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4734 } 4735 4736 func (fake *FakeCloudControllerClient) GetServiceInstanceServiceBindingsCallCount() int { 4737 fake.getServiceInstanceServiceBindingsMutex.RLock() 4738 defer fake.getServiceInstanceServiceBindingsMutex.RUnlock() 4739 return len(fake.getServiceInstanceServiceBindingsArgsForCall) 4740 } 4741 4742 func (fake *FakeCloudControllerClient) GetServiceInstanceServiceBindingsCalls(stub func(string) ([]ccv2.ServiceBinding, ccv2.Warnings, error)) { 4743 fake.getServiceInstanceServiceBindingsMutex.Lock() 4744 defer fake.getServiceInstanceServiceBindingsMutex.Unlock() 4745 fake.GetServiceInstanceServiceBindingsStub = stub 4746 } 4747 4748 func (fake *FakeCloudControllerClient) GetServiceInstanceServiceBindingsArgsForCall(i int) string { 4749 fake.getServiceInstanceServiceBindingsMutex.RLock() 4750 defer fake.getServiceInstanceServiceBindingsMutex.RUnlock() 4751 argsForCall := fake.getServiceInstanceServiceBindingsArgsForCall[i] 4752 return argsForCall.arg1 4753 } 4754 4755 func (fake *FakeCloudControllerClient) GetServiceInstanceServiceBindingsReturns(result1 []ccv2.ServiceBinding, result2 ccv2.Warnings, result3 error) { 4756 fake.getServiceInstanceServiceBindingsMutex.Lock() 4757 defer fake.getServiceInstanceServiceBindingsMutex.Unlock() 4758 fake.GetServiceInstanceServiceBindingsStub = nil 4759 fake.getServiceInstanceServiceBindingsReturns = struct { 4760 result1 []ccv2.ServiceBinding 4761 result2 ccv2.Warnings 4762 result3 error 4763 }{result1, result2, result3} 4764 } 4765 4766 func (fake *FakeCloudControllerClient) GetServiceInstanceServiceBindingsReturnsOnCall(i int, result1 []ccv2.ServiceBinding, result2 ccv2.Warnings, result3 error) { 4767 fake.getServiceInstanceServiceBindingsMutex.Lock() 4768 defer fake.getServiceInstanceServiceBindingsMutex.Unlock() 4769 fake.GetServiceInstanceServiceBindingsStub = nil 4770 if fake.getServiceInstanceServiceBindingsReturnsOnCall == nil { 4771 fake.getServiceInstanceServiceBindingsReturnsOnCall = make(map[int]struct { 4772 result1 []ccv2.ServiceBinding 4773 result2 ccv2.Warnings 4774 result3 error 4775 }) 4776 } 4777 fake.getServiceInstanceServiceBindingsReturnsOnCall[i] = struct { 4778 result1 []ccv2.ServiceBinding 4779 result2 ccv2.Warnings 4780 result3 error 4781 }{result1, result2, result3} 4782 } 4783 4784 func (fake *FakeCloudControllerClient) GetServiceInstanceSharedFrom(arg1 string) (ccv2.ServiceInstanceSharedFrom, ccv2.Warnings, error) { 4785 fake.getServiceInstanceSharedFromMutex.Lock() 4786 ret, specificReturn := fake.getServiceInstanceSharedFromReturnsOnCall[len(fake.getServiceInstanceSharedFromArgsForCall)] 4787 fake.getServiceInstanceSharedFromArgsForCall = append(fake.getServiceInstanceSharedFromArgsForCall, struct { 4788 arg1 string 4789 }{arg1}) 4790 fake.recordInvocation("GetServiceInstanceSharedFrom", []interface{}{arg1}) 4791 fake.getServiceInstanceSharedFromMutex.Unlock() 4792 if fake.GetServiceInstanceSharedFromStub != nil { 4793 return fake.GetServiceInstanceSharedFromStub(arg1) 4794 } 4795 if specificReturn { 4796 return ret.result1, ret.result2, ret.result3 4797 } 4798 fakeReturns := fake.getServiceInstanceSharedFromReturns 4799 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4800 } 4801 4802 func (fake *FakeCloudControllerClient) GetServiceInstanceSharedFromCallCount() int { 4803 fake.getServiceInstanceSharedFromMutex.RLock() 4804 defer fake.getServiceInstanceSharedFromMutex.RUnlock() 4805 return len(fake.getServiceInstanceSharedFromArgsForCall) 4806 } 4807 4808 func (fake *FakeCloudControllerClient) GetServiceInstanceSharedFromCalls(stub func(string) (ccv2.ServiceInstanceSharedFrom, ccv2.Warnings, error)) { 4809 fake.getServiceInstanceSharedFromMutex.Lock() 4810 defer fake.getServiceInstanceSharedFromMutex.Unlock() 4811 fake.GetServiceInstanceSharedFromStub = stub 4812 } 4813 4814 func (fake *FakeCloudControllerClient) GetServiceInstanceSharedFromArgsForCall(i int) string { 4815 fake.getServiceInstanceSharedFromMutex.RLock() 4816 defer fake.getServiceInstanceSharedFromMutex.RUnlock() 4817 argsForCall := fake.getServiceInstanceSharedFromArgsForCall[i] 4818 return argsForCall.arg1 4819 } 4820 4821 func (fake *FakeCloudControllerClient) GetServiceInstanceSharedFromReturns(result1 ccv2.ServiceInstanceSharedFrom, result2 ccv2.Warnings, result3 error) { 4822 fake.getServiceInstanceSharedFromMutex.Lock() 4823 defer fake.getServiceInstanceSharedFromMutex.Unlock() 4824 fake.GetServiceInstanceSharedFromStub = nil 4825 fake.getServiceInstanceSharedFromReturns = struct { 4826 result1 ccv2.ServiceInstanceSharedFrom 4827 result2 ccv2.Warnings 4828 result3 error 4829 }{result1, result2, result3} 4830 } 4831 4832 func (fake *FakeCloudControllerClient) GetServiceInstanceSharedFromReturnsOnCall(i int, result1 ccv2.ServiceInstanceSharedFrom, result2 ccv2.Warnings, result3 error) { 4833 fake.getServiceInstanceSharedFromMutex.Lock() 4834 defer fake.getServiceInstanceSharedFromMutex.Unlock() 4835 fake.GetServiceInstanceSharedFromStub = nil 4836 if fake.getServiceInstanceSharedFromReturnsOnCall == nil { 4837 fake.getServiceInstanceSharedFromReturnsOnCall = make(map[int]struct { 4838 result1 ccv2.ServiceInstanceSharedFrom 4839 result2 ccv2.Warnings 4840 result3 error 4841 }) 4842 } 4843 fake.getServiceInstanceSharedFromReturnsOnCall[i] = struct { 4844 result1 ccv2.ServiceInstanceSharedFrom 4845 result2 ccv2.Warnings 4846 result3 error 4847 }{result1, result2, result3} 4848 } 4849 4850 func (fake *FakeCloudControllerClient) GetServiceInstanceSharedTos(arg1 string) ([]ccv2.ServiceInstanceSharedTo, ccv2.Warnings, error) { 4851 fake.getServiceInstanceSharedTosMutex.Lock() 4852 ret, specificReturn := fake.getServiceInstanceSharedTosReturnsOnCall[len(fake.getServiceInstanceSharedTosArgsForCall)] 4853 fake.getServiceInstanceSharedTosArgsForCall = append(fake.getServiceInstanceSharedTosArgsForCall, struct { 4854 arg1 string 4855 }{arg1}) 4856 fake.recordInvocation("GetServiceInstanceSharedTos", []interface{}{arg1}) 4857 fake.getServiceInstanceSharedTosMutex.Unlock() 4858 if fake.GetServiceInstanceSharedTosStub != nil { 4859 return fake.GetServiceInstanceSharedTosStub(arg1) 4860 } 4861 if specificReturn { 4862 return ret.result1, ret.result2, ret.result3 4863 } 4864 fakeReturns := fake.getServiceInstanceSharedTosReturns 4865 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4866 } 4867 4868 func (fake *FakeCloudControllerClient) GetServiceInstanceSharedTosCallCount() int { 4869 fake.getServiceInstanceSharedTosMutex.RLock() 4870 defer fake.getServiceInstanceSharedTosMutex.RUnlock() 4871 return len(fake.getServiceInstanceSharedTosArgsForCall) 4872 } 4873 4874 func (fake *FakeCloudControllerClient) GetServiceInstanceSharedTosCalls(stub func(string) ([]ccv2.ServiceInstanceSharedTo, ccv2.Warnings, error)) { 4875 fake.getServiceInstanceSharedTosMutex.Lock() 4876 defer fake.getServiceInstanceSharedTosMutex.Unlock() 4877 fake.GetServiceInstanceSharedTosStub = stub 4878 } 4879 4880 func (fake *FakeCloudControllerClient) GetServiceInstanceSharedTosArgsForCall(i int) string { 4881 fake.getServiceInstanceSharedTosMutex.RLock() 4882 defer fake.getServiceInstanceSharedTosMutex.RUnlock() 4883 argsForCall := fake.getServiceInstanceSharedTosArgsForCall[i] 4884 return argsForCall.arg1 4885 } 4886 4887 func (fake *FakeCloudControllerClient) GetServiceInstanceSharedTosReturns(result1 []ccv2.ServiceInstanceSharedTo, result2 ccv2.Warnings, result3 error) { 4888 fake.getServiceInstanceSharedTosMutex.Lock() 4889 defer fake.getServiceInstanceSharedTosMutex.Unlock() 4890 fake.GetServiceInstanceSharedTosStub = nil 4891 fake.getServiceInstanceSharedTosReturns = struct { 4892 result1 []ccv2.ServiceInstanceSharedTo 4893 result2 ccv2.Warnings 4894 result3 error 4895 }{result1, result2, result3} 4896 } 4897 4898 func (fake *FakeCloudControllerClient) GetServiceInstanceSharedTosReturnsOnCall(i int, result1 []ccv2.ServiceInstanceSharedTo, result2 ccv2.Warnings, result3 error) { 4899 fake.getServiceInstanceSharedTosMutex.Lock() 4900 defer fake.getServiceInstanceSharedTosMutex.Unlock() 4901 fake.GetServiceInstanceSharedTosStub = nil 4902 if fake.getServiceInstanceSharedTosReturnsOnCall == nil { 4903 fake.getServiceInstanceSharedTosReturnsOnCall = make(map[int]struct { 4904 result1 []ccv2.ServiceInstanceSharedTo 4905 result2 ccv2.Warnings 4906 result3 error 4907 }) 4908 } 4909 fake.getServiceInstanceSharedTosReturnsOnCall[i] = struct { 4910 result1 []ccv2.ServiceInstanceSharedTo 4911 result2 ccv2.Warnings 4912 result3 error 4913 }{result1, result2, result3} 4914 } 4915 4916 func (fake *FakeCloudControllerClient) GetServiceInstances(arg1 ...ccv2.Filter) ([]ccv2.ServiceInstance, ccv2.Warnings, error) { 4917 fake.getServiceInstancesMutex.Lock() 4918 ret, specificReturn := fake.getServiceInstancesReturnsOnCall[len(fake.getServiceInstancesArgsForCall)] 4919 fake.getServiceInstancesArgsForCall = append(fake.getServiceInstancesArgsForCall, struct { 4920 arg1 []ccv2.Filter 4921 }{arg1}) 4922 fake.recordInvocation("GetServiceInstances", []interface{}{arg1}) 4923 fake.getServiceInstancesMutex.Unlock() 4924 if fake.GetServiceInstancesStub != nil { 4925 return fake.GetServiceInstancesStub(arg1...) 4926 } 4927 if specificReturn { 4928 return ret.result1, ret.result2, ret.result3 4929 } 4930 fakeReturns := fake.getServiceInstancesReturns 4931 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4932 } 4933 4934 func (fake *FakeCloudControllerClient) GetServiceInstancesCallCount() int { 4935 fake.getServiceInstancesMutex.RLock() 4936 defer fake.getServiceInstancesMutex.RUnlock() 4937 return len(fake.getServiceInstancesArgsForCall) 4938 } 4939 4940 func (fake *FakeCloudControllerClient) GetServiceInstancesCalls(stub func(...ccv2.Filter) ([]ccv2.ServiceInstance, ccv2.Warnings, error)) { 4941 fake.getServiceInstancesMutex.Lock() 4942 defer fake.getServiceInstancesMutex.Unlock() 4943 fake.GetServiceInstancesStub = stub 4944 } 4945 4946 func (fake *FakeCloudControllerClient) GetServiceInstancesArgsForCall(i int) []ccv2.Filter { 4947 fake.getServiceInstancesMutex.RLock() 4948 defer fake.getServiceInstancesMutex.RUnlock() 4949 argsForCall := fake.getServiceInstancesArgsForCall[i] 4950 return argsForCall.arg1 4951 } 4952 4953 func (fake *FakeCloudControllerClient) GetServiceInstancesReturns(result1 []ccv2.ServiceInstance, result2 ccv2.Warnings, result3 error) { 4954 fake.getServiceInstancesMutex.Lock() 4955 defer fake.getServiceInstancesMutex.Unlock() 4956 fake.GetServiceInstancesStub = nil 4957 fake.getServiceInstancesReturns = struct { 4958 result1 []ccv2.ServiceInstance 4959 result2 ccv2.Warnings 4960 result3 error 4961 }{result1, result2, result3} 4962 } 4963 4964 func (fake *FakeCloudControllerClient) GetServiceInstancesReturnsOnCall(i int, result1 []ccv2.ServiceInstance, result2 ccv2.Warnings, result3 error) { 4965 fake.getServiceInstancesMutex.Lock() 4966 defer fake.getServiceInstancesMutex.Unlock() 4967 fake.GetServiceInstancesStub = nil 4968 if fake.getServiceInstancesReturnsOnCall == nil { 4969 fake.getServiceInstancesReturnsOnCall = make(map[int]struct { 4970 result1 []ccv2.ServiceInstance 4971 result2 ccv2.Warnings 4972 result3 error 4973 }) 4974 } 4975 fake.getServiceInstancesReturnsOnCall[i] = struct { 4976 result1 []ccv2.ServiceInstance 4977 result2 ccv2.Warnings 4978 result3 error 4979 }{result1, result2, result3} 4980 } 4981 4982 func (fake *FakeCloudControllerClient) GetServicePlan(arg1 string) (ccv2.ServicePlan, ccv2.Warnings, error) { 4983 fake.getServicePlanMutex.Lock() 4984 ret, specificReturn := fake.getServicePlanReturnsOnCall[len(fake.getServicePlanArgsForCall)] 4985 fake.getServicePlanArgsForCall = append(fake.getServicePlanArgsForCall, struct { 4986 arg1 string 4987 }{arg1}) 4988 fake.recordInvocation("GetServicePlan", []interface{}{arg1}) 4989 fake.getServicePlanMutex.Unlock() 4990 if fake.GetServicePlanStub != nil { 4991 return fake.GetServicePlanStub(arg1) 4992 } 4993 if specificReturn { 4994 return ret.result1, ret.result2, ret.result3 4995 } 4996 fakeReturns := fake.getServicePlanReturns 4997 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4998 } 4999 5000 func (fake *FakeCloudControllerClient) GetServicePlanCallCount() int { 5001 fake.getServicePlanMutex.RLock() 5002 defer fake.getServicePlanMutex.RUnlock() 5003 return len(fake.getServicePlanArgsForCall) 5004 } 5005 5006 func (fake *FakeCloudControllerClient) GetServicePlanCalls(stub func(string) (ccv2.ServicePlan, ccv2.Warnings, error)) { 5007 fake.getServicePlanMutex.Lock() 5008 defer fake.getServicePlanMutex.Unlock() 5009 fake.GetServicePlanStub = stub 5010 } 5011 5012 func (fake *FakeCloudControllerClient) GetServicePlanArgsForCall(i int) string { 5013 fake.getServicePlanMutex.RLock() 5014 defer fake.getServicePlanMutex.RUnlock() 5015 argsForCall := fake.getServicePlanArgsForCall[i] 5016 return argsForCall.arg1 5017 } 5018 5019 func (fake *FakeCloudControllerClient) GetServicePlanReturns(result1 ccv2.ServicePlan, result2 ccv2.Warnings, result3 error) { 5020 fake.getServicePlanMutex.Lock() 5021 defer fake.getServicePlanMutex.Unlock() 5022 fake.GetServicePlanStub = nil 5023 fake.getServicePlanReturns = struct { 5024 result1 ccv2.ServicePlan 5025 result2 ccv2.Warnings 5026 result3 error 5027 }{result1, result2, result3} 5028 } 5029 5030 func (fake *FakeCloudControllerClient) GetServicePlanReturnsOnCall(i int, result1 ccv2.ServicePlan, result2 ccv2.Warnings, result3 error) { 5031 fake.getServicePlanMutex.Lock() 5032 defer fake.getServicePlanMutex.Unlock() 5033 fake.GetServicePlanStub = nil 5034 if fake.getServicePlanReturnsOnCall == nil { 5035 fake.getServicePlanReturnsOnCall = make(map[int]struct { 5036 result1 ccv2.ServicePlan 5037 result2 ccv2.Warnings 5038 result3 error 5039 }) 5040 } 5041 fake.getServicePlanReturnsOnCall[i] = struct { 5042 result1 ccv2.ServicePlan 5043 result2 ccv2.Warnings 5044 result3 error 5045 }{result1, result2, result3} 5046 } 5047 5048 func (fake *FakeCloudControllerClient) GetServicePlanVisibilities(arg1 ...ccv2.Filter) ([]ccv2.ServicePlanVisibility, ccv2.Warnings, error) { 5049 fake.getServicePlanVisibilitiesMutex.Lock() 5050 ret, specificReturn := fake.getServicePlanVisibilitiesReturnsOnCall[len(fake.getServicePlanVisibilitiesArgsForCall)] 5051 fake.getServicePlanVisibilitiesArgsForCall = append(fake.getServicePlanVisibilitiesArgsForCall, struct { 5052 arg1 []ccv2.Filter 5053 }{arg1}) 5054 fake.recordInvocation("GetServicePlanVisibilities", []interface{}{arg1}) 5055 fake.getServicePlanVisibilitiesMutex.Unlock() 5056 if fake.GetServicePlanVisibilitiesStub != nil { 5057 return fake.GetServicePlanVisibilitiesStub(arg1...) 5058 } 5059 if specificReturn { 5060 return ret.result1, ret.result2, ret.result3 5061 } 5062 fakeReturns := fake.getServicePlanVisibilitiesReturns 5063 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5064 } 5065 5066 func (fake *FakeCloudControllerClient) GetServicePlanVisibilitiesCallCount() int { 5067 fake.getServicePlanVisibilitiesMutex.RLock() 5068 defer fake.getServicePlanVisibilitiesMutex.RUnlock() 5069 return len(fake.getServicePlanVisibilitiesArgsForCall) 5070 } 5071 5072 func (fake *FakeCloudControllerClient) GetServicePlanVisibilitiesCalls(stub func(...ccv2.Filter) ([]ccv2.ServicePlanVisibility, ccv2.Warnings, error)) { 5073 fake.getServicePlanVisibilitiesMutex.Lock() 5074 defer fake.getServicePlanVisibilitiesMutex.Unlock() 5075 fake.GetServicePlanVisibilitiesStub = stub 5076 } 5077 5078 func (fake *FakeCloudControllerClient) GetServicePlanVisibilitiesArgsForCall(i int) []ccv2.Filter { 5079 fake.getServicePlanVisibilitiesMutex.RLock() 5080 defer fake.getServicePlanVisibilitiesMutex.RUnlock() 5081 argsForCall := fake.getServicePlanVisibilitiesArgsForCall[i] 5082 return argsForCall.arg1 5083 } 5084 5085 func (fake *FakeCloudControllerClient) GetServicePlanVisibilitiesReturns(result1 []ccv2.ServicePlanVisibility, result2 ccv2.Warnings, result3 error) { 5086 fake.getServicePlanVisibilitiesMutex.Lock() 5087 defer fake.getServicePlanVisibilitiesMutex.Unlock() 5088 fake.GetServicePlanVisibilitiesStub = nil 5089 fake.getServicePlanVisibilitiesReturns = struct { 5090 result1 []ccv2.ServicePlanVisibility 5091 result2 ccv2.Warnings 5092 result3 error 5093 }{result1, result2, result3} 5094 } 5095 5096 func (fake *FakeCloudControllerClient) GetServicePlanVisibilitiesReturnsOnCall(i int, result1 []ccv2.ServicePlanVisibility, result2 ccv2.Warnings, result3 error) { 5097 fake.getServicePlanVisibilitiesMutex.Lock() 5098 defer fake.getServicePlanVisibilitiesMutex.Unlock() 5099 fake.GetServicePlanVisibilitiesStub = nil 5100 if fake.getServicePlanVisibilitiesReturnsOnCall == nil { 5101 fake.getServicePlanVisibilitiesReturnsOnCall = make(map[int]struct { 5102 result1 []ccv2.ServicePlanVisibility 5103 result2 ccv2.Warnings 5104 result3 error 5105 }) 5106 } 5107 fake.getServicePlanVisibilitiesReturnsOnCall[i] = struct { 5108 result1 []ccv2.ServicePlanVisibility 5109 result2 ccv2.Warnings 5110 result3 error 5111 }{result1, result2, result3} 5112 } 5113 5114 func (fake *FakeCloudControllerClient) GetServicePlans(arg1 ...ccv2.Filter) ([]ccv2.ServicePlan, ccv2.Warnings, error) { 5115 fake.getServicePlansMutex.Lock() 5116 ret, specificReturn := fake.getServicePlansReturnsOnCall[len(fake.getServicePlansArgsForCall)] 5117 fake.getServicePlansArgsForCall = append(fake.getServicePlansArgsForCall, struct { 5118 arg1 []ccv2.Filter 5119 }{arg1}) 5120 fake.recordInvocation("GetServicePlans", []interface{}{arg1}) 5121 fake.getServicePlansMutex.Unlock() 5122 if fake.GetServicePlansStub != nil { 5123 return fake.GetServicePlansStub(arg1...) 5124 } 5125 if specificReturn { 5126 return ret.result1, ret.result2, ret.result3 5127 } 5128 fakeReturns := fake.getServicePlansReturns 5129 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5130 } 5131 5132 func (fake *FakeCloudControllerClient) GetServicePlansCallCount() int { 5133 fake.getServicePlansMutex.RLock() 5134 defer fake.getServicePlansMutex.RUnlock() 5135 return len(fake.getServicePlansArgsForCall) 5136 } 5137 5138 func (fake *FakeCloudControllerClient) GetServicePlansCalls(stub func(...ccv2.Filter) ([]ccv2.ServicePlan, ccv2.Warnings, error)) { 5139 fake.getServicePlansMutex.Lock() 5140 defer fake.getServicePlansMutex.Unlock() 5141 fake.GetServicePlansStub = stub 5142 } 5143 5144 func (fake *FakeCloudControllerClient) GetServicePlansArgsForCall(i int) []ccv2.Filter { 5145 fake.getServicePlansMutex.RLock() 5146 defer fake.getServicePlansMutex.RUnlock() 5147 argsForCall := fake.getServicePlansArgsForCall[i] 5148 return argsForCall.arg1 5149 } 5150 5151 func (fake *FakeCloudControllerClient) GetServicePlansReturns(result1 []ccv2.ServicePlan, result2 ccv2.Warnings, result3 error) { 5152 fake.getServicePlansMutex.Lock() 5153 defer fake.getServicePlansMutex.Unlock() 5154 fake.GetServicePlansStub = nil 5155 fake.getServicePlansReturns = struct { 5156 result1 []ccv2.ServicePlan 5157 result2 ccv2.Warnings 5158 result3 error 5159 }{result1, result2, result3} 5160 } 5161 5162 func (fake *FakeCloudControllerClient) GetServicePlansReturnsOnCall(i int, result1 []ccv2.ServicePlan, result2 ccv2.Warnings, result3 error) { 5163 fake.getServicePlansMutex.Lock() 5164 defer fake.getServicePlansMutex.Unlock() 5165 fake.GetServicePlansStub = nil 5166 if fake.getServicePlansReturnsOnCall == nil { 5167 fake.getServicePlansReturnsOnCall = make(map[int]struct { 5168 result1 []ccv2.ServicePlan 5169 result2 ccv2.Warnings 5170 result3 error 5171 }) 5172 } 5173 fake.getServicePlansReturnsOnCall[i] = struct { 5174 result1 []ccv2.ServicePlan 5175 result2 ccv2.Warnings 5176 result3 error 5177 }{result1, result2, result3} 5178 } 5179 5180 func (fake *FakeCloudControllerClient) GetServices(arg1 ...ccv2.Filter) ([]ccv2.Service, ccv2.Warnings, error) { 5181 fake.getServicesMutex.Lock() 5182 ret, specificReturn := fake.getServicesReturnsOnCall[len(fake.getServicesArgsForCall)] 5183 fake.getServicesArgsForCall = append(fake.getServicesArgsForCall, struct { 5184 arg1 []ccv2.Filter 5185 }{arg1}) 5186 fake.recordInvocation("GetServices", []interface{}{arg1}) 5187 fake.getServicesMutex.Unlock() 5188 if fake.GetServicesStub != nil { 5189 return fake.GetServicesStub(arg1...) 5190 } 5191 if specificReturn { 5192 return ret.result1, ret.result2, ret.result3 5193 } 5194 fakeReturns := fake.getServicesReturns 5195 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5196 } 5197 5198 func (fake *FakeCloudControllerClient) GetServicesCallCount() int { 5199 fake.getServicesMutex.RLock() 5200 defer fake.getServicesMutex.RUnlock() 5201 return len(fake.getServicesArgsForCall) 5202 } 5203 5204 func (fake *FakeCloudControllerClient) GetServicesCalls(stub func(...ccv2.Filter) ([]ccv2.Service, ccv2.Warnings, error)) { 5205 fake.getServicesMutex.Lock() 5206 defer fake.getServicesMutex.Unlock() 5207 fake.GetServicesStub = stub 5208 } 5209 5210 func (fake *FakeCloudControllerClient) GetServicesArgsForCall(i int) []ccv2.Filter { 5211 fake.getServicesMutex.RLock() 5212 defer fake.getServicesMutex.RUnlock() 5213 argsForCall := fake.getServicesArgsForCall[i] 5214 return argsForCall.arg1 5215 } 5216 5217 func (fake *FakeCloudControllerClient) GetServicesReturns(result1 []ccv2.Service, result2 ccv2.Warnings, result3 error) { 5218 fake.getServicesMutex.Lock() 5219 defer fake.getServicesMutex.Unlock() 5220 fake.GetServicesStub = nil 5221 fake.getServicesReturns = struct { 5222 result1 []ccv2.Service 5223 result2 ccv2.Warnings 5224 result3 error 5225 }{result1, result2, result3} 5226 } 5227 5228 func (fake *FakeCloudControllerClient) GetServicesReturnsOnCall(i int, result1 []ccv2.Service, result2 ccv2.Warnings, result3 error) { 5229 fake.getServicesMutex.Lock() 5230 defer fake.getServicesMutex.Unlock() 5231 fake.GetServicesStub = nil 5232 if fake.getServicesReturnsOnCall == nil { 5233 fake.getServicesReturnsOnCall = make(map[int]struct { 5234 result1 []ccv2.Service 5235 result2 ccv2.Warnings 5236 result3 error 5237 }) 5238 } 5239 fake.getServicesReturnsOnCall[i] = struct { 5240 result1 []ccv2.Service 5241 result2 ccv2.Warnings 5242 result3 error 5243 }{result1, result2, result3} 5244 } 5245 5246 func (fake *FakeCloudControllerClient) GetSharedDomain(arg1 string) (ccv2.Domain, ccv2.Warnings, error) { 5247 fake.getSharedDomainMutex.Lock() 5248 ret, specificReturn := fake.getSharedDomainReturnsOnCall[len(fake.getSharedDomainArgsForCall)] 5249 fake.getSharedDomainArgsForCall = append(fake.getSharedDomainArgsForCall, struct { 5250 arg1 string 5251 }{arg1}) 5252 fake.recordInvocation("GetSharedDomain", []interface{}{arg1}) 5253 fake.getSharedDomainMutex.Unlock() 5254 if fake.GetSharedDomainStub != nil { 5255 return fake.GetSharedDomainStub(arg1) 5256 } 5257 if specificReturn { 5258 return ret.result1, ret.result2, ret.result3 5259 } 5260 fakeReturns := fake.getSharedDomainReturns 5261 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5262 } 5263 5264 func (fake *FakeCloudControllerClient) GetSharedDomainCallCount() int { 5265 fake.getSharedDomainMutex.RLock() 5266 defer fake.getSharedDomainMutex.RUnlock() 5267 return len(fake.getSharedDomainArgsForCall) 5268 } 5269 5270 func (fake *FakeCloudControllerClient) GetSharedDomainCalls(stub func(string) (ccv2.Domain, ccv2.Warnings, error)) { 5271 fake.getSharedDomainMutex.Lock() 5272 defer fake.getSharedDomainMutex.Unlock() 5273 fake.GetSharedDomainStub = stub 5274 } 5275 5276 func (fake *FakeCloudControllerClient) GetSharedDomainArgsForCall(i int) string { 5277 fake.getSharedDomainMutex.RLock() 5278 defer fake.getSharedDomainMutex.RUnlock() 5279 argsForCall := fake.getSharedDomainArgsForCall[i] 5280 return argsForCall.arg1 5281 } 5282 5283 func (fake *FakeCloudControllerClient) GetSharedDomainReturns(result1 ccv2.Domain, result2 ccv2.Warnings, result3 error) { 5284 fake.getSharedDomainMutex.Lock() 5285 defer fake.getSharedDomainMutex.Unlock() 5286 fake.GetSharedDomainStub = nil 5287 fake.getSharedDomainReturns = struct { 5288 result1 ccv2.Domain 5289 result2 ccv2.Warnings 5290 result3 error 5291 }{result1, result2, result3} 5292 } 5293 5294 func (fake *FakeCloudControllerClient) GetSharedDomainReturnsOnCall(i int, result1 ccv2.Domain, result2 ccv2.Warnings, result3 error) { 5295 fake.getSharedDomainMutex.Lock() 5296 defer fake.getSharedDomainMutex.Unlock() 5297 fake.GetSharedDomainStub = nil 5298 if fake.getSharedDomainReturnsOnCall == nil { 5299 fake.getSharedDomainReturnsOnCall = make(map[int]struct { 5300 result1 ccv2.Domain 5301 result2 ccv2.Warnings 5302 result3 error 5303 }) 5304 } 5305 fake.getSharedDomainReturnsOnCall[i] = struct { 5306 result1 ccv2.Domain 5307 result2 ccv2.Warnings 5308 result3 error 5309 }{result1, result2, result3} 5310 } 5311 5312 func (fake *FakeCloudControllerClient) GetSharedDomains(arg1 ...ccv2.Filter) ([]ccv2.Domain, ccv2.Warnings, error) { 5313 fake.getSharedDomainsMutex.Lock() 5314 ret, specificReturn := fake.getSharedDomainsReturnsOnCall[len(fake.getSharedDomainsArgsForCall)] 5315 fake.getSharedDomainsArgsForCall = append(fake.getSharedDomainsArgsForCall, struct { 5316 arg1 []ccv2.Filter 5317 }{arg1}) 5318 fake.recordInvocation("GetSharedDomains", []interface{}{arg1}) 5319 fake.getSharedDomainsMutex.Unlock() 5320 if fake.GetSharedDomainsStub != nil { 5321 return fake.GetSharedDomainsStub(arg1...) 5322 } 5323 if specificReturn { 5324 return ret.result1, ret.result2, ret.result3 5325 } 5326 fakeReturns := fake.getSharedDomainsReturns 5327 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5328 } 5329 5330 func (fake *FakeCloudControllerClient) GetSharedDomainsCallCount() int { 5331 fake.getSharedDomainsMutex.RLock() 5332 defer fake.getSharedDomainsMutex.RUnlock() 5333 return len(fake.getSharedDomainsArgsForCall) 5334 } 5335 5336 func (fake *FakeCloudControllerClient) GetSharedDomainsCalls(stub func(...ccv2.Filter) ([]ccv2.Domain, ccv2.Warnings, error)) { 5337 fake.getSharedDomainsMutex.Lock() 5338 defer fake.getSharedDomainsMutex.Unlock() 5339 fake.GetSharedDomainsStub = stub 5340 } 5341 5342 func (fake *FakeCloudControllerClient) GetSharedDomainsArgsForCall(i int) []ccv2.Filter { 5343 fake.getSharedDomainsMutex.RLock() 5344 defer fake.getSharedDomainsMutex.RUnlock() 5345 argsForCall := fake.getSharedDomainsArgsForCall[i] 5346 return argsForCall.arg1 5347 } 5348 5349 func (fake *FakeCloudControllerClient) GetSharedDomainsReturns(result1 []ccv2.Domain, result2 ccv2.Warnings, result3 error) { 5350 fake.getSharedDomainsMutex.Lock() 5351 defer fake.getSharedDomainsMutex.Unlock() 5352 fake.GetSharedDomainsStub = nil 5353 fake.getSharedDomainsReturns = struct { 5354 result1 []ccv2.Domain 5355 result2 ccv2.Warnings 5356 result3 error 5357 }{result1, result2, result3} 5358 } 5359 5360 func (fake *FakeCloudControllerClient) GetSharedDomainsReturnsOnCall(i int, result1 []ccv2.Domain, result2 ccv2.Warnings, result3 error) { 5361 fake.getSharedDomainsMutex.Lock() 5362 defer fake.getSharedDomainsMutex.Unlock() 5363 fake.GetSharedDomainsStub = nil 5364 if fake.getSharedDomainsReturnsOnCall == nil { 5365 fake.getSharedDomainsReturnsOnCall = make(map[int]struct { 5366 result1 []ccv2.Domain 5367 result2 ccv2.Warnings 5368 result3 error 5369 }) 5370 } 5371 fake.getSharedDomainsReturnsOnCall[i] = struct { 5372 result1 []ccv2.Domain 5373 result2 ccv2.Warnings 5374 result3 error 5375 }{result1, result2, result3} 5376 } 5377 5378 func (fake *FakeCloudControllerClient) GetSpaceQuotaDefinition(arg1 string) (ccv2.SpaceQuota, ccv2.Warnings, error) { 5379 fake.getSpaceQuotaDefinitionMutex.Lock() 5380 ret, specificReturn := fake.getSpaceQuotaDefinitionReturnsOnCall[len(fake.getSpaceQuotaDefinitionArgsForCall)] 5381 fake.getSpaceQuotaDefinitionArgsForCall = append(fake.getSpaceQuotaDefinitionArgsForCall, struct { 5382 arg1 string 5383 }{arg1}) 5384 fake.recordInvocation("GetSpaceQuotaDefinition", []interface{}{arg1}) 5385 fake.getSpaceQuotaDefinitionMutex.Unlock() 5386 if fake.GetSpaceQuotaDefinitionStub != nil { 5387 return fake.GetSpaceQuotaDefinitionStub(arg1) 5388 } 5389 if specificReturn { 5390 return ret.result1, ret.result2, ret.result3 5391 } 5392 fakeReturns := fake.getSpaceQuotaDefinitionReturns 5393 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5394 } 5395 5396 func (fake *FakeCloudControllerClient) GetSpaceQuotaDefinitionCallCount() int { 5397 fake.getSpaceQuotaDefinitionMutex.RLock() 5398 defer fake.getSpaceQuotaDefinitionMutex.RUnlock() 5399 return len(fake.getSpaceQuotaDefinitionArgsForCall) 5400 } 5401 5402 func (fake *FakeCloudControllerClient) GetSpaceQuotaDefinitionCalls(stub func(string) (ccv2.SpaceQuota, ccv2.Warnings, error)) { 5403 fake.getSpaceQuotaDefinitionMutex.Lock() 5404 defer fake.getSpaceQuotaDefinitionMutex.Unlock() 5405 fake.GetSpaceQuotaDefinitionStub = stub 5406 } 5407 5408 func (fake *FakeCloudControllerClient) GetSpaceQuotaDefinitionArgsForCall(i int) string { 5409 fake.getSpaceQuotaDefinitionMutex.RLock() 5410 defer fake.getSpaceQuotaDefinitionMutex.RUnlock() 5411 argsForCall := fake.getSpaceQuotaDefinitionArgsForCall[i] 5412 return argsForCall.arg1 5413 } 5414 5415 func (fake *FakeCloudControllerClient) GetSpaceQuotaDefinitionReturns(result1 ccv2.SpaceQuota, result2 ccv2.Warnings, result3 error) { 5416 fake.getSpaceQuotaDefinitionMutex.Lock() 5417 defer fake.getSpaceQuotaDefinitionMutex.Unlock() 5418 fake.GetSpaceQuotaDefinitionStub = nil 5419 fake.getSpaceQuotaDefinitionReturns = struct { 5420 result1 ccv2.SpaceQuota 5421 result2 ccv2.Warnings 5422 result3 error 5423 }{result1, result2, result3} 5424 } 5425 5426 func (fake *FakeCloudControllerClient) GetSpaceQuotaDefinitionReturnsOnCall(i int, result1 ccv2.SpaceQuota, result2 ccv2.Warnings, result3 error) { 5427 fake.getSpaceQuotaDefinitionMutex.Lock() 5428 defer fake.getSpaceQuotaDefinitionMutex.Unlock() 5429 fake.GetSpaceQuotaDefinitionStub = nil 5430 if fake.getSpaceQuotaDefinitionReturnsOnCall == nil { 5431 fake.getSpaceQuotaDefinitionReturnsOnCall = make(map[int]struct { 5432 result1 ccv2.SpaceQuota 5433 result2 ccv2.Warnings 5434 result3 error 5435 }) 5436 } 5437 fake.getSpaceQuotaDefinitionReturnsOnCall[i] = struct { 5438 result1 ccv2.SpaceQuota 5439 result2 ccv2.Warnings 5440 result3 error 5441 }{result1, result2, result3} 5442 } 5443 5444 func (fake *FakeCloudControllerClient) GetSpaceQuotas(arg1 string) ([]ccv2.SpaceQuota, ccv2.Warnings, error) { 5445 fake.getSpaceQuotasMutex.Lock() 5446 ret, specificReturn := fake.getSpaceQuotasReturnsOnCall[len(fake.getSpaceQuotasArgsForCall)] 5447 fake.getSpaceQuotasArgsForCall = append(fake.getSpaceQuotasArgsForCall, struct { 5448 arg1 string 5449 }{arg1}) 5450 fake.recordInvocation("GetSpaceQuotas", []interface{}{arg1}) 5451 fake.getSpaceQuotasMutex.Unlock() 5452 if fake.GetSpaceQuotasStub != nil { 5453 return fake.GetSpaceQuotasStub(arg1) 5454 } 5455 if specificReturn { 5456 return ret.result1, ret.result2, ret.result3 5457 } 5458 fakeReturns := fake.getSpaceQuotasReturns 5459 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5460 } 5461 5462 func (fake *FakeCloudControllerClient) GetSpaceQuotasCallCount() int { 5463 fake.getSpaceQuotasMutex.RLock() 5464 defer fake.getSpaceQuotasMutex.RUnlock() 5465 return len(fake.getSpaceQuotasArgsForCall) 5466 } 5467 5468 func (fake *FakeCloudControllerClient) GetSpaceQuotasCalls(stub func(string) ([]ccv2.SpaceQuota, ccv2.Warnings, error)) { 5469 fake.getSpaceQuotasMutex.Lock() 5470 defer fake.getSpaceQuotasMutex.Unlock() 5471 fake.GetSpaceQuotasStub = stub 5472 } 5473 5474 func (fake *FakeCloudControllerClient) GetSpaceQuotasArgsForCall(i int) string { 5475 fake.getSpaceQuotasMutex.RLock() 5476 defer fake.getSpaceQuotasMutex.RUnlock() 5477 argsForCall := fake.getSpaceQuotasArgsForCall[i] 5478 return argsForCall.arg1 5479 } 5480 5481 func (fake *FakeCloudControllerClient) GetSpaceQuotasReturns(result1 []ccv2.SpaceQuota, result2 ccv2.Warnings, result3 error) { 5482 fake.getSpaceQuotasMutex.Lock() 5483 defer fake.getSpaceQuotasMutex.Unlock() 5484 fake.GetSpaceQuotasStub = nil 5485 fake.getSpaceQuotasReturns = struct { 5486 result1 []ccv2.SpaceQuota 5487 result2 ccv2.Warnings 5488 result3 error 5489 }{result1, result2, result3} 5490 } 5491 5492 func (fake *FakeCloudControllerClient) GetSpaceQuotasReturnsOnCall(i int, result1 []ccv2.SpaceQuota, result2 ccv2.Warnings, result3 error) { 5493 fake.getSpaceQuotasMutex.Lock() 5494 defer fake.getSpaceQuotasMutex.Unlock() 5495 fake.GetSpaceQuotasStub = nil 5496 if fake.getSpaceQuotasReturnsOnCall == nil { 5497 fake.getSpaceQuotasReturnsOnCall = make(map[int]struct { 5498 result1 []ccv2.SpaceQuota 5499 result2 ccv2.Warnings 5500 result3 error 5501 }) 5502 } 5503 fake.getSpaceQuotasReturnsOnCall[i] = struct { 5504 result1 []ccv2.SpaceQuota 5505 result2 ccv2.Warnings 5506 result3 error 5507 }{result1, result2, result3} 5508 } 5509 5510 func (fake *FakeCloudControllerClient) GetSpaceRoutes(arg1 string, arg2 ...ccv2.Filter) ([]ccv2.Route, ccv2.Warnings, error) { 5511 fake.getSpaceRoutesMutex.Lock() 5512 ret, specificReturn := fake.getSpaceRoutesReturnsOnCall[len(fake.getSpaceRoutesArgsForCall)] 5513 fake.getSpaceRoutesArgsForCall = append(fake.getSpaceRoutesArgsForCall, struct { 5514 arg1 string 5515 arg2 []ccv2.Filter 5516 }{arg1, arg2}) 5517 fake.recordInvocation("GetSpaceRoutes", []interface{}{arg1, arg2}) 5518 fake.getSpaceRoutesMutex.Unlock() 5519 if fake.GetSpaceRoutesStub != nil { 5520 return fake.GetSpaceRoutesStub(arg1, arg2...) 5521 } 5522 if specificReturn { 5523 return ret.result1, ret.result2, ret.result3 5524 } 5525 fakeReturns := fake.getSpaceRoutesReturns 5526 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5527 } 5528 5529 func (fake *FakeCloudControllerClient) GetSpaceRoutesCallCount() int { 5530 fake.getSpaceRoutesMutex.RLock() 5531 defer fake.getSpaceRoutesMutex.RUnlock() 5532 return len(fake.getSpaceRoutesArgsForCall) 5533 } 5534 5535 func (fake *FakeCloudControllerClient) GetSpaceRoutesCalls(stub func(string, ...ccv2.Filter) ([]ccv2.Route, ccv2.Warnings, error)) { 5536 fake.getSpaceRoutesMutex.Lock() 5537 defer fake.getSpaceRoutesMutex.Unlock() 5538 fake.GetSpaceRoutesStub = stub 5539 } 5540 5541 func (fake *FakeCloudControllerClient) GetSpaceRoutesArgsForCall(i int) (string, []ccv2.Filter) { 5542 fake.getSpaceRoutesMutex.RLock() 5543 defer fake.getSpaceRoutesMutex.RUnlock() 5544 argsForCall := fake.getSpaceRoutesArgsForCall[i] 5545 return argsForCall.arg1, argsForCall.arg2 5546 } 5547 5548 func (fake *FakeCloudControllerClient) GetSpaceRoutesReturns(result1 []ccv2.Route, result2 ccv2.Warnings, result3 error) { 5549 fake.getSpaceRoutesMutex.Lock() 5550 defer fake.getSpaceRoutesMutex.Unlock() 5551 fake.GetSpaceRoutesStub = nil 5552 fake.getSpaceRoutesReturns = struct { 5553 result1 []ccv2.Route 5554 result2 ccv2.Warnings 5555 result3 error 5556 }{result1, result2, result3} 5557 } 5558 5559 func (fake *FakeCloudControllerClient) GetSpaceRoutesReturnsOnCall(i int, result1 []ccv2.Route, result2 ccv2.Warnings, result3 error) { 5560 fake.getSpaceRoutesMutex.Lock() 5561 defer fake.getSpaceRoutesMutex.Unlock() 5562 fake.GetSpaceRoutesStub = nil 5563 if fake.getSpaceRoutesReturnsOnCall == nil { 5564 fake.getSpaceRoutesReturnsOnCall = make(map[int]struct { 5565 result1 []ccv2.Route 5566 result2 ccv2.Warnings 5567 result3 error 5568 }) 5569 } 5570 fake.getSpaceRoutesReturnsOnCall[i] = struct { 5571 result1 []ccv2.Route 5572 result2 ccv2.Warnings 5573 result3 error 5574 }{result1, result2, result3} 5575 } 5576 5577 func (fake *FakeCloudControllerClient) GetSpaceSecurityGroups(arg1 string, arg2 ...ccv2.Filter) ([]ccv2.SecurityGroup, ccv2.Warnings, error) { 5578 fake.getSpaceSecurityGroupsMutex.Lock() 5579 ret, specificReturn := fake.getSpaceSecurityGroupsReturnsOnCall[len(fake.getSpaceSecurityGroupsArgsForCall)] 5580 fake.getSpaceSecurityGroupsArgsForCall = append(fake.getSpaceSecurityGroupsArgsForCall, struct { 5581 arg1 string 5582 arg2 []ccv2.Filter 5583 }{arg1, arg2}) 5584 fake.recordInvocation("GetSpaceSecurityGroups", []interface{}{arg1, arg2}) 5585 fake.getSpaceSecurityGroupsMutex.Unlock() 5586 if fake.GetSpaceSecurityGroupsStub != nil { 5587 return fake.GetSpaceSecurityGroupsStub(arg1, arg2...) 5588 } 5589 if specificReturn { 5590 return ret.result1, ret.result2, ret.result3 5591 } 5592 fakeReturns := fake.getSpaceSecurityGroupsReturns 5593 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5594 } 5595 5596 func (fake *FakeCloudControllerClient) GetSpaceSecurityGroupsCallCount() int { 5597 fake.getSpaceSecurityGroupsMutex.RLock() 5598 defer fake.getSpaceSecurityGroupsMutex.RUnlock() 5599 return len(fake.getSpaceSecurityGroupsArgsForCall) 5600 } 5601 5602 func (fake *FakeCloudControllerClient) GetSpaceSecurityGroupsCalls(stub func(string, ...ccv2.Filter) ([]ccv2.SecurityGroup, ccv2.Warnings, error)) { 5603 fake.getSpaceSecurityGroupsMutex.Lock() 5604 defer fake.getSpaceSecurityGroupsMutex.Unlock() 5605 fake.GetSpaceSecurityGroupsStub = stub 5606 } 5607 5608 func (fake *FakeCloudControllerClient) GetSpaceSecurityGroupsArgsForCall(i int) (string, []ccv2.Filter) { 5609 fake.getSpaceSecurityGroupsMutex.RLock() 5610 defer fake.getSpaceSecurityGroupsMutex.RUnlock() 5611 argsForCall := fake.getSpaceSecurityGroupsArgsForCall[i] 5612 return argsForCall.arg1, argsForCall.arg2 5613 } 5614 5615 func (fake *FakeCloudControllerClient) GetSpaceSecurityGroupsReturns(result1 []ccv2.SecurityGroup, result2 ccv2.Warnings, result3 error) { 5616 fake.getSpaceSecurityGroupsMutex.Lock() 5617 defer fake.getSpaceSecurityGroupsMutex.Unlock() 5618 fake.GetSpaceSecurityGroupsStub = nil 5619 fake.getSpaceSecurityGroupsReturns = struct { 5620 result1 []ccv2.SecurityGroup 5621 result2 ccv2.Warnings 5622 result3 error 5623 }{result1, result2, result3} 5624 } 5625 5626 func (fake *FakeCloudControllerClient) GetSpaceSecurityGroupsReturnsOnCall(i int, result1 []ccv2.SecurityGroup, result2 ccv2.Warnings, result3 error) { 5627 fake.getSpaceSecurityGroupsMutex.Lock() 5628 defer fake.getSpaceSecurityGroupsMutex.Unlock() 5629 fake.GetSpaceSecurityGroupsStub = nil 5630 if fake.getSpaceSecurityGroupsReturnsOnCall == nil { 5631 fake.getSpaceSecurityGroupsReturnsOnCall = make(map[int]struct { 5632 result1 []ccv2.SecurityGroup 5633 result2 ccv2.Warnings 5634 result3 error 5635 }) 5636 } 5637 fake.getSpaceSecurityGroupsReturnsOnCall[i] = struct { 5638 result1 []ccv2.SecurityGroup 5639 result2 ccv2.Warnings 5640 result3 error 5641 }{result1, result2, result3} 5642 } 5643 5644 func (fake *FakeCloudControllerClient) GetSpaceServiceInstances(arg1 string, arg2 bool, arg3 ...ccv2.Filter) ([]ccv2.ServiceInstance, ccv2.Warnings, error) { 5645 fake.getSpaceServiceInstancesMutex.Lock() 5646 ret, specificReturn := fake.getSpaceServiceInstancesReturnsOnCall[len(fake.getSpaceServiceInstancesArgsForCall)] 5647 fake.getSpaceServiceInstancesArgsForCall = append(fake.getSpaceServiceInstancesArgsForCall, struct { 5648 arg1 string 5649 arg2 bool 5650 arg3 []ccv2.Filter 5651 }{arg1, arg2, arg3}) 5652 fake.recordInvocation("GetSpaceServiceInstances", []interface{}{arg1, arg2, arg3}) 5653 fake.getSpaceServiceInstancesMutex.Unlock() 5654 if fake.GetSpaceServiceInstancesStub != nil { 5655 return fake.GetSpaceServiceInstancesStub(arg1, arg2, arg3...) 5656 } 5657 if specificReturn { 5658 return ret.result1, ret.result2, ret.result3 5659 } 5660 fakeReturns := fake.getSpaceServiceInstancesReturns 5661 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5662 } 5663 5664 func (fake *FakeCloudControllerClient) GetSpaceServiceInstancesCallCount() int { 5665 fake.getSpaceServiceInstancesMutex.RLock() 5666 defer fake.getSpaceServiceInstancesMutex.RUnlock() 5667 return len(fake.getSpaceServiceInstancesArgsForCall) 5668 } 5669 5670 func (fake *FakeCloudControllerClient) GetSpaceServiceInstancesCalls(stub func(string, bool, ...ccv2.Filter) ([]ccv2.ServiceInstance, ccv2.Warnings, error)) { 5671 fake.getSpaceServiceInstancesMutex.Lock() 5672 defer fake.getSpaceServiceInstancesMutex.Unlock() 5673 fake.GetSpaceServiceInstancesStub = stub 5674 } 5675 5676 func (fake *FakeCloudControllerClient) GetSpaceServiceInstancesArgsForCall(i int) (string, bool, []ccv2.Filter) { 5677 fake.getSpaceServiceInstancesMutex.RLock() 5678 defer fake.getSpaceServiceInstancesMutex.RUnlock() 5679 argsForCall := fake.getSpaceServiceInstancesArgsForCall[i] 5680 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3 5681 } 5682 5683 func (fake *FakeCloudControllerClient) GetSpaceServiceInstancesReturns(result1 []ccv2.ServiceInstance, result2 ccv2.Warnings, result3 error) { 5684 fake.getSpaceServiceInstancesMutex.Lock() 5685 defer fake.getSpaceServiceInstancesMutex.Unlock() 5686 fake.GetSpaceServiceInstancesStub = nil 5687 fake.getSpaceServiceInstancesReturns = struct { 5688 result1 []ccv2.ServiceInstance 5689 result2 ccv2.Warnings 5690 result3 error 5691 }{result1, result2, result3} 5692 } 5693 5694 func (fake *FakeCloudControllerClient) GetSpaceServiceInstancesReturnsOnCall(i int, result1 []ccv2.ServiceInstance, result2 ccv2.Warnings, result3 error) { 5695 fake.getSpaceServiceInstancesMutex.Lock() 5696 defer fake.getSpaceServiceInstancesMutex.Unlock() 5697 fake.GetSpaceServiceInstancesStub = nil 5698 if fake.getSpaceServiceInstancesReturnsOnCall == nil { 5699 fake.getSpaceServiceInstancesReturnsOnCall = make(map[int]struct { 5700 result1 []ccv2.ServiceInstance 5701 result2 ccv2.Warnings 5702 result3 error 5703 }) 5704 } 5705 fake.getSpaceServiceInstancesReturnsOnCall[i] = struct { 5706 result1 []ccv2.ServiceInstance 5707 result2 ccv2.Warnings 5708 result3 error 5709 }{result1, result2, result3} 5710 } 5711 5712 func (fake *FakeCloudControllerClient) GetSpaceServices(arg1 string, arg2 ...ccv2.Filter) ([]ccv2.Service, ccv2.Warnings, error) { 5713 fake.getSpaceServicesMutex.Lock() 5714 ret, specificReturn := fake.getSpaceServicesReturnsOnCall[len(fake.getSpaceServicesArgsForCall)] 5715 fake.getSpaceServicesArgsForCall = append(fake.getSpaceServicesArgsForCall, struct { 5716 arg1 string 5717 arg2 []ccv2.Filter 5718 }{arg1, arg2}) 5719 fake.recordInvocation("GetSpaceServices", []interface{}{arg1, arg2}) 5720 fake.getSpaceServicesMutex.Unlock() 5721 if fake.GetSpaceServicesStub != nil { 5722 return fake.GetSpaceServicesStub(arg1, arg2...) 5723 } 5724 if specificReturn { 5725 return ret.result1, ret.result2, ret.result3 5726 } 5727 fakeReturns := fake.getSpaceServicesReturns 5728 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5729 } 5730 5731 func (fake *FakeCloudControllerClient) GetSpaceServicesCallCount() int { 5732 fake.getSpaceServicesMutex.RLock() 5733 defer fake.getSpaceServicesMutex.RUnlock() 5734 return len(fake.getSpaceServicesArgsForCall) 5735 } 5736 5737 func (fake *FakeCloudControllerClient) GetSpaceServicesCalls(stub func(string, ...ccv2.Filter) ([]ccv2.Service, ccv2.Warnings, error)) { 5738 fake.getSpaceServicesMutex.Lock() 5739 defer fake.getSpaceServicesMutex.Unlock() 5740 fake.GetSpaceServicesStub = stub 5741 } 5742 5743 func (fake *FakeCloudControllerClient) GetSpaceServicesArgsForCall(i int) (string, []ccv2.Filter) { 5744 fake.getSpaceServicesMutex.RLock() 5745 defer fake.getSpaceServicesMutex.RUnlock() 5746 argsForCall := fake.getSpaceServicesArgsForCall[i] 5747 return argsForCall.arg1, argsForCall.arg2 5748 } 5749 5750 func (fake *FakeCloudControllerClient) GetSpaceServicesReturns(result1 []ccv2.Service, result2 ccv2.Warnings, result3 error) { 5751 fake.getSpaceServicesMutex.Lock() 5752 defer fake.getSpaceServicesMutex.Unlock() 5753 fake.GetSpaceServicesStub = nil 5754 fake.getSpaceServicesReturns = struct { 5755 result1 []ccv2.Service 5756 result2 ccv2.Warnings 5757 result3 error 5758 }{result1, result2, result3} 5759 } 5760 5761 func (fake *FakeCloudControllerClient) GetSpaceServicesReturnsOnCall(i int, result1 []ccv2.Service, result2 ccv2.Warnings, result3 error) { 5762 fake.getSpaceServicesMutex.Lock() 5763 defer fake.getSpaceServicesMutex.Unlock() 5764 fake.GetSpaceServicesStub = nil 5765 if fake.getSpaceServicesReturnsOnCall == nil { 5766 fake.getSpaceServicesReturnsOnCall = make(map[int]struct { 5767 result1 []ccv2.Service 5768 result2 ccv2.Warnings 5769 result3 error 5770 }) 5771 } 5772 fake.getSpaceServicesReturnsOnCall[i] = struct { 5773 result1 []ccv2.Service 5774 result2 ccv2.Warnings 5775 result3 error 5776 }{result1, result2, result3} 5777 } 5778 5779 func (fake *FakeCloudControllerClient) GetSpaceStagingSecurityGroups(arg1 string, arg2 ...ccv2.Filter) ([]ccv2.SecurityGroup, ccv2.Warnings, error) { 5780 fake.getSpaceStagingSecurityGroupsMutex.Lock() 5781 ret, specificReturn := fake.getSpaceStagingSecurityGroupsReturnsOnCall[len(fake.getSpaceStagingSecurityGroupsArgsForCall)] 5782 fake.getSpaceStagingSecurityGroupsArgsForCall = append(fake.getSpaceStagingSecurityGroupsArgsForCall, struct { 5783 arg1 string 5784 arg2 []ccv2.Filter 5785 }{arg1, arg2}) 5786 fake.recordInvocation("GetSpaceStagingSecurityGroups", []interface{}{arg1, arg2}) 5787 fake.getSpaceStagingSecurityGroupsMutex.Unlock() 5788 if fake.GetSpaceStagingSecurityGroupsStub != nil { 5789 return fake.GetSpaceStagingSecurityGroupsStub(arg1, arg2...) 5790 } 5791 if specificReturn { 5792 return ret.result1, ret.result2, ret.result3 5793 } 5794 fakeReturns := fake.getSpaceStagingSecurityGroupsReturns 5795 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5796 } 5797 5798 func (fake *FakeCloudControllerClient) GetSpaceStagingSecurityGroupsCallCount() int { 5799 fake.getSpaceStagingSecurityGroupsMutex.RLock() 5800 defer fake.getSpaceStagingSecurityGroupsMutex.RUnlock() 5801 return len(fake.getSpaceStagingSecurityGroupsArgsForCall) 5802 } 5803 5804 func (fake *FakeCloudControllerClient) GetSpaceStagingSecurityGroupsCalls(stub func(string, ...ccv2.Filter) ([]ccv2.SecurityGroup, ccv2.Warnings, error)) { 5805 fake.getSpaceStagingSecurityGroupsMutex.Lock() 5806 defer fake.getSpaceStagingSecurityGroupsMutex.Unlock() 5807 fake.GetSpaceStagingSecurityGroupsStub = stub 5808 } 5809 5810 func (fake *FakeCloudControllerClient) GetSpaceStagingSecurityGroupsArgsForCall(i int) (string, []ccv2.Filter) { 5811 fake.getSpaceStagingSecurityGroupsMutex.RLock() 5812 defer fake.getSpaceStagingSecurityGroupsMutex.RUnlock() 5813 argsForCall := fake.getSpaceStagingSecurityGroupsArgsForCall[i] 5814 return argsForCall.arg1, argsForCall.arg2 5815 } 5816 5817 func (fake *FakeCloudControllerClient) GetSpaceStagingSecurityGroupsReturns(result1 []ccv2.SecurityGroup, result2 ccv2.Warnings, result3 error) { 5818 fake.getSpaceStagingSecurityGroupsMutex.Lock() 5819 defer fake.getSpaceStagingSecurityGroupsMutex.Unlock() 5820 fake.GetSpaceStagingSecurityGroupsStub = nil 5821 fake.getSpaceStagingSecurityGroupsReturns = struct { 5822 result1 []ccv2.SecurityGroup 5823 result2 ccv2.Warnings 5824 result3 error 5825 }{result1, result2, result3} 5826 } 5827 5828 func (fake *FakeCloudControllerClient) GetSpaceStagingSecurityGroupsReturnsOnCall(i int, result1 []ccv2.SecurityGroup, result2 ccv2.Warnings, result3 error) { 5829 fake.getSpaceStagingSecurityGroupsMutex.Lock() 5830 defer fake.getSpaceStagingSecurityGroupsMutex.Unlock() 5831 fake.GetSpaceStagingSecurityGroupsStub = nil 5832 if fake.getSpaceStagingSecurityGroupsReturnsOnCall == nil { 5833 fake.getSpaceStagingSecurityGroupsReturnsOnCall = make(map[int]struct { 5834 result1 []ccv2.SecurityGroup 5835 result2 ccv2.Warnings 5836 result3 error 5837 }) 5838 } 5839 fake.getSpaceStagingSecurityGroupsReturnsOnCall[i] = struct { 5840 result1 []ccv2.SecurityGroup 5841 result2 ccv2.Warnings 5842 result3 error 5843 }{result1, result2, result3} 5844 } 5845 5846 func (fake *FakeCloudControllerClient) GetSpaceSummary(arg1 string) (ccv2.SpaceSummary, ccv2.Warnings, error) { 5847 fake.getSpaceSummaryMutex.Lock() 5848 ret, specificReturn := fake.getSpaceSummaryReturnsOnCall[len(fake.getSpaceSummaryArgsForCall)] 5849 fake.getSpaceSummaryArgsForCall = append(fake.getSpaceSummaryArgsForCall, struct { 5850 arg1 string 5851 }{arg1}) 5852 fake.recordInvocation("GetSpaceSummary", []interface{}{arg1}) 5853 fake.getSpaceSummaryMutex.Unlock() 5854 if fake.GetSpaceSummaryStub != nil { 5855 return fake.GetSpaceSummaryStub(arg1) 5856 } 5857 if specificReturn { 5858 return ret.result1, ret.result2, ret.result3 5859 } 5860 fakeReturns := fake.getSpaceSummaryReturns 5861 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5862 } 5863 5864 func (fake *FakeCloudControllerClient) GetSpaceSummaryCallCount() int { 5865 fake.getSpaceSummaryMutex.RLock() 5866 defer fake.getSpaceSummaryMutex.RUnlock() 5867 return len(fake.getSpaceSummaryArgsForCall) 5868 } 5869 5870 func (fake *FakeCloudControllerClient) GetSpaceSummaryCalls(stub func(string) (ccv2.SpaceSummary, ccv2.Warnings, error)) { 5871 fake.getSpaceSummaryMutex.Lock() 5872 defer fake.getSpaceSummaryMutex.Unlock() 5873 fake.GetSpaceSummaryStub = stub 5874 } 5875 5876 func (fake *FakeCloudControllerClient) GetSpaceSummaryArgsForCall(i int) string { 5877 fake.getSpaceSummaryMutex.RLock() 5878 defer fake.getSpaceSummaryMutex.RUnlock() 5879 argsForCall := fake.getSpaceSummaryArgsForCall[i] 5880 return argsForCall.arg1 5881 } 5882 5883 func (fake *FakeCloudControllerClient) GetSpaceSummaryReturns(result1 ccv2.SpaceSummary, result2 ccv2.Warnings, result3 error) { 5884 fake.getSpaceSummaryMutex.Lock() 5885 defer fake.getSpaceSummaryMutex.Unlock() 5886 fake.GetSpaceSummaryStub = nil 5887 fake.getSpaceSummaryReturns = struct { 5888 result1 ccv2.SpaceSummary 5889 result2 ccv2.Warnings 5890 result3 error 5891 }{result1, result2, result3} 5892 } 5893 5894 func (fake *FakeCloudControllerClient) GetSpaceSummaryReturnsOnCall(i int, result1 ccv2.SpaceSummary, result2 ccv2.Warnings, result3 error) { 5895 fake.getSpaceSummaryMutex.Lock() 5896 defer fake.getSpaceSummaryMutex.Unlock() 5897 fake.GetSpaceSummaryStub = nil 5898 if fake.getSpaceSummaryReturnsOnCall == nil { 5899 fake.getSpaceSummaryReturnsOnCall = make(map[int]struct { 5900 result1 ccv2.SpaceSummary 5901 result2 ccv2.Warnings 5902 result3 error 5903 }) 5904 } 5905 fake.getSpaceSummaryReturnsOnCall[i] = struct { 5906 result1 ccv2.SpaceSummary 5907 result2 ccv2.Warnings 5908 result3 error 5909 }{result1, result2, result3} 5910 } 5911 5912 func (fake *FakeCloudControllerClient) GetSpaces(arg1 ...ccv2.Filter) ([]ccv2.Space, ccv2.Warnings, error) { 5913 fake.getSpacesMutex.Lock() 5914 ret, specificReturn := fake.getSpacesReturnsOnCall[len(fake.getSpacesArgsForCall)] 5915 fake.getSpacesArgsForCall = append(fake.getSpacesArgsForCall, struct { 5916 arg1 []ccv2.Filter 5917 }{arg1}) 5918 fake.recordInvocation("GetSpaces", []interface{}{arg1}) 5919 fake.getSpacesMutex.Unlock() 5920 if fake.GetSpacesStub != nil { 5921 return fake.GetSpacesStub(arg1...) 5922 } 5923 if specificReturn { 5924 return ret.result1, ret.result2, ret.result3 5925 } 5926 fakeReturns := fake.getSpacesReturns 5927 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5928 } 5929 5930 func (fake *FakeCloudControllerClient) GetSpacesCallCount() int { 5931 fake.getSpacesMutex.RLock() 5932 defer fake.getSpacesMutex.RUnlock() 5933 return len(fake.getSpacesArgsForCall) 5934 } 5935 5936 func (fake *FakeCloudControllerClient) GetSpacesCalls(stub func(...ccv2.Filter) ([]ccv2.Space, ccv2.Warnings, error)) { 5937 fake.getSpacesMutex.Lock() 5938 defer fake.getSpacesMutex.Unlock() 5939 fake.GetSpacesStub = stub 5940 } 5941 5942 func (fake *FakeCloudControllerClient) GetSpacesArgsForCall(i int) []ccv2.Filter { 5943 fake.getSpacesMutex.RLock() 5944 defer fake.getSpacesMutex.RUnlock() 5945 argsForCall := fake.getSpacesArgsForCall[i] 5946 return argsForCall.arg1 5947 } 5948 5949 func (fake *FakeCloudControllerClient) GetSpacesReturns(result1 []ccv2.Space, result2 ccv2.Warnings, result3 error) { 5950 fake.getSpacesMutex.Lock() 5951 defer fake.getSpacesMutex.Unlock() 5952 fake.GetSpacesStub = nil 5953 fake.getSpacesReturns = struct { 5954 result1 []ccv2.Space 5955 result2 ccv2.Warnings 5956 result3 error 5957 }{result1, result2, result3} 5958 } 5959 5960 func (fake *FakeCloudControllerClient) GetSpacesReturnsOnCall(i int, result1 []ccv2.Space, result2 ccv2.Warnings, result3 error) { 5961 fake.getSpacesMutex.Lock() 5962 defer fake.getSpacesMutex.Unlock() 5963 fake.GetSpacesStub = nil 5964 if fake.getSpacesReturnsOnCall == nil { 5965 fake.getSpacesReturnsOnCall = make(map[int]struct { 5966 result1 []ccv2.Space 5967 result2 ccv2.Warnings 5968 result3 error 5969 }) 5970 } 5971 fake.getSpacesReturnsOnCall[i] = struct { 5972 result1 []ccv2.Space 5973 result2 ccv2.Warnings 5974 result3 error 5975 }{result1, result2, result3} 5976 } 5977 5978 func (fake *FakeCloudControllerClient) GetStack(arg1 string) (ccv2.Stack, ccv2.Warnings, error) { 5979 fake.getStackMutex.Lock() 5980 ret, specificReturn := fake.getStackReturnsOnCall[len(fake.getStackArgsForCall)] 5981 fake.getStackArgsForCall = append(fake.getStackArgsForCall, struct { 5982 arg1 string 5983 }{arg1}) 5984 fake.recordInvocation("GetStack", []interface{}{arg1}) 5985 fake.getStackMutex.Unlock() 5986 if fake.GetStackStub != nil { 5987 return fake.GetStackStub(arg1) 5988 } 5989 if specificReturn { 5990 return ret.result1, ret.result2, ret.result3 5991 } 5992 fakeReturns := fake.getStackReturns 5993 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5994 } 5995 5996 func (fake *FakeCloudControllerClient) GetStackCallCount() int { 5997 fake.getStackMutex.RLock() 5998 defer fake.getStackMutex.RUnlock() 5999 return len(fake.getStackArgsForCall) 6000 } 6001 6002 func (fake *FakeCloudControllerClient) GetStackCalls(stub func(string) (ccv2.Stack, ccv2.Warnings, error)) { 6003 fake.getStackMutex.Lock() 6004 defer fake.getStackMutex.Unlock() 6005 fake.GetStackStub = stub 6006 } 6007 6008 func (fake *FakeCloudControllerClient) GetStackArgsForCall(i int) string { 6009 fake.getStackMutex.RLock() 6010 defer fake.getStackMutex.RUnlock() 6011 argsForCall := fake.getStackArgsForCall[i] 6012 return argsForCall.arg1 6013 } 6014 6015 func (fake *FakeCloudControllerClient) GetStackReturns(result1 ccv2.Stack, result2 ccv2.Warnings, result3 error) { 6016 fake.getStackMutex.Lock() 6017 defer fake.getStackMutex.Unlock() 6018 fake.GetStackStub = nil 6019 fake.getStackReturns = struct { 6020 result1 ccv2.Stack 6021 result2 ccv2.Warnings 6022 result3 error 6023 }{result1, result2, result3} 6024 } 6025 6026 func (fake *FakeCloudControllerClient) GetStackReturnsOnCall(i int, result1 ccv2.Stack, result2 ccv2.Warnings, result3 error) { 6027 fake.getStackMutex.Lock() 6028 defer fake.getStackMutex.Unlock() 6029 fake.GetStackStub = nil 6030 if fake.getStackReturnsOnCall == nil { 6031 fake.getStackReturnsOnCall = make(map[int]struct { 6032 result1 ccv2.Stack 6033 result2 ccv2.Warnings 6034 result3 error 6035 }) 6036 } 6037 fake.getStackReturnsOnCall[i] = struct { 6038 result1 ccv2.Stack 6039 result2 ccv2.Warnings 6040 result3 error 6041 }{result1, result2, result3} 6042 } 6043 6044 func (fake *FakeCloudControllerClient) GetStacks(arg1 ...ccv2.Filter) ([]ccv2.Stack, ccv2.Warnings, error) { 6045 fake.getStacksMutex.Lock() 6046 ret, specificReturn := fake.getStacksReturnsOnCall[len(fake.getStacksArgsForCall)] 6047 fake.getStacksArgsForCall = append(fake.getStacksArgsForCall, struct { 6048 arg1 []ccv2.Filter 6049 }{arg1}) 6050 fake.recordInvocation("GetStacks", []interface{}{arg1}) 6051 fake.getStacksMutex.Unlock() 6052 if fake.GetStacksStub != nil { 6053 return fake.GetStacksStub(arg1...) 6054 } 6055 if specificReturn { 6056 return ret.result1, ret.result2, ret.result3 6057 } 6058 fakeReturns := fake.getStacksReturns 6059 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6060 } 6061 6062 func (fake *FakeCloudControllerClient) GetStacksCallCount() int { 6063 fake.getStacksMutex.RLock() 6064 defer fake.getStacksMutex.RUnlock() 6065 return len(fake.getStacksArgsForCall) 6066 } 6067 6068 func (fake *FakeCloudControllerClient) GetStacksCalls(stub func(...ccv2.Filter) ([]ccv2.Stack, ccv2.Warnings, error)) { 6069 fake.getStacksMutex.Lock() 6070 defer fake.getStacksMutex.Unlock() 6071 fake.GetStacksStub = stub 6072 } 6073 6074 func (fake *FakeCloudControllerClient) GetStacksArgsForCall(i int) []ccv2.Filter { 6075 fake.getStacksMutex.RLock() 6076 defer fake.getStacksMutex.RUnlock() 6077 argsForCall := fake.getStacksArgsForCall[i] 6078 return argsForCall.arg1 6079 } 6080 6081 func (fake *FakeCloudControllerClient) GetStacksReturns(result1 []ccv2.Stack, result2 ccv2.Warnings, result3 error) { 6082 fake.getStacksMutex.Lock() 6083 defer fake.getStacksMutex.Unlock() 6084 fake.GetStacksStub = nil 6085 fake.getStacksReturns = struct { 6086 result1 []ccv2.Stack 6087 result2 ccv2.Warnings 6088 result3 error 6089 }{result1, result2, result3} 6090 } 6091 6092 func (fake *FakeCloudControllerClient) GetStacksReturnsOnCall(i int, result1 []ccv2.Stack, result2 ccv2.Warnings, result3 error) { 6093 fake.getStacksMutex.Lock() 6094 defer fake.getStacksMutex.Unlock() 6095 fake.GetStacksStub = nil 6096 if fake.getStacksReturnsOnCall == nil { 6097 fake.getStacksReturnsOnCall = make(map[int]struct { 6098 result1 []ccv2.Stack 6099 result2 ccv2.Warnings 6100 result3 error 6101 }) 6102 } 6103 fake.getStacksReturnsOnCall[i] = struct { 6104 result1 []ccv2.Stack 6105 result2 ccv2.Warnings 6106 result3 error 6107 }{result1, result2, result3} 6108 } 6109 6110 func (fake *FakeCloudControllerClient) GetUserProvidedServiceInstanceServiceBindings(arg1 string) ([]ccv2.ServiceBinding, ccv2.Warnings, error) { 6111 fake.getUserProvidedServiceInstanceServiceBindingsMutex.Lock() 6112 ret, specificReturn := fake.getUserProvidedServiceInstanceServiceBindingsReturnsOnCall[len(fake.getUserProvidedServiceInstanceServiceBindingsArgsForCall)] 6113 fake.getUserProvidedServiceInstanceServiceBindingsArgsForCall = append(fake.getUserProvidedServiceInstanceServiceBindingsArgsForCall, struct { 6114 arg1 string 6115 }{arg1}) 6116 fake.recordInvocation("GetUserProvidedServiceInstanceServiceBindings", []interface{}{arg1}) 6117 fake.getUserProvidedServiceInstanceServiceBindingsMutex.Unlock() 6118 if fake.GetUserProvidedServiceInstanceServiceBindingsStub != nil { 6119 return fake.GetUserProvidedServiceInstanceServiceBindingsStub(arg1) 6120 } 6121 if specificReturn { 6122 return ret.result1, ret.result2, ret.result3 6123 } 6124 fakeReturns := fake.getUserProvidedServiceInstanceServiceBindingsReturns 6125 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6126 } 6127 6128 func (fake *FakeCloudControllerClient) GetUserProvidedServiceInstanceServiceBindingsCallCount() int { 6129 fake.getUserProvidedServiceInstanceServiceBindingsMutex.RLock() 6130 defer fake.getUserProvidedServiceInstanceServiceBindingsMutex.RUnlock() 6131 return len(fake.getUserProvidedServiceInstanceServiceBindingsArgsForCall) 6132 } 6133 6134 func (fake *FakeCloudControllerClient) GetUserProvidedServiceInstanceServiceBindingsCalls(stub func(string) ([]ccv2.ServiceBinding, ccv2.Warnings, error)) { 6135 fake.getUserProvidedServiceInstanceServiceBindingsMutex.Lock() 6136 defer fake.getUserProvidedServiceInstanceServiceBindingsMutex.Unlock() 6137 fake.GetUserProvidedServiceInstanceServiceBindingsStub = stub 6138 } 6139 6140 func (fake *FakeCloudControllerClient) GetUserProvidedServiceInstanceServiceBindingsArgsForCall(i int) string { 6141 fake.getUserProvidedServiceInstanceServiceBindingsMutex.RLock() 6142 defer fake.getUserProvidedServiceInstanceServiceBindingsMutex.RUnlock() 6143 argsForCall := fake.getUserProvidedServiceInstanceServiceBindingsArgsForCall[i] 6144 return argsForCall.arg1 6145 } 6146 6147 func (fake *FakeCloudControllerClient) GetUserProvidedServiceInstanceServiceBindingsReturns(result1 []ccv2.ServiceBinding, result2 ccv2.Warnings, result3 error) { 6148 fake.getUserProvidedServiceInstanceServiceBindingsMutex.Lock() 6149 defer fake.getUserProvidedServiceInstanceServiceBindingsMutex.Unlock() 6150 fake.GetUserProvidedServiceInstanceServiceBindingsStub = nil 6151 fake.getUserProvidedServiceInstanceServiceBindingsReturns = struct { 6152 result1 []ccv2.ServiceBinding 6153 result2 ccv2.Warnings 6154 result3 error 6155 }{result1, result2, result3} 6156 } 6157 6158 func (fake *FakeCloudControllerClient) GetUserProvidedServiceInstanceServiceBindingsReturnsOnCall(i int, result1 []ccv2.ServiceBinding, result2 ccv2.Warnings, result3 error) { 6159 fake.getUserProvidedServiceInstanceServiceBindingsMutex.Lock() 6160 defer fake.getUserProvidedServiceInstanceServiceBindingsMutex.Unlock() 6161 fake.GetUserProvidedServiceInstanceServiceBindingsStub = nil 6162 if fake.getUserProvidedServiceInstanceServiceBindingsReturnsOnCall == nil { 6163 fake.getUserProvidedServiceInstanceServiceBindingsReturnsOnCall = make(map[int]struct { 6164 result1 []ccv2.ServiceBinding 6165 result2 ccv2.Warnings 6166 result3 error 6167 }) 6168 } 6169 fake.getUserProvidedServiceInstanceServiceBindingsReturnsOnCall[i] = struct { 6170 result1 []ccv2.ServiceBinding 6171 result2 ccv2.Warnings 6172 result3 error 6173 }{result1, result2, result3} 6174 } 6175 6176 func (fake *FakeCloudControllerClient) LogCacheEndpoint() string { 6177 fake.logCacheEndpointMutex.Lock() 6178 ret, specificReturn := fake.logCacheEndpointReturnsOnCall[len(fake.logCacheEndpointArgsForCall)] 6179 fake.logCacheEndpointArgsForCall = append(fake.logCacheEndpointArgsForCall, struct { 6180 }{}) 6181 fake.recordInvocation("LogCacheEndpoint", []interface{}{}) 6182 fake.logCacheEndpointMutex.Unlock() 6183 if fake.LogCacheEndpointStub != nil { 6184 return fake.LogCacheEndpointStub() 6185 } 6186 if specificReturn { 6187 return ret.result1 6188 } 6189 fakeReturns := fake.logCacheEndpointReturns 6190 return fakeReturns.result1 6191 } 6192 6193 func (fake *FakeCloudControllerClient) LogCacheEndpointCallCount() int { 6194 fake.logCacheEndpointMutex.RLock() 6195 defer fake.logCacheEndpointMutex.RUnlock() 6196 return len(fake.logCacheEndpointArgsForCall) 6197 } 6198 6199 func (fake *FakeCloudControllerClient) LogCacheEndpointCalls(stub func() string) { 6200 fake.logCacheEndpointMutex.Lock() 6201 defer fake.logCacheEndpointMutex.Unlock() 6202 fake.LogCacheEndpointStub = stub 6203 } 6204 6205 func (fake *FakeCloudControllerClient) LogCacheEndpointReturns(result1 string) { 6206 fake.logCacheEndpointMutex.Lock() 6207 defer fake.logCacheEndpointMutex.Unlock() 6208 fake.LogCacheEndpointStub = nil 6209 fake.logCacheEndpointReturns = struct { 6210 result1 string 6211 }{result1} 6212 } 6213 6214 func (fake *FakeCloudControllerClient) LogCacheEndpointReturnsOnCall(i int, result1 string) { 6215 fake.logCacheEndpointMutex.Lock() 6216 defer fake.logCacheEndpointMutex.Unlock() 6217 fake.LogCacheEndpointStub = nil 6218 if fake.logCacheEndpointReturnsOnCall == nil { 6219 fake.logCacheEndpointReturnsOnCall = make(map[int]struct { 6220 result1 string 6221 }) 6222 } 6223 fake.logCacheEndpointReturnsOnCall[i] = struct { 6224 result1 string 6225 }{result1} 6226 } 6227 6228 func (fake *FakeCloudControllerClient) MinCLIVersion() string { 6229 fake.minCLIVersionMutex.Lock() 6230 ret, specificReturn := fake.minCLIVersionReturnsOnCall[len(fake.minCLIVersionArgsForCall)] 6231 fake.minCLIVersionArgsForCall = append(fake.minCLIVersionArgsForCall, struct { 6232 }{}) 6233 fake.recordInvocation("MinCLIVersion", []interface{}{}) 6234 fake.minCLIVersionMutex.Unlock() 6235 if fake.MinCLIVersionStub != nil { 6236 return fake.MinCLIVersionStub() 6237 } 6238 if specificReturn { 6239 return ret.result1 6240 } 6241 fakeReturns := fake.minCLIVersionReturns 6242 return fakeReturns.result1 6243 } 6244 6245 func (fake *FakeCloudControllerClient) MinCLIVersionCallCount() int { 6246 fake.minCLIVersionMutex.RLock() 6247 defer fake.minCLIVersionMutex.RUnlock() 6248 return len(fake.minCLIVersionArgsForCall) 6249 } 6250 6251 func (fake *FakeCloudControllerClient) MinCLIVersionCalls(stub func() string) { 6252 fake.minCLIVersionMutex.Lock() 6253 defer fake.minCLIVersionMutex.Unlock() 6254 fake.MinCLIVersionStub = stub 6255 } 6256 6257 func (fake *FakeCloudControllerClient) MinCLIVersionReturns(result1 string) { 6258 fake.minCLIVersionMutex.Lock() 6259 defer fake.minCLIVersionMutex.Unlock() 6260 fake.MinCLIVersionStub = nil 6261 fake.minCLIVersionReturns = struct { 6262 result1 string 6263 }{result1} 6264 } 6265 6266 func (fake *FakeCloudControllerClient) MinCLIVersionReturnsOnCall(i int, result1 string) { 6267 fake.minCLIVersionMutex.Lock() 6268 defer fake.minCLIVersionMutex.Unlock() 6269 fake.MinCLIVersionStub = nil 6270 if fake.minCLIVersionReturnsOnCall == nil { 6271 fake.minCLIVersionReturnsOnCall = make(map[int]struct { 6272 result1 string 6273 }) 6274 } 6275 fake.minCLIVersionReturnsOnCall[i] = struct { 6276 result1 string 6277 }{result1} 6278 } 6279 6280 func (fake *FakeCloudControllerClient) PollJob(arg1 ccv2.Job) (ccv2.Warnings, error) { 6281 fake.pollJobMutex.Lock() 6282 ret, specificReturn := fake.pollJobReturnsOnCall[len(fake.pollJobArgsForCall)] 6283 fake.pollJobArgsForCall = append(fake.pollJobArgsForCall, struct { 6284 arg1 ccv2.Job 6285 }{arg1}) 6286 fake.recordInvocation("PollJob", []interface{}{arg1}) 6287 fake.pollJobMutex.Unlock() 6288 if fake.PollJobStub != nil { 6289 return fake.PollJobStub(arg1) 6290 } 6291 if specificReturn { 6292 return ret.result1, ret.result2 6293 } 6294 fakeReturns := fake.pollJobReturns 6295 return fakeReturns.result1, fakeReturns.result2 6296 } 6297 6298 func (fake *FakeCloudControllerClient) PollJobCallCount() int { 6299 fake.pollJobMutex.RLock() 6300 defer fake.pollJobMutex.RUnlock() 6301 return len(fake.pollJobArgsForCall) 6302 } 6303 6304 func (fake *FakeCloudControllerClient) PollJobCalls(stub func(ccv2.Job) (ccv2.Warnings, error)) { 6305 fake.pollJobMutex.Lock() 6306 defer fake.pollJobMutex.Unlock() 6307 fake.PollJobStub = stub 6308 } 6309 6310 func (fake *FakeCloudControllerClient) PollJobArgsForCall(i int) ccv2.Job { 6311 fake.pollJobMutex.RLock() 6312 defer fake.pollJobMutex.RUnlock() 6313 argsForCall := fake.pollJobArgsForCall[i] 6314 return argsForCall.arg1 6315 } 6316 6317 func (fake *FakeCloudControllerClient) PollJobReturns(result1 ccv2.Warnings, result2 error) { 6318 fake.pollJobMutex.Lock() 6319 defer fake.pollJobMutex.Unlock() 6320 fake.PollJobStub = nil 6321 fake.pollJobReturns = struct { 6322 result1 ccv2.Warnings 6323 result2 error 6324 }{result1, result2} 6325 } 6326 6327 func (fake *FakeCloudControllerClient) PollJobReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 6328 fake.pollJobMutex.Lock() 6329 defer fake.pollJobMutex.Unlock() 6330 fake.PollJobStub = nil 6331 if fake.pollJobReturnsOnCall == nil { 6332 fake.pollJobReturnsOnCall = make(map[int]struct { 6333 result1 ccv2.Warnings 6334 result2 error 6335 }) 6336 } 6337 fake.pollJobReturnsOnCall[i] = struct { 6338 result1 ccv2.Warnings 6339 result2 error 6340 }{result1, result2} 6341 } 6342 6343 func (fake *FakeCloudControllerClient) RestageApplication(arg1 ccv2.Application) (ccv2.Application, ccv2.Warnings, error) { 6344 fake.restageApplicationMutex.Lock() 6345 ret, specificReturn := fake.restageApplicationReturnsOnCall[len(fake.restageApplicationArgsForCall)] 6346 fake.restageApplicationArgsForCall = append(fake.restageApplicationArgsForCall, struct { 6347 arg1 ccv2.Application 6348 }{arg1}) 6349 fake.recordInvocation("RestageApplication", []interface{}{arg1}) 6350 fake.restageApplicationMutex.Unlock() 6351 if fake.RestageApplicationStub != nil { 6352 return fake.RestageApplicationStub(arg1) 6353 } 6354 if specificReturn { 6355 return ret.result1, ret.result2, ret.result3 6356 } 6357 fakeReturns := fake.restageApplicationReturns 6358 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6359 } 6360 6361 func (fake *FakeCloudControllerClient) RestageApplicationCallCount() int { 6362 fake.restageApplicationMutex.RLock() 6363 defer fake.restageApplicationMutex.RUnlock() 6364 return len(fake.restageApplicationArgsForCall) 6365 } 6366 6367 func (fake *FakeCloudControllerClient) RestageApplicationCalls(stub func(ccv2.Application) (ccv2.Application, ccv2.Warnings, error)) { 6368 fake.restageApplicationMutex.Lock() 6369 defer fake.restageApplicationMutex.Unlock() 6370 fake.RestageApplicationStub = stub 6371 } 6372 6373 func (fake *FakeCloudControllerClient) RestageApplicationArgsForCall(i int) ccv2.Application { 6374 fake.restageApplicationMutex.RLock() 6375 defer fake.restageApplicationMutex.RUnlock() 6376 argsForCall := fake.restageApplicationArgsForCall[i] 6377 return argsForCall.arg1 6378 } 6379 6380 func (fake *FakeCloudControllerClient) RestageApplicationReturns(result1 ccv2.Application, result2 ccv2.Warnings, result3 error) { 6381 fake.restageApplicationMutex.Lock() 6382 defer fake.restageApplicationMutex.Unlock() 6383 fake.RestageApplicationStub = nil 6384 fake.restageApplicationReturns = struct { 6385 result1 ccv2.Application 6386 result2 ccv2.Warnings 6387 result3 error 6388 }{result1, result2, result3} 6389 } 6390 6391 func (fake *FakeCloudControllerClient) RestageApplicationReturnsOnCall(i int, result1 ccv2.Application, result2 ccv2.Warnings, result3 error) { 6392 fake.restageApplicationMutex.Lock() 6393 defer fake.restageApplicationMutex.Unlock() 6394 fake.RestageApplicationStub = nil 6395 if fake.restageApplicationReturnsOnCall == nil { 6396 fake.restageApplicationReturnsOnCall = make(map[int]struct { 6397 result1 ccv2.Application 6398 result2 ccv2.Warnings 6399 result3 error 6400 }) 6401 } 6402 fake.restageApplicationReturnsOnCall[i] = struct { 6403 result1 ccv2.Application 6404 result2 ccv2.Warnings 6405 result3 error 6406 }{result1, result2, result3} 6407 } 6408 6409 func (fake *FakeCloudControllerClient) RoutingEndpoint() string { 6410 fake.routingEndpointMutex.Lock() 6411 ret, specificReturn := fake.routingEndpointReturnsOnCall[len(fake.routingEndpointArgsForCall)] 6412 fake.routingEndpointArgsForCall = append(fake.routingEndpointArgsForCall, struct { 6413 }{}) 6414 fake.recordInvocation("RoutingEndpoint", []interface{}{}) 6415 fake.routingEndpointMutex.Unlock() 6416 if fake.RoutingEndpointStub != nil { 6417 return fake.RoutingEndpointStub() 6418 } 6419 if specificReturn { 6420 return ret.result1 6421 } 6422 fakeReturns := fake.routingEndpointReturns 6423 return fakeReturns.result1 6424 } 6425 6426 func (fake *FakeCloudControllerClient) RoutingEndpointCallCount() int { 6427 fake.routingEndpointMutex.RLock() 6428 defer fake.routingEndpointMutex.RUnlock() 6429 return len(fake.routingEndpointArgsForCall) 6430 } 6431 6432 func (fake *FakeCloudControllerClient) RoutingEndpointCalls(stub func() string) { 6433 fake.routingEndpointMutex.Lock() 6434 defer fake.routingEndpointMutex.Unlock() 6435 fake.RoutingEndpointStub = stub 6436 } 6437 6438 func (fake *FakeCloudControllerClient) RoutingEndpointReturns(result1 string) { 6439 fake.routingEndpointMutex.Lock() 6440 defer fake.routingEndpointMutex.Unlock() 6441 fake.RoutingEndpointStub = nil 6442 fake.routingEndpointReturns = struct { 6443 result1 string 6444 }{result1} 6445 } 6446 6447 func (fake *FakeCloudControllerClient) RoutingEndpointReturnsOnCall(i int, result1 string) { 6448 fake.routingEndpointMutex.Lock() 6449 defer fake.routingEndpointMutex.Unlock() 6450 fake.RoutingEndpointStub = nil 6451 if fake.routingEndpointReturnsOnCall == nil { 6452 fake.routingEndpointReturnsOnCall = make(map[int]struct { 6453 result1 string 6454 }) 6455 } 6456 fake.routingEndpointReturnsOnCall[i] = struct { 6457 result1 string 6458 }{result1} 6459 } 6460 6461 func (fake *FakeCloudControllerClient) SetSpaceQuota(arg1 string, arg2 string) (ccv2.Warnings, error) { 6462 fake.setSpaceQuotaMutex.Lock() 6463 ret, specificReturn := fake.setSpaceQuotaReturnsOnCall[len(fake.setSpaceQuotaArgsForCall)] 6464 fake.setSpaceQuotaArgsForCall = append(fake.setSpaceQuotaArgsForCall, struct { 6465 arg1 string 6466 arg2 string 6467 }{arg1, arg2}) 6468 fake.recordInvocation("SetSpaceQuota", []interface{}{arg1, arg2}) 6469 fake.setSpaceQuotaMutex.Unlock() 6470 if fake.SetSpaceQuotaStub != nil { 6471 return fake.SetSpaceQuotaStub(arg1, arg2) 6472 } 6473 if specificReturn { 6474 return ret.result1, ret.result2 6475 } 6476 fakeReturns := fake.setSpaceQuotaReturns 6477 return fakeReturns.result1, fakeReturns.result2 6478 } 6479 6480 func (fake *FakeCloudControllerClient) SetSpaceQuotaCallCount() int { 6481 fake.setSpaceQuotaMutex.RLock() 6482 defer fake.setSpaceQuotaMutex.RUnlock() 6483 return len(fake.setSpaceQuotaArgsForCall) 6484 } 6485 6486 func (fake *FakeCloudControllerClient) SetSpaceQuotaCalls(stub func(string, string) (ccv2.Warnings, error)) { 6487 fake.setSpaceQuotaMutex.Lock() 6488 defer fake.setSpaceQuotaMutex.Unlock() 6489 fake.SetSpaceQuotaStub = stub 6490 } 6491 6492 func (fake *FakeCloudControllerClient) SetSpaceQuotaArgsForCall(i int) (string, string) { 6493 fake.setSpaceQuotaMutex.RLock() 6494 defer fake.setSpaceQuotaMutex.RUnlock() 6495 argsForCall := fake.setSpaceQuotaArgsForCall[i] 6496 return argsForCall.arg1, argsForCall.arg2 6497 } 6498 6499 func (fake *FakeCloudControllerClient) SetSpaceQuotaReturns(result1 ccv2.Warnings, result2 error) { 6500 fake.setSpaceQuotaMutex.Lock() 6501 defer fake.setSpaceQuotaMutex.Unlock() 6502 fake.SetSpaceQuotaStub = nil 6503 fake.setSpaceQuotaReturns = struct { 6504 result1 ccv2.Warnings 6505 result2 error 6506 }{result1, result2} 6507 } 6508 6509 func (fake *FakeCloudControllerClient) SetSpaceQuotaReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 6510 fake.setSpaceQuotaMutex.Lock() 6511 defer fake.setSpaceQuotaMutex.Unlock() 6512 fake.SetSpaceQuotaStub = nil 6513 if fake.setSpaceQuotaReturnsOnCall == nil { 6514 fake.setSpaceQuotaReturnsOnCall = make(map[int]struct { 6515 result1 ccv2.Warnings 6516 result2 error 6517 }) 6518 } 6519 fake.setSpaceQuotaReturnsOnCall[i] = struct { 6520 result1 ccv2.Warnings 6521 result2 error 6522 }{result1, result2} 6523 } 6524 6525 func (fake *FakeCloudControllerClient) TargetCF(arg1 ccv2.TargetSettings) (ccv2.Warnings, error) { 6526 fake.targetCFMutex.Lock() 6527 ret, specificReturn := fake.targetCFReturnsOnCall[len(fake.targetCFArgsForCall)] 6528 fake.targetCFArgsForCall = append(fake.targetCFArgsForCall, struct { 6529 arg1 ccv2.TargetSettings 6530 }{arg1}) 6531 fake.recordInvocation("TargetCF", []interface{}{arg1}) 6532 fake.targetCFMutex.Unlock() 6533 if fake.TargetCFStub != nil { 6534 return fake.TargetCFStub(arg1) 6535 } 6536 if specificReturn { 6537 return ret.result1, ret.result2 6538 } 6539 fakeReturns := fake.targetCFReturns 6540 return fakeReturns.result1, fakeReturns.result2 6541 } 6542 6543 func (fake *FakeCloudControllerClient) TargetCFCallCount() int { 6544 fake.targetCFMutex.RLock() 6545 defer fake.targetCFMutex.RUnlock() 6546 return len(fake.targetCFArgsForCall) 6547 } 6548 6549 func (fake *FakeCloudControllerClient) TargetCFCalls(stub func(ccv2.TargetSettings) (ccv2.Warnings, error)) { 6550 fake.targetCFMutex.Lock() 6551 defer fake.targetCFMutex.Unlock() 6552 fake.TargetCFStub = stub 6553 } 6554 6555 func (fake *FakeCloudControllerClient) TargetCFArgsForCall(i int) ccv2.TargetSettings { 6556 fake.targetCFMutex.RLock() 6557 defer fake.targetCFMutex.RUnlock() 6558 argsForCall := fake.targetCFArgsForCall[i] 6559 return argsForCall.arg1 6560 } 6561 6562 func (fake *FakeCloudControllerClient) TargetCFReturns(result1 ccv2.Warnings, result2 error) { 6563 fake.targetCFMutex.Lock() 6564 defer fake.targetCFMutex.Unlock() 6565 fake.TargetCFStub = nil 6566 fake.targetCFReturns = struct { 6567 result1 ccv2.Warnings 6568 result2 error 6569 }{result1, result2} 6570 } 6571 6572 func (fake *FakeCloudControllerClient) TargetCFReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 6573 fake.targetCFMutex.Lock() 6574 defer fake.targetCFMutex.Unlock() 6575 fake.TargetCFStub = nil 6576 if fake.targetCFReturnsOnCall == nil { 6577 fake.targetCFReturnsOnCall = make(map[int]struct { 6578 result1 ccv2.Warnings 6579 result2 error 6580 }) 6581 } 6582 fake.targetCFReturnsOnCall[i] = struct { 6583 result1 ccv2.Warnings 6584 result2 error 6585 }{result1, result2} 6586 } 6587 6588 func (fake *FakeCloudControllerClient) UpdateApplication(arg1 ccv2.Application) (ccv2.Application, ccv2.Warnings, error) { 6589 fake.updateApplicationMutex.Lock() 6590 ret, specificReturn := fake.updateApplicationReturnsOnCall[len(fake.updateApplicationArgsForCall)] 6591 fake.updateApplicationArgsForCall = append(fake.updateApplicationArgsForCall, struct { 6592 arg1 ccv2.Application 6593 }{arg1}) 6594 fake.recordInvocation("UpdateApplication", []interface{}{arg1}) 6595 fake.updateApplicationMutex.Unlock() 6596 if fake.UpdateApplicationStub != nil { 6597 return fake.UpdateApplicationStub(arg1) 6598 } 6599 if specificReturn { 6600 return ret.result1, ret.result2, ret.result3 6601 } 6602 fakeReturns := fake.updateApplicationReturns 6603 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6604 } 6605 6606 func (fake *FakeCloudControllerClient) UpdateApplicationCallCount() int { 6607 fake.updateApplicationMutex.RLock() 6608 defer fake.updateApplicationMutex.RUnlock() 6609 return len(fake.updateApplicationArgsForCall) 6610 } 6611 6612 func (fake *FakeCloudControllerClient) UpdateApplicationCalls(stub func(ccv2.Application) (ccv2.Application, ccv2.Warnings, error)) { 6613 fake.updateApplicationMutex.Lock() 6614 defer fake.updateApplicationMutex.Unlock() 6615 fake.UpdateApplicationStub = stub 6616 } 6617 6618 func (fake *FakeCloudControllerClient) UpdateApplicationArgsForCall(i int) ccv2.Application { 6619 fake.updateApplicationMutex.RLock() 6620 defer fake.updateApplicationMutex.RUnlock() 6621 argsForCall := fake.updateApplicationArgsForCall[i] 6622 return argsForCall.arg1 6623 } 6624 6625 func (fake *FakeCloudControllerClient) UpdateApplicationReturns(result1 ccv2.Application, result2 ccv2.Warnings, result3 error) { 6626 fake.updateApplicationMutex.Lock() 6627 defer fake.updateApplicationMutex.Unlock() 6628 fake.UpdateApplicationStub = nil 6629 fake.updateApplicationReturns = struct { 6630 result1 ccv2.Application 6631 result2 ccv2.Warnings 6632 result3 error 6633 }{result1, result2, result3} 6634 } 6635 6636 func (fake *FakeCloudControllerClient) UpdateApplicationReturnsOnCall(i int, result1 ccv2.Application, result2 ccv2.Warnings, result3 error) { 6637 fake.updateApplicationMutex.Lock() 6638 defer fake.updateApplicationMutex.Unlock() 6639 fake.UpdateApplicationStub = nil 6640 if fake.updateApplicationReturnsOnCall == nil { 6641 fake.updateApplicationReturnsOnCall = make(map[int]struct { 6642 result1 ccv2.Application 6643 result2 ccv2.Warnings 6644 result3 error 6645 }) 6646 } 6647 fake.updateApplicationReturnsOnCall[i] = struct { 6648 result1 ccv2.Application 6649 result2 ccv2.Warnings 6650 result3 error 6651 }{result1, result2, result3} 6652 } 6653 6654 func (fake *FakeCloudControllerClient) UpdateBuildpack(arg1 ccv2.Buildpack) (ccv2.Buildpack, ccv2.Warnings, error) { 6655 fake.updateBuildpackMutex.Lock() 6656 ret, specificReturn := fake.updateBuildpackReturnsOnCall[len(fake.updateBuildpackArgsForCall)] 6657 fake.updateBuildpackArgsForCall = append(fake.updateBuildpackArgsForCall, struct { 6658 arg1 ccv2.Buildpack 6659 }{arg1}) 6660 fake.recordInvocation("UpdateBuildpack", []interface{}{arg1}) 6661 fake.updateBuildpackMutex.Unlock() 6662 if fake.UpdateBuildpackStub != nil { 6663 return fake.UpdateBuildpackStub(arg1) 6664 } 6665 if specificReturn { 6666 return ret.result1, ret.result2, ret.result3 6667 } 6668 fakeReturns := fake.updateBuildpackReturns 6669 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6670 } 6671 6672 func (fake *FakeCloudControllerClient) UpdateBuildpackCallCount() int { 6673 fake.updateBuildpackMutex.RLock() 6674 defer fake.updateBuildpackMutex.RUnlock() 6675 return len(fake.updateBuildpackArgsForCall) 6676 } 6677 6678 func (fake *FakeCloudControllerClient) UpdateBuildpackCalls(stub func(ccv2.Buildpack) (ccv2.Buildpack, ccv2.Warnings, error)) { 6679 fake.updateBuildpackMutex.Lock() 6680 defer fake.updateBuildpackMutex.Unlock() 6681 fake.UpdateBuildpackStub = stub 6682 } 6683 6684 func (fake *FakeCloudControllerClient) UpdateBuildpackArgsForCall(i int) ccv2.Buildpack { 6685 fake.updateBuildpackMutex.RLock() 6686 defer fake.updateBuildpackMutex.RUnlock() 6687 argsForCall := fake.updateBuildpackArgsForCall[i] 6688 return argsForCall.arg1 6689 } 6690 6691 func (fake *FakeCloudControllerClient) UpdateBuildpackReturns(result1 ccv2.Buildpack, result2 ccv2.Warnings, result3 error) { 6692 fake.updateBuildpackMutex.Lock() 6693 defer fake.updateBuildpackMutex.Unlock() 6694 fake.UpdateBuildpackStub = nil 6695 fake.updateBuildpackReturns = struct { 6696 result1 ccv2.Buildpack 6697 result2 ccv2.Warnings 6698 result3 error 6699 }{result1, result2, result3} 6700 } 6701 6702 func (fake *FakeCloudControllerClient) UpdateBuildpackReturnsOnCall(i int, result1 ccv2.Buildpack, result2 ccv2.Warnings, result3 error) { 6703 fake.updateBuildpackMutex.Lock() 6704 defer fake.updateBuildpackMutex.Unlock() 6705 fake.UpdateBuildpackStub = nil 6706 if fake.updateBuildpackReturnsOnCall == nil { 6707 fake.updateBuildpackReturnsOnCall = make(map[int]struct { 6708 result1 ccv2.Buildpack 6709 result2 ccv2.Warnings 6710 result3 error 6711 }) 6712 } 6713 fake.updateBuildpackReturnsOnCall[i] = struct { 6714 result1 ccv2.Buildpack 6715 result2 ccv2.Warnings 6716 result3 error 6717 }{result1, result2, result3} 6718 } 6719 6720 func (fake *FakeCloudControllerClient) UpdateOrganizationManager(arg1 string, arg2 string) (ccv2.Warnings, error) { 6721 fake.updateOrganizationManagerMutex.Lock() 6722 ret, specificReturn := fake.updateOrganizationManagerReturnsOnCall[len(fake.updateOrganizationManagerArgsForCall)] 6723 fake.updateOrganizationManagerArgsForCall = append(fake.updateOrganizationManagerArgsForCall, struct { 6724 arg1 string 6725 arg2 string 6726 }{arg1, arg2}) 6727 fake.recordInvocation("UpdateOrganizationManager", []interface{}{arg1, arg2}) 6728 fake.updateOrganizationManagerMutex.Unlock() 6729 if fake.UpdateOrganizationManagerStub != nil { 6730 return fake.UpdateOrganizationManagerStub(arg1, arg2) 6731 } 6732 if specificReturn { 6733 return ret.result1, ret.result2 6734 } 6735 fakeReturns := fake.updateOrganizationManagerReturns 6736 return fakeReturns.result1, fakeReturns.result2 6737 } 6738 6739 func (fake *FakeCloudControllerClient) UpdateOrganizationManagerCallCount() int { 6740 fake.updateOrganizationManagerMutex.RLock() 6741 defer fake.updateOrganizationManagerMutex.RUnlock() 6742 return len(fake.updateOrganizationManagerArgsForCall) 6743 } 6744 6745 func (fake *FakeCloudControllerClient) UpdateOrganizationManagerCalls(stub func(string, string) (ccv2.Warnings, error)) { 6746 fake.updateOrganizationManagerMutex.Lock() 6747 defer fake.updateOrganizationManagerMutex.Unlock() 6748 fake.UpdateOrganizationManagerStub = stub 6749 } 6750 6751 func (fake *FakeCloudControllerClient) UpdateOrganizationManagerArgsForCall(i int) (string, string) { 6752 fake.updateOrganizationManagerMutex.RLock() 6753 defer fake.updateOrganizationManagerMutex.RUnlock() 6754 argsForCall := fake.updateOrganizationManagerArgsForCall[i] 6755 return argsForCall.arg1, argsForCall.arg2 6756 } 6757 6758 func (fake *FakeCloudControllerClient) UpdateOrganizationManagerReturns(result1 ccv2.Warnings, result2 error) { 6759 fake.updateOrganizationManagerMutex.Lock() 6760 defer fake.updateOrganizationManagerMutex.Unlock() 6761 fake.UpdateOrganizationManagerStub = nil 6762 fake.updateOrganizationManagerReturns = struct { 6763 result1 ccv2.Warnings 6764 result2 error 6765 }{result1, result2} 6766 } 6767 6768 func (fake *FakeCloudControllerClient) UpdateOrganizationManagerReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 6769 fake.updateOrganizationManagerMutex.Lock() 6770 defer fake.updateOrganizationManagerMutex.Unlock() 6771 fake.UpdateOrganizationManagerStub = nil 6772 if fake.updateOrganizationManagerReturnsOnCall == nil { 6773 fake.updateOrganizationManagerReturnsOnCall = make(map[int]struct { 6774 result1 ccv2.Warnings 6775 result2 error 6776 }) 6777 } 6778 fake.updateOrganizationManagerReturnsOnCall[i] = struct { 6779 result1 ccv2.Warnings 6780 result2 error 6781 }{result1, result2} 6782 } 6783 6784 func (fake *FakeCloudControllerClient) UpdateOrganizationManagerByUsername(arg1 string, arg2 string) (ccv2.Warnings, error) { 6785 fake.updateOrganizationManagerByUsernameMutex.Lock() 6786 ret, specificReturn := fake.updateOrganizationManagerByUsernameReturnsOnCall[len(fake.updateOrganizationManagerByUsernameArgsForCall)] 6787 fake.updateOrganizationManagerByUsernameArgsForCall = append(fake.updateOrganizationManagerByUsernameArgsForCall, struct { 6788 arg1 string 6789 arg2 string 6790 }{arg1, arg2}) 6791 fake.recordInvocation("UpdateOrganizationManagerByUsername", []interface{}{arg1, arg2}) 6792 fake.updateOrganizationManagerByUsernameMutex.Unlock() 6793 if fake.UpdateOrganizationManagerByUsernameStub != nil { 6794 return fake.UpdateOrganizationManagerByUsernameStub(arg1, arg2) 6795 } 6796 if specificReturn { 6797 return ret.result1, ret.result2 6798 } 6799 fakeReturns := fake.updateOrganizationManagerByUsernameReturns 6800 return fakeReturns.result1, fakeReturns.result2 6801 } 6802 6803 func (fake *FakeCloudControllerClient) UpdateOrganizationManagerByUsernameCallCount() int { 6804 fake.updateOrganizationManagerByUsernameMutex.RLock() 6805 defer fake.updateOrganizationManagerByUsernameMutex.RUnlock() 6806 return len(fake.updateOrganizationManagerByUsernameArgsForCall) 6807 } 6808 6809 func (fake *FakeCloudControllerClient) UpdateOrganizationManagerByUsernameCalls(stub func(string, string) (ccv2.Warnings, error)) { 6810 fake.updateOrganizationManagerByUsernameMutex.Lock() 6811 defer fake.updateOrganizationManagerByUsernameMutex.Unlock() 6812 fake.UpdateOrganizationManagerByUsernameStub = stub 6813 } 6814 6815 func (fake *FakeCloudControllerClient) UpdateOrganizationManagerByUsernameArgsForCall(i int) (string, string) { 6816 fake.updateOrganizationManagerByUsernameMutex.RLock() 6817 defer fake.updateOrganizationManagerByUsernameMutex.RUnlock() 6818 argsForCall := fake.updateOrganizationManagerByUsernameArgsForCall[i] 6819 return argsForCall.arg1, argsForCall.arg2 6820 } 6821 6822 func (fake *FakeCloudControllerClient) UpdateOrganizationManagerByUsernameReturns(result1 ccv2.Warnings, result2 error) { 6823 fake.updateOrganizationManagerByUsernameMutex.Lock() 6824 defer fake.updateOrganizationManagerByUsernameMutex.Unlock() 6825 fake.UpdateOrganizationManagerByUsernameStub = nil 6826 fake.updateOrganizationManagerByUsernameReturns = struct { 6827 result1 ccv2.Warnings 6828 result2 error 6829 }{result1, result2} 6830 } 6831 6832 func (fake *FakeCloudControllerClient) UpdateOrganizationManagerByUsernameReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 6833 fake.updateOrganizationManagerByUsernameMutex.Lock() 6834 defer fake.updateOrganizationManagerByUsernameMutex.Unlock() 6835 fake.UpdateOrganizationManagerByUsernameStub = nil 6836 if fake.updateOrganizationManagerByUsernameReturnsOnCall == nil { 6837 fake.updateOrganizationManagerByUsernameReturnsOnCall = make(map[int]struct { 6838 result1 ccv2.Warnings 6839 result2 error 6840 }) 6841 } 6842 fake.updateOrganizationManagerByUsernameReturnsOnCall[i] = struct { 6843 result1 ccv2.Warnings 6844 result2 error 6845 }{result1, result2} 6846 } 6847 6848 func (fake *FakeCloudControllerClient) UpdateOrganizationUser(arg1 string, arg2 string) (ccv2.Warnings, error) { 6849 fake.updateOrganizationUserMutex.Lock() 6850 ret, specificReturn := fake.updateOrganizationUserReturnsOnCall[len(fake.updateOrganizationUserArgsForCall)] 6851 fake.updateOrganizationUserArgsForCall = append(fake.updateOrganizationUserArgsForCall, struct { 6852 arg1 string 6853 arg2 string 6854 }{arg1, arg2}) 6855 fake.recordInvocation("UpdateOrganizationUser", []interface{}{arg1, arg2}) 6856 fake.updateOrganizationUserMutex.Unlock() 6857 if fake.UpdateOrganizationUserStub != nil { 6858 return fake.UpdateOrganizationUserStub(arg1, arg2) 6859 } 6860 if specificReturn { 6861 return ret.result1, ret.result2 6862 } 6863 fakeReturns := fake.updateOrganizationUserReturns 6864 return fakeReturns.result1, fakeReturns.result2 6865 } 6866 6867 func (fake *FakeCloudControllerClient) UpdateOrganizationUserCallCount() int { 6868 fake.updateOrganizationUserMutex.RLock() 6869 defer fake.updateOrganizationUserMutex.RUnlock() 6870 return len(fake.updateOrganizationUserArgsForCall) 6871 } 6872 6873 func (fake *FakeCloudControllerClient) UpdateOrganizationUserCalls(stub func(string, string) (ccv2.Warnings, error)) { 6874 fake.updateOrganizationUserMutex.Lock() 6875 defer fake.updateOrganizationUserMutex.Unlock() 6876 fake.UpdateOrganizationUserStub = stub 6877 } 6878 6879 func (fake *FakeCloudControllerClient) UpdateOrganizationUserArgsForCall(i int) (string, string) { 6880 fake.updateOrganizationUserMutex.RLock() 6881 defer fake.updateOrganizationUserMutex.RUnlock() 6882 argsForCall := fake.updateOrganizationUserArgsForCall[i] 6883 return argsForCall.arg1, argsForCall.arg2 6884 } 6885 6886 func (fake *FakeCloudControllerClient) UpdateOrganizationUserReturns(result1 ccv2.Warnings, result2 error) { 6887 fake.updateOrganizationUserMutex.Lock() 6888 defer fake.updateOrganizationUserMutex.Unlock() 6889 fake.UpdateOrganizationUserStub = nil 6890 fake.updateOrganizationUserReturns = struct { 6891 result1 ccv2.Warnings 6892 result2 error 6893 }{result1, result2} 6894 } 6895 6896 func (fake *FakeCloudControllerClient) UpdateOrganizationUserReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 6897 fake.updateOrganizationUserMutex.Lock() 6898 defer fake.updateOrganizationUserMutex.Unlock() 6899 fake.UpdateOrganizationUserStub = nil 6900 if fake.updateOrganizationUserReturnsOnCall == nil { 6901 fake.updateOrganizationUserReturnsOnCall = make(map[int]struct { 6902 result1 ccv2.Warnings 6903 result2 error 6904 }) 6905 } 6906 fake.updateOrganizationUserReturnsOnCall[i] = struct { 6907 result1 ccv2.Warnings 6908 result2 error 6909 }{result1, result2} 6910 } 6911 6912 func (fake *FakeCloudControllerClient) UpdateOrganizationUserByUsername(arg1 string, arg2 string) (ccv2.Warnings, error) { 6913 fake.updateOrganizationUserByUsernameMutex.Lock() 6914 ret, specificReturn := fake.updateOrganizationUserByUsernameReturnsOnCall[len(fake.updateOrganizationUserByUsernameArgsForCall)] 6915 fake.updateOrganizationUserByUsernameArgsForCall = append(fake.updateOrganizationUserByUsernameArgsForCall, struct { 6916 arg1 string 6917 arg2 string 6918 }{arg1, arg2}) 6919 fake.recordInvocation("UpdateOrganizationUserByUsername", []interface{}{arg1, arg2}) 6920 fake.updateOrganizationUserByUsernameMutex.Unlock() 6921 if fake.UpdateOrganizationUserByUsernameStub != nil { 6922 return fake.UpdateOrganizationUserByUsernameStub(arg1, arg2) 6923 } 6924 if specificReturn { 6925 return ret.result1, ret.result2 6926 } 6927 fakeReturns := fake.updateOrganizationUserByUsernameReturns 6928 return fakeReturns.result1, fakeReturns.result2 6929 } 6930 6931 func (fake *FakeCloudControllerClient) UpdateOrganizationUserByUsernameCallCount() int { 6932 fake.updateOrganizationUserByUsernameMutex.RLock() 6933 defer fake.updateOrganizationUserByUsernameMutex.RUnlock() 6934 return len(fake.updateOrganizationUserByUsernameArgsForCall) 6935 } 6936 6937 func (fake *FakeCloudControllerClient) UpdateOrganizationUserByUsernameCalls(stub func(string, string) (ccv2.Warnings, error)) { 6938 fake.updateOrganizationUserByUsernameMutex.Lock() 6939 defer fake.updateOrganizationUserByUsernameMutex.Unlock() 6940 fake.UpdateOrganizationUserByUsernameStub = stub 6941 } 6942 6943 func (fake *FakeCloudControllerClient) UpdateOrganizationUserByUsernameArgsForCall(i int) (string, string) { 6944 fake.updateOrganizationUserByUsernameMutex.RLock() 6945 defer fake.updateOrganizationUserByUsernameMutex.RUnlock() 6946 argsForCall := fake.updateOrganizationUserByUsernameArgsForCall[i] 6947 return argsForCall.arg1, argsForCall.arg2 6948 } 6949 6950 func (fake *FakeCloudControllerClient) UpdateOrganizationUserByUsernameReturns(result1 ccv2.Warnings, result2 error) { 6951 fake.updateOrganizationUserByUsernameMutex.Lock() 6952 defer fake.updateOrganizationUserByUsernameMutex.Unlock() 6953 fake.UpdateOrganizationUserByUsernameStub = nil 6954 fake.updateOrganizationUserByUsernameReturns = struct { 6955 result1 ccv2.Warnings 6956 result2 error 6957 }{result1, result2} 6958 } 6959 6960 func (fake *FakeCloudControllerClient) UpdateOrganizationUserByUsernameReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 6961 fake.updateOrganizationUserByUsernameMutex.Lock() 6962 defer fake.updateOrganizationUserByUsernameMutex.Unlock() 6963 fake.UpdateOrganizationUserByUsernameStub = nil 6964 if fake.updateOrganizationUserByUsernameReturnsOnCall == nil { 6965 fake.updateOrganizationUserByUsernameReturnsOnCall = make(map[int]struct { 6966 result1 ccv2.Warnings 6967 result2 error 6968 }) 6969 } 6970 fake.updateOrganizationUserByUsernameReturnsOnCall[i] = struct { 6971 result1 ccv2.Warnings 6972 result2 error 6973 }{result1, result2} 6974 } 6975 6976 func (fake *FakeCloudControllerClient) UpdateResourceMatch(arg1 []ccv2.Resource) ([]ccv2.Resource, ccv2.Warnings, error) { 6977 var arg1Copy []ccv2.Resource 6978 if arg1 != nil { 6979 arg1Copy = make([]ccv2.Resource, len(arg1)) 6980 copy(arg1Copy, arg1) 6981 } 6982 fake.updateResourceMatchMutex.Lock() 6983 ret, specificReturn := fake.updateResourceMatchReturnsOnCall[len(fake.updateResourceMatchArgsForCall)] 6984 fake.updateResourceMatchArgsForCall = append(fake.updateResourceMatchArgsForCall, struct { 6985 arg1 []ccv2.Resource 6986 }{arg1Copy}) 6987 fake.recordInvocation("UpdateResourceMatch", []interface{}{arg1Copy}) 6988 fake.updateResourceMatchMutex.Unlock() 6989 if fake.UpdateResourceMatchStub != nil { 6990 return fake.UpdateResourceMatchStub(arg1) 6991 } 6992 if specificReturn { 6993 return ret.result1, ret.result2, ret.result3 6994 } 6995 fakeReturns := fake.updateResourceMatchReturns 6996 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6997 } 6998 6999 func (fake *FakeCloudControllerClient) UpdateResourceMatchCallCount() int { 7000 fake.updateResourceMatchMutex.RLock() 7001 defer fake.updateResourceMatchMutex.RUnlock() 7002 return len(fake.updateResourceMatchArgsForCall) 7003 } 7004 7005 func (fake *FakeCloudControllerClient) UpdateResourceMatchCalls(stub func([]ccv2.Resource) ([]ccv2.Resource, ccv2.Warnings, error)) { 7006 fake.updateResourceMatchMutex.Lock() 7007 defer fake.updateResourceMatchMutex.Unlock() 7008 fake.UpdateResourceMatchStub = stub 7009 } 7010 7011 func (fake *FakeCloudControllerClient) UpdateResourceMatchArgsForCall(i int) []ccv2.Resource { 7012 fake.updateResourceMatchMutex.RLock() 7013 defer fake.updateResourceMatchMutex.RUnlock() 7014 argsForCall := fake.updateResourceMatchArgsForCall[i] 7015 return argsForCall.arg1 7016 } 7017 7018 func (fake *FakeCloudControllerClient) UpdateResourceMatchReturns(result1 []ccv2.Resource, result2 ccv2.Warnings, result3 error) { 7019 fake.updateResourceMatchMutex.Lock() 7020 defer fake.updateResourceMatchMutex.Unlock() 7021 fake.UpdateResourceMatchStub = nil 7022 fake.updateResourceMatchReturns = struct { 7023 result1 []ccv2.Resource 7024 result2 ccv2.Warnings 7025 result3 error 7026 }{result1, result2, result3} 7027 } 7028 7029 func (fake *FakeCloudControllerClient) UpdateResourceMatchReturnsOnCall(i int, result1 []ccv2.Resource, result2 ccv2.Warnings, result3 error) { 7030 fake.updateResourceMatchMutex.Lock() 7031 defer fake.updateResourceMatchMutex.Unlock() 7032 fake.UpdateResourceMatchStub = nil 7033 if fake.updateResourceMatchReturnsOnCall == nil { 7034 fake.updateResourceMatchReturnsOnCall = make(map[int]struct { 7035 result1 []ccv2.Resource 7036 result2 ccv2.Warnings 7037 result3 error 7038 }) 7039 } 7040 fake.updateResourceMatchReturnsOnCall[i] = struct { 7041 result1 []ccv2.Resource 7042 result2 ccv2.Warnings 7043 result3 error 7044 }{result1, result2, result3} 7045 } 7046 7047 func (fake *FakeCloudControllerClient) UpdateRouteApplication(arg1 string, arg2 string) (ccv2.Route, ccv2.Warnings, error) { 7048 fake.updateRouteApplicationMutex.Lock() 7049 ret, specificReturn := fake.updateRouteApplicationReturnsOnCall[len(fake.updateRouteApplicationArgsForCall)] 7050 fake.updateRouteApplicationArgsForCall = append(fake.updateRouteApplicationArgsForCall, struct { 7051 arg1 string 7052 arg2 string 7053 }{arg1, arg2}) 7054 fake.recordInvocation("UpdateRouteApplication", []interface{}{arg1, arg2}) 7055 fake.updateRouteApplicationMutex.Unlock() 7056 if fake.UpdateRouteApplicationStub != nil { 7057 return fake.UpdateRouteApplicationStub(arg1, arg2) 7058 } 7059 if specificReturn { 7060 return ret.result1, ret.result2, ret.result3 7061 } 7062 fakeReturns := fake.updateRouteApplicationReturns 7063 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7064 } 7065 7066 func (fake *FakeCloudControllerClient) UpdateRouteApplicationCallCount() int { 7067 fake.updateRouteApplicationMutex.RLock() 7068 defer fake.updateRouteApplicationMutex.RUnlock() 7069 return len(fake.updateRouteApplicationArgsForCall) 7070 } 7071 7072 func (fake *FakeCloudControllerClient) UpdateRouteApplicationCalls(stub func(string, string) (ccv2.Route, ccv2.Warnings, error)) { 7073 fake.updateRouteApplicationMutex.Lock() 7074 defer fake.updateRouteApplicationMutex.Unlock() 7075 fake.UpdateRouteApplicationStub = stub 7076 } 7077 7078 func (fake *FakeCloudControllerClient) UpdateRouteApplicationArgsForCall(i int) (string, string) { 7079 fake.updateRouteApplicationMutex.RLock() 7080 defer fake.updateRouteApplicationMutex.RUnlock() 7081 argsForCall := fake.updateRouteApplicationArgsForCall[i] 7082 return argsForCall.arg1, argsForCall.arg2 7083 } 7084 7085 func (fake *FakeCloudControllerClient) UpdateRouteApplicationReturns(result1 ccv2.Route, result2 ccv2.Warnings, result3 error) { 7086 fake.updateRouteApplicationMutex.Lock() 7087 defer fake.updateRouteApplicationMutex.Unlock() 7088 fake.UpdateRouteApplicationStub = nil 7089 fake.updateRouteApplicationReturns = struct { 7090 result1 ccv2.Route 7091 result2 ccv2.Warnings 7092 result3 error 7093 }{result1, result2, result3} 7094 } 7095 7096 func (fake *FakeCloudControllerClient) UpdateRouteApplicationReturnsOnCall(i int, result1 ccv2.Route, result2 ccv2.Warnings, result3 error) { 7097 fake.updateRouteApplicationMutex.Lock() 7098 defer fake.updateRouteApplicationMutex.Unlock() 7099 fake.UpdateRouteApplicationStub = nil 7100 if fake.updateRouteApplicationReturnsOnCall == nil { 7101 fake.updateRouteApplicationReturnsOnCall = make(map[int]struct { 7102 result1 ccv2.Route 7103 result2 ccv2.Warnings 7104 result3 error 7105 }) 7106 } 7107 fake.updateRouteApplicationReturnsOnCall[i] = struct { 7108 result1 ccv2.Route 7109 result2 ccv2.Warnings 7110 result3 error 7111 }{result1, result2, result3} 7112 } 7113 7114 func (fake *FakeCloudControllerClient) UpdateSecurityGroupSpace(arg1 string, arg2 string) (ccv2.Warnings, error) { 7115 fake.updateSecurityGroupSpaceMutex.Lock() 7116 ret, specificReturn := fake.updateSecurityGroupSpaceReturnsOnCall[len(fake.updateSecurityGroupSpaceArgsForCall)] 7117 fake.updateSecurityGroupSpaceArgsForCall = append(fake.updateSecurityGroupSpaceArgsForCall, struct { 7118 arg1 string 7119 arg2 string 7120 }{arg1, arg2}) 7121 fake.recordInvocation("UpdateSecurityGroupSpace", []interface{}{arg1, arg2}) 7122 fake.updateSecurityGroupSpaceMutex.Unlock() 7123 if fake.UpdateSecurityGroupSpaceStub != nil { 7124 return fake.UpdateSecurityGroupSpaceStub(arg1, arg2) 7125 } 7126 if specificReturn { 7127 return ret.result1, ret.result2 7128 } 7129 fakeReturns := fake.updateSecurityGroupSpaceReturns 7130 return fakeReturns.result1, fakeReturns.result2 7131 } 7132 7133 func (fake *FakeCloudControllerClient) UpdateSecurityGroupSpaceCallCount() int { 7134 fake.updateSecurityGroupSpaceMutex.RLock() 7135 defer fake.updateSecurityGroupSpaceMutex.RUnlock() 7136 return len(fake.updateSecurityGroupSpaceArgsForCall) 7137 } 7138 7139 func (fake *FakeCloudControllerClient) UpdateSecurityGroupSpaceCalls(stub func(string, string) (ccv2.Warnings, error)) { 7140 fake.updateSecurityGroupSpaceMutex.Lock() 7141 defer fake.updateSecurityGroupSpaceMutex.Unlock() 7142 fake.UpdateSecurityGroupSpaceStub = stub 7143 } 7144 7145 func (fake *FakeCloudControllerClient) UpdateSecurityGroupSpaceArgsForCall(i int) (string, string) { 7146 fake.updateSecurityGroupSpaceMutex.RLock() 7147 defer fake.updateSecurityGroupSpaceMutex.RUnlock() 7148 argsForCall := fake.updateSecurityGroupSpaceArgsForCall[i] 7149 return argsForCall.arg1, argsForCall.arg2 7150 } 7151 7152 func (fake *FakeCloudControllerClient) UpdateSecurityGroupSpaceReturns(result1 ccv2.Warnings, result2 error) { 7153 fake.updateSecurityGroupSpaceMutex.Lock() 7154 defer fake.updateSecurityGroupSpaceMutex.Unlock() 7155 fake.UpdateSecurityGroupSpaceStub = nil 7156 fake.updateSecurityGroupSpaceReturns = struct { 7157 result1 ccv2.Warnings 7158 result2 error 7159 }{result1, result2} 7160 } 7161 7162 func (fake *FakeCloudControllerClient) UpdateSecurityGroupSpaceReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 7163 fake.updateSecurityGroupSpaceMutex.Lock() 7164 defer fake.updateSecurityGroupSpaceMutex.Unlock() 7165 fake.UpdateSecurityGroupSpaceStub = nil 7166 if fake.updateSecurityGroupSpaceReturnsOnCall == nil { 7167 fake.updateSecurityGroupSpaceReturnsOnCall = make(map[int]struct { 7168 result1 ccv2.Warnings 7169 result2 error 7170 }) 7171 } 7172 fake.updateSecurityGroupSpaceReturnsOnCall[i] = struct { 7173 result1 ccv2.Warnings 7174 result2 error 7175 }{result1, result2} 7176 } 7177 7178 func (fake *FakeCloudControllerClient) UpdateSecurityGroupStagingSpace(arg1 string, arg2 string) (ccv2.Warnings, error) { 7179 fake.updateSecurityGroupStagingSpaceMutex.Lock() 7180 ret, specificReturn := fake.updateSecurityGroupStagingSpaceReturnsOnCall[len(fake.updateSecurityGroupStagingSpaceArgsForCall)] 7181 fake.updateSecurityGroupStagingSpaceArgsForCall = append(fake.updateSecurityGroupStagingSpaceArgsForCall, struct { 7182 arg1 string 7183 arg2 string 7184 }{arg1, arg2}) 7185 fake.recordInvocation("UpdateSecurityGroupStagingSpace", []interface{}{arg1, arg2}) 7186 fake.updateSecurityGroupStagingSpaceMutex.Unlock() 7187 if fake.UpdateSecurityGroupStagingSpaceStub != nil { 7188 return fake.UpdateSecurityGroupStagingSpaceStub(arg1, arg2) 7189 } 7190 if specificReturn { 7191 return ret.result1, ret.result2 7192 } 7193 fakeReturns := fake.updateSecurityGroupStagingSpaceReturns 7194 return fakeReturns.result1, fakeReturns.result2 7195 } 7196 7197 func (fake *FakeCloudControllerClient) UpdateSecurityGroupStagingSpaceCallCount() int { 7198 fake.updateSecurityGroupStagingSpaceMutex.RLock() 7199 defer fake.updateSecurityGroupStagingSpaceMutex.RUnlock() 7200 return len(fake.updateSecurityGroupStagingSpaceArgsForCall) 7201 } 7202 7203 func (fake *FakeCloudControllerClient) UpdateSecurityGroupStagingSpaceCalls(stub func(string, string) (ccv2.Warnings, error)) { 7204 fake.updateSecurityGroupStagingSpaceMutex.Lock() 7205 defer fake.updateSecurityGroupStagingSpaceMutex.Unlock() 7206 fake.UpdateSecurityGroupStagingSpaceStub = stub 7207 } 7208 7209 func (fake *FakeCloudControllerClient) UpdateSecurityGroupStagingSpaceArgsForCall(i int) (string, string) { 7210 fake.updateSecurityGroupStagingSpaceMutex.RLock() 7211 defer fake.updateSecurityGroupStagingSpaceMutex.RUnlock() 7212 argsForCall := fake.updateSecurityGroupStagingSpaceArgsForCall[i] 7213 return argsForCall.arg1, argsForCall.arg2 7214 } 7215 7216 func (fake *FakeCloudControllerClient) UpdateSecurityGroupStagingSpaceReturns(result1 ccv2.Warnings, result2 error) { 7217 fake.updateSecurityGroupStagingSpaceMutex.Lock() 7218 defer fake.updateSecurityGroupStagingSpaceMutex.Unlock() 7219 fake.UpdateSecurityGroupStagingSpaceStub = nil 7220 fake.updateSecurityGroupStagingSpaceReturns = struct { 7221 result1 ccv2.Warnings 7222 result2 error 7223 }{result1, result2} 7224 } 7225 7226 func (fake *FakeCloudControllerClient) UpdateSecurityGroupStagingSpaceReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 7227 fake.updateSecurityGroupStagingSpaceMutex.Lock() 7228 defer fake.updateSecurityGroupStagingSpaceMutex.Unlock() 7229 fake.UpdateSecurityGroupStagingSpaceStub = nil 7230 if fake.updateSecurityGroupStagingSpaceReturnsOnCall == nil { 7231 fake.updateSecurityGroupStagingSpaceReturnsOnCall = make(map[int]struct { 7232 result1 ccv2.Warnings 7233 result2 error 7234 }) 7235 } 7236 fake.updateSecurityGroupStagingSpaceReturnsOnCall[i] = struct { 7237 result1 ccv2.Warnings 7238 result2 error 7239 }{result1, result2} 7240 } 7241 7242 func (fake *FakeCloudControllerClient) UpdateServiceInstanceMaintenanceInfo(arg1 string, arg2 ccv2.MaintenanceInfo) (ccv2.Warnings, error) { 7243 fake.updateServiceInstanceMaintenanceInfoMutex.Lock() 7244 ret, specificReturn := fake.updateServiceInstanceMaintenanceInfoReturnsOnCall[len(fake.updateServiceInstanceMaintenanceInfoArgsForCall)] 7245 fake.updateServiceInstanceMaintenanceInfoArgsForCall = append(fake.updateServiceInstanceMaintenanceInfoArgsForCall, struct { 7246 arg1 string 7247 arg2 ccv2.MaintenanceInfo 7248 }{arg1, arg2}) 7249 fake.recordInvocation("UpdateServiceInstanceMaintenanceInfo", []interface{}{arg1, arg2}) 7250 fake.updateServiceInstanceMaintenanceInfoMutex.Unlock() 7251 if fake.UpdateServiceInstanceMaintenanceInfoStub != nil { 7252 return fake.UpdateServiceInstanceMaintenanceInfoStub(arg1, arg2) 7253 } 7254 if specificReturn { 7255 return ret.result1, ret.result2 7256 } 7257 fakeReturns := fake.updateServiceInstanceMaintenanceInfoReturns 7258 return fakeReturns.result1, fakeReturns.result2 7259 } 7260 7261 func (fake *FakeCloudControllerClient) UpdateServiceInstanceMaintenanceInfoCallCount() int { 7262 fake.updateServiceInstanceMaintenanceInfoMutex.RLock() 7263 defer fake.updateServiceInstanceMaintenanceInfoMutex.RUnlock() 7264 return len(fake.updateServiceInstanceMaintenanceInfoArgsForCall) 7265 } 7266 7267 func (fake *FakeCloudControllerClient) UpdateServiceInstanceMaintenanceInfoCalls(stub func(string, ccv2.MaintenanceInfo) (ccv2.Warnings, error)) { 7268 fake.updateServiceInstanceMaintenanceInfoMutex.Lock() 7269 defer fake.updateServiceInstanceMaintenanceInfoMutex.Unlock() 7270 fake.UpdateServiceInstanceMaintenanceInfoStub = stub 7271 } 7272 7273 func (fake *FakeCloudControllerClient) UpdateServiceInstanceMaintenanceInfoArgsForCall(i int) (string, ccv2.MaintenanceInfo) { 7274 fake.updateServiceInstanceMaintenanceInfoMutex.RLock() 7275 defer fake.updateServiceInstanceMaintenanceInfoMutex.RUnlock() 7276 argsForCall := fake.updateServiceInstanceMaintenanceInfoArgsForCall[i] 7277 return argsForCall.arg1, argsForCall.arg2 7278 } 7279 7280 func (fake *FakeCloudControllerClient) UpdateServiceInstanceMaintenanceInfoReturns(result1 ccv2.Warnings, result2 error) { 7281 fake.updateServiceInstanceMaintenanceInfoMutex.Lock() 7282 defer fake.updateServiceInstanceMaintenanceInfoMutex.Unlock() 7283 fake.UpdateServiceInstanceMaintenanceInfoStub = nil 7284 fake.updateServiceInstanceMaintenanceInfoReturns = struct { 7285 result1 ccv2.Warnings 7286 result2 error 7287 }{result1, result2} 7288 } 7289 7290 func (fake *FakeCloudControllerClient) UpdateServiceInstanceMaintenanceInfoReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 7291 fake.updateServiceInstanceMaintenanceInfoMutex.Lock() 7292 defer fake.updateServiceInstanceMaintenanceInfoMutex.Unlock() 7293 fake.UpdateServiceInstanceMaintenanceInfoStub = nil 7294 if fake.updateServiceInstanceMaintenanceInfoReturnsOnCall == nil { 7295 fake.updateServiceInstanceMaintenanceInfoReturnsOnCall = make(map[int]struct { 7296 result1 ccv2.Warnings 7297 result2 error 7298 }) 7299 } 7300 fake.updateServiceInstanceMaintenanceInfoReturnsOnCall[i] = struct { 7301 result1 ccv2.Warnings 7302 result2 error 7303 }{result1, result2} 7304 } 7305 7306 func (fake *FakeCloudControllerClient) UpdateServicePlan(arg1 string, arg2 bool) (ccv2.Warnings, error) { 7307 fake.updateServicePlanMutex.Lock() 7308 ret, specificReturn := fake.updateServicePlanReturnsOnCall[len(fake.updateServicePlanArgsForCall)] 7309 fake.updateServicePlanArgsForCall = append(fake.updateServicePlanArgsForCall, struct { 7310 arg1 string 7311 arg2 bool 7312 }{arg1, arg2}) 7313 fake.recordInvocation("UpdateServicePlan", []interface{}{arg1, arg2}) 7314 fake.updateServicePlanMutex.Unlock() 7315 if fake.UpdateServicePlanStub != nil { 7316 return fake.UpdateServicePlanStub(arg1, arg2) 7317 } 7318 if specificReturn { 7319 return ret.result1, ret.result2 7320 } 7321 fakeReturns := fake.updateServicePlanReturns 7322 return fakeReturns.result1, fakeReturns.result2 7323 } 7324 7325 func (fake *FakeCloudControllerClient) UpdateServicePlanCallCount() int { 7326 fake.updateServicePlanMutex.RLock() 7327 defer fake.updateServicePlanMutex.RUnlock() 7328 return len(fake.updateServicePlanArgsForCall) 7329 } 7330 7331 func (fake *FakeCloudControllerClient) UpdateServicePlanCalls(stub func(string, bool) (ccv2.Warnings, error)) { 7332 fake.updateServicePlanMutex.Lock() 7333 defer fake.updateServicePlanMutex.Unlock() 7334 fake.UpdateServicePlanStub = stub 7335 } 7336 7337 func (fake *FakeCloudControllerClient) UpdateServicePlanArgsForCall(i int) (string, bool) { 7338 fake.updateServicePlanMutex.RLock() 7339 defer fake.updateServicePlanMutex.RUnlock() 7340 argsForCall := fake.updateServicePlanArgsForCall[i] 7341 return argsForCall.arg1, argsForCall.arg2 7342 } 7343 7344 func (fake *FakeCloudControllerClient) UpdateServicePlanReturns(result1 ccv2.Warnings, result2 error) { 7345 fake.updateServicePlanMutex.Lock() 7346 defer fake.updateServicePlanMutex.Unlock() 7347 fake.UpdateServicePlanStub = nil 7348 fake.updateServicePlanReturns = struct { 7349 result1 ccv2.Warnings 7350 result2 error 7351 }{result1, result2} 7352 } 7353 7354 func (fake *FakeCloudControllerClient) UpdateServicePlanReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 7355 fake.updateServicePlanMutex.Lock() 7356 defer fake.updateServicePlanMutex.Unlock() 7357 fake.UpdateServicePlanStub = nil 7358 if fake.updateServicePlanReturnsOnCall == nil { 7359 fake.updateServicePlanReturnsOnCall = make(map[int]struct { 7360 result1 ccv2.Warnings 7361 result2 error 7362 }) 7363 } 7364 fake.updateServicePlanReturnsOnCall[i] = struct { 7365 result1 ccv2.Warnings 7366 result2 error 7367 }{result1, result2} 7368 } 7369 7370 func (fake *FakeCloudControllerClient) UpdateSpaceDeveloper(arg1 string, arg2 string) (ccv2.Warnings, error) { 7371 fake.updateSpaceDeveloperMutex.Lock() 7372 ret, specificReturn := fake.updateSpaceDeveloperReturnsOnCall[len(fake.updateSpaceDeveloperArgsForCall)] 7373 fake.updateSpaceDeveloperArgsForCall = append(fake.updateSpaceDeveloperArgsForCall, struct { 7374 arg1 string 7375 arg2 string 7376 }{arg1, arg2}) 7377 fake.recordInvocation("UpdateSpaceDeveloper", []interface{}{arg1, arg2}) 7378 fake.updateSpaceDeveloperMutex.Unlock() 7379 if fake.UpdateSpaceDeveloperStub != nil { 7380 return fake.UpdateSpaceDeveloperStub(arg1, arg2) 7381 } 7382 if specificReturn { 7383 return ret.result1, ret.result2 7384 } 7385 fakeReturns := fake.updateSpaceDeveloperReturns 7386 return fakeReturns.result1, fakeReturns.result2 7387 } 7388 7389 func (fake *FakeCloudControllerClient) UpdateSpaceDeveloperCallCount() int { 7390 fake.updateSpaceDeveloperMutex.RLock() 7391 defer fake.updateSpaceDeveloperMutex.RUnlock() 7392 return len(fake.updateSpaceDeveloperArgsForCall) 7393 } 7394 7395 func (fake *FakeCloudControllerClient) UpdateSpaceDeveloperCalls(stub func(string, string) (ccv2.Warnings, error)) { 7396 fake.updateSpaceDeveloperMutex.Lock() 7397 defer fake.updateSpaceDeveloperMutex.Unlock() 7398 fake.UpdateSpaceDeveloperStub = stub 7399 } 7400 7401 func (fake *FakeCloudControllerClient) UpdateSpaceDeveloperArgsForCall(i int) (string, string) { 7402 fake.updateSpaceDeveloperMutex.RLock() 7403 defer fake.updateSpaceDeveloperMutex.RUnlock() 7404 argsForCall := fake.updateSpaceDeveloperArgsForCall[i] 7405 return argsForCall.arg1, argsForCall.arg2 7406 } 7407 7408 func (fake *FakeCloudControllerClient) UpdateSpaceDeveloperReturns(result1 ccv2.Warnings, result2 error) { 7409 fake.updateSpaceDeveloperMutex.Lock() 7410 defer fake.updateSpaceDeveloperMutex.Unlock() 7411 fake.UpdateSpaceDeveloperStub = nil 7412 fake.updateSpaceDeveloperReturns = struct { 7413 result1 ccv2.Warnings 7414 result2 error 7415 }{result1, result2} 7416 } 7417 7418 func (fake *FakeCloudControllerClient) UpdateSpaceDeveloperReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 7419 fake.updateSpaceDeveloperMutex.Lock() 7420 defer fake.updateSpaceDeveloperMutex.Unlock() 7421 fake.UpdateSpaceDeveloperStub = nil 7422 if fake.updateSpaceDeveloperReturnsOnCall == nil { 7423 fake.updateSpaceDeveloperReturnsOnCall = make(map[int]struct { 7424 result1 ccv2.Warnings 7425 result2 error 7426 }) 7427 } 7428 fake.updateSpaceDeveloperReturnsOnCall[i] = struct { 7429 result1 ccv2.Warnings 7430 result2 error 7431 }{result1, result2} 7432 } 7433 7434 func (fake *FakeCloudControllerClient) UpdateSpaceDeveloperByUsername(arg1 string, arg2 string) (ccv2.Warnings, error) { 7435 fake.updateSpaceDeveloperByUsernameMutex.Lock() 7436 ret, specificReturn := fake.updateSpaceDeveloperByUsernameReturnsOnCall[len(fake.updateSpaceDeveloperByUsernameArgsForCall)] 7437 fake.updateSpaceDeveloperByUsernameArgsForCall = append(fake.updateSpaceDeveloperByUsernameArgsForCall, struct { 7438 arg1 string 7439 arg2 string 7440 }{arg1, arg2}) 7441 fake.recordInvocation("UpdateSpaceDeveloperByUsername", []interface{}{arg1, arg2}) 7442 fake.updateSpaceDeveloperByUsernameMutex.Unlock() 7443 if fake.UpdateSpaceDeveloperByUsernameStub != nil { 7444 return fake.UpdateSpaceDeveloperByUsernameStub(arg1, arg2) 7445 } 7446 if specificReturn { 7447 return ret.result1, ret.result2 7448 } 7449 fakeReturns := fake.updateSpaceDeveloperByUsernameReturns 7450 return fakeReturns.result1, fakeReturns.result2 7451 } 7452 7453 func (fake *FakeCloudControllerClient) UpdateSpaceDeveloperByUsernameCallCount() int { 7454 fake.updateSpaceDeveloperByUsernameMutex.RLock() 7455 defer fake.updateSpaceDeveloperByUsernameMutex.RUnlock() 7456 return len(fake.updateSpaceDeveloperByUsernameArgsForCall) 7457 } 7458 7459 func (fake *FakeCloudControllerClient) UpdateSpaceDeveloperByUsernameCalls(stub func(string, string) (ccv2.Warnings, error)) { 7460 fake.updateSpaceDeveloperByUsernameMutex.Lock() 7461 defer fake.updateSpaceDeveloperByUsernameMutex.Unlock() 7462 fake.UpdateSpaceDeveloperByUsernameStub = stub 7463 } 7464 7465 func (fake *FakeCloudControllerClient) UpdateSpaceDeveloperByUsernameArgsForCall(i int) (string, string) { 7466 fake.updateSpaceDeveloperByUsernameMutex.RLock() 7467 defer fake.updateSpaceDeveloperByUsernameMutex.RUnlock() 7468 argsForCall := fake.updateSpaceDeveloperByUsernameArgsForCall[i] 7469 return argsForCall.arg1, argsForCall.arg2 7470 } 7471 7472 func (fake *FakeCloudControllerClient) UpdateSpaceDeveloperByUsernameReturns(result1 ccv2.Warnings, result2 error) { 7473 fake.updateSpaceDeveloperByUsernameMutex.Lock() 7474 defer fake.updateSpaceDeveloperByUsernameMutex.Unlock() 7475 fake.UpdateSpaceDeveloperByUsernameStub = nil 7476 fake.updateSpaceDeveloperByUsernameReturns = struct { 7477 result1 ccv2.Warnings 7478 result2 error 7479 }{result1, result2} 7480 } 7481 7482 func (fake *FakeCloudControllerClient) UpdateSpaceDeveloperByUsernameReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 7483 fake.updateSpaceDeveloperByUsernameMutex.Lock() 7484 defer fake.updateSpaceDeveloperByUsernameMutex.Unlock() 7485 fake.UpdateSpaceDeveloperByUsernameStub = nil 7486 if fake.updateSpaceDeveloperByUsernameReturnsOnCall == nil { 7487 fake.updateSpaceDeveloperByUsernameReturnsOnCall = make(map[int]struct { 7488 result1 ccv2.Warnings 7489 result2 error 7490 }) 7491 } 7492 fake.updateSpaceDeveloperByUsernameReturnsOnCall[i] = struct { 7493 result1 ccv2.Warnings 7494 result2 error 7495 }{result1, result2} 7496 } 7497 7498 func (fake *FakeCloudControllerClient) UpdateSpaceManager(arg1 string, arg2 string) (ccv2.Warnings, error) { 7499 fake.updateSpaceManagerMutex.Lock() 7500 ret, specificReturn := fake.updateSpaceManagerReturnsOnCall[len(fake.updateSpaceManagerArgsForCall)] 7501 fake.updateSpaceManagerArgsForCall = append(fake.updateSpaceManagerArgsForCall, struct { 7502 arg1 string 7503 arg2 string 7504 }{arg1, arg2}) 7505 fake.recordInvocation("UpdateSpaceManager", []interface{}{arg1, arg2}) 7506 fake.updateSpaceManagerMutex.Unlock() 7507 if fake.UpdateSpaceManagerStub != nil { 7508 return fake.UpdateSpaceManagerStub(arg1, arg2) 7509 } 7510 if specificReturn { 7511 return ret.result1, ret.result2 7512 } 7513 fakeReturns := fake.updateSpaceManagerReturns 7514 return fakeReturns.result1, fakeReturns.result2 7515 } 7516 7517 func (fake *FakeCloudControllerClient) UpdateSpaceManagerCallCount() int { 7518 fake.updateSpaceManagerMutex.RLock() 7519 defer fake.updateSpaceManagerMutex.RUnlock() 7520 return len(fake.updateSpaceManagerArgsForCall) 7521 } 7522 7523 func (fake *FakeCloudControllerClient) UpdateSpaceManagerCalls(stub func(string, string) (ccv2.Warnings, error)) { 7524 fake.updateSpaceManagerMutex.Lock() 7525 defer fake.updateSpaceManagerMutex.Unlock() 7526 fake.UpdateSpaceManagerStub = stub 7527 } 7528 7529 func (fake *FakeCloudControllerClient) UpdateSpaceManagerArgsForCall(i int) (string, string) { 7530 fake.updateSpaceManagerMutex.RLock() 7531 defer fake.updateSpaceManagerMutex.RUnlock() 7532 argsForCall := fake.updateSpaceManagerArgsForCall[i] 7533 return argsForCall.arg1, argsForCall.arg2 7534 } 7535 7536 func (fake *FakeCloudControllerClient) UpdateSpaceManagerReturns(result1 ccv2.Warnings, result2 error) { 7537 fake.updateSpaceManagerMutex.Lock() 7538 defer fake.updateSpaceManagerMutex.Unlock() 7539 fake.UpdateSpaceManagerStub = nil 7540 fake.updateSpaceManagerReturns = struct { 7541 result1 ccv2.Warnings 7542 result2 error 7543 }{result1, result2} 7544 } 7545 7546 func (fake *FakeCloudControllerClient) UpdateSpaceManagerReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 7547 fake.updateSpaceManagerMutex.Lock() 7548 defer fake.updateSpaceManagerMutex.Unlock() 7549 fake.UpdateSpaceManagerStub = nil 7550 if fake.updateSpaceManagerReturnsOnCall == nil { 7551 fake.updateSpaceManagerReturnsOnCall = make(map[int]struct { 7552 result1 ccv2.Warnings 7553 result2 error 7554 }) 7555 } 7556 fake.updateSpaceManagerReturnsOnCall[i] = struct { 7557 result1 ccv2.Warnings 7558 result2 error 7559 }{result1, result2} 7560 } 7561 7562 func (fake *FakeCloudControllerClient) UpdateSpaceManagerByUsername(arg1 string, arg2 string) (ccv2.Warnings, error) { 7563 fake.updateSpaceManagerByUsernameMutex.Lock() 7564 ret, specificReturn := fake.updateSpaceManagerByUsernameReturnsOnCall[len(fake.updateSpaceManagerByUsernameArgsForCall)] 7565 fake.updateSpaceManagerByUsernameArgsForCall = append(fake.updateSpaceManagerByUsernameArgsForCall, struct { 7566 arg1 string 7567 arg2 string 7568 }{arg1, arg2}) 7569 fake.recordInvocation("UpdateSpaceManagerByUsername", []interface{}{arg1, arg2}) 7570 fake.updateSpaceManagerByUsernameMutex.Unlock() 7571 if fake.UpdateSpaceManagerByUsernameStub != nil { 7572 return fake.UpdateSpaceManagerByUsernameStub(arg1, arg2) 7573 } 7574 if specificReturn { 7575 return ret.result1, ret.result2 7576 } 7577 fakeReturns := fake.updateSpaceManagerByUsernameReturns 7578 return fakeReturns.result1, fakeReturns.result2 7579 } 7580 7581 func (fake *FakeCloudControllerClient) UpdateSpaceManagerByUsernameCallCount() int { 7582 fake.updateSpaceManagerByUsernameMutex.RLock() 7583 defer fake.updateSpaceManagerByUsernameMutex.RUnlock() 7584 return len(fake.updateSpaceManagerByUsernameArgsForCall) 7585 } 7586 7587 func (fake *FakeCloudControllerClient) UpdateSpaceManagerByUsernameCalls(stub func(string, string) (ccv2.Warnings, error)) { 7588 fake.updateSpaceManagerByUsernameMutex.Lock() 7589 defer fake.updateSpaceManagerByUsernameMutex.Unlock() 7590 fake.UpdateSpaceManagerByUsernameStub = stub 7591 } 7592 7593 func (fake *FakeCloudControllerClient) UpdateSpaceManagerByUsernameArgsForCall(i int) (string, string) { 7594 fake.updateSpaceManagerByUsernameMutex.RLock() 7595 defer fake.updateSpaceManagerByUsernameMutex.RUnlock() 7596 argsForCall := fake.updateSpaceManagerByUsernameArgsForCall[i] 7597 return argsForCall.arg1, argsForCall.arg2 7598 } 7599 7600 func (fake *FakeCloudControllerClient) UpdateSpaceManagerByUsernameReturns(result1 ccv2.Warnings, result2 error) { 7601 fake.updateSpaceManagerByUsernameMutex.Lock() 7602 defer fake.updateSpaceManagerByUsernameMutex.Unlock() 7603 fake.UpdateSpaceManagerByUsernameStub = nil 7604 fake.updateSpaceManagerByUsernameReturns = struct { 7605 result1 ccv2.Warnings 7606 result2 error 7607 }{result1, result2} 7608 } 7609 7610 func (fake *FakeCloudControllerClient) UpdateSpaceManagerByUsernameReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 7611 fake.updateSpaceManagerByUsernameMutex.Lock() 7612 defer fake.updateSpaceManagerByUsernameMutex.Unlock() 7613 fake.UpdateSpaceManagerByUsernameStub = nil 7614 if fake.updateSpaceManagerByUsernameReturnsOnCall == nil { 7615 fake.updateSpaceManagerByUsernameReturnsOnCall = make(map[int]struct { 7616 result1 ccv2.Warnings 7617 result2 error 7618 }) 7619 } 7620 fake.updateSpaceManagerByUsernameReturnsOnCall[i] = struct { 7621 result1 ccv2.Warnings 7622 result2 error 7623 }{result1, result2} 7624 } 7625 7626 func (fake *FakeCloudControllerClient) UpdateUserProvidedServiceInstance(arg1 string, arg2 ccv2.UserProvidedServiceInstance) (ccv2.Warnings, error) { 7627 fake.updateUserProvidedServiceInstanceMutex.Lock() 7628 ret, specificReturn := fake.updateUserProvidedServiceInstanceReturnsOnCall[len(fake.updateUserProvidedServiceInstanceArgsForCall)] 7629 fake.updateUserProvidedServiceInstanceArgsForCall = append(fake.updateUserProvidedServiceInstanceArgsForCall, struct { 7630 arg1 string 7631 arg2 ccv2.UserProvidedServiceInstance 7632 }{arg1, arg2}) 7633 fake.recordInvocation("UpdateUserProvidedServiceInstance", []interface{}{arg1, arg2}) 7634 fake.updateUserProvidedServiceInstanceMutex.Unlock() 7635 if fake.UpdateUserProvidedServiceInstanceStub != nil { 7636 return fake.UpdateUserProvidedServiceInstanceStub(arg1, arg2) 7637 } 7638 if specificReturn { 7639 return ret.result1, ret.result2 7640 } 7641 fakeReturns := fake.updateUserProvidedServiceInstanceReturns 7642 return fakeReturns.result1, fakeReturns.result2 7643 } 7644 7645 func (fake *FakeCloudControllerClient) UpdateUserProvidedServiceInstanceCallCount() int { 7646 fake.updateUserProvidedServiceInstanceMutex.RLock() 7647 defer fake.updateUserProvidedServiceInstanceMutex.RUnlock() 7648 return len(fake.updateUserProvidedServiceInstanceArgsForCall) 7649 } 7650 7651 func (fake *FakeCloudControllerClient) UpdateUserProvidedServiceInstanceCalls(stub func(string, ccv2.UserProvidedServiceInstance) (ccv2.Warnings, error)) { 7652 fake.updateUserProvidedServiceInstanceMutex.Lock() 7653 defer fake.updateUserProvidedServiceInstanceMutex.Unlock() 7654 fake.UpdateUserProvidedServiceInstanceStub = stub 7655 } 7656 7657 func (fake *FakeCloudControllerClient) UpdateUserProvidedServiceInstanceArgsForCall(i int) (string, ccv2.UserProvidedServiceInstance) { 7658 fake.updateUserProvidedServiceInstanceMutex.RLock() 7659 defer fake.updateUserProvidedServiceInstanceMutex.RUnlock() 7660 argsForCall := fake.updateUserProvidedServiceInstanceArgsForCall[i] 7661 return argsForCall.arg1, argsForCall.arg2 7662 } 7663 7664 func (fake *FakeCloudControllerClient) UpdateUserProvidedServiceInstanceReturns(result1 ccv2.Warnings, result2 error) { 7665 fake.updateUserProvidedServiceInstanceMutex.Lock() 7666 defer fake.updateUserProvidedServiceInstanceMutex.Unlock() 7667 fake.UpdateUserProvidedServiceInstanceStub = nil 7668 fake.updateUserProvidedServiceInstanceReturns = struct { 7669 result1 ccv2.Warnings 7670 result2 error 7671 }{result1, result2} 7672 } 7673 7674 func (fake *FakeCloudControllerClient) UpdateUserProvidedServiceInstanceReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 7675 fake.updateUserProvidedServiceInstanceMutex.Lock() 7676 defer fake.updateUserProvidedServiceInstanceMutex.Unlock() 7677 fake.UpdateUserProvidedServiceInstanceStub = nil 7678 if fake.updateUserProvidedServiceInstanceReturnsOnCall == nil { 7679 fake.updateUserProvidedServiceInstanceReturnsOnCall = make(map[int]struct { 7680 result1 ccv2.Warnings 7681 result2 error 7682 }) 7683 } 7684 fake.updateUserProvidedServiceInstanceReturnsOnCall[i] = struct { 7685 result1 ccv2.Warnings 7686 result2 error 7687 }{result1, result2} 7688 } 7689 7690 func (fake *FakeCloudControllerClient) UploadApplicationPackage(arg1 string, arg2 []ccv2.Resource, arg3 ccv2.Reader, arg4 int64) (ccv2.Job, ccv2.Warnings, error) { 7691 var arg2Copy []ccv2.Resource 7692 if arg2 != nil { 7693 arg2Copy = make([]ccv2.Resource, len(arg2)) 7694 copy(arg2Copy, arg2) 7695 } 7696 fake.uploadApplicationPackageMutex.Lock() 7697 ret, specificReturn := fake.uploadApplicationPackageReturnsOnCall[len(fake.uploadApplicationPackageArgsForCall)] 7698 fake.uploadApplicationPackageArgsForCall = append(fake.uploadApplicationPackageArgsForCall, struct { 7699 arg1 string 7700 arg2 []ccv2.Resource 7701 arg3 ccv2.Reader 7702 arg4 int64 7703 }{arg1, arg2Copy, arg3, arg4}) 7704 fake.recordInvocation("UploadApplicationPackage", []interface{}{arg1, arg2Copy, arg3, arg4}) 7705 fake.uploadApplicationPackageMutex.Unlock() 7706 if fake.UploadApplicationPackageStub != nil { 7707 return fake.UploadApplicationPackageStub(arg1, arg2, arg3, arg4) 7708 } 7709 if specificReturn { 7710 return ret.result1, ret.result2, ret.result3 7711 } 7712 fakeReturns := fake.uploadApplicationPackageReturns 7713 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7714 } 7715 7716 func (fake *FakeCloudControllerClient) UploadApplicationPackageCallCount() int { 7717 fake.uploadApplicationPackageMutex.RLock() 7718 defer fake.uploadApplicationPackageMutex.RUnlock() 7719 return len(fake.uploadApplicationPackageArgsForCall) 7720 } 7721 7722 func (fake *FakeCloudControllerClient) UploadApplicationPackageCalls(stub func(string, []ccv2.Resource, ccv2.Reader, int64) (ccv2.Job, ccv2.Warnings, error)) { 7723 fake.uploadApplicationPackageMutex.Lock() 7724 defer fake.uploadApplicationPackageMutex.Unlock() 7725 fake.UploadApplicationPackageStub = stub 7726 } 7727 7728 func (fake *FakeCloudControllerClient) UploadApplicationPackageArgsForCall(i int) (string, []ccv2.Resource, ccv2.Reader, int64) { 7729 fake.uploadApplicationPackageMutex.RLock() 7730 defer fake.uploadApplicationPackageMutex.RUnlock() 7731 argsForCall := fake.uploadApplicationPackageArgsForCall[i] 7732 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4 7733 } 7734 7735 func (fake *FakeCloudControllerClient) UploadApplicationPackageReturns(result1 ccv2.Job, result2 ccv2.Warnings, result3 error) { 7736 fake.uploadApplicationPackageMutex.Lock() 7737 defer fake.uploadApplicationPackageMutex.Unlock() 7738 fake.UploadApplicationPackageStub = nil 7739 fake.uploadApplicationPackageReturns = struct { 7740 result1 ccv2.Job 7741 result2 ccv2.Warnings 7742 result3 error 7743 }{result1, result2, result3} 7744 } 7745 7746 func (fake *FakeCloudControllerClient) UploadApplicationPackageReturnsOnCall(i int, result1 ccv2.Job, result2 ccv2.Warnings, result3 error) { 7747 fake.uploadApplicationPackageMutex.Lock() 7748 defer fake.uploadApplicationPackageMutex.Unlock() 7749 fake.UploadApplicationPackageStub = nil 7750 if fake.uploadApplicationPackageReturnsOnCall == nil { 7751 fake.uploadApplicationPackageReturnsOnCall = make(map[int]struct { 7752 result1 ccv2.Job 7753 result2 ccv2.Warnings 7754 result3 error 7755 }) 7756 } 7757 fake.uploadApplicationPackageReturnsOnCall[i] = struct { 7758 result1 ccv2.Job 7759 result2 ccv2.Warnings 7760 result3 error 7761 }{result1, result2, result3} 7762 } 7763 7764 func (fake *FakeCloudControllerClient) UploadBuildpack(arg1 string, arg2 string, arg3 io.Reader, arg4 int64) (ccv2.Warnings, error) { 7765 fake.uploadBuildpackMutex.Lock() 7766 ret, specificReturn := fake.uploadBuildpackReturnsOnCall[len(fake.uploadBuildpackArgsForCall)] 7767 fake.uploadBuildpackArgsForCall = append(fake.uploadBuildpackArgsForCall, struct { 7768 arg1 string 7769 arg2 string 7770 arg3 io.Reader 7771 arg4 int64 7772 }{arg1, arg2, arg3, arg4}) 7773 fake.recordInvocation("UploadBuildpack", []interface{}{arg1, arg2, arg3, arg4}) 7774 fake.uploadBuildpackMutex.Unlock() 7775 if fake.UploadBuildpackStub != nil { 7776 return fake.UploadBuildpackStub(arg1, arg2, arg3, arg4) 7777 } 7778 if specificReturn { 7779 return ret.result1, ret.result2 7780 } 7781 fakeReturns := fake.uploadBuildpackReturns 7782 return fakeReturns.result1, fakeReturns.result2 7783 } 7784 7785 func (fake *FakeCloudControllerClient) UploadBuildpackCallCount() int { 7786 fake.uploadBuildpackMutex.RLock() 7787 defer fake.uploadBuildpackMutex.RUnlock() 7788 return len(fake.uploadBuildpackArgsForCall) 7789 } 7790 7791 func (fake *FakeCloudControllerClient) UploadBuildpackCalls(stub func(string, string, io.Reader, int64) (ccv2.Warnings, error)) { 7792 fake.uploadBuildpackMutex.Lock() 7793 defer fake.uploadBuildpackMutex.Unlock() 7794 fake.UploadBuildpackStub = stub 7795 } 7796 7797 func (fake *FakeCloudControllerClient) UploadBuildpackArgsForCall(i int) (string, string, io.Reader, int64) { 7798 fake.uploadBuildpackMutex.RLock() 7799 defer fake.uploadBuildpackMutex.RUnlock() 7800 argsForCall := fake.uploadBuildpackArgsForCall[i] 7801 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4 7802 } 7803 7804 func (fake *FakeCloudControllerClient) UploadBuildpackReturns(result1 ccv2.Warnings, result2 error) { 7805 fake.uploadBuildpackMutex.Lock() 7806 defer fake.uploadBuildpackMutex.Unlock() 7807 fake.UploadBuildpackStub = nil 7808 fake.uploadBuildpackReturns = struct { 7809 result1 ccv2.Warnings 7810 result2 error 7811 }{result1, result2} 7812 } 7813 7814 func (fake *FakeCloudControllerClient) UploadBuildpackReturnsOnCall(i int, result1 ccv2.Warnings, result2 error) { 7815 fake.uploadBuildpackMutex.Lock() 7816 defer fake.uploadBuildpackMutex.Unlock() 7817 fake.UploadBuildpackStub = nil 7818 if fake.uploadBuildpackReturnsOnCall == nil { 7819 fake.uploadBuildpackReturnsOnCall = make(map[int]struct { 7820 result1 ccv2.Warnings 7821 result2 error 7822 }) 7823 } 7824 fake.uploadBuildpackReturnsOnCall[i] = struct { 7825 result1 ccv2.Warnings 7826 result2 error 7827 }{result1, result2} 7828 } 7829 7830 func (fake *FakeCloudControllerClient) UploadDroplet(arg1 string, arg2 io.Reader, arg3 int64) (ccv2.Job, ccv2.Warnings, error) { 7831 fake.uploadDropletMutex.Lock() 7832 ret, specificReturn := fake.uploadDropletReturnsOnCall[len(fake.uploadDropletArgsForCall)] 7833 fake.uploadDropletArgsForCall = append(fake.uploadDropletArgsForCall, struct { 7834 arg1 string 7835 arg2 io.Reader 7836 arg3 int64 7837 }{arg1, arg2, arg3}) 7838 fake.recordInvocation("UploadDroplet", []interface{}{arg1, arg2, arg3}) 7839 fake.uploadDropletMutex.Unlock() 7840 if fake.UploadDropletStub != nil { 7841 return fake.UploadDropletStub(arg1, arg2, arg3) 7842 } 7843 if specificReturn { 7844 return ret.result1, ret.result2, ret.result3 7845 } 7846 fakeReturns := fake.uploadDropletReturns 7847 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7848 } 7849 7850 func (fake *FakeCloudControllerClient) UploadDropletCallCount() int { 7851 fake.uploadDropletMutex.RLock() 7852 defer fake.uploadDropletMutex.RUnlock() 7853 return len(fake.uploadDropletArgsForCall) 7854 } 7855 7856 func (fake *FakeCloudControllerClient) UploadDropletCalls(stub func(string, io.Reader, int64) (ccv2.Job, ccv2.Warnings, error)) { 7857 fake.uploadDropletMutex.Lock() 7858 defer fake.uploadDropletMutex.Unlock() 7859 fake.UploadDropletStub = stub 7860 } 7861 7862 func (fake *FakeCloudControllerClient) UploadDropletArgsForCall(i int) (string, io.Reader, int64) { 7863 fake.uploadDropletMutex.RLock() 7864 defer fake.uploadDropletMutex.RUnlock() 7865 argsForCall := fake.uploadDropletArgsForCall[i] 7866 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3 7867 } 7868 7869 func (fake *FakeCloudControllerClient) UploadDropletReturns(result1 ccv2.Job, result2 ccv2.Warnings, result3 error) { 7870 fake.uploadDropletMutex.Lock() 7871 defer fake.uploadDropletMutex.Unlock() 7872 fake.UploadDropletStub = nil 7873 fake.uploadDropletReturns = struct { 7874 result1 ccv2.Job 7875 result2 ccv2.Warnings 7876 result3 error 7877 }{result1, result2, result3} 7878 } 7879 7880 func (fake *FakeCloudControllerClient) UploadDropletReturnsOnCall(i int, result1 ccv2.Job, result2 ccv2.Warnings, result3 error) { 7881 fake.uploadDropletMutex.Lock() 7882 defer fake.uploadDropletMutex.Unlock() 7883 fake.UploadDropletStub = nil 7884 if fake.uploadDropletReturnsOnCall == nil { 7885 fake.uploadDropletReturnsOnCall = make(map[int]struct { 7886 result1 ccv2.Job 7887 result2 ccv2.Warnings 7888 result3 error 7889 }) 7890 } 7891 fake.uploadDropletReturnsOnCall[i] = struct { 7892 result1 ccv2.Job 7893 result2 ccv2.Warnings 7894 result3 error 7895 }{result1, result2, result3} 7896 } 7897 7898 func (fake *FakeCloudControllerClient) Invocations() map[string][][]interface{} { 7899 fake.invocationsMutex.RLock() 7900 defer fake.invocationsMutex.RUnlock() 7901 fake.aPIMutex.RLock() 7902 defer fake.aPIMutex.RUnlock() 7903 fake.aPIVersionMutex.RLock() 7904 defer fake.aPIVersionMutex.RUnlock() 7905 fake.authorizationEndpointMutex.RLock() 7906 defer fake.authorizationEndpointMutex.RUnlock() 7907 fake.checkRouteMutex.RLock() 7908 defer fake.checkRouteMutex.RUnlock() 7909 fake.createApplicationMutex.RLock() 7910 defer fake.createApplicationMutex.RUnlock() 7911 fake.createBuildpackMutex.RLock() 7912 defer fake.createBuildpackMutex.RUnlock() 7913 fake.createOrganizationMutex.RLock() 7914 defer fake.createOrganizationMutex.RUnlock() 7915 fake.createRouteMutex.RLock() 7916 defer fake.createRouteMutex.RUnlock() 7917 fake.createServiceBindingMutex.RLock() 7918 defer fake.createServiceBindingMutex.RUnlock() 7919 fake.createServiceBrokerMutex.RLock() 7920 defer fake.createServiceBrokerMutex.RUnlock() 7921 fake.createServiceInstanceMutex.RLock() 7922 defer fake.createServiceInstanceMutex.RUnlock() 7923 fake.createServiceKeyMutex.RLock() 7924 defer fake.createServiceKeyMutex.RUnlock() 7925 fake.createServicePlanVisibilityMutex.RLock() 7926 defer fake.createServicePlanVisibilityMutex.RUnlock() 7927 fake.createSharedDomainMutex.RLock() 7928 defer fake.createSharedDomainMutex.RUnlock() 7929 fake.createSpaceMutex.RLock() 7930 defer fake.createSpaceMutex.RUnlock() 7931 fake.createUserMutex.RLock() 7932 defer fake.createUserMutex.RUnlock() 7933 fake.deleteOrganizationJobMutex.RLock() 7934 defer fake.deleteOrganizationJobMutex.RUnlock() 7935 fake.deleteRouteMutex.RLock() 7936 defer fake.deleteRouteMutex.RUnlock() 7937 fake.deleteRouteApplicationMutex.RLock() 7938 defer fake.deleteRouteApplicationMutex.RUnlock() 7939 fake.deleteSecurityGroupSpaceMutex.RLock() 7940 defer fake.deleteSecurityGroupSpaceMutex.RUnlock() 7941 fake.deleteSecurityGroupStagingSpaceMutex.RLock() 7942 defer fake.deleteSecurityGroupStagingSpaceMutex.RUnlock() 7943 fake.deleteServiceMutex.RLock() 7944 defer fake.deleteServiceMutex.RUnlock() 7945 fake.deleteServiceBindingMutex.RLock() 7946 defer fake.deleteServiceBindingMutex.RUnlock() 7947 fake.deleteServicePlanVisibilityMutex.RLock() 7948 defer fake.deleteServicePlanVisibilityMutex.RUnlock() 7949 fake.deleteSpaceJobMutex.RLock() 7950 defer fake.deleteSpaceJobMutex.RUnlock() 7951 fake.deleteSpaceUnmappedRoutesMutex.RLock() 7952 defer fake.deleteSpaceUnmappedRoutesMutex.RUnlock() 7953 fake.dopplerEndpointMutex.RLock() 7954 defer fake.dopplerEndpointMutex.RUnlock() 7955 fake.getApplicationMutex.RLock() 7956 defer fake.getApplicationMutex.RUnlock() 7957 fake.getApplicationApplicationInstanceStatusesMutex.RLock() 7958 defer fake.getApplicationApplicationInstanceStatusesMutex.RUnlock() 7959 fake.getApplicationApplicationInstancesMutex.RLock() 7960 defer fake.getApplicationApplicationInstancesMutex.RUnlock() 7961 fake.getApplicationRoutesMutex.RLock() 7962 defer fake.getApplicationRoutesMutex.RUnlock() 7963 fake.getApplicationsMutex.RLock() 7964 defer fake.getApplicationsMutex.RUnlock() 7965 fake.getBuildpacksMutex.RLock() 7966 defer fake.getBuildpacksMutex.RUnlock() 7967 fake.getConfigFeatureFlagsMutex.RLock() 7968 defer fake.getConfigFeatureFlagsMutex.RUnlock() 7969 fake.getJobMutex.RLock() 7970 defer fake.getJobMutex.RUnlock() 7971 fake.getOrganizationMutex.RLock() 7972 defer fake.getOrganizationMutex.RUnlock() 7973 fake.getOrganizationPrivateDomainsMutex.RLock() 7974 defer fake.getOrganizationPrivateDomainsMutex.RUnlock() 7975 fake.getOrganizationQuotaMutex.RLock() 7976 defer fake.getOrganizationQuotaMutex.RUnlock() 7977 fake.getOrganizationQuotasMutex.RLock() 7978 defer fake.getOrganizationQuotasMutex.RUnlock() 7979 fake.getOrganizationsMutex.RLock() 7980 defer fake.getOrganizationsMutex.RUnlock() 7981 fake.getPrivateDomainMutex.RLock() 7982 defer fake.getPrivateDomainMutex.RUnlock() 7983 fake.getRouteApplicationsMutex.RLock() 7984 defer fake.getRouteApplicationsMutex.RUnlock() 7985 fake.getRoutesMutex.RLock() 7986 defer fake.getRoutesMutex.RUnlock() 7987 fake.getSecurityGroupSpacesMutex.RLock() 7988 defer fake.getSecurityGroupSpacesMutex.RUnlock() 7989 fake.getSecurityGroupStagingSpacesMutex.RLock() 7990 defer fake.getSecurityGroupStagingSpacesMutex.RUnlock() 7991 fake.getSecurityGroupsMutex.RLock() 7992 defer fake.getSecurityGroupsMutex.RUnlock() 7993 fake.getServiceMutex.RLock() 7994 defer fake.getServiceMutex.RUnlock() 7995 fake.getServiceBindingsMutex.RLock() 7996 defer fake.getServiceBindingsMutex.RUnlock() 7997 fake.getServiceBrokersMutex.RLock() 7998 defer fake.getServiceBrokersMutex.RUnlock() 7999 fake.getServiceInstanceMutex.RLock() 8000 defer fake.getServiceInstanceMutex.RUnlock() 8001 fake.getServiceInstanceServiceBindingsMutex.RLock() 8002 defer fake.getServiceInstanceServiceBindingsMutex.RUnlock() 8003 fake.getServiceInstanceSharedFromMutex.RLock() 8004 defer fake.getServiceInstanceSharedFromMutex.RUnlock() 8005 fake.getServiceInstanceSharedTosMutex.RLock() 8006 defer fake.getServiceInstanceSharedTosMutex.RUnlock() 8007 fake.getServiceInstancesMutex.RLock() 8008 defer fake.getServiceInstancesMutex.RUnlock() 8009 fake.getServicePlanMutex.RLock() 8010 defer fake.getServicePlanMutex.RUnlock() 8011 fake.getServicePlanVisibilitiesMutex.RLock() 8012 defer fake.getServicePlanVisibilitiesMutex.RUnlock() 8013 fake.getServicePlansMutex.RLock() 8014 defer fake.getServicePlansMutex.RUnlock() 8015 fake.getServicesMutex.RLock() 8016 defer fake.getServicesMutex.RUnlock() 8017 fake.getSharedDomainMutex.RLock() 8018 defer fake.getSharedDomainMutex.RUnlock() 8019 fake.getSharedDomainsMutex.RLock() 8020 defer fake.getSharedDomainsMutex.RUnlock() 8021 fake.getSpaceQuotaDefinitionMutex.RLock() 8022 defer fake.getSpaceQuotaDefinitionMutex.RUnlock() 8023 fake.getSpaceQuotasMutex.RLock() 8024 defer fake.getSpaceQuotasMutex.RUnlock() 8025 fake.getSpaceRoutesMutex.RLock() 8026 defer fake.getSpaceRoutesMutex.RUnlock() 8027 fake.getSpaceSecurityGroupsMutex.RLock() 8028 defer fake.getSpaceSecurityGroupsMutex.RUnlock() 8029 fake.getSpaceServiceInstancesMutex.RLock() 8030 defer fake.getSpaceServiceInstancesMutex.RUnlock() 8031 fake.getSpaceServicesMutex.RLock() 8032 defer fake.getSpaceServicesMutex.RUnlock() 8033 fake.getSpaceStagingSecurityGroupsMutex.RLock() 8034 defer fake.getSpaceStagingSecurityGroupsMutex.RUnlock() 8035 fake.getSpaceSummaryMutex.RLock() 8036 defer fake.getSpaceSummaryMutex.RUnlock() 8037 fake.getSpacesMutex.RLock() 8038 defer fake.getSpacesMutex.RUnlock() 8039 fake.getStackMutex.RLock() 8040 defer fake.getStackMutex.RUnlock() 8041 fake.getStacksMutex.RLock() 8042 defer fake.getStacksMutex.RUnlock() 8043 fake.getUserProvidedServiceInstanceServiceBindingsMutex.RLock() 8044 defer fake.getUserProvidedServiceInstanceServiceBindingsMutex.RUnlock() 8045 fake.logCacheEndpointMutex.RLock() 8046 defer fake.logCacheEndpointMutex.RUnlock() 8047 fake.minCLIVersionMutex.RLock() 8048 defer fake.minCLIVersionMutex.RUnlock() 8049 fake.pollJobMutex.RLock() 8050 defer fake.pollJobMutex.RUnlock() 8051 fake.restageApplicationMutex.RLock() 8052 defer fake.restageApplicationMutex.RUnlock() 8053 fake.routingEndpointMutex.RLock() 8054 defer fake.routingEndpointMutex.RUnlock() 8055 fake.setSpaceQuotaMutex.RLock() 8056 defer fake.setSpaceQuotaMutex.RUnlock() 8057 fake.targetCFMutex.RLock() 8058 defer fake.targetCFMutex.RUnlock() 8059 fake.updateApplicationMutex.RLock() 8060 defer fake.updateApplicationMutex.RUnlock() 8061 fake.updateBuildpackMutex.RLock() 8062 defer fake.updateBuildpackMutex.RUnlock() 8063 fake.updateOrganizationManagerMutex.RLock() 8064 defer fake.updateOrganizationManagerMutex.RUnlock() 8065 fake.updateOrganizationManagerByUsernameMutex.RLock() 8066 defer fake.updateOrganizationManagerByUsernameMutex.RUnlock() 8067 fake.updateOrganizationUserMutex.RLock() 8068 defer fake.updateOrganizationUserMutex.RUnlock() 8069 fake.updateOrganizationUserByUsernameMutex.RLock() 8070 defer fake.updateOrganizationUserByUsernameMutex.RUnlock() 8071 fake.updateResourceMatchMutex.RLock() 8072 defer fake.updateResourceMatchMutex.RUnlock() 8073 fake.updateRouteApplicationMutex.RLock() 8074 defer fake.updateRouteApplicationMutex.RUnlock() 8075 fake.updateSecurityGroupSpaceMutex.RLock() 8076 defer fake.updateSecurityGroupSpaceMutex.RUnlock() 8077 fake.updateSecurityGroupStagingSpaceMutex.RLock() 8078 defer fake.updateSecurityGroupStagingSpaceMutex.RUnlock() 8079 fake.updateServiceInstanceMaintenanceInfoMutex.RLock() 8080 defer fake.updateServiceInstanceMaintenanceInfoMutex.RUnlock() 8081 fake.updateServicePlanMutex.RLock() 8082 defer fake.updateServicePlanMutex.RUnlock() 8083 fake.updateSpaceDeveloperMutex.RLock() 8084 defer fake.updateSpaceDeveloperMutex.RUnlock() 8085 fake.updateSpaceDeveloperByUsernameMutex.RLock() 8086 defer fake.updateSpaceDeveloperByUsernameMutex.RUnlock() 8087 fake.updateSpaceManagerMutex.RLock() 8088 defer fake.updateSpaceManagerMutex.RUnlock() 8089 fake.updateSpaceManagerByUsernameMutex.RLock() 8090 defer fake.updateSpaceManagerByUsernameMutex.RUnlock() 8091 fake.updateUserProvidedServiceInstanceMutex.RLock() 8092 defer fake.updateUserProvidedServiceInstanceMutex.RUnlock() 8093 fake.uploadApplicationPackageMutex.RLock() 8094 defer fake.uploadApplicationPackageMutex.RUnlock() 8095 fake.uploadBuildpackMutex.RLock() 8096 defer fake.uploadBuildpackMutex.RUnlock() 8097 fake.uploadDropletMutex.RLock() 8098 defer fake.uploadDropletMutex.RUnlock() 8099 copiedInvocations := map[string][][]interface{}{} 8100 for key, value := range fake.invocations { 8101 copiedInvocations[key] = value 8102 } 8103 return copiedInvocations 8104 } 8105 8106 func (fake *FakeCloudControllerClient) recordInvocation(key string, args []interface{}) { 8107 fake.invocationsMutex.Lock() 8108 defer fake.invocationsMutex.Unlock() 8109 if fake.invocations == nil { 8110 fake.invocations = map[string][][]interface{}{} 8111 } 8112 if fake.invocations[key] == nil { 8113 fake.invocations[key] = [][]interface{}{} 8114 } 8115 fake.invocations[key] = append(fake.invocations[key], args) 8116 } 8117 8118 var _ v2action.CloudControllerClient = new(FakeCloudControllerClient)