github.com/lukasheimann/cloudfoundrycli@v7.1.0+incompatible/actor/v7action/v7actionfakes/fake_cloud_controller_client.go (about) 1 // Code generated by counterfeiter. DO NOT EDIT. 2 package v7actionfakes 3 4 import ( 5 "io" 6 "sync" 7 8 "code.cloudfoundry.org/cli/actor/v7action" 9 "code.cloudfoundry.org/cli/api/cloudcontroller/ccv3" 10 "code.cloudfoundry.org/cli/api/cloudcontroller/ccv3/constant" 11 "code.cloudfoundry.org/cli/resources" 12 ) 13 14 type FakeCloudControllerClient struct { 15 AppSSHEndpointStub func() string 16 appSSHEndpointMutex sync.RWMutex 17 appSSHEndpointArgsForCall []struct { 18 } 19 appSSHEndpointReturns struct { 20 result1 string 21 } 22 appSSHEndpointReturnsOnCall map[int]struct { 23 result1 string 24 } 25 AppSSHHostKeyFingerprintStub func() string 26 appSSHHostKeyFingerprintMutex sync.RWMutex 27 appSSHHostKeyFingerprintArgsForCall []struct { 28 } 29 appSSHHostKeyFingerprintReturns struct { 30 result1 string 31 } 32 appSSHHostKeyFingerprintReturnsOnCall map[int]struct { 33 result1 string 34 } 35 ApplyOrganizationQuotaStub func(string, string) (resources.RelationshipList, ccv3.Warnings, error) 36 applyOrganizationQuotaMutex sync.RWMutex 37 applyOrganizationQuotaArgsForCall []struct { 38 arg1 string 39 arg2 string 40 } 41 applyOrganizationQuotaReturns struct { 42 result1 resources.RelationshipList 43 result2 ccv3.Warnings 44 result3 error 45 } 46 applyOrganizationQuotaReturnsOnCall map[int]struct { 47 result1 resources.RelationshipList 48 result2 ccv3.Warnings 49 result3 error 50 } 51 ApplySpaceQuotaStub func(string, string) (resources.RelationshipList, ccv3.Warnings, error) 52 applySpaceQuotaMutex sync.RWMutex 53 applySpaceQuotaArgsForCall []struct { 54 arg1 string 55 arg2 string 56 } 57 applySpaceQuotaReturns struct { 58 result1 resources.RelationshipList 59 result2 ccv3.Warnings 60 result3 error 61 } 62 applySpaceQuotaReturnsOnCall map[int]struct { 63 result1 resources.RelationshipList 64 result2 ccv3.Warnings 65 result3 error 66 } 67 CancelDeploymentStub func(string) (ccv3.Warnings, error) 68 cancelDeploymentMutex sync.RWMutex 69 cancelDeploymentArgsForCall []struct { 70 arg1 string 71 } 72 cancelDeploymentReturns struct { 73 result1 ccv3.Warnings 74 result2 error 75 } 76 cancelDeploymentReturnsOnCall map[int]struct { 77 result1 ccv3.Warnings 78 result2 error 79 } 80 CheckRouteStub func(string, string, string, int) (bool, ccv3.Warnings, error) 81 checkRouteMutex sync.RWMutex 82 checkRouteArgsForCall []struct { 83 arg1 string 84 arg2 string 85 arg3 string 86 arg4 int 87 } 88 checkRouteReturns struct { 89 result1 bool 90 result2 ccv3.Warnings 91 result3 error 92 } 93 checkRouteReturnsOnCall map[int]struct { 94 result1 bool 95 result2 ccv3.Warnings 96 result3 error 97 } 98 CloudControllerAPIVersionStub func() string 99 cloudControllerAPIVersionMutex sync.RWMutex 100 cloudControllerAPIVersionArgsForCall []struct { 101 } 102 cloudControllerAPIVersionReturns struct { 103 result1 string 104 } 105 cloudControllerAPIVersionReturnsOnCall map[int]struct { 106 result1 string 107 } 108 CopyPackageStub func(string, string) (ccv3.Package, ccv3.Warnings, error) 109 copyPackageMutex sync.RWMutex 110 copyPackageArgsForCall []struct { 111 arg1 string 112 arg2 string 113 } 114 copyPackageReturns struct { 115 result1 ccv3.Package 116 result2 ccv3.Warnings 117 result3 error 118 } 119 copyPackageReturnsOnCall map[int]struct { 120 result1 ccv3.Package 121 result2 ccv3.Warnings 122 result3 error 123 } 124 CreateApplicationStub func(resources.Application) (resources.Application, ccv3.Warnings, error) 125 createApplicationMutex sync.RWMutex 126 createApplicationArgsForCall []struct { 127 arg1 resources.Application 128 } 129 createApplicationReturns struct { 130 result1 resources.Application 131 result2 ccv3.Warnings 132 result3 error 133 } 134 createApplicationReturnsOnCall map[int]struct { 135 result1 resources.Application 136 result2 ccv3.Warnings 137 result3 error 138 } 139 CreateApplicationDeploymentStub func(string, string) (string, ccv3.Warnings, error) 140 createApplicationDeploymentMutex sync.RWMutex 141 createApplicationDeploymentArgsForCall []struct { 142 arg1 string 143 arg2 string 144 } 145 createApplicationDeploymentReturns struct { 146 result1 string 147 result2 ccv3.Warnings 148 result3 error 149 } 150 createApplicationDeploymentReturnsOnCall map[int]struct { 151 result1 string 152 result2 ccv3.Warnings 153 result3 error 154 } 155 CreateApplicationDeploymentByRevisionStub func(string, string) (string, ccv3.Warnings, error) 156 createApplicationDeploymentByRevisionMutex sync.RWMutex 157 createApplicationDeploymentByRevisionArgsForCall []struct { 158 arg1 string 159 arg2 string 160 } 161 createApplicationDeploymentByRevisionReturns struct { 162 result1 string 163 result2 ccv3.Warnings 164 result3 error 165 } 166 createApplicationDeploymentByRevisionReturnsOnCall map[int]struct { 167 result1 string 168 result2 ccv3.Warnings 169 result3 error 170 } 171 CreateApplicationProcessScaleStub func(string, ccv3.Process) (ccv3.Process, ccv3.Warnings, error) 172 createApplicationProcessScaleMutex sync.RWMutex 173 createApplicationProcessScaleArgsForCall []struct { 174 arg1 string 175 arg2 ccv3.Process 176 } 177 createApplicationProcessScaleReturns struct { 178 result1 ccv3.Process 179 result2 ccv3.Warnings 180 result3 error 181 } 182 createApplicationProcessScaleReturnsOnCall map[int]struct { 183 result1 ccv3.Process 184 result2 ccv3.Warnings 185 result3 error 186 } 187 CreateApplicationTaskStub func(string, ccv3.Task) (ccv3.Task, ccv3.Warnings, error) 188 createApplicationTaskMutex sync.RWMutex 189 createApplicationTaskArgsForCall []struct { 190 arg1 string 191 arg2 ccv3.Task 192 } 193 createApplicationTaskReturns struct { 194 result1 ccv3.Task 195 result2 ccv3.Warnings 196 result3 error 197 } 198 createApplicationTaskReturnsOnCall map[int]struct { 199 result1 ccv3.Task 200 result2 ccv3.Warnings 201 result3 error 202 } 203 CreateBuildStub func(ccv3.Build) (ccv3.Build, ccv3.Warnings, error) 204 createBuildMutex sync.RWMutex 205 createBuildArgsForCall []struct { 206 arg1 ccv3.Build 207 } 208 createBuildReturns struct { 209 result1 ccv3.Build 210 result2 ccv3.Warnings 211 result3 error 212 } 213 createBuildReturnsOnCall map[int]struct { 214 result1 ccv3.Build 215 result2 ccv3.Warnings 216 result3 error 217 } 218 CreateBuildpackStub func(ccv3.Buildpack) (ccv3.Buildpack, ccv3.Warnings, error) 219 createBuildpackMutex sync.RWMutex 220 createBuildpackArgsForCall []struct { 221 arg1 ccv3.Buildpack 222 } 223 createBuildpackReturns struct { 224 result1 ccv3.Buildpack 225 result2 ccv3.Warnings 226 result3 error 227 } 228 createBuildpackReturnsOnCall map[int]struct { 229 result1 ccv3.Buildpack 230 result2 ccv3.Warnings 231 result3 error 232 } 233 CreateDomainStub func(resources.Domain) (resources.Domain, ccv3.Warnings, error) 234 createDomainMutex sync.RWMutex 235 createDomainArgsForCall []struct { 236 arg1 resources.Domain 237 } 238 createDomainReturns struct { 239 result1 resources.Domain 240 result2 ccv3.Warnings 241 result3 error 242 } 243 createDomainReturnsOnCall map[int]struct { 244 result1 resources.Domain 245 result2 ccv3.Warnings 246 result3 error 247 } 248 CreateDropletStub func(string) (resources.Droplet, ccv3.Warnings, error) 249 createDropletMutex sync.RWMutex 250 createDropletArgsForCall []struct { 251 arg1 string 252 } 253 createDropletReturns struct { 254 result1 resources.Droplet 255 result2 ccv3.Warnings 256 result3 error 257 } 258 createDropletReturnsOnCall map[int]struct { 259 result1 resources.Droplet 260 result2 ccv3.Warnings 261 result3 error 262 } 263 CreateIsolationSegmentStub func(ccv3.IsolationSegment) (ccv3.IsolationSegment, ccv3.Warnings, error) 264 createIsolationSegmentMutex sync.RWMutex 265 createIsolationSegmentArgsForCall []struct { 266 arg1 ccv3.IsolationSegment 267 } 268 createIsolationSegmentReturns struct { 269 result1 ccv3.IsolationSegment 270 result2 ccv3.Warnings 271 result3 error 272 } 273 createIsolationSegmentReturnsOnCall map[int]struct { 274 result1 ccv3.IsolationSegment 275 result2 ccv3.Warnings 276 result3 error 277 } 278 CreateOrganizationStub func(string) (resources.Organization, ccv3.Warnings, error) 279 createOrganizationMutex sync.RWMutex 280 createOrganizationArgsForCall []struct { 281 arg1 string 282 } 283 createOrganizationReturns struct { 284 result1 resources.Organization 285 result2 ccv3.Warnings 286 result3 error 287 } 288 createOrganizationReturnsOnCall map[int]struct { 289 result1 resources.Organization 290 result2 ccv3.Warnings 291 result3 error 292 } 293 CreateOrganizationQuotaStub func(resources.OrganizationQuota) (resources.OrganizationQuota, ccv3.Warnings, error) 294 createOrganizationQuotaMutex sync.RWMutex 295 createOrganizationQuotaArgsForCall []struct { 296 arg1 resources.OrganizationQuota 297 } 298 createOrganizationQuotaReturns struct { 299 result1 resources.OrganizationQuota 300 result2 ccv3.Warnings 301 result3 error 302 } 303 createOrganizationQuotaReturnsOnCall map[int]struct { 304 result1 resources.OrganizationQuota 305 result2 ccv3.Warnings 306 result3 error 307 } 308 CreatePackageStub func(ccv3.Package) (ccv3.Package, ccv3.Warnings, error) 309 createPackageMutex sync.RWMutex 310 createPackageArgsForCall []struct { 311 arg1 ccv3.Package 312 } 313 createPackageReturns struct { 314 result1 ccv3.Package 315 result2 ccv3.Warnings 316 result3 error 317 } 318 createPackageReturnsOnCall map[int]struct { 319 result1 ccv3.Package 320 result2 ccv3.Warnings 321 result3 error 322 } 323 CreateRoleStub func(resources.Role) (resources.Role, ccv3.Warnings, error) 324 createRoleMutex sync.RWMutex 325 createRoleArgsForCall []struct { 326 arg1 resources.Role 327 } 328 createRoleReturns struct { 329 result1 resources.Role 330 result2 ccv3.Warnings 331 result3 error 332 } 333 createRoleReturnsOnCall map[int]struct { 334 result1 resources.Role 335 result2 ccv3.Warnings 336 result3 error 337 } 338 CreateRouteStub func(resources.Route) (resources.Route, ccv3.Warnings, error) 339 createRouteMutex sync.RWMutex 340 createRouteArgsForCall []struct { 341 arg1 resources.Route 342 } 343 createRouteReturns struct { 344 result1 resources.Route 345 result2 ccv3.Warnings 346 result3 error 347 } 348 createRouteReturnsOnCall map[int]struct { 349 result1 resources.Route 350 result2 ccv3.Warnings 351 result3 error 352 } 353 CreateSecurityGroupStub func(resources.SecurityGroup) (resources.SecurityGroup, ccv3.Warnings, error) 354 createSecurityGroupMutex sync.RWMutex 355 createSecurityGroupArgsForCall []struct { 356 arg1 resources.SecurityGroup 357 } 358 createSecurityGroupReturns struct { 359 result1 resources.SecurityGroup 360 result2 ccv3.Warnings 361 result3 error 362 } 363 createSecurityGroupReturnsOnCall map[int]struct { 364 result1 resources.SecurityGroup 365 result2 ccv3.Warnings 366 result3 error 367 } 368 CreateServiceBrokerStub func(resources.ServiceBroker) (ccv3.JobURL, ccv3.Warnings, error) 369 createServiceBrokerMutex sync.RWMutex 370 createServiceBrokerArgsForCall []struct { 371 arg1 resources.ServiceBroker 372 } 373 createServiceBrokerReturns struct { 374 result1 ccv3.JobURL 375 result2 ccv3.Warnings 376 result3 error 377 } 378 createServiceBrokerReturnsOnCall map[int]struct { 379 result1 ccv3.JobURL 380 result2 ccv3.Warnings 381 result3 error 382 } 383 CreateSpaceStub func(resources.Space) (resources.Space, ccv3.Warnings, error) 384 createSpaceMutex sync.RWMutex 385 createSpaceArgsForCall []struct { 386 arg1 resources.Space 387 } 388 createSpaceReturns struct { 389 result1 resources.Space 390 result2 ccv3.Warnings 391 result3 error 392 } 393 createSpaceReturnsOnCall map[int]struct { 394 result1 resources.Space 395 result2 ccv3.Warnings 396 result3 error 397 } 398 CreateSpaceQuotaStub func(resources.SpaceQuota) (resources.SpaceQuota, ccv3.Warnings, error) 399 createSpaceQuotaMutex sync.RWMutex 400 createSpaceQuotaArgsForCall []struct { 401 arg1 resources.SpaceQuota 402 } 403 createSpaceQuotaReturns struct { 404 result1 resources.SpaceQuota 405 result2 ccv3.Warnings 406 result3 error 407 } 408 createSpaceQuotaReturnsOnCall map[int]struct { 409 result1 resources.SpaceQuota 410 result2 ccv3.Warnings 411 result3 error 412 } 413 CreateUserStub func(string) (resources.User, ccv3.Warnings, error) 414 createUserMutex sync.RWMutex 415 createUserArgsForCall []struct { 416 arg1 string 417 } 418 createUserReturns struct { 419 result1 resources.User 420 result2 ccv3.Warnings 421 result3 error 422 } 423 createUserReturnsOnCall map[int]struct { 424 result1 resources.User 425 result2 ccv3.Warnings 426 result3 error 427 } 428 DeleteApplicationStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 429 deleteApplicationMutex sync.RWMutex 430 deleteApplicationArgsForCall []struct { 431 arg1 string 432 } 433 deleteApplicationReturns struct { 434 result1 ccv3.JobURL 435 result2 ccv3.Warnings 436 result3 error 437 } 438 deleteApplicationReturnsOnCall map[int]struct { 439 result1 ccv3.JobURL 440 result2 ccv3.Warnings 441 result3 error 442 } 443 DeleteApplicationProcessInstanceStub func(string, string, int) (ccv3.Warnings, error) 444 deleteApplicationProcessInstanceMutex sync.RWMutex 445 deleteApplicationProcessInstanceArgsForCall []struct { 446 arg1 string 447 arg2 string 448 arg3 int 449 } 450 deleteApplicationProcessInstanceReturns struct { 451 result1 ccv3.Warnings 452 result2 error 453 } 454 deleteApplicationProcessInstanceReturnsOnCall map[int]struct { 455 result1 ccv3.Warnings 456 result2 error 457 } 458 DeleteBuildpackStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 459 deleteBuildpackMutex sync.RWMutex 460 deleteBuildpackArgsForCall []struct { 461 arg1 string 462 } 463 deleteBuildpackReturns struct { 464 result1 ccv3.JobURL 465 result2 ccv3.Warnings 466 result3 error 467 } 468 deleteBuildpackReturnsOnCall map[int]struct { 469 result1 ccv3.JobURL 470 result2 ccv3.Warnings 471 result3 error 472 } 473 DeleteDomainStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 474 deleteDomainMutex sync.RWMutex 475 deleteDomainArgsForCall []struct { 476 arg1 string 477 } 478 deleteDomainReturns struct { 479 result1 ccv3.JobURL 480 result2 ccv3.Warnings 481 result3 error 482 } 483 deleteDomainReturnsOnCall map[int]struct { 484 result1 ccv3.JobURL 485 result2 ccv3.Warnings 486 result3 error 487 } 488 DeleteIsolationSegmentStub func(string) (ccv3.Warnings, error) 489 deleteIsolationSegmentMutex sync.RWMutex 490 deleteIsolationSegmentArgsForCall []struct { 491 arg1 string 492 } 493 deleteIsolationSegmentReturns struct { 494 result1 ccv3.Warnings 495 result2 error 496 } 497 deleteIsolationSegmentReturnsOnCall map[int]struct { 498 result1 ccv3.Warnings 499 result2 error 500 } 501 DeleteIsolationSegmentOrganizationStub func(string, string) (ccv3.Warnings, error) 502 deleteIsolationSegmentOrganizationMutex sync.RWMutex 503 deleteIsolationSegmentOrganizationArgsForCall []struct { 504 arg1 string 505 arg2 string 506 } 507 deleteIsolationSegmentOrganizationReturns struct { 508 result1 ccv3.Warnings 509 result2 error 510 } 511 deleteIsolationSegmentOrganizationReturnsOnCall map[int]struct { 512 result1 ccv3.Warnings 513 result2 error 514 } 515 DeleteOrganizationStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 516 deleteOrganizationMutex sync.RWMutex 517 deleteOrganizationArgsForCall []struct { 518 arg1 string 519 } 520 deleteOrganizationReturns struct { 521 result1 ccv3.JobURL 522 result2 ccv3.Warnings 523 result3 error 524 } 525 deleteOrganizationReturnsOnCall map[int]struct { 526 result1 ccv3.JobURL 527 result2 ccv3.Warnings 528 result3 error 529 } 530 DeleteOrganizationQuotaStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 531 deleteOrganizationQuotaMutex sync.RWMutex 532 deleteOrganizationQuotaArgsForCall []struct { 533 arg1 string 534 } 535 deleteOrganizationQuotaReturns struct { 536 result1 ccv3.JobURL 537 result2 ccv3.Warnings 538 result3 error 539 } 540 deleteOrganizationQuotaReturnsOnCall map[int]struct { 541 result1 ccv3.JobURL 542 result2 ccv3.Warnings 543 result3 error 544 } 545 DeleteOrphanedRoutesStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 546 deleteOrphanedRoutesMutex sync.RWMutex 547 deleteOrphanedRoutesArgsForCall []struct { 548 arg1 string 549 } 550 deleteOrphanedRoutesReturns struct { 551 result1 ccv3.JobURL 552 result2 ccv3.Warnings 553 result3 error 554 } 555 deleteOrphanedRoutesReturnsOnCall map[int]struct { 556 result1 ccv3.JobURL 557 result2 ccv3.Warnings 558 result3 error 559 } 560 DeleteRoleStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 561 deleteRoleMutex sync.RWMutex 562 deleteRoleArgsForCall []struct { 563 arg1 string 564 } 565 deleteRoleReturns struct { 566 result1 ccv3.JobURL 567 result2 ccv3.Warnings 568 result3 error 569 } 570 deleteRoleReturnsOnCall map[int]struct { 571 result1 ccv3.JobURL 572 result2 ccv3.Warnings 573 result3 error 574 } 575 DeleteRouteStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 576 deleteRouteMutex sync.RWMutex 577 deleteRouteArgsForCall []struct { 578 arg1 string 579 } 580 deleteRouteReturns struct { 581 result1 ccv3.JobURL 582 result2 ccv3.Warnings 583 result3 error 584 } 585 deleteRouteReturnsOnCall map[int]struct { 586 result1 ccv3.JobURL 587 result2 ccv3.Warnings 588 result3 error 589 } 590 DeleteSecurityGroupStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 591 deleteSecurityGroupMutex sync.RWMutex 592 deleteSecurityGroupArgsForCall []struct { 593 arg1 string 594 } 595 deleteSecurityGroupReturns struct { 596 result1 ccv3.JobURL 597 result2 ccv3.Warnings 598 result3 error 599 } 600 deleteSecurityGroupReturnsOnCall map[int]struct { 601 result1 ccv3.JobURL 602 result2 ccv3.Warnings 603 result3 error 604 } 605 DeleteServiceBrokerStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 606 deleteServiceBrokerMutex sync.RWMutex 607 deleteServiceBrokerArgsForCall []struct { 608 arg1 string 609 } 610 deleteServiceBrokerReturns struct { 611 result1 ccv3.JobURL 612 result2 ccv3.Warnings 613 result3 error 614 } 615 deleteServiceBrokerReturnsOnCall map[int]struct { 616 result1 ccv3.JobURL 617 result2 ccv3.Warnings 618 result3 error 619 } 620 DeleteServiceInstanceRelationshipsSharedSpaceStub func(string, string) (ccv3.Warnings, error) 621 deleteServiceInstanceRelationshipsSharedSpaceMutex sync.RWMutex 622 deleteServiceInstanceRelationshipsSharedSpaceArgsForCall []struct { 623 arg1 string 624 arg2 string 625 } 626 deleteServiceInstanceRelationshipsSharedSpaceReturns struct { 627 result1 ccv3.Warnings 628 result2 error 629 } 630 deleteServiceInstanceRelationshipsSharedSpaceReturnsOnCall map[int]struct { 631 result1 ccv3.Warnings 632 result2 error 633 } 634 DeleteServicePlanVisibilityStub func(string, string) (ccv3.Warnings, error) 635 deleteServicePlanVisibilityMutex sync.RWMutex 636 deleteServicePlanVisibilityArgsForCall []struct { 637 arg1 string 638 arg2 string 639 } 640 deleteServicePlanVisibilityReturns struct { 641 result1 ccv3.Warnings 642 result2 error 643 } 644 deleteServicePlanVisibilityReturnsOnCall map[int]struct { 645 result1 ccv3.Warnings 646 result2 error 647 } 648 DeleteSpaceStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 649 deleteSpaceMutex sync.RWMutex 650 deleteSpaceArgsForCall []struct { 651 arg1 string 652 } 653 deleteSpaceReturns struct { 654 result1 ccv3.JobURL 655 result2 ccv3.Warnings 656 result3 error 657 } 658 deleteSpaceReturnsOnCall map[int]struct { 659 result1 ccv3.JobURL 660 result2 ccv3.Warnings 661 result3 error 662 } 663 DeleteSpaceQuotaStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 664 deleteSpaceQuotaMutex sync.RWMutex 665 deleteSpaceQuotaArgsForCall []struct { 666 arg1 string 667 } 668 deleteSpaceQuotaReturns struct { 669 result1 ccv3.JobURL 670 result2 ccv3.Warnings 671 result3 error 672 } 673 deleteSpaceQuotaReturnsOnCall map[int]struct { 674 result1 ccv3.JobURL 675 result2 ccv3.Warnings 676 result3 error 677 } 678 DeleteUserStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 679 deleteUserMutex sync.RWMutex 680 deleteUserArgsForCall []struct { 681 arg1 string 682 } 683 deleteUserReturns struct { 684 result1 ccv3.JobURL 685 result2 ccv3.Warnings 686 result3 error 687 } 688 deleteUserReturnsOnCall map[int]struct { 689 result1 ccv3.JobURL 690 result2 ccv3.Warnings 691 result3 error 692 } 693 DownloadDropletStub func(string) ([]byte, ccv3.Warnings, error) 694 downloadDropletMutex sync.RWMutex 695 downloadDropletArgsForCall []struct { 696 arg1 string 697 } 698 downloadDropletReturns struct { 699 result1 []byte 700 result2 ccv3.Warnings 701 result3 error 702 } 703 downloadDropletReturnsOnCall map[int]struct { 704 result1 []byte 705 result2 ccv3.Warnings 706 result3 error 707 } 708 EntitleIsolationSegmentToOrganizationsStub func(string, []string) (resources.RelationshipList, ccv3.Warnings, error) 709 entitleIsolationSegmentToOrganizationsMutex sync.RWMutex 710 entitleIsolationSegmentToOrganizationsArgsForCall []struct { 711 arg1 string 712 arg2 []string 713 } 714 entitleIsolationSegmentToOrganizationsReturns struct { 715 result1 resources.RelationshipList 716 result2 ccv3.Warnings 717 result3 error 718 } 719 entitleIsolationSegmentToOrganizationsReturnsOnCall map[int]struct { 720 result1 resources.RelationshipList 721 result2 ccv3.Warnings 722 result3 error 723 } 724 GetAppFeatureStub func(string, string) (resources.ApplicationFeature, ccv3.Warnings, error) 725 getAppFeatureMutex sync.RWMutex 726 getAppFeatureArgsForCall []struct { 727 arg1 string 728 arg2 string 729 } 730 getAppFeatureReturns struct { 731 result1 resources.ApplicationFeature 732 result2 ccv3.Warnings 733 result3 error 734 } 735 getAppFeatureReturnsOnCall map[int]struct { 736 result1 resources.ApplicationFeature 737 result2 ccv3.Warnings 738 result3 error 739 } 740 GetApplicationByNameAndSpaceStub func(string, string) (resources.Application, ccv3.Warnings, error) 741 getApplicationByNameAndSpaceMutex sync.RWMutex 742 getApplicationByNameAndSpaceArgsForCall []struct { 743 arg1 string 744 arg2 string 745 } 746 getApplicationByNameAndSpaceReturns struct { 747 result1 resources.Application 748 result2 ccv3.Warnings 749 result3 error 750 } 751 getApplicationByNameAndSpaceReturnsOnCall map[int]struct { 752 result1 resources.Application 753 result2 ccv3.Warnings 754 result3 error 755 } 756 GetApplicationDropletCurrentStub func(string) (resources.Droplet, ccv3.Warnings, error) 757 getApplicationDropletCurrentMutex sync.RWMutex 758 getApplicationDropletCurrentArgsForCall []struct { 759 arg1 string 760 } 761 getApplicationDropletCurrentReturns struct { 762 result1 resources.Droplet 763 result2 ccv3.Warnings 764 result3 error 765 } 766 getApplicationDropletCurrentReturnsOnCall map[int]struct { 767 result1 resources.Droplet 768 result2 ccv3.Warnings 769 result3 error 770 } 771 GetApplicationEnvironmentStub func(string) (ccv3.Environment, ccv3.Warnings, error) 772 getApplicationEnvironmentMutex sync.RWMutex 773 getApplicationEnvironmentArgsForCall []struct { 774 arg1 string 775 } 776 getApplicationEnvironmentReturns struct { 777 result1 ccv3.Environment 778 result2 ccv3.Warnings 779 result3 error 780 } 781 getApplicationEnvironmentReturnsOnCall map[int]struct { 782 result1 ccv3.Environment 783 result2 ccv3.Warnings 784 result3 error 785 } 786 GetApplicationManifestStub func(string) ([]byte, ccv3.Warnings, error) 787 getApplicationManifestMutex sync.RWMutex 788 getApplicationManifestArgsForCall []struct { 789 arg1 string 790 } 791 getApplicationManifestReturns struct { 792 result1 []byte 793 result2 ccv3.Warnings 794 result3 error 795 } 796 getApplicationManifestReturnsOnCall map[int]struct { 797 result1 []byte 798 result2 ccv3.Warnings 799 result3 error 800 } 801 GetApplicationProcessByTypeStub func(string, string) (ccv3.Process, ccv3.Warnings, error) 802 getApplicationProcessByTypeMutex sync.RWMutex 803 getApplicationProcessByTypeArgsForCall []struct { 804 arg1 string 805 arg2 string 806 } 807 getApplicationProcessByTypeReturns struct { 808 result1 ccv3.Process 809 result2 ccv3.Warnings 810 result3 error 811 } 812 getApplicationProcessByTypeReturnsOnCall map[int]struct { 813 result1 ccv3.Process 814 result2 ccv3.Warnings 815 result3 error 816 } 817 GetApplicationProcessesStub func(string) ([]ccv3.Process, ccv3.Warnings, error) 818 getApplicationProcessesMutex sync.RWMutex 819 getApplicationProcessesArgsForCall []struct { 820 arg1 string 821 } 822 getApplicationProcessesReturns struct { 823 result1 []ccv3.Process 824 result2 ccv3.Warnings 825 result3 error 826 } 827 getApplicationProcessesReturnsOnCall map[int]struct { 828 result1 []ccv3.Process 829 result2 ccv3.Warnings 830 result3 error 831 } 832 GetApplicationRevisionsStub func(string, ...ccv3.Query) ([]resources.Revision, ccv3.Warnings, error) 833 getApplicationRevisionsMutex sync.RWMutex 834 getApplicationRevisionsArgsForCall []struct { 835 arg1 string 836 arg2 []ccv3.Query 837 } 838 getApplicationRevisionsReturns struct { 839 result1 []resources.Revision 840 result2 ccv3.Warnings 841 result3 error 842 } 843 getApplicationRevisionsReturnsOnCall map[int]struct { 844 result1 []resources.Revision 845 result2 ccv3.Warnings 846 result3 error 847 } 848 GetApplicationRoutesStub func(string) ([]resources.Route, ccv3.Warnings, error) 849 getApplicationRoutesMutex sync.RWMutex 850 getApplicationRoutesArgsForCall []struct { 851 arg1 string 852 } 853 getApplicationRoutesReturns struct { 854 result1 []resources.Route 855 result2 ccv3.Warnings 856 result3 error 857 } 858 getApplicationRoutesReturnsOnCall map[int]struct { 859 result1 []resources.Route 860 result2 ccv3.Warnings 861 result3 error 862 } 863 GetApplicationTasksStub func(string, ...ccv3.Query) ([]ccv3.Task, ccv3.Warnings, error) 864 getApplicationTasksMutex sync.RWMutex 865 getApplicationTasksArgsForCall []struct { 866 arg1 string 867 arg2 []ccv3.Query 868 } 869 getApplicationTasksReturns struct { 870 result1 []ccv3.Task 871 result2 ccv3.Warnings 872 result3 error 873 } 874 getApplicationTasksReturnsOnCall map[int]struct { 875 result1 []ccv3.Task 876 result2 ccv3.Warnings 877 result3 error 878 } 879 GetApplicationsStub func(...ccv3.Query) ([]resources.Application, ccv3.Warnings, error) 880 getApplicationsMutex sync.RWMutex 881 getApplicationsArgsForCall []struct { 882 arg1 []ccv3.Query 883 } 884 getApplicationsReturns struct { 885 result1 []resources.Application 886 result2 ccv3.Warnings 887 result3 error 888 } 889 getApplicationsReturnsOnCall map[int]struct { 890 result1 []resources.Application 891 result2 ccv3.Warnings 892 result3 error 893 } 894 GetBuildStub func(string) (ccv3.Build, ccv3.Warnings, error) 895 getBuildMutex sync.RWMutex 896 getBuildArgsForCall []struct { 897 arg1 string 898 } 899 getBuildReturns struct { 900 result1 ccv3.Build 901 result2 ccv3.Warnings 902 result3 error 903 } 904 getBuildReturnsOnCall map[int]struct { 905 result1 ccv3.Build 906 result2 ccv3.Warnings 907 result3 error 908 } 909 GetBuildpacksStub func(...ccv3.Query) ([]ccv3.Buildpack, ccv3.Warnings, error) 910 getBuildpacksMutex sync.RWMutex 911 getBuildpacksArgsForCall []struct { 912 arg1 []ccv3.Query 913 } 914 getBuildpacksReturns struct { 915 result1 []ccv3.Buildpack 916 result2 ccv3.Warnings 917 result3 error 918 } 919 getBuildpacksReturnsOnCall map[int]struct { 920 result1 []ccv3.Buildpack 921 result2 ccv3.Warnings 922 result3 error 923 } 924 GetDefaultDomainStub func(string) (resources.Domain, ccv3.Warnings, error) 925 getDefaultDomainMutex sync.RWMutex 926 getDefaultDomainArgsForCall []struct { 927 arg1 string 928 } 929 getDefaultDomainReturns struct { 930 result1 resources.Domain 931 result2 ccv3.Warnings 932 result3 error 933 } 934 getDefaultDomainReturnsOnCall map[int]struct { 935 result1 resources.Domain 936 result2 ccv3.Warnings 937 result3 error 938 } 939 GetDeploymentStub func(string) (ccv3.Deployment, ccv3.Warnings, error) 940 getDeploymentMutex sync.RWMutex 941 getDeploymentArgsForCall []struct { 942 arg1 string 943 } 944 getDeploymentReturns struct { 945 result1 ccv3.Deployment 946 result2 ccv3.Warnings 947 result3 error 948 } 949 getDeploymentReturnsOnCall map[int]struct { 950 result1 ccv3.Deployment 951 result2 ccv3.Warnings 952 result3 error 953 } 954 GetDeploymentsStub func(...ccv3.Query) ([]ccv3.Deployment, ccv3.Warnings, error) 955 getDeploymentsMutex sync.RWMutex 956 getDeploymentsArgsForCall []struct { 957 arg1 []ccv3.Query 958 } 959 getDeploymentsReturns struct { 960 result1 []ccv3.Deployment 961 result2 ccv3.Warnings 962 result3 error 963 } 964 getDeploymentsReturnsOnCall map[int]struct { 965 result1 []ccv3.Deployment 966 result2 ccv3.Warnings 967 result3 error 968 } 969 GetDomainStub func(string) (resources.Domain, ccv3.Warnings, error) 970 getDomainMutex sync.RWMutex 971 getDomainArgsForCall []struct { 972 arg1 string 973 } 974 getDomainReturns struct { 975 result1 resources.Domain 976 result2 ccv3.Warnings 977 result3 error 978 } 979 getDomainReturnsOnCall map[int]struct { 980 result1 resources.Domain 981 result2 ccv3.Warnings 982 result3 error 983 } 984 GetDomainsStub func(...ccv3.Query) ([]resources.Domain, ccv3.Warnings, error) 985 getDomainsMutex sync.RWMutex 986 getDomainsArgsForCall []struct { 987 arg1 []ccv3.Query 988 } 989 getDomainsReturns struct { 990 result1 []resources.Domain 991 result2 ccv3.Warnings 992 result3 error 993 } 994 getDomainsReturnsOnCall map[int]struct { 995 result1 []resources.Domain 996 result2 ccv3.Warnings 997 result3 error 998 } 999 GetDropletStub func(string) (resources.Droplet, ccv3.Warnings, error) 1000 getDropletMutex sync.RWMutex 1001 getDropletArgsForCall []struct { 1002 arg1 string 1003 } 1004 getDropletReturns struct { 1005 result1 resources.Droplet 1006 result2 ccv3.Warnings 1007 result3 error 1008 } 1009 getDropletReturnsOnCall map[int]struct { 1010 result1 resources.Droplet 1011 result2 ccv3.Warnings 1012 result3 error 1013 } 1014 GetDropletsStub func(...ccv3.Query) ([]resources.Droplet, ccv3.Warnings, error) 1015 getDropletsMutex sync.RWMutex 1016 getDropletsArgsForCall []struct { 1017 arg1 []ccv3.Query 1018 } 1019 getDropletsReturns struct { 1020 result1 []resources.Droplet 1021 result2 ccv3.Warnings 1022 result3 error 1023 } 1024 getDropletsReturnsOnCall map[int]struct { 1025 result1 []resources.Droplet 1026 result2 ccv3.Warnings 1027 result3 error 1028 } 1029 GetEnvironmentVariableGroupStub func(constant.EnvironmentVariableGroupName) (ccv3.EnvironmentVariables, ccv3.Warnings, error) 1030 getEnvironmentVariableGroupMutex sync.RWMutex 1031 getEnvironmentVariableGroupArgsForCall []struct { 1032 arg1 constant.EnvironmentVariableGroupName 1033 } 1034 getEnvironmentVariableGroupReturns struct { 1035 result1 ccv3.EnvironmentVariables 1036 result2 ccv3.Warnings 1037 result3 error 1038 } 1039 getEnvironmentVariableGroupReturnsOnCall map[int]struct { 1040 result1 ccv3.EnvironmentVariables 1041 result2 ccv3.Warnings 1042 result3 error 1043 } 1044 GetEventsStub func(...ccv3.Query) ([]ccv3.Event, ccv3.Warnings, error) 1045 getEventsMutex sync.RWMutex 1046 getEventsArgsForCall []struct { 1047 arg1 []ccv3.Query 1048 } 1049 getEventsReturns struct { 1050 result1 []ccv3.Event 1051 result2 ccv3.Warnings 1052 result3 error 1053 } 1054 getEventsReturnsOnCall map[int]struct { 1055 result1 []ccv3.Event 1056 result2 ccv3.Warnings 1057 result3 error 1058 } 1059 GetFeatureFlagStub func(string) (ccv3.FeatureFlag, ccv3.Warnings, error) 1060 getFeatureFlagMutex sync.RWMutex 1061 getFeatureFlagArgsForCall []struct { 1062 arg1 string 1063 } 1064 getFeatureFlagReturns struct { 1065 result1 ccv3.FeatureFlag 1066 result2 ccv3.Warnings 1067 result3 error 1068 } 1069 getFeatureFlagReturnsOnCall map[int]struct { 1070 result1 ccv3.FeatureFlag 1071 result2 ccv3.Warnings 1072 result3 error 1073 } 1074 GetFeatureFlagsStub func() ([]ccv3.FeatureFlag, ccv3.Warnings, error) 1075 getFeatureFlagsMutex sync.RWMutex 1076 getFeatureFlagsArgsForCall []struct { 1077 } 1078 getFeatureFlagsReturns struct { 1079 result1 []ccv3.FeatureFlag 1080 result2 ccv3.Warnings 1081 result3 error 1082 } 1083 getFeatureFlagsReturnsOnCall map[int]struct { 1084 result1 []ccv3.FeatureFlag 1085 result2 ccv3.Warnings 1086 result3 error 1087 } 1088 GetInfoStub func() (ccv3.Info, ccv3.ResourceLinks, ccv3.Warnings, error) 1089 getInfoMutex sync.RWMutex 1090 getInfoArgsForCall []struct { 1091 } 1092 getInfoReturns struct { 1093 result1 ccv3.Info 1094 result2 ccv3.ResourceLinks 1095 result3 ccv3.Warnings 1096 result4 error 1097 } 1098 getInfoReturnsOnCall map[int]struct { 1099 result1 ccv3.Info 1100 result2 ccv3.ResourceLinks 1101 result3 ccv3.Warnings 1102 result4 error 1103 } 1104 GetIsolationSegmentStub func(string) (ccv3.IsolationSegment, ccv3.Warnings, error) 1105 getIsolationSegmentMutex sync.RWMutex 1106 getIsolationSegmentArgsForCall []struct { 1107 arg1 string 1108 } 1109 getIsolationSegmentReturns struct { 1110 result1 ccv3.IsolationSegment 1111 result2 ccv3.Warnings 1112 result3 error 1113 } 1114 getIsolationSegmentReturnsOnCall map[int]struct { 1115 result1 ccv3.IsolationSegment 1116 result2 ccv3.Warnings 1117 result3 error 1118 } 1119 GetIsolationSegmentOrganizationsStub func(string) ([]resources.Organization, ccv3.Warnings, error) 1120 getIsolationSegmentOrganizationsMutex sync.RWMutex 1121 getIsolationSegmentOrganizationsArgsForCall []struct { 1122 arg1 string 1123 } 1124 getIsolationSegmentOrganizationsReturns struct { 1125 result1 []resources.Organization 1126 result2 ccv3.Warnings 1127 result3 error 1128 } 1129 getIsolationSegmentOrganizationsReturnsOnCall map[int]struct { 1130 result1 []resources.Organization 1131 result2 ccv3.Warnings 1132 result3 error 1133 } 1134 GetIsolationSegmentsStub func(...ccv3.Query) ([]ccv3.IsolationSegment, ccv3.Warnings, error) 1135 getIsolationSegmentsMutex sync.RWMutex 1136 getIsolationSegmentsArgsForCall []struct { 1137 arg1 []ccv3.Query 1138 } 1139 getIsolationSegmentsReturns struct { 1140 result1 []ccv3.IsolationSegment 1141 result2 ccv3.Warnings 1142 result3 error 1143 } 1144 getIsolationSegmentsReturnsOnCall map[int]struct { 1145 result1 []ccv3.IsolationSegment 1146 result2 ccv3.Warnings 1147 result3 error 1148 } 1149 GetNewApplicationProcessesStub func(string, string) ([]ccv3.Process, ccv3.Warnings, error) 1150 getNewApplicationProcessesMutex sync.RWMutex 1151 getNewApplicationProcessesArgsForCall []struct { 1152 arg1 string 1153 arg2 string 1154 } 1155 getNewApplicationProcessesReturns struct { 1156 result1 []ccv3.Process 1157 result2 ccv3.Warnings 1158 result3 error 1159 } 1160 getNewApplicationProcessesReturnsOnCall map[int]struct { 1161 result1 []ccv3.Process 1162 result2 ccv3.Warnings 1163 result3 error 1164 } 1165 GetOrganizationStub func(string) (resources.Organization, ccv3.Warnings, error) 1166 getOrganizationMutex sync.RWMutex 1167 getOrganizationArgsForCall []struct { 1168 arg1 string 1169 } 1170 getOrganizationReturns struct { 1171 result1 resources.Organization 1172 result2 ccv3.Warnings 1173 result3 error 1174 } 1175 getOrganizationReturnsOnCall map[int]struct { 1176 result1 resources.Organization 1177 result2 ccv3.Warnings 1178 result3 error 1179 } 1180 GetOrganizationDefaultIsolationSegmentStub func(string) (resources.Relationship, ccv3.Warnings, error) 1181 getOrganizationDefaultIsolationSegmentMutex sync.RWMutex 1182 getOrganizationDefaultIsolationSegmentArgsForCall []struct { 1183 arg1 string 1184 } 1185 getOrganizationDefaultIsolationSegmentReturns struct { 1186 result1 resources.Relationship 1187 result2 ccv3.Warnings 1188 result3 error 1189 } 1190 getOrganizationDefaultIsolationSegmentReturnsOnCall map[int]struct { 1191 result1 resources.Relationship 1192 result2 ccv3.Warnings 1193 result3 error 1194 } 1195 GetOrganizationDomainsStub func(string, ...ccv3.Query) ([]resources.Domain, ccv3.Warnings, error) 1196 getOrganizationDomainsMutex sync.RWMutex 1197 getOrganizationDomainsArgsForCall []struct { 1198 arg1 string 1199 arg2 []ccv3.Query 1200 } 1201 getOrganizationDomainsReturns struct { 1202 result1 []resources.Domain 1203 result2 ccv3.Warnings 1204 result3 error 1205 } 1206 getOrganizationDomainsReturnsOnCall map[int]struct { 1207 result1 []resources.Domain 1208 result2 ccv3.Warnings 1209 result3 error 1210 } 1211 GetOrganizationQuotaStub func(string) (resources.OrganizationQuota, ccv3.Warnings, error) 1212 getOrganizationQuotaMutex sync.RWMutex 1213 getOrganizationQuotaArgsForCall []struct { 1214 arg1 string 1215 } 1216 getOrganizationQuotaReturns struct { 1217 result1 resources.OrganizationQuota 1218 result2 ccv3.Warnings 1219 result3 error 1220 } 1221 getOrganizationQuotaReturnsOnCall map[int]struct { 1222 result1 resources.OrganizationQuota 1223 result2 ccv3.Warnings 1224 result3 error 1225 } 1226 GetOrganizationQuotasStub func(...ccv3.Query) ([]resources.OrganizationQuota, ccv3.Warnings, error) 1227 getOrganizationQuotasMutex sync.RWMutex 1228 getOrganizationQuotasArgsForCall []struct { 1229 arg1 []ccv3.Query 1230 } 1231 getOrganizationQuotasReturns struct { 1232 result1 []resources.OrganizationQuota 1233 result2 ccv3.Warnings 1234 result3 error 1235 } 1236 getOrganizationQuotasReturnsOnCall map[int]struct { 1237 result1 []resources.OrganizationQuota 1238 result2 ccv3.Warnings 1239 result3 error 1240 } 1241 GetOrganizationsStub func(...ccv3.Query) ([]resources.Organization, ccv3.Warnings, error) 1242 getOrganizationsMutex sync.RWMutex 1243 getOrganizationsArgsForCall []struct { 1244 arg1 []ccv3.Query 1245 } 1246 getOrganizationsReturns struct { 1247 result1 []resources.Organization 1248 result2 ccv3.Warnings 1249 result3 error 1250 } 1251 getOrganizationsReturnsOnCall map[int]struct { 1252 result1 []resources.Organization 1253 result2 ccv3.Warnings 1254 result3 error 1255 } 1256 GetPackageStub func(string) (ccv3.Package, ccv3.Warnings, error) 1257 getPackageMutex sync.RWMutex 1258 getPackageArgsForCall []struct { 1259 arg1 string 1260 } 1261 getPackageReturns struct { 1262 result1 ccv3.Package 1263 result2 ccv3.Warnings 1264 result3 error 1265 } 1266 getPackageReturnsOnCall map[int]struct { 1267 result1 ccv3.Package 1268 result2 ccv3.Warnings 1269 result3 error 1270 } 1271 GetPackageDropletsStub func(string, ...ccv3.Query) ([]resources.Droplet, ccv3.Warnings, error) 1272 getPackageDropletsMutex sync.RWMutex 1273 getPackageDropletsArgsForCall []struct { 1274 arg1 string 1275 arg2 []ccv3.Query 1276 } 1277 getPackageDropletsReturns struct { 1278 result1 []resources.Droplet 1279 result2 ccv3.Warnings 1280 result3 error 1281 } 1282 getPackageDropletsReturnsOnCall map[int]struct { 1283 result1 []resources.Droplet 1284 result2 ccv3.Warnings 1285 result3 error 1286 } 1287 GetPackagesStub func(...ccv3.Query) ([]ccv3.Package, ccv3.Warnings, error) 1288 getPackagesMutex sync.RWMutex 1289 getPackagesArgsForCall []struct { 1290 arg1 []ccv3.Query 1291 } 1292 getPackagesReturns struct { 1293 result1 []ccv3.Package 1294 result2 ccv3.Warnings 1295 result3 error 1296 } 1297 getPackagesReturnsOnCall map[int]struct { 1298 result1 []ccv3.Package 1299 result2 ccv3.Warnings 1300 result3 error 1301 } 1302 GetProcessStub func(string) (ccv3.Process, ccv3.Warnings, error) 1303 getProcessMutex sync.RWMutex 1304 getProcessArgsForCall []struct { 1305 arg1 string 1306 } 1307 getProcessReturns struct { 1308 result1 ccv3.Process 1309 result2 ccv3.Warnings 1310 result3 error 1311 } 1312 getProcessReturnsOnCall map[int]struct { 1313 result1 ccv3.Process 1314 result2 ccv3.Warnings 1315 result3 error 1316 } 1317 GetProcessInstancesStub func(string) ([]ccv3.ProcessInstance, ccv3.Warnings, error) 1318 getProcessInstancesMutex sync.RWMutex 1319 getProcessInstancesArgsForCall []struct { 1320 arg1 string 1321 } 1322 getProcessInstancesReturns struct { 1323 result1 []ccv3.ProcessInstance 1324 result2 ccv3.Warnings 1325 result3 error 1326 } 1327 getProcessInstancesReturnsOnCall map[int]struct { 1328 result1 []ccv3.ProcessInstance 1329 result2 ccv3.Warnings 1330 result3 error 1331 } 1332 GetProcessSidecarsStub func(string) ([]ccv3.Sidecar, ccv3.Warnings, error) 1333 getProcessSidecarsMutex sync.RWMutex 1334 getProcessSidecarsArgsForCall []struct { 1335 arg1 string 1336 } 1337 getProcessSidecarsReturns struct { 1338 result1 []ccv3.Sidecar 1339 result2 ccv3.Warnings 1340 result3 error 1341 } 1342 getProcessSidecarsReturnsOnCall map[int]struct { 1343 result1 []ccv3.Sidecar 1344 result2 ccv3.Warnings 1345 result3 error 1346 } 1347 GetProcessesStub func(...ccv3.Query) ([]ccv3.Process, ccv3.Warnings, error) 1348 getProcessesMutex sync.RWMutex 1349 getProcessesArgsForCall []struct { 1350 arg1 []ccv3.Query 1351 } 1352 getProcessesReturns struct { 1353 result1 []ccv3.Process 1354 result2 ccv3.Warnings 1355 result3 error 1356 } 1357 getProcessesReturnsOnCall map[int]struct { 1358 result1 []ccv3.Process 1359 result2 ccv3.Warnings 1360 result3 error 1361 } 1362 GetRolesStub func(...ccv3.Query) ([]resources.Role, ccv3.IncludedResources, ccv3.Warnings, error) 1363 getRolesMutex sync.RWMutex 1364 getRolesArgsForCall []struct { 1365 arg1 []ccv3.Query 1366 } 1367 getRolesReturns struct { 1368 result1 []resources.Role 1369 result2 ccv3.IncludedResources 1370 result3 ccv3.Warnings 1371 result4 error 1372 } 1373 getRolesReturnsOnCall map[int]struct { 1374 result1 []resources.Role 1375 result2 ccv3.IncludedResources 1376 result3 ccv3.Warnings 1377 result4 error 1378 } 1379 GetRouteDestinationsStub func(string) ([]resources.RouteDestination, ccv3.Warnings, error) 1380 getRouteDestinationsMutex sync.RWMutex 1381 getRouteDestinationsArgsForCall []struct { 1382 arg1 string 1383 } 1384 getRouteDestinationsReturns struct { 1385 result1 []resources.RouteDestination 1386 result2 ccv3.Warnings 1387 result3 error 1388 } 1389 getRouteDestinationsReturnsOnCall map[int]struct { 1390 result1 []resources.RouteDestination 1391 result2 ccv3.Warnings 1392 result3 error 1393 } 1394 GetRoutesStub func(...ccv3.Query) ([]resources.Route, ccv3.Warnings, error) 1395 getRoutesMutex sync.RWMutex 1396 getRoutesArgsForCall []struct { 1397 arg1 []ccv3.Query 1398 } 1399 getRoutesReturns struct { 1400 result1 []resources.Route 1401 result2 ccv3.Warnings 1402 result3 error 1403 } 1404 getRoutesReturnsOnCall map[int]struct { 1405 result1 []resources.Route 1406 result2 ccv3.Warnings 1407 result3 error 1408 } 1409 GetRunningSecurityGroupsStub func(string, ...ccv3.Query) ([]resources.SecurityGroup, ccv3.Warnings, error) 1410 getRunningSecurityGroupsMutex sync.RWMutex 1411 getRunningSecurityGroupsArgsForCall []struct { 1412 arg1 string 1413 arg2 []ccv3.Query 1414 } 1415 getRunningSecurityGroupsReturns struct { 1416 result1 []resources.SecurityGroup 1417 result2 ccv3.Warnings 1418 result3 error 1419 } 1420 getRunningSecurityGroupsReturnsOnCall map[int]struct { 1421 result1 []resources.SecurityGroup 1422 result2 ccv3.Warnings 1423 result3 error 1424 } 1425 GetSSHEnabledStub func(string) (ccv3.SSHEnabled, ccv3.Warnings, error) 1426 getSSHEnabledMutex sync.RWMutex 1427 getSSHEnabledArgsForCall []struct { 1428 arg1 string 1429 } 1430 getSSHEnabledReturns struct { 1431 result1 ccv3.SSHEnabled 1432 result2 ccv3.Warnings 1433 result3 error 1434 } 1435 getSSHEnabledReturnsOnCall map[int]struct { 1436 result1 ccv3.SSHEnabled 1437 result2 ccv3.Warnings 1438 result3 error 1439 } 1440 GetSecurityGroupsStub func(...ccv3.Query) ([]resources.SecurityGroup, ccv3.Warnings, error) 1441 getSecurityGroupsMutex sync.RWMutex 1442 getSecurityGroupsArgsForCall []struct { 1443 arg1 []ccv3.Query 1444 } 1445 getSecurityGroupsReturns struct { 1446 result1 []resources.SecurityGroup 1447 result2 ccv3.Warnings 1448 result3 error 1449 } 1450 getSecurityGroupsReturnsOnCall map[int]struct { 1451 result1 []resources.SecurityGroup 1452 result2 ccv3.Warnings 1453 result3 error 1454 } 1455 GetServiceBrokersStub func(...ccv3.Query) ([]resources.ServiceBroker, ccv3.Warnings, error) 1456 getServiceBrokersMutex sync.RWMutex 1457 getServiceBrokersArgsForCall []struct { 1458 arg1 []ccv3.Query 1459 } 1460 getServiceBrokersReturns struct { 1461 result1 []resources.ServiceBroker 1462 result2 ccv3.Warnings 1463 result3 error 1464 } 1465 getServiceBrokersReturnsOnCall map[int]struct { 1466 result1 []resources.ServiceBroker 1467 result2 ccv3.Warnings 1468 result3 error 1469 } 1470 GetServiceInstancesStub func(...ccv3.Query) ([]resources.ServiceInstance, ccv3.Warnings, error) 1471 getServiceInstancesMutex sync.RWMutex 1472 getServiceInstancesArgsForCall []struct { 1473 arg1 []ccv3.Query 1474 } 1475 getServiceInstancesReturns struct { 1476 result1 []resources.ServiceInstance 1477 result2 ccv3.Warnings 1478 result3 error 1479 } 1480 getServiceInstancesReturnsOnCall map[int]struct { 1481 result1 []resources.ServiceInstance 1482 result2 ccv3.Warnings 1483 result3 error 1484 } 1485 GetServiceOfferingByNameAndBrokerStub func(string, string) (resources.ServiceOffering, ccv3.Warnings, error) 1486 getServiceOfferingByNameAndBrokerMutex sync.RWMutex 1487 getServiceOfferingByNameAndBrokerArgsForCall []struct { 1488 arg1 string 1489 arg2 string 1490 } 1491 getServiceOfferingByNameAndBrokerReturns struct { 1492 result1 resources.ServiceOffering 1493 result2 ccv3.Warnings 1494 result3 error 1495 } 1496 getServiceOfferingByNameAndBrokerReturnsOnCall map[int]struct { 1497 result1 resources.ServiceOffering 1498 result2 ccv3.Warnings 1499 result3 error 1500 } 1501 GetServiceOfferingsStub func(...ccv3.Query) ([]resources.ServiceOffering, ccv3.Warnings, error) 1502 getServiceOfferingsMutex sync.RWMutex 1503 getServiceOfferingsArgsForCall []struct { 1504 arg1 []ccv3.Query 1505 } 1506 getServiceOfferingsReturns struct { 1507 result1 []resources.ServiceOffering 1508 result2 ccv3.Warnings 1509 result3 error 1510 } 1511 getServiceOfferingsReturnsOnCall map[int]struct { 1512 result1 []resources.ServiceOffering 1513 result2 ccv3.Warnings 1514 result3 error 1515 } 1516 GetServicePlanVisibilityStub func(string) (resources.ServicePlanVisibility, ccv3.Warnings, error) 1517 getServicePlanVisibilityMutex sync.RWMutex 1518 getServicePlanVisibilityArgsForCall []struct { 1519 arg1 string 1520 } 1521 getServicePlanVisibilityReturns struct { 1522 result1 resources.ServicePlanVisibility 1523 result2 ccv3.Warnings 1524 result3 error 1525 } 1526 getServicePlanVisibilityReturnsOnCall map[int]struct { 1527 result1 resources.ServicePlanVisibility 1528 result2 ccv3.Warnings 1529 result3 error 1530 } 1531 GetServicePlansStub func(...ccv3.Query) ([]resources.ServicePlan, ccv3.Warnings, error) 1532 getServicePlansMutex sync.RWMutex 1533 getServicePlansArgsForCall []struct { 1534 arg1 []ccv3.Query 1535 } 1536 getServicePlansReturns struct { 1537 result1 []resources.ServicePlan 1538 result2 ccv3.Warnings 1539 result3 error 1540 } 1541 getServicePlansReturnsOnCall map[int]struct { 1542 result1 []resources.ServicePlan 1543 result2 ccv3.Warnings 1544 result3 error 1545 } 1546 GetServicePlansWithOfferingsStub func(...ccv3.Query) ([]ccv3.ServiceOfferingWithPlans, ccv3.Warnings, error) 1547 getServicePlansWithOfferingsMutex sync.RWMutex 1548 getServicePlansWithOfferingsArgsForCall []struct { 1549 arg1 []ccv3.Query 1550 } 1551 getServicePlansWithOfferingsReturns struct { 1552 result1 []ccv3.ServiceOfferingWithPlans 1553 result2 ccv3.Warnings 1554 result3 error 1555 } 1556 getServicePlansWithOfferingsReturnsOnCall map[int]struct { 1557 result1 []ccv3.ServiceOfferingWithPlans 1558 result2 ccv3.Warnings 1559 result3 error 1560 } 1561 GetServicePlansWithSpaceAndOrganizationStub func(...ccv3.Query) ([]ccv3.ServicePlanWithSpaceAndOrganization, ccv3.Warnings, error) 1562 getServicePlansWithSpaceAndOrganizationMutex sync.RWMutex 1563 getServicePlansWithSpaceAndOrganizationArgsForCall []struct { 1564 arg1 []ccv3.Query 1565 } 1566 getServicePlansWithSpaceAndOrganizationReturns struct { 1567 result1 []ccv3.ServicePlanWithSpaceAndOrganization 1568 result2 ccv3.Warnings 1569 result3 error 1570 } 1571 getServicePlansWithSpaceAndOrganizationReturnsOnCall map[int]struct { 1572 result1 []ccv3.ServicePlanWithSpaceAndOrganization 1573 result2 ccv3.Warnings 1574 result3 error 1575 } 1576 GetSpaceFeatureStub func(string, string) (bool, ccv3.Warnings, error) 1577 getSpaceFeatureMutex sync.RWMutex 1578 getSpaceFeatureArgsForCall []struct { 1579 arg1 string 1580 arg2 string 1581 } 1582 getSpaceFeatureReturns struct { 1583 result1 bool 1584 result2 ccv3.Warnings 1585 result3 error 1586 } 1587 getSpaceFeatureReturnsOnCall map[int]struct { 1588 result1 bool 1589 result2 ccv3.Warnings 1590 result3 error 1591 } 1592 GetSpaceIsolationSegmentStub func(string) (resources.Relationship, ccv3.Warnings, error) 1593 getSpaceIsolationSegmentMutex sync.RWMutex 1594 getSpaceIsolationSegmentArgsForCall []struct { 1595 arg1 string 1596 } 1597 getSpaceIsolationSegmentReturns struct { 1598 result1 resources.Relationship 1599 result2 ccv3.Warnings 1600 result3 error 1601 } 1602 getSpaceIsolationSegmentReturnsOnCall map[int]struct { 1603 result1 resources.Relationship 1604 result2 ccv3.Warnings 1605 result3 error 1606 } 1607 GetSpaceQuotaStub func(string) (resources.SpaceQuota, ccv3.Warnings, error) 1608 getSpaceQuotaMutex sync.RWMutex 1609 getSpaceQuotaArgsForCall []struct { 1610 arg1 string 1611 } 1612 getSpaceQuotaReturns struct { 1613 result1 resources.SpaceQuota 1614 result2 ccv3.Warnings 1615 result3 error 1616 } 1617 getSpaceQuotaReturnsOnCall map[int]struct { 1618 result1 resources.SpaceQuota 1619 result2 ccv3.Warnings 1620 result3 error 1621 } 1622 GetSpaceQuotasStub func(...ccv3.Query) ([]resources.SpaceQuota, ccv3.Warnings, error) 1623 getSpaceQuotasMutex sync.RWMutex 1624 getSpaceQuotasArgsForCall []struct { 1625 arg1 []ccv3.Query 1626 } 1627 getSpaceQuotasReturns struct { 1628 result1 []resources.SpaceQuota 1629 result2 ccv3.Warnings 1630 result3 error 1631 } 1632 getSpaceQuotasReturnsOnCall map[int]struct { 1633 result1 []resources.SpaceQuota 1634 result2 ccv3.Warnings 1635 result3 error 1636 } 1637 GetSpacesStub func(...ccv3.Query) ([]resources.Space, ccv3.IncludedResources, ccv3.Warnings, error) 1638 getSpacesMutex sync.RWMutex 1639 getSpacesArgsForCall []struct { 1640 arg1 []ccv3.Query 1641 } 1642 getSpacesReturns struct { 1643 result1 []resources.Space 1644 result2 ccv3.IncludedResources 1645 result3 ccv3.Warnings 1646 result4 error 1647 } 1648 getSpacesReturnsOnCall map[int]struct { 1649 result1 []resources.Space 1650 result2 ccv3.IncludedResources 1651 result3 ccv3.Warnings 1652 result4 error 1653 } 1654 GetStacksStub func(...ccv3.Query) ([]ccv3.Stack, ccv3.Warnings, error) 1655 getStacksMutex sync.RWMutex 1656 getStacksArgsForCall []struct { 1657 arg1 []ccv3.Query 1658 } 1659 getStacksReturns struct { 1660 result1 []ccv3.Stack 1661 result2 ccv3.Warnings 1662 result3 error 1663 } 1664 getStacksReturnsOnCall map[int]struct { 1665 result1 []ccv3.Stack 1666 result2 ccv3.Warnings 1667 result3 error 1668 } 1669 GetStagingSecurityGroupsStub func(string, ...ccv3.Query) ([]resources.SecurityGroup, ccv3.Warnings, error) 1670 getStagingSecurityGroupsMutex sync.RWMutex 1671 getStagingSecurityGroupsArgsForCall []struct { 1672 arg1 string 1673 arg2 []ccv3.Query 1674 } 1675 getStagingSecurityGroupsReturns struct { 1676 result1 []resources.SecurityGroup 1677 result2 ccv3.Warnings 1678 result3 error 1679 } 1680 getStagingSecurityGroupsReturnsOnCall map[int]struct { 1681 result1 []resources.SecurityGroup 1682 result2 ccv3.Warnings 1683 result3 error 1684 } 1685 GetUserStub func(string) (resources.User, ccv3.Warnings, error) 1686 getUserMutex sync.RWMutex 1687 getUserArgsForCall []struct { 1688 arg1 string 1689 } 1690 getUserReturns struct { 1691 result1 resources.User 1692 result2 ccv3.Warnings 1693 result3 error 1694 } 1695 getUserReturnsOnCall map[int]struct { 1696 result1 resources.User 1697 result2 ccv3.Warnings 1698 result3 error 1699 } 1700 GetUsersStub func(...ccv3.Query) ([]resources.User, ccv3.Warnings, error) 1701 getUsersMutex sync.RWMutex 1702 getUsersArgsForCall []struct { 1703 arg1 []ccv3.Query 1704 } 1705 getUsersReturns struct { 1706 result1 []resources.User 1707 result2 ccv3.Warnings 1708 result3 error 1709 } 1710 getUsersReturnsOnCall map[int]struct { 1711 result1 []resources.User 1712 result2 ccv3.Warnings 1713 result3 error 1714 } 1715 MapRouteStub func(string, string) (ccv3.Warnings, error) 1716 mapRouteMutex sync.RWMutex 1717 mapRouteArgsForCall []struct { 1718 arg1 string 1719 arg2 string 1720 } 1721 mapRouteReturns struct { 1722 result1 ccv3.Warnings 1723 result2 error 1724 } 1725 mapRouteReturnsOnCall map[int]struct { 1726 result1 ccv3.Warnings 1727 result2 error 1728 } 1729 PollJobStub func(ccv3.JobURL) (ccv3.Warnings, error) 1730 pollJobMutex sync.RWMutex 1731 pollJobArgsForCall []struct { 1732 arg1 ccv3.JobURL 1733 } 1734 pollJobReturns struct { 1735 result1 ccv3.Warnings 1736 result2 error 1737 } 1738 pollJobReturnsOnCall map[int]struct { 1739 result1 ccv3.Warnings 1740 result2 error 1741 } 1742 PurgeServiceOfferingStub func(string) (ccv3.Warnings, error) 1743 purgeServiceOfferingMutex sync.RWMutex 1744 purgeServiceOfferingArgsForCall []struct { 1745 arg1 string 1746 } 1747 purgeServiceOfferingReturns struct { 1748 result1 ccv3.Warnings 1749 result2 error 1750 } 1751 purgeServiceOfferingReturnsOnCall map[int]struct { 1752 result1 ccv3.Warnings 1753 result2 error 1754 } 1755 ResourceMatchStub func([]ccv3.Resource) ([]ccv3.Resource, ccv3.Warnings, error) 1756 resourceMatchMutex sync.RWMutex 1757 resourceMatchArgsForCall []struct { 1758 arg1 []ccv3.Resource 1759 } 1760 resourceMatchReturns struct { 1761 result1 []ccv3.Resource 1762 result2 ccv3.Warnings 1763 result3 error 1764 } 1765 resourceMatchReturnsOnCall map[int]struct { 1766 result1 []ccv3.Resource 1767 result2 ccv3.Warnings 1768 result3 error 1769 } 1770 RootResponseStub func() (ccv3.Info, ccv3.Warnings, error) 1771 rootResponseMutex sync.RWMutex 1772 rootResponseArgsForCall []struct { 1773 } 1774 rootResponseReturns struct { 1775 result1 ccv3.Info 1776 result2 ccv3.Warnings 1777 result3 error 1778 } 1779 rootResponseReturnsOnCall map[int]struct { 1780 result1 ccv3.Info 1781 result2 ccv3.Warnings 1782 result3 error 1783 } 1784 SetApplicationDropletStub func(string, string) (resources.Relationship, ccv3.Warnings, error) 1785 setApplicationDropletMutex sync.RWMutex 1786 setApplicationDropletArgsForCall []struct { 1787 arg1 string 1788 arg2 string 1789 } 1790 setApplicationDropletReturns struct { 1791 result1 resources.Relationship 1792 result2 ccv3.Warnings 1793 result3 error 1794 } 1795 setApplicationDropletReturnsOnCall map[int]struct { 1796 result1 resources.Relationship 1797 result2 ccv3.Warnings 1798 result3 error 1799 } 1800 SharePrivateDomainToOrgsStub func(string, ccv3.SharedOrgs) (ccv3.Warnings, error) 1801 sharePrivateDomainToOrgsMutex sync.RWMutex 1802 sharePrivateDomainToOrgsArgsForCall []struct { 1803 arg1 string 1804 arg2 ccv3.SharedOrgs 1805 } 1806 sharePrivateDomainToOrgsReturns struct { 1807 result1 ccv3.Warnings 1808 result2 error 1809 } 1810 sharePrivateDomainToOrgsReturnsOnCall map[int]struct { 1811 result1 ccv3.Warnings 1812 result2 error 1813 } 1814 ShareServiceInstanceToSpacesStub func(string, []string) (resources.RelationshipList, ccv3.Warnings, error) 1815 shareServiceInstanceToSpacesMutex sync.RWMutex 1816 shareServiceInstanceToSpacesArgsForCall []struct { 1817 arg1 string 1818 arg2 []string 1819 } 1820 shareServiceInstanceToSpacesReturns struct { 1821 result1 resources.RelationshipList 1822 result2 ccv3.Warnings 1823 result3 error 1824 } 1825 shareServiceInstanceToSpacesReturnsOnCall map[int]struct { 1826 result1 resources.RelationshipList 1827 result2 ccv3.Warnings 1828 result3 error 1829 } 1830 TargetCFStub func(ccv3.TargetSettings) (ccv3.Info, ccv3.Warnings, error) 1831 targetCFMutex sync.RWMutex 1832 targetCFArgsForCall []struct { 1833 arg1 ccv3.TargetSettings 1834 } 1835 targetCFReturns struct { 1836 result1 ccv3.Info 1837 result2 ccv3.Warnings 1838 result3 error 1839 } 1840 targetCFReturnsOnCall map[int]struct { 1841 result1 ccv3.Info 1842 result2 ccv3.Warnings 1843 result3 error 1844 } 1845 UnbindSecurityGroupRunningSpaceStub func(string, string) (ccv3.Warnings, error) 1846 unbindSecurityGroupRunningSpaceMutex sync.RWMutex 1847 unbindSecurityGroupRunningSpaceArgsForCall []struct { 1848 arg1 string 1849 arg2 string 1850 } 1851 unbindSecurityGroupRunningSpaceReturns struct { 1852 result1 ccv3.Warnings 1853 result2 error 1854 } 1855 unbindSecurityGroupRunningSpaceReturnsOnCall map[int]struct { 1856 result1 ccv3.Warnings 1857 result2 error 1858 } 1859 UnbindSecurityGroupStagingSpaceStub func(string, string) (ccv3.Warnings, error) 1860 unbindSecurityGroupStagingSpaceMutex sync.RWMutex 1861 unbindSecurityGroupStagingSpaceArgsForCall []struct { 1862 arg1 string 1863 arg2 string 1864 } 1865 unbindSecurityGroupStagingSpaceReturns struct { 1866 result1 ccv3.Warnings 1867 result2 error 1868 } 1869 unbindSecurityGroupStagingSpaceReturnsOnCall map[int]struct { 1870 result1 ccv3.Warnings 1871 result2 error 1872 } 1873 UnmapRouteStub func(string, string) (ccv3.Warnings, error) 1874 unmapRouteMutex sync.RWMutex 1875 unmapRouteArgsForCall []struct { 1876 arg1 string 1877 arg2 string 1878 } 1879 unmapRouteReturns struct { 1880 result1 ccv3.Warnings 1881 result2 error 1882 } 1883 unmapRouteReturnsOnCall map[int]struct { 1884 result1 ccv3.Warnings 1885 result2 error 1886 } 1887 UnsetSpaceQuotaStub func(string, string) (ccv3.Warnings, error) 1888 unsetSpaceQuotaMutex sync.RWMutex 1889 unsetSpaceQuotaArgsForCall []struct { 1890 arg1 string 1891 arg2 string 1892 } 1893 unsetSpaceQuotaReturns struct { 1894 result1 ccv3.Warnings 1895 result2 error 1896 } 1897 unsetSpaceQuotaReturnsOnCall map[int]struct { 1898 result1 ccv3.Warnings 1899 result2 error 1900 } 1901 UnsharePrivateDomainFromOrgStub func(string, string) (ccv3.Warnings, error) 1902 unsharePrivateDomainFromOrgMutex sync.RWMutex 1903 unsharePrivateDomainFromOrgArgsForCall []struct { 1904 arg1 string 1905 arg2 string 1906 } 1907 unsharePrivateDomainFromOrgReturns struct { 1908 result1 ccv3.Warnings 1909 result2 error 1910 } 1911 unsharePrivateDomainFromOrgReturnsOnCall map[int]struct { 1912 result1 ccv3.Warnings 1913 result2 error 1914 } 1915 UpdateAppFeatureStub func(string, bool, string) (ccv3.Warnings, error) 1916 updateAppFeatureMutex sync.RWMutex 1917 updateAppFeatureArgsForCall []struct { 1918 arg1 string 1919 arg2 bool 1920 arg3 string 1921 } 1922 updateAppFeatureReturns struct { 1923 result1 ccv3.Warnings 1924 result2 error 1925 } 1926 updateAppFeatureReturnsOnCall map[int]struct { 1927 result1 ccv3.Warnings 1928 result2 error 1929 } 1930 UpdateApplicationStub func(resources.Application) (resources.Application, ccv3.Warnings, error) 1931 updateApplicationMutex sync.RWMutex 1932 updateApplicationArgsForCall []struct { 1933 arg1 resources.Application 1934 } 1935 updateApplicationReturns struct { 1936 result1 resources.Application 1937 result2 ccv3.Warnings 1938 result3 error 1939 } 1940 updateApplicationReturnsOnCall map[int]struct { 1941 result1 resources.Application 1942 result2 ccv3.Warnings 1943 result3 error 1944 } 1945 UpdateApplicationApplyManifestStub func(string, []byte) (ccv3.JobURL, ccv3.Warnings, error) 1946 updateApplicationApplyManifestMutex sync.RWMutex 1947 updateApplicationApplyManifestArgsForCall []struct { 1948 arg1 string 1949 arg2 []byte 1950 } 1951 updateApplicationApplyManifestReturns struct { 1952 result1 ccv3.JobURL 1953 result2 ccv3.Warnings 1954 result3 error 1955 } 1956 updateApplicationApplyManifestReturnsOnCall map[int]struct { 1957 result1 ccv3.JobURL 1958 result2 ccv3.Warnings 1959 result3 error 1960 } 1961 UpdateApplicationEnvironmentVariablesStub func(string, ccv3.EnvironmentVariables) (ccv3.EnvironmentVariables, ccv3.Warnings, error) 1962 updateApplicationEnvironmentVariablesMutex sync.RWMutex 1963 updateApplicationEnvironmentVariablesArgsForCall []struct { 1964 arg1 string 1965 arg2 ccv3.EnvironmentVariables 1966 } 1967 updateApplicationEnvironmentVariablesReturns struct { 1968 result1 ccv3.EnvironmentVariables 1969 result2 ccv3.Warnings 1970 result3 error 1971 } 1972 updateApplicationEnvironmentVariablesReturnsOnCall map[int]struct { 1973 result1 ccv3.EnvironmentVariables 1974 result2 ccv3.Warnings 1975 result3 error 1976 } 1977 UpdateApplicationRestartStub func(string) (resources.Application, ccv3.Warnings, error) 1978 updateApplicationRestartMutex sync.RWMutex 1979 updateApplicationRestartArgsForCall []struct { 1980 arg1 string 1981 } 1982 updateApplicationRestartReturns struct { 1983 result1 resources.Application 1984 result2 ccv3.Warnings 1985 result3 error 1986 } 1987 updateApplicationRestartReturnsOnCall map[int]struct { 1988 result1 resources.Application 1989 result2 ccv3.Warnings 1990 result3 error 1991 } 1992 UpdateApplicationStartStub func(string) (resources.Application, ccv3.Warnings, error) 1993 updateApplicationStartMutex sync.RWMutex 1994 updateApplicationStartArgsForCall []struct { 1995 arg1 string 1996 } 1997 updateApplicationStartReturns struct { 1998 result1 resources.Application 1999 result2 ccv3.Warnings 2000 result3 error 2001 } 2002 updateApplicationStartReturnsOnCall map[int]struct { 2003 result1 resources.Application 2004 result2 ccv3.Warnings 2005 result3 error 2006 } 2007 UpdateApplicationStopStub func(string) (resources.Application, ccv3.Warnings, error) 2008 updateApplicationStopMutex sync.RWMutex 2009 updateApplicationStopArgsForCall []struct { 2010 arg1 string 2011 } 2012 updateApplicationStopReturns struct { 2013 result1 resources.Application 2014 result2 ccv3.Warnings 2015 result3 error 2016 } 2017 updateApplicationStopReturnsOnCall map[int]struct { 2018 result1 resources.Application 2019 result2 ccv3.Warnings 2020 result3 error 2021 } 2022 UpdateBuildpackStub func(ccv3.Buildpack) (ccv3.Buildpack, ccv3.Warnings, error) 2023 updateBuildpackMutex sync.RWMutex 2024 updateBuildpackArgsForCall []struct { 2025 arg1 ccv3.Buildpack 2026 } 2027 updateBuildpackReturns struct { 2028 result1 ccv3.Buildpack 2029 result2 ccv3.Warnings 2030 result3 error 2031 } 2032 updateBuildpackReturnsOnCall map[int]struct { 2033 result1 ccv3.Buildpack 2034 result2 ccv3.Warnings 2035 result3 error 2036 } 2037 UpdateEnvironmentVariableGroupStub func(constant.EnvironmentVariableGroupName, ccv3.EnvironmentVariables) (ccv3.EnvironmentVariables, ccv3.Warnings, error) 2038 updateEnvironmentVariableGroupMutex sync.RWMutex 2039 updateEnvironmentVariableGroupArgsForCall []struct { 2040 arg1 constant.EnvironmentVariableGroupName 2041 arg2 ccv3.EnvironmentVariables 2042 } 2043 updateEnvironmentVariableGroupReturns struct { 2044 result1 ccv3.EnvironmentVariables 2045 result2 ccv3.Warnings 2046 result3 error 2047 } 2048 updateEnvironmentVariableGroupReturnsOnCall map[int]struct { 2049 result1 ccv3.EnvironmentVariables 2050 result2 ccv3.Warnings 2051 result3 error 2052 } 2053 UpdateFeatureFlagStub func(ccv3.FeatureFlag) (ccv3.FeatureFlag, ccv3.Warnings, error) 2054 updateFeatureFlagMutex sync.RWMutex 2055 updateFeatureFlagArgsForCall []struct { 2056 arg1 ccv3.FeatureFlag 2057 } 2058 updateFeatureFlagReturns struct { 2059 result1 ccv3.FeatureFlag 2060 result2 ccv3.Warnings 2061 result3 error 2062 } 2063 updateFeatureFlagReturnsOnCall map[int]struct { 2064 result1 ccv3.FeatureFlag 2065 result2 ccv3.Warnings 2066 result3 error 2067 } 2068 UpdateOrganizationStub func(resources.Organization) (resources.Organization, ccv3.Warnings, error) 2069 updateOrganizationMutex sync.RWMutex 2070 updateOrganizationArgsForCall []struct { 2071 arg1 resources.Organization 2072 } 2073 updateOrganizationReturns struct { 2074 result1 resources.Organization 2075 result2 ccv3.Warnings 2076 result3 error 2077 } 2078 updateOrganizationReturnsOnCall map[int]struct { 2079 result1 resources.Organization 2080 result2 ccv3.Warnings 2081 result3 error 2082 } 2083 UpdateOrganizationDefaultIsolationSegmentRelationshipStub func(string, string) (resources.Relationship, ccv3.Warnings, error) 2084 updateOrganizationDefaultIsolationSegmentRelationshipMutex sync.RWMutex 2085 updateOrganizationDefaultIsolationSegmentRelationshipArgsForCall []struct { 2086 arg1 string 2087 arg2 string 2088 } 2089 updateOrganizationDefaultIsolationSegmentRelationshipReturns struct { 2090 result1 resources.Relationship 2091 result2 ccv3.Warnings 2092 result3 error 2093 } 2094 updateOrganizationDefaultIsolationSegmentRelationshipReturnsOnCall map[int]struct { 2095 result1 resources.Relationship 2096 result2 ccv3.Warnings 2097 result3 error 2098 } 2099 UpdateOrganizationQuotaStub func(resources.OrganizationQuota) (resources.OrganizationQuota, ccv3.Warnings, error) 2100 updateOrganizationQuotaMutex sync.RWMutex 2101 updateOrganizationQuotaArgsForCall []struct { 2102 arg1 resources.OrganizationQuota 2103 } 2104 updateOrganizationQuotaReturns struct { 2105 result1 resources.OrganizationQuota 2106 result2 ccv3.Warnings 2107 result3 error 2108 } 2109 updateOrganizationQuotaReturnsOnCall map[int]struct { 2110 result1 resources.OrganizationQuota 2111 result2 ccv3.Warnings 2112 result3 error 2113 } 2114 UpdateProcessStub func(ccv3.Process) (ccv3.Process, ccv3.Warnings, error) 2115 updateProcessMutex sync.RWMutex 2116 updateProcessArgsForCall []struct { 2117 arg1 ccv3.Process 2118 } 2119 updateProcessReturns struct { 2120 result1 ccv3.Process 2121 result2 ccv3.Warnings 2122 result3 error 2123 } 2124 updateProcessReturnsOnCall map[int]struct { 2125 result1 ccv3.Process 2126 result2 ccv3.Warnings 2127 result3 error 2128 } 2129 UpdateResourceMetadataStub func(string, string, resources.Metadata) (ccv3.JobURL, ccv3.Warnings, error) 2130 updateResourceMetadataMutex sync.RWMutex 2131 updateResourceMetadataArgsForCall []struct { 2132 arg1 string 2133 arg2 string 2134 arg3 resources.Metadata 2135 } 2136 updateResourceMetadataReturns struct { 2137 result1 ccv3.JobURL 2138 result2 ccv3.Warnings 2139 result3 error 2140 } 2141 updateResourceMetadataReturnsOnCall map[int]struct { 2142 result1 ccv3.JobURL 2143 result2 ccv3.Warnings 2144 result3 error 2145 } 2146 UpdateSecurityGroupStub func(resources.SecurityGroup) (resources.SecurityGroup, ccv3.Warnings, error) 2147 updateSecurityGroupMutex sync.RWMutex 2148 updateSecurityGroupArgsForCall []struct { 2149 arg1 resources.SecurityGroup 2150 } 2151 updateSecurityGroupReturns struct { 2152 result1 resources.SecurityGroup 2153 result2 ccv3.Warnings 2154 result3 error 2155 } 2156 updateSecurityGroupReturnsOnCall map[int]struct { 2157 result1 resources.SecurityGroup 2158 result2 ccv3.Warnings 2159 result3 error 2160 } 2161 UpdateSecurityGroupRunningSpaceStub func(string, []string) (ccv3.Warnings, error) 2162 updateSecurityGroupRunningSpaceMutex sync.RWMutex 2163 updateSecurityGroupRunningSpaceArgsForCall []struct { 2164 arg1 string 2165 arg2 []string 2166 } 2167 updateSecurityGroupRunningSpaceReturns struct { 2168 result1 ccv3.Warnings 2169 result2 error 2170 } 2171 updateSecurityGroupRunningSpaceReturnsOnCall map[int]struct { 2172 result1 ccv3.Warnings 2173 result2 error 2174 } 2175 UpdateSecurityGroupStagingSpaceStub func(string, []string) (ccv3.Warnings, error) 2176 updateSecurityGroupStagingSpaceMutex sync.RWMutex 2177 updateSecurityGroupStagingSpaceArgsForCall []struct { 2178 arg1 string 2179 arg2 []string 2180 } 2181 updateSecurityGroupStagingSpaceReturns struct { 2182 result1 ccv3.Warnings 2183 result2 error 2184 } 2185 updateSecurityGroupStagingSpaceReturnsOnCall map[int]struct { 2186 result1 ccv3.Warnings 2187 result2 error 2188 } 2189 UpdateServiceBrokerStub func(string, resources.ServiceBroker) (ccv3.JobURL, ccv3.Warnings, error) 2190 updateServiceBrokerMutex sync.RWMutex 2191 updateServiceBrokerArgsForCall []struct { 2192 arg1 string 2193 arg2 resources.ServiceBroker 2194 } 2195 updateServiceBrokerReturns struct { 2196 result1 ccv3.JobURL 2197 result2 ccv3.Warnings 2198 result3 error 2199 } 2200 updateServiceBrokerReturnsOnCall map[int]struct { 2201 result1 ccv3.JobURL 2202 result2 ccv3.Warnings 2203 result3 error 2204 } 2205 UpdateServicePlanVisibilityStub func(string, resources.ServicePlanVisibility) (resources.ServicePlanVisibility, ccv3.Warnings, error) 2206 updateServicePlanVisibilityMutex sync.RWMutex 2207 updateServicePlanVisibilityArgsForCall []struct { 2208 arg1 string 2209 arg2 resources.ServicePlanVisibility 2210 } 2211 updateServicePlanVisibilityReturns struct { 2212 result1 resources.ServicePlanVisibility 2213 result2 ccv3.Warnings 2214 result3 error 2215 } 2216 updateServicePlanVisibilityReturnsOnCall map[int]struct { 2217 result1 resources.ServicePlanVisibility 2218 result2 ccv3.Warnings 2219 result3 error 2220 } 2221 UpdateSpaceStub func(resources.Space) (resources.Space, ccv3.Warnings, error) 2222 updateSpaceMutex sync.RWMutex 2223 updateSpaceArgsForCall []struct { 2224 arg1 resources.Space 2225 } 2226 updateSpaceReturns struct { 2227 result1 resources.Space 2228 result2 ccv3.Warnings 2229 result3 error 2230 } 2231 updateSpaceReturnsOnCall map[int]struct { 2232 result1 resources.Space 2233 result2 ccv3.Warnings 2234 result3 error 2235 } 2236 UpdateSpaceApplyManifestStub func(string, []byte) (ccv3.JobURL, ccv3.Warnings, error) 2237 updateSpaceApplyManifestMutex sync.RWMutex 2238 updateSpaceApplyManifestArgsForCall []struct { 2239 arg1 string 2240 arg2 []byte 2241 } 2242 updateSpaceApplyManifestReturns struct { 2243 result1 ccv3.JobURL 2244 result2 ccv3.Warnings 2245 result3 error 2246 } 2247 updateSpaceApplyManifestReturnsOnCall map[int]struct { 2248 result1 ccv3.JobURL 2249 result2 ccv3.Warnings 2250 result3 error 2251 } 2252 UpdateSpaceFeatureStub func(string, bool, string) (ccv3.Warnings, error) 2253 updateSpaceFeatureMutex sync.RWMutex 2254 updateSpaceFeatureArgsForCall []struct { 2255 arg1 string 2256 arg2 bool 2257 arg3 string 2258 } 2259 updateSpaceFeatureReturns struct { 2260 result1 ccv3.Warnings 2261 result2 error 2262 } 2263 updateSpaceFeatureReturnsOnCall map[int]struct { 2264 result1 ccv3.Warnings 2265 result2 error 2266 } 2267 UpdateSpaceIsolationSegmentRelationshipStub func(string, string) (resources.Relationship, ccv3.Warnings, error) 2268 updateSpaceIsolationSegmentRelationshipMutex sync.RWMutex 2269 updateSpaceIsolationSegmentRelationshipArgsForCall []struct { 2270 arg1 string 2271 arg2 string 2272 } 2273 updateSpaceIsolationSegmentRelationshipReturns struct { 2274 result1 resources.Relationship 2275 result2 ccv3.Warnings 2276 result3 error 2277 } 2278 updateSpaceIsolationSegmentRelationshipReturnsOnCall map[int]struct { 2279 result1 resources.Relationship 2280 result2 ccv3.Warnings 2281 result3 error 2282 } 2283 UpdateSpaceQuotaStub func(resources.SpaceQuota) (resources.SpaceQuota, ccv3.Warnings, error) 2284 updateSpaceQuotaMutex sync.RWMutex 2285 updateSpaceQuotaArgsForCall []struct { 2286 arg1 resources.SpaceQuota 2287 } 2288 updateSpaceQuotaReturns struct { 2289 result1 resources.SpaceQuota 2290 result2 ccv3.Warnings 2291 result3 error 2292 } 2293 updateSpaceQuotaReturnsOnCall map[int]struct { 2294 result1 resources.SpaceQuota 2295 result2 ccv3.Warnings 2296 result3 error 2297 } 2298 UpdateTaskCancelStub func(string) (ccv3.Task, ccv3.Warnings, error) 2299 updateTaskCancelMutex sync.RWMutex 2300 updateTaskCancelArgsForCall []struct { 2301 arg1 string 2302 } 2303 updateTaskCancelReturns struct { 2304 result1 ccv3.Task 2305 result2 ccv3.Warnings 2306 result3 error 2307 } 2308 updateTaskCancelReturnsOnCall map[int]struct { 2309 result1 ccv3.Task 2310 result2 ccv3.Warnings 2311 result3 error 2312 } 2313 UploadBitsPackageStub func(ccv3.Package, []ccv3.Resource, io.Reader, int64) (ccv3.Package, ccv3.Warnings, error) 2314 uploadBitsPackageMutex sync.RWMutex 2315 uploadBitsPackageArgsForCall []struct { 2316 arg1 ccv3.Package 2317 arg2 []ccv3.Resource 2318 arg3 io.Reader 2319 arg4 int64 2320 } 2321 uploadBitsPackageReturns struct { 2322 result1 ccv3.Package 2323 result2 ccv3.Warnings 2324 result3 error 2325 } 2326 uploadBitsPackageReturnsOnCall map[int]struct { 2327 result1 ccv3.Package 2328 result2 ccv3.Warnings 2329 result3 error 2330 } 2331 UploadBuildpackStub func(string, string, io.Reader, int64) (ccv3.JobURL, ccv3.Warnings, error) 2332 uploadBuildpackMutex sync.RWMutex 2333 uploadBuildpackArgsForCall []struct { 2334 arg1 string 2335 arg2 string 2336 arg3 io.Reader 2337 arg4 int64 2338 } 2339 uploadBuildpackReturns struct { 2340 result1 ccv3.JobURL 2341 result2 ccv3.Warnings 2342 result3 error 2343 } 2344 uploadBuildpackReturnsOnCall map[int]struct { 2345 result1 ccv3.JobURL 2346 result2 ccv3.Warnings 2347 result3 error 2348 } 2349 UploadDropletBitsStub func(string, string, io.Reader, int64) (ccv3.JobURL, ccv3.Warnings, error) 2350 uploadDropletBitsMutex sync.RWMutex 2351 uploadDropletBitsArgsForCall []struct { 2352 arg1 string 2353 arg2 string 2354 arg3 io.Reader 2355 arg4 int64 2356 } 2357 uploadDropletBitsReturns struct { 2358 result1 ccv3.JobURL 2359 result2 ccv3.Warnings 2360 result3 error 2361 } 2362 uploadDropletBitsReturnsOnCall map[int]struct { 2363 result1 ccv3.JobURL 2364 result2 ccv3.Warnings 2365 result3 error 2366 } 2367 UploadPackageStub func(ccv3.Package, string) (ccv3.Package, ccv3.Warnings, error) 2368 uploadPackageMutex sync.RWMutex 2369 uploadPackageArgsForCall []struct { 2370 arg1 ccv3.Package 2371 arg2 string 2372 } 2373 uploadPackageReturns struct { 2374 result1 ccv3.Package 2375 result2 ccv3.Warnings 2376 result3 error 2377 } 2378 uploadPackageReturnsOnCall map[int]struct { 2379 result1 ccv3.Package 2380 result2 ccv3.Warnings 2381 result3 error 2382 } 2383 invocations map[string][][]interface{} 2384 invocationsMutex sync.RWMutex 2385 } 2386 2387 func (fake *FakeCloudControllerClient) AppSSHEndpoint() string { 2388 fake.appSSHEndpointMutex.Lock() 2389 ret, specificReturn := fake.appSSHEndpointReturnsOnCall[len(fake.appSSHEndpointArgsForCall)] 2390 fake.appSSHEndpointArgsForCall = append(fake.appSSHEndpointArgsForCall, struct { 2391 }{}) 2392 fake.recordInvocation("AppSSHEndpoint", []interface{}{}) 2393 fake.appSSHEndpointMutex.Unlock() 2394 if fake.AppSSHEndpointStub != nil { 2395 return fake.AppSSHEndpointStub() 2396 } 2397 if specificReturn { 2398 return ret.result1 2399 } 2400 fakeReturns := fake.appSSHEndpointReturns 2401 return fakeReturns.result1 2402 } 2403 2404 func (fake *FakeCloudControllerClient) AppSSHEndpointCallCount() int { 2405 fake.appSSHEndpointMutex.RLock() 2406 defer fake.appSSHEndpointMutex.RUnlock() 2407 return len(fake.appSSHEndpointArgsForCall) 2408 } 2409 2410 func (fake *FakeCloudControllerClient) AppSSHEndpointCalls(stub func() string) { 2411 fake.appSSHEndpointMutex.Lock() 2412 defer fake.appSSHEndpointMutex.Unlock() 2413 fake.AppSSHEndpointStub = stub 2414 } 2415 2416 func (fake *FakeCloudControllerClient) AppSSHEndpointReturns(result1 string) { 2417 fake.appSSHEndpointMutex.Lock() 2418 defer fake.appSSHEndpointMutex.Unlock() 2419 fake.AppSSHEndpointStub = nil 2420 fake.appSSHEndpointReturns = struct { 2421 result1 string 2422 }{result1} 2423 } 2424 2425 func (fake *FakeCloudControllerClient) AppSSHEndpointReturnsOnCall(i int, result1 string) { 2426 fake.appSSHEndpointMutex.Lock() 2427 defer fake.appSSHEndpointMutex.Unlock() 2428 fake.AppSSHEndpointStub = nil 2429 if fake.appSSHEndpointReturnsOnCall == nil { 2430 fake.appSSHEndpointReturnsOnCall = make(map[int]struct { 2431 result1 string 2432 }) 2433 } 2434 fake.appSSHEndpointReturnsOnCall[i] = struct { 2435 result1 string 2436 }{result1} 2437 } 2438 2439 func (fake *FakeCloudControllerClient) AppSSHHostKeyFingerprint() string { 2440 fake.appSSHHostKeyFingerprintMutex.Lock() 2441 ret, specificReturn := fake.appSSHHostKeyFingerprintReturnsOnCall[len(fake.appSSHHostKeyFingerprintArgsForCall)] 2442 fake.appSSHHostKeyFingerprintArgsForCall = append(fake.appSSHHostKeyFingerprintArgsForCall, struct { 2443 }{}) 2444 fake.recordInvocation("AppSSHHostKeyFingerprint", []interface{}{}) 2445 fake.appSSHHostKeyFingerprintMutex.Unlock() 2446 if fake.AppSSHHostKeyFingerprintStub != nil { 2447 return fake.AppSSHHostKeyFingerprintStub() 2448 } 2449 if specificReturn { 2450 return ret.result1 2451 } 2452 fakeReturns := fake.appSSHHostKeyFingerprintReturns 2453 return fakeReturns.result1 2454 } 2455 2456 func (fake *FakeCloudControllerClient) AppSSHHostKeyFingerprintCallCount() int { 2457 fake.appSSHHostKeyFingerprintMutex.RLock() 2458 defer fake.appSSHHostKeyFingerprintMutex.RUnlock() 2459 return len(fake.appSSHHostKeyFingerprintArgsForCall) 2460 } 2461 2462 func (fake *FakeCloudControllerClient) AppSSHHostKeyFingerprintCalls(stub func() string) { 2463 fake.appSSHHostKeyFingerprintMutex.Lock() 2464 defer fake.appSSHHostKeyFingerprintMutex.Unlock() 2465 fake.AppSSHHostKeyFingerprintStub = stub 2466 } 2467 2468 func (fake *FakeCloudControllerClient) AppSSHHostKeyFingerprintReturns(result1 string) { 2469 fake.appSSHHostKeyFingerprintMutex.Lock() 2470 defer fake.appSSHHostKeyFingerprintMutex.Unlock() 2471 fake.AppSSHHostKeyFingerprintStub = nil 2472 fake.appSSHHostKeyFingerprintReturns = struct { 2473 result1 string 2474 }{result1} 2475 } 2476 2477 func (fake *FakeCloudControllerClient) AppSSHHostKeyFingerprintReturnsOnCall(i int, result1 string) { 2478 fake.appSSHHostKeyFingerprintMutex.Lock() 2479 defer fake.appSSHHostKeyFingerprintMutex.Unlock() 2480 fake.AppSSHHostKeyFingerprintStub = nil 2481 if fake.appSSHHostKeyFingerprintReturnsOnCall == nil { 2482 fake.appSSHHostKeyFingerprintReturnsOnCall = make(map[int]struct { 2483 result1 string 2484 }) 2485 } 2486 fake.appSSHHostKeyFingerprintReturnsOnCall[i] = struct { 2487 result1 string 2488 }{result1} 2489 } 2490 2491 func (fake *FakeCloudControllerClient) ApplyOrganizationQuota(arg1 string, arg2 string) (resources.RelationshipList, ccv3.Warnings, error) { 2492 fake.applyOrganizationQuotaMutex.Lock() 2493 ret, specificReturn := fake.applyOrganizationQuotaReturnsOnCall[len(fake.applyOrganizationQuotaArgsForCall)] 2494 fake.applyOrganizationQuotaArgsForCall = append(fake.applyOrganizationQuotaArgsForCall, struct { 2495 arg1 string 2496 arg2 string 2497 }{arg1, arg2}) 2498 fake.recordInvocation("ApplyOrganizationQuota", []interface{}{arg1, arg2}) 2499 fake.applyOrganizationQuotaMutex.Unlock() 2500 if fake.ApplyOrganizationQuotaStub != nil { 2501 return fake.ApplyOrganizationQuotaStub(arg1, arg2) 2502 } 2503 if specificReturn { 2504 return ret.result1, ret.result2, ret.result3 2505 } 2506 fakeReturns := fake.applyOrganizationQuotaReturns 2507 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 2508 } 2509 2510 func (fake *FakeCloudControllerClient) ApplyOrganizationQuotaCallCount() int { 2511 fake.applyOrganizationQuotaMutex.RLock() 2512 defer fake.applyOrganizationQuotaMutex.RUnlock() 2513 return len(fake.applyOrganizationQuotaArgsForCall) 2514 } 2515 2516 func (fake *FakeCloudControllerClient) ApplyOrganizationQuotaCalls(stub func(string, string) (resources.RelationshipList, ccv3.Warnings, error)) { 2517 fake.applyOrganizationQuotaMutex.Lock() 2518 defer fake.applyOrganizationQuotaMutex.Unlock() 2519 fake.ApplyOrganizationQuotaStub = stub 2520 } 2521 2522 func (fake *FakeCloudControllerClient) ApplyOrganizationQuotaArgsForCall(i int) (string, string) { 2523 fake.applyOrganizationQuotaMutex.RLock() 2524 defer fake.applyOrganizationQuotaMutex.RUnlock() 2525 argsForCall := fake.applyOrganizationQuotaArgsForCall[i] 2526 return argsForCall.arg1, argsForCall.arg2 2527 } 2528 2529 func (fake *FakeCloudControllerClient) ApplyOrganizationQuotaReturns(result1 resources.RelationshipList, result2 ccv3.Warnings, result3 error) { 2530 fake.applyOrganizationQuotaMutex.Lock() 2531 defer fake.applyOrganizationQuotaMutex.Unlock() 2532 fake.ApplyOrganizationQuotaStub = nil 2533 fake.applyOrganizationQuotaReturns = struct { 2534 result1 resources.RelationshipList 2535 result2 ccv3.Warnings 2536 result3 error 2537 }{result1, result2, result3} 2538 } 2539 2540 func (fake *FakeCloudControllerClient) ApplyOrganizationQuotaReturnsOnCall(i int, result1 resources.RelationshipList, result2 ccv3.Warnings, result3 error) { 2541 fake.applyOrganizationQuotaMutex.Lock() 2542 defer fake.applyOrganizationQuotaMutex.Unlock() 2543 fake.ApplyOrganizationQuotaStub = nil 2544 if fake.applyOrganizationQuotaReturnsOnCall == nil { 2545 fake.applyOrganizationQuotaReturnsOnCall = make(map[int]struct { 2546 result1 resources.RelationshipList 2547 result2 ccv3.Warnings 2548 result3 error 2549 }) 2550 } 2551 fake.applyOrganizationQuotaReturnsOnCall[i] = struct { 2552 result1 resources.RelationshipList 2553 result2 ccv3.Warnings 2554 result3 error 2555 }{result1, result2, result3} 2556 } 2557 2558 func (fake *FakeCloudControllerClient) ApplySpaceQuota(arg1 string, arg2 string) (resources.RelationshipList, ccv3.Warnings, error) { 2559 fake.applySpaceQuotaMutex.Lock() 2560 ret, specificReturn := fake.applySpaceQuotaReturnsOnCall[len(fake.applySpaceQuotaArgsForCall)] 2561 fake.applySpaceQuotaArgsForCall = append(fake.applySpaceQuotaArgsForCall, struct { 2562 arg1 string 2563 arg2 string 2564 }{arg1, arg2}) 2565 fake.recordInvocation("ApplySpaceQuota", []interface{}{arg1, arg2}) 2566 fake.applySpaceQuotaMutex.Unlock() 2567 if fake.ApplySpaceQuotaStub != nil { 2568 return fake.ApplySpaceQuotaStub(arg1, arg2) 2569 } 2570 if specificReturn { 2571 return ret.result1, ret.result2, ret.result3 2572 } 2573 fakeReturns := fake.applySpaceQuotaReturns 2574 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 2575 } 2576 2577 func (fake *FakeCloudControllerClient) ApplySpaceQuotaCallCount() int { 2578 fake.applySpaceQuotaMutex.RLock() 2579 defer fake.applySpaceQuotaMutex.RUnlock() 2580 return len(fake.applySpaceQuotaArgsForCall) 2581 } 2582 2583 func (fake *FakeCloudControllerClient) ApplySpaceQuotaCalls(stub func(string, string) (resources.RelationshipList, ccv3.Warnings, error)) { 2584 fake.applySpaceQuotaMutex.Lock() 2585 defer fake.applySpaceQuotaMutex.Unlock() 2586 fake.ApplySpaceQuotaStub = stub 2587 } 2588 2589 func (fake *FakeCloudControllerClient) ApplySpaceQuotaArgsForCall(i int) (string, string) { 2590 fake.applySpaceQuotaMutex.RLock() 2591 defer fake.applySpaceQuotaMutex.RUnlock() 2592 argsForCall := fake.applySpaceQuotaArgsForCall[i] 2593 return argsForCall.arg1, argsForCall.arg2 2594 } 2595 2596 func (fake *FakeCloudControllerClient) ApplySpaceQuotaReturns(result1 resources.RelationshipList, result2 ccv3.Warnings, result3 error) { 2597 fake.applySpaceQuotaMutex.Lock() 2598 defer fake.applySpaceQuotaMutex.Unlock() 2599 fake.ApplySpaceQuotaStub = nil 2600 fake.applySpaceQuotaReturns = struct { 2601 result1 resources.RelationshipList 2602 result2 ccv3.Warnings 2603 result3 error 2604 }{result1, result2, result3} 2605 } 2606 2607 func (fake *FakeCloudControllerClient) ApplySpaceQuotaReturnsOnCall(i int, result1 resources.RelationshipList, result2 ccv3.Warnings, result3 error) { 2608 fake.applySpaceQuotaMutex.Lock() 2609 defer fake.applySpaceQuotaMutex.Unlock() 2610 fake.ApplySpaceQuotaStub = nil 2611 if fake.applySpaceQuotaReturnsOnCall == nil { 2612 fake.applySpaceQuotaReturnsOnCall = make(map[int]struct { 2613 result1 resources.RelationshipList 2614 result2 ccv3.Warnings 2615 result3 error 2616 }) 2617 } 2618 fake.applySpaceQuotaReturnsOnCall[i] = struct { 2619 result1 resources.RelationshipList 2620 result2 ccv3.Warnings 2621 result3 error 2622 }{result1, result2, result3} 2623 } 2624 2625 func (fake *FakeCloudControllerClient) CancelDeployment(arg1 string) (ccv3.Warnings, error) { 2626 fake.cancelDeploymentMutex.Lock() 2627 ret, specificReturn := fake.cancelDeploymentReturnsOnCall[len(fake.cancelDeploymentArgsForCall)] 2628 fake.cancelDeploymentArgsForCall = append(fake.cancelDeploymentArgsForCall, struct { 2629 arg1 string 2630 }{arg1}) 2631 fake.recordInvocation("CancelDeployment", []interface{}{arg1}) 2632 fake.cancelDeploymentMutex.Unlock() 2633 if fake.CancelDeploymentStub != nil { 2634 return fake.CancelDeploymentStub(arg1) 2635 } 2636 if specificReturn { 2637 return ret.result1, ret.result2 2638 } 2639 fakeReturns := fake.cancelDeploymentReturns 2640 return fakeReturns.result1, fakeReturns.result2 2641 } 2642 2643 func (fake *FakeCloudControllerClient) CancelDeploymentCallCount() int { 2644 fake.cancelDeploymentMutex.RLock() 2645 defer fake.cancelDeploymentMutex.RUnlock() 2646 return len(fake.cancelDeploymentArgsForCall) 2647 } 2648 2649 func (fake *FakeCloudControllerClient) CancelDeploymentCalls(stub func(string) (ccv3.Warnings, error)) { 2650 fake.cancelDeploymentMutex.Lock() 2651 defer fake.cancelDeploymentMutex.Unlock() 2652 fake.CancelDeploymentStub = stub 2653 } 2654 2655 func (fake *FakeCloudControllerClient) CancelDeploymentArgsForCall(i int) string { 2656 fake.cancelDeploymentMutex.RLock() 2657 defer fake.cancelDeploymentMutex.RUnlock() 2658 argsForCall := fake.cancelDeploymentArgsForCall[i] 2659 return argsForCall.arg1 2660 } 2661 2662 func (fake *FakeCloudControllerClient) CancelDeploymentReturns(result1 ccv3.Warnings, result2 error) { 2663 fake.cancelDeploymentMutex.Lock() 2664 defer fake.cancelDeploymentMutex.Unlock() 2665 fake.CancelDeploymentStub = nil 2666 fake.cancelDeploymentReturns = struct { 2667 result1 ccv3.Warnings 2668 result2 error 2669 }{result1, result2} 2670 } 2671 2672 func (fake *FakeCloudControllerClient) CancelDeploymentReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 2673 fake.cancelDeploymentMutex.Lock() 2674 defer fake.cancelDeploymentMutex.Unlock() 2675 fake.CancelDeploymentStub = nil 2676 if fake.cancelDeploymentReturnsOnCall == nil { 2677 fake.cancelDeploymentReturnsOnCall = make(map[int]struct { 2678 result1 ccv3.Warnings 2679 result2 error 2680 }) 2681 } 2682 fake.cancelDeploymentReturnsOnCall[i] = struct { 2683 result1 ccv3.Warnings 2684 result2 error 2685 }{result1, result2} 2686 } 2687 2688 func (fake *FakeCloudControllerClient) CheckRoute(arg1 string, arg2 string, arg3 string, arg4 int) (bool, ccv3.Warnings, error) { 2689 fake.checkRouteMutex.Lock() 2690 ret, specificReturn := fake.checkRouteReturnsOnCall[len(fake.checkRouteArgsForCall)] 2691 fake.checkRouteArgsForCall = append(fake.checkRouteArgsForCall, struct { 2692 arg1 string 2693 arg2 string 2694 arg3 string 2695 arg4 int 2696 }{arg1, arg2, arg3, arg4}) 2697 fake.recordInvocation("CheckRoute", []interface{}{arg1, arg2, arg3, arg4}) 2698 fake.checkRouteMutex.Unlock() 2699 if fake.CheckRouteStub != nil { 2700 return fake.CheckRouteStub(arg1, arg2, arg3, arg4) 2701 } 2702 if specificReturn { 2703 return ret.result1, ret.result2, ret.result3 2704 } 2705 fakeReturns := fake.checkRouteReturns 2706 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 2707 } 2708 2709 func (fake *FakeCloudControllerClient) CheckRouteCallCount() int { 2710 fake.checkRouteMutex.RLock() 2711 defer fake.checkRouteMutex.RUnlock() 2712 return len(fake.checkRouteArgsForCall) 2713 } 2714 2715 func (fake *FakeCloudControllerClient) CheckRouteCalls(stub func(string, string, string, int) (bool, ccv3.Warnings, error)) { 2716 fake.checkRouteMutex.Lock() 2717 defer fake.checkRouteMutex.Unlock() 2718 fake.CheckRouteStub = stub 2719 } 2720 2721 func (fake *FakeCloudControllerClient) CheckRouteArgsForCall(i int) (string, string, string, int) { 2722 fake.checkRouteMutex.RLock() 2723 defer fake.checkRouteMutex.RUnlock() 2724 argsForCall := fake.checkRouteArgsForCall[i] 2725 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4 2726 } 2727 2728 func (fake *FakeCloudControllerClient) CheckRouteReturns(result1 bool, result2 ccv3.Warnings, result3 error) { 2729 fake.checkRouteMutex.Lock() 2730 defer fake.checkRouteMutex.Unlock() 2731 fake.CheckRouteStub = nil 2732 fake.checkRouteReturns = struct { 2733 result1 bool 2734 result2 ccv3.Warnings 2735 result3 error 2736 }{result1, result2, result3} 2737 } 2738 2739 func (fake *FakeCloudControllerClient) CheckRouteReturnsOnCall(i int, result1 bool, result2 ccv3.Warnings, result3 error) { 2740 fake.checkRouteMutex.Lock() 2741 defer fake.checkRouteMutex.Unlock() 2742 fake.CheckRouteStub = nil 2743 if fake.checkRouteReturnsOnCall == nil { 2744 fake.checkRouteReturnsOnCall = make(map[int]struct { 2745 result1 bool 2746 result2 ccv3.Warnings 2747 result3 error 2748 }) 2749 } 2750 fake.checkRouteReturnsOnCall[i] = struct { 2751 result1 bool 2752 result2 ccv3.Warnings 2753 result3 error 2754 }{result1, result2, result3} 2755 } 2756 2757 func (fake *FakeCloudControllerClient) CloudControllerAPIVersion() string { 2758 fake.cloudControllerAPIVersionMutex.Lock() 2759 ret, specificReturn := fake.cloudControllerAPIVersionReturnsOnCall[len(fake.cloudControllerAPIVersionArgsForCall)] 2760 fake.cloudControllerAPIVersionArgsForCall = append(fake.cloudControllerAPIVersionArgsForCall, struct { 2761 }{}) 2762 fake.recordInvocation("CloudControllerAPIVersion", []interface{}{}) 2763 fake.cloudControllerAPIVersionMutex.Unlock() 2764 if fake.CloudControllerAPIVersionStub != nil { 2765 return fake.CloudControllerAPIVersionStub() 2766 } 2767 if specificReturn { 2768 return ret.result1 2769 } 2770 fakeReturns := fake.cloudControllerAPIVersionReturns 2771 return fakeReturns.result1 2772 } 2773 2774 func (fake *FakeCloudControllerClient) CloudControllerAPIVersionCallCount() int { 2775 fake.cloudControllerAPIVersionMutex.RLock() 2776 defer fake.cloudControllerAPIVersionMutex.RUnlock() 2777 return len(fake.cloudControllerAPIVersionArgsForCall) 2778 } 2779 2780 func (fake *FakeCloudControllerClient) CloudControllerAPIVersionCalls(stub func() string) { 2781 fake.cloudControllerAPIVersionMutex.Lock() 2782 defer fake.cloudControllerAPIVersionMutex.Unlock() 2783 fake.CloudControllerAPIVersionStub = stub 2784 } 2785 2786 func (fake *FakeCloudControllerClient) CloudControllerAPIVersionReturns(result1 string) { 2787 fake.cloudControllerAPIVersionMutex.Lock() 2788 defer fake.cloudControllerAPIVersionMutex.Unlock() 2789 fake.CloudControllerAPIVersionStub = nil 2790 fake.cloudControllerAPIVersionReturns = struct { 2791 result1 string 2792 }{result1} 2793 } 2794 2795 func (fake *FakeCloudControllerClient) CloudControllerAPIVersionReturnsOnCall(i int, result1 string) { 2796 fake.cloudControllerAPIVersionMutex.Lock() 2797 defer fake.cloudControllerAPIVersionMutex.Unlock() 2798 fake.CloudControllerAPIVersionStub = nil 2799 if fake.cloudControllerAPIVersionReturnsOnCall == nil { 2800 fake.cloudControllerAPIVersionReturnsOnCall = make(map[int]struct { 2801 result1 string 2802 }) 2803 } 2804 fake.cloudControllerAPIVersionReturnsOnCall[i] = struct { 2805 result1 string 2806 }{result1} 2807 } 2808 2809 func (fake *FakeCloudControllerClient) CopyPackage(arg1 string, arg2 string) (ccv3.Package, ccv3.Warnings, error) { 2810 fake.copyPackageMutex.Lock() 2811 ret, specificReturn := fake.copyPackageReturnsOnCall[len(fake.copyPackageArgsForCall)] 2812 fake.copyPackageArgsForCall = append(fake.copyPackageArgsForCall, struct { 2813 arg1 string 2814 arg2 string 2815 }{arg1, arg2}) 2816 fake.recordInvocation("CopyPackage", []interface{}{arg1, arg2}) 2817 fake.copyPackageMutex.Unlock() 2818 if fake.CopyPackageStub != nil { 2819 return fake.CopyPackageStub(arg1, arg2) 2820 } 2821 if specificReturn { 2822 return ret.result1, ret.result2, ret.result3 2823 } 2824 fakeReturns := fake.copyPackageReturns 2825 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 2826 } 2827 2828 func (fake *FakeCloudControllerClient) CopyPackageCallCount() int { 2829 fake.copyPackageMutex.RLock() 2830 defer fake.copyPackageMutex.RUnlock() 2831 return len(fake.copyPackageArgsForCall) 2832 } 2833 2834 func (fake *FakeCloudControllerClient) CopyPackageCalls(stub func(string, string) (ccv3.Package, ccv3.Warnings, error)) { 2835 fake.copyPackageMutex.Lock() 2836 defer fake.copyPackageMutex.Unlock() 2837 fake.CopyPackageStub = stub 2838 } 2839 2840 func (fake *FakeCloudControllerClient) CopyPackageArgsForCall(i int) (string, string) { 2841 fake.copyPackageMutex.RLock() 2842 defer fake.copyPackageMutex.RUnlock() 2843 argsForCall := fake.copyPackageArgsForCall[i] 2844 return argsForCall.arg1, argsForCall.arg2 2845 } 2846 2847 func (fake *FakeCloudControllerClient) CopyPackageReturns(result1 ccv3.Package, result2 ccv3.Warnings, result3 error) { 2848 fake.copyPackageMutex.Lock() 2849 defer fake.copyPackageMutex.Unlock() 2850 fake.CopyPackageStub = nil 2851 fake.copyPackageReturns = struct { 2852 result1 ccv3.Package 2853 result2 ccv3.Warnings 2854 result3 error 2855 }{result1, result2, result3} 2856 } 2857 2858 func (fake *FakeCloudControllerClient) CopyPackageReturnsOnCall(i int, result1 ccv3.Package, result2 ccv3.Warnings, result3 error) { 2859 fake.copyPackageMutex.Lock() 2860 defer fake.copyPackageMutex.Unlock() 2861 fake.CopyPackageStub = nil 2862 if fake.copyPackageReturnsOnCall == nil { 2863 fake.copyPackageReturnsOnCall = make(map[int]struct { 2864 result1 ccv3.Package 2865 result2 ccv3.Warnings 2866 result3 error 2867 }) 2868 } 2869 fake.copyPackageReturnsOnCall[i] = struct { 2870 result1 ccv3.Package 2871 result2 ccv3.Warnings 2872 result3 error 2873 }{result1, result2, result3} 2874 } 2875 2876 func (fake *FakeCloudControllerClient) CreateApplication(arg1 resources.Application) (resources.Application, ccv3.Warnings, error) { 2877 fake.createApplicationMutex.Lock() 2878 ret, specificReturn := fake.createApplicationReturnsOnCall[len(fake.createApplicationArgsForCall)] 2879 fake.createApplicationArgsForCall = append(fake.createApplicationArgsForCall, struct { 2880 arg1 resources.Application 2881 }{arg1}) 2882 fake.recordInvocation("CreateApplication", []interface{}{arg1}) 2883 fake.createApplicationMutex.Unlock() 2884 if fake.CreateApplicationStub != nil { 2885 return fake.CreateApplicationStub(arg1) 2886 } 2887 if specificReturn { 2888 return ret.result1, ret.result2, ret.result3 2889 } 2890 fakeReturns := fake.createApplicationReturns 2891 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 2892 } 2893 2894 func (fake *FakeCloudControllerClient) CreateApplicationCallCount() int { 2895 fake.createApplicationMutex.RLock() 2896 defer fake.createApplicationMutex.RUnlock() 2897 return len(fake.createApplicationArgsForCall) 2898 } 2899 2900 func (fake *FakeCloudControllerClient) CreateApplicationCalls(stub func(resources.Application) (resources.Application, ccv3.Warnings, error)) { 2901 fake.createApplicationMutex.Lock() 2902 defer fake.createApplicationMutex.Unlock() 2903 fake.CreateApplicationStub = stub 2904 } 2905 2906 func (fake *FakeCloudControllerClient) CreateApplicationArgsForCall(i int) resources.Application { 2907 fake.createApplicationMutex.RLock() 2908 defer fake.createApplicationMutex.RUnlock() 2909 argsForCall := fake.createApplicationArgsForCall[i] 2910 return argsForCall.arg1 2911 } 2912 2913 func (fake *FakeCloudControllerClient) CreateApplicationReturns(result1 resources.Application, result2 ccv3.Warnings, result3 error) { 2914 fake.createApplicationMutex.Lock() 2915 defer fake.createApplicationMutex.Unlock() 2916 fake.CreateApplicationStub = nil 2917 fake.createApplicationReturns = struct { 2918 result1 resources.Application 2919 result2 ccv3.Warnings 2920 result3 error 2921 }{result1, result2, result3} 2922 } 2923 2924 func (fake *FakeCloudControllerClient) CreateApplicationReturnsOnCall(i int, result1 resources.Application, result2 ccv3.Warnings, result3 error) { 2925 fake.createApplicationMutex.Lock() 2926 defer fake.createApplicationMutex.Unlock() 2927 fake.CreateApplicationStub = nil 2928 if fake.createApplicationReturnsOnCall == nil { 2929 fake.createApplicationReturnsOnCall = make(map[int]struct { 2930 result1 resources.Application 2931 result2 ccv3.Warnings 2932 result3 error 2933 }) 2934 } 2935 fake.createApplicationReturnsOnCall[i] = struct { 2936 result1 resources.Application 2937 result2 ccv3.Warnings 2938 result3 error 2939 }{result1, result2, result3} 2940 } 2941 2942 func (fake *FakeCloudControllerClient) CreateApplicationDeployment(arg1 string, arg2 string) (string, ccv3.Warnings, error) { 2943 fake.createApplicationDeploymentMutex.Lock() 2944 ret, specificReturn := fake.createApplicationDeploymentReturnsOnCall[len(fake.createApplicationDeploymentArgsForCall)] 2945 fake.createApplicationDeploymentArgsForCall = append(fake.createApplicationDeploymentArgsForCall, struct { 2946 arg1 string 2947 arg2 string 2948 }{arg1, arg2}) 2949 fake.recordInvocation("CreateApplicationDeployment", []interface{}{arg1, arg2}) 2950 fake.createApplicationDeploymentMutex.Unlock() 2951 if fake.CreateApplicationDeploymentStub != nil { 2952 return fake.CreateApplicationDeploymentStub(arg1, arg2) 2953 } 2954 if specificReturn { 2955 return ret.result1, ret.result2, ret.result3 2956 } 2957 fakeReturns := fake.createApplicationDeploymentReturns 2958 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 2959 } 2960 2961 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentCallCount() int { 2962 fake.createApplicationDeploymentMutex.RLock() 2963 defer fake.createApplicationDeploymentMutex.RUnlock() 2964 return len(fake.createApplicationDeploymentArgsForCall) 2965 } 2966 2967 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentCalls(stub func(string, string) (string, ccv3.Warnings, error)) { 2968 fake.createApplicationDeploymentMutex.Lock() 2969 defer fake.createApplicationDeploymentMutex.Unlock() 2970 fake.CreateApplicationDeploymentStub = stub 2971 } 2972 2973 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentArgsForCall(i int) (string, string) { 2974 fake.createApplicationDeploymentMutex.RLock() 2975 defer fake.createApplicationDeploymentMutex.RUnlock() 2976 argsForCall := fake.createApplicationDeploymentArgsForCall[i] 2977 return argsForCall.arg1, argsForCall.arg2 2978 } 2979 2980 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentReturns(result1 string, result2 ccv3.Warnings, result3 error) { 2981 fake.createApplicationDeploymentMutex.Lock() 2982 defer fake.createApplicationDeploymentMutex.Unlock() 2983 fake.CreateApplicationDeploymentStub = nil 2984 fake.createApplicationDeploymentReturns = struct { 2985 result1 string 2986 result2 ccv3.Warnings 2987 result3 error 2988 }{result1, result2, result3} 2989 } 2990 2991 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentReturnsOnCall(i int, result1 string, result2 ccv3.Warnings, result3 error) { 2992 fake.createApplicationDeploymentMutex.Lock() 2993 defer fake.createApplicationDeploymentMutex.Unlock() 2994 fake.CreateApplicationDeploymentStub = nil 2995 if fake.createApplicationDeploymentReturnsOnCall == nil { 2996 fake.createApplicationDeploymentReturnsOnCall = make(map[int]struct { 2997 result1 string 2998 result2 ccv3.Warnings 2999 result3 error 3000 }) 3001 } 3002 fake.createApplicationDeploymentReturnsOnCall[i] = struct { 3003 result1 string 3004 result2 ccv3.Warnings 3005 result3 error 3006 }{result1, result2, result3} 3007 } 3008 3009 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentByRevision(arg1 string, arg2 string) (string, ccv3.Warnings, error) { 3010 fake.createApplicationDeploymentByRevisionMutex.Lock() 3011 ret, specificReturn := fake.createApplicationDeploymentByRevisionReturnsOnCall[len(fake.createApplicationDeploymentByRevisionArgsForCall)] 3012 fake.createApplicationDeploymentByRevisionArgsForCall = append(fake.createApplicationDeploymentByRevisionArgsForCall, struct { 3013 arg1 string 3014 arg2 string 3015 }{arg1, arg2}) 3016 fake.recordInvocation("CreateApplicationDeploymentByRevision", []interface{}{arg1, arg2}) 3017 fake.createApplicationDeploymentByRevisionMutex.Unlock() 3018 if fake.CreateApplicationDeploymentByRevisionStub != nil { 3019 return fake.CreateApplicationDeploymentByRevisionStub(arg1, arg2) 3020 } 3021 if specificReturn { 3022 return ret.result1, ret.result2, ret.result3 3023 } 3024 fakeReturns := fake.createApplicationDeploymentByRevisionReturns 3025 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3026 } 3027 3028 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentByRevisionCallCount() int { 3029 fake.createApplicationDeploymentByRevisionMutex.RLock() 3030 defer fake.createApplicationDeploymentByRevisionMutex.RUnlock() 3031 return len(fake.createApplicationDeploymentByRevisionArgsForCall) 3032 } 3033 3034 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentByRevisionCalls(stub func(string, string) (string, ccv3.Warnings, error)) { 3035 fake.createApplicationDeploymentByRevisionMutex.Lock() 3036 defer fake.createApplicationDeploymentByRevisionMutex.Unlock() 3037 fake.CreateApplicationDeploymentByRevisionStub = stub 3038 } 3039 3040 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentByRevisionArgsForCall(i int) (string, string) { 3041 fake.createApplicationDeploymentByRevisionMutex.RLock() 3042 defer fake.createApplicationDeploymentByRevisionMutex.RUnlock() 3043 argsForCall := fake.createApplicationDeploymentByRevisionArgsForCall[i] 3044 return argsForCall.arg1, argsForCall.arg2 3045 } 3046 3047 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentByRevisionReturns(result1 string, result2 ccv3.Warnings, result3 error) { 3048 fake.createApplicationDeploymentByRevisionMutex.Lock() 3049 defer fake.createApplicationDeploymentByRevisionMutex.Unlock() 3050 fake.CreateApplicationDeploymentByRevisionStub = nil 3051 fake.createApplicationDeploymentByRevisionReturns = struct { 3052 result1 string 3053 result2 ccv3.Warnings 3054 result3 error 3055 }{result1, result2, result3} 3056 } 3057 3058 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentByRevisionReturnsOnCall(i int, result1 string, result2 ccv3.Warnings, result3 error) { 3059 fake.createApplicationDeploymentByRevisionMutex.Lock() 3060 defer fake.createApplicationDeploymentByRevisionMutex.Unlock() 3061 fake.CreateApplicationDeploymentByRevisionStub = nil 3062 if fake.createApplicationDeploymentByRevisionReturnsOnCall == nil { 3063 fake.createApplicationDeploymentByRevisionReturnsOnCall = make(map[int]struct { 3064 result1 string 3065 result2 ccv3.Warnings 3066 result3 error 3067 }) 3068 } 3069 fake.createApplicationDeploymentByRevisionReturnsOnCall[i] = struct { 3070 result1 string 3071 result2 ccv3.Warnings 3072 result3 error 3073 }{result1, result2, result3} 3074 } 3075 3076 func (fake *FakeCloudControllerClient) CreateApplicationProcessScale(arg1 string, arg2 ccv3.Process) (ccv3.Process, ccv3.Warnings, error) { 3077 fake.createApplicationProcessScaleMutex.Lock() 3078 ret, specificReturn := fake.createApplicationProcessScaleReturnsOnCall[len(fake.createApplicationProcessScaleArgsForCall)] 3079 fake.createApplicationProcessScaleArgsForCall = append(fake.createApplicationProcessScaleArgsForCall, struct { 3080 arg1 string 3081 arg2 ccv3.Process 3082 }{arg1, arg2}) 3083 fake.recordInvocation("CreateApplicationProcessScale", []interface{}{arg1, arg2}) 3084 fake.createApplicationProcessScaleMutex.Unlock() 3085 if fake.CreateApplicationProcessScaleStub != nil { 3086 return fake.CreateApplicationProcessScaleStub(arg1, arg2) 3087 } 3088 if specificReturn { 3089 return ret.result1, ret.result2, ret.result3 3090 } 3091 fakeReturns := fake.createApplicationProcessScaleReturns 3092 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3093 } 3094 3095 func (fake *FakeCloudControllerClient) CreateApplicationProcessScaleCallCount() int { 3096 fake.createApplicationProcessScaleMutex.RLock() 3097 defer fake.createApplicationProcessScaleMutex.RUnlock() 3098 return len(fake.createApplicationProcessScaleArgsForCall) 3099 } 3100 3101 func (fake *FakeCloudControllerClient) CreateApplicationProcessScaleCalls(stub func(string, ccv3.Process) (ccv3.Process, ccv3.Warnings, error)) { 3102 fake.createApplicationProcessScaleMutex.Lock() 3103 defer fake.createApplicationProcessScaleMutex.Unlock() 3104 fake.CreateApplicationProcessScaleStub = stub 3105 } 3106 3107 func (fake *FakeCloudControllerClient) CreateApplicationProcessScaleArgsForCall(i int) (string, ccv3.Process) { 3108 fake.createApplicationProcessScaleMutex.RLock() 3109 defer fake.createApplicationProcessScaleMutex.RUnlock() 3110 argsForCall := fake.createApplicationProcessScaleArgsForCall[i] 3111 return argsForCall.arg1, argsForCall.arg2 3112 } 3113 3114 func (fake *FakeCloudControllerClient) CreateApplicationProcessScaleReturns(result1 ccv3.Process, result2 ccv3.Warnings, result3 error) { 3115 fake.createApplicationProcessScaleMutex.Lock() 3116 defer fake.createApplicationProcessScaleMutex.Unlock() 3117 fake.CreateApplicationProcessScaleStub = nil 3118 fake.createApplicationProcessScaleReturns = struct { 3119 result1 ccv3.Process 3120 result2 ccv3.Warnings 3121 result3 error 3122 }{result1, result2, result3} 3123 } 3124 3125 func (fake *FakeCloudControllerClient) CreateApplicationProcessScaleReturnsOnCall(i int, result1 ccv3.Process, result2 ccv3.Warnings, result3 error) { 3126 fake.createApplicationProcessScaleMutex.Lock() 3127 defer fake.createApplicationProcessScaleMutex.Unlock() 3128 fake.CreateApplicationProcessScaleStub = nil 3129 if fake.createApplicationProcessScaleReturnsOnCall == nil { 3130 fake.createApplicationProcessScaleReturnsOnCall = make(map[int]struct { 3131 result1 ccv3.Process 3132 result2 ccv3.Warnings 3133 result3 error 3134 }) 3135 } 3136 fake.createApplicationProcessScaleReturnsOnCall[i] = struct { 3137 result1 ccv3.Process 3138 result2 ccv3.Warnings 3139 result3 error 3140 }{result1, result2, result3} 3141 } 3142 3143 func (fake *FakeCloudControllerClient) CreateApplicationTask(arg1 string, arg2 ccv3.Task) (ccv3.Task, ccv3.Warnings, error) { 3144 fake.createApplicationTaskMutex.Lock() 3145 ret, specificReturn := fake.createApplicationTaskReturnsOnCall[len(fake.createApplicationTaskArgsForCall)] 3146 fake.createApplicationTaskArgsForCall = append(fake.createApplicationTaskArgsForCall, struct { 3147 arg1 string 3148 arg2 ccv3.Task 3149 }{arg1, arg2}) 3150 fake.recordInvocation("CreateApplicationTask", []interface{}{arg1, arg2}) 3151 fake.createApplicationTaskMutex.Unlock() 3152 if fake.CreateApplicationTaskStub != nil { 3153 return fake.CreateApplicationTaskStub(arg1, arg2) 3154 } 3155 if specificReturn { 3156 return ret.result1, ret.result2, ret.result3 3157 } 3158 fakeReturns := fake.createApplicationTaskReturns 3159 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3160 } 3161 3162 func (fake *FakeCloudControllerClient) CreateApplicationTaskCallCount() int { 3163 fake.createApplicationTaskMutex.RLock() 3164 defer fake.createApplicationTaskMutex.RUnlock() 3165 return len(fake.createApplicationTaskArgsForCall) 3166 } 3167 3168 func (fake *FakeCloudControllerClient) CreateApplicationTaskCalls(stub func(string, ccv3.Task) (ccv3.Task, ccv3.Warnings, error)) { 3169 fake.createApplicationTaskMutex.Lock() 3170 defer fake.createApplicationTaskMutex.Unlock() 3171 fake.CreateApplicationTaskStub = stub 3172 } 3173 3174 func (fake *FakeCloudControllerClient) CreateApplicationTaskArgsForCall(i int) (string, ccv3.Task) { 3175 fake.createApplicationTaskMutex.RLock() 3176 defer fake.createApplicationTaskMutex.RUnlock() 3177 argsForCall := fake.createApplicationTaskArgsForCall[i] 3178 return argsForCall.arg1, argsForCall.arg2 3179 } 3180 3181 func (fake *FakeCloudControllerClient) CreateApplicationTaskReturns(result1 ccv3.Task, result2 ccv3.Warnings, result3 error) { 3182 fake.createApplicationTaskMutex.Lock() 3183 defer fake.createApplicationTaskMutex.Unlock() 3184 fake.CreateApplicationTaskStub = nil 3185 fake.createApplicationTaskReturns = struct { 3186 result1 ccv3.Task 3187 result2 ccv3.Warnings 3188 result3 error 3189 }{result1, result2, result3} 3190 } 3191 3192 func (fake *FakeCloudControllerClient) CreateApplicationTaskReturnsOnCall(i int, result1 ccv3.Task, result2 ccv3.Warnings, result3 error) { 3193 fake.createApplicationTaskMutex.Lock() 3194 defer fake.createApplicationTaskMutex.Unlock() 3195 fake.CreateApplicationTaskStub = nil 3196 if fake.createApplicationTaskReturnsOnCall == nil { 3197 fake.createApplicationTaskReturnsOnCall = make(map[int]struct { 3198 result1 ccv3.Task 3199 result2 ccv3.Warnings 3200 result3 error 3201 }) 3202 } 3203 fake.createApplicationTaskReturnsOnCall[i] = struct { 3204 result1 ccv3.Task 3205 result2 ccv3.Warnings 3206 result3 error 3207 }{result1, result2, result3} 3208 } 3209 3210 func (fake *FakeCloudControllerClient) CreateBuild(arg1 ccv3.Build) (ccv3.Build, ccv3.Warnings, error) { 3211 fake.createBuildMutex.Lock() 3212 ret, specificReturn := fake.createBuildReturnsOnCall[len(fake.createBuildArgsForCall)] 3213 fake.createBuildArgsForCall = append(fake.createBuildArgsForCall, struct { 3214 arg1 ccv3.Build 3215 }{arg1}) 3216 fake.recordInvocation("CreateBuild", []interface{}{arg1}) 3217 fake.createBuildMutex.Unlock() 3218 if fake.CreateBuildStub != nil { 3219 return fake.CreateBuildStub(arg1) 3220 } 3221 if specificReturn { 3222 return ret.result1, ret.result2, ret.result3 3223 } 3224 fakeReturns := fake.createBuildReturns 3225 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3226 } 3227 3228 func (fake *FakeCloudControllerClient) CreateBuildCallCount() int { 3229 fake.createBuildMutex.RLock() 3230 defer fake.createBuildMutex.RUnlock() 3231 return len(fake.createBuildArgsForCall) 3232 } 3233 3234 func (fake *FakeCloudControllerClient) CreateBuildCalls(stub func(ccv3.Build) (ccv3.Build, ccv3.Warnings, error)) { 3235 fake.createBuildMutex.Lock() 3236 defer fake.createBuildMutex.Unlock() 3237 fake.CreateBuildStub = stub 3238 } 3239 3240 func (fake *FakeCloudControllerClient) CreateBuildArgsForCall(i int) ccv3.Build { 3241 fake.createBuildMutex.RLock() 3242 defer fake.createBuildMutex.RUnlock() 3243 argsForCall := fake.createBuildArgsForCall[i] 3244 return argsForCall.arg1 3245 } 3246 3247 func (fake *FakeCloudControllerClient) CreateBuildReturns(result1 ccv3.Build, result2 ccv3.Warnings, result3 error) { 3248 fake.createBuildMutex.Lock() 3249 defer fake.createBuildMutex.Unlock() 3250 fake.CreateBuildStub = nil 3251 fake.createBuildReturns = struct { 3252 result1 ccv3.Build 3253 result2 ccv3.Warnings 3254 result3 error 3255 }{result1, result2, result3} 3256 } 3257 3258 func (fake *FakeCloudControllerClient) CreateBuildReturnsOnCall(i int, result1 ccv3.Build, result2 ccv3.Warnings, result3 error) { 3259 fake.createBuildMutex.Lock() 3260 defer fake.createBuildMutex.Unlock() 3261 fake.CreateBuildStub = nil 3262 if fake.createBuildReturnsOnCall == nil { 3263 fake.createBuildReturnsOnCall = make(map[int]struct { 3264 result1 ccv3.Build 3265 result2 ccv3.Warnings 3266 result3 error 3267 }) 3268 } 3269 fake.createBuildReturnsOnCall[i] = struct { 3270 result1 ccv3.Build 3271 result2 ccv3.Warnings 3272 result3 error 3273 }{result1, result2, result3} 3274 } 3275 3276 func (fake *FakeCloudControllerClient) CreateBuildpack(arg1 ccv3.Buildpack) (ccv3.Buildpack, ccv3.Warnings, error) { 3277 fake.createBuildpackMutex.Lock() 3278 ret, specificReturn := fake.createBuildpackReturnsOnCall[len(fake.createBuildpackArgsForCall)] 3279 fake.createBuildpackArgsForCall = append(fake.createBuildpackArgsForCall, struct { 3280 arg1 ccv3.Buildpack 3281 }{arg1}) 3282 fake.recordInvocation("CreateBuildpack", []interface{}{arg1}) 3283 fake.createBuildpackMutex.Unlock() 3284 if fake.CreateBuildpackStub != nil { 3285 return fake.CreateBuildpackStub(arg1) 3286 } 3287 if specificReturn { 3288 return ret.result1, ret.result2, ret.result3 3289 } 3290 fakeReturns := fake.createBuildpackReturns 3291 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3292 } 3293 3294 func (fake *FakeCloudControllerClient) CreateBuildpackCallCount() int { 3295 fake.createBuildpackMutex.RLock() 3296 defer fake.createBuildpackMutex.RUnlock() 3297 return len(fake.createBuildpackArgsForCall) 3298 } 3299 3300 func (fake *FakeCloudControllerClient) CreateBuildpackCalls(stub func(ccv3.Buildpack) (ccv3.Buildpack, ccv3.Warnings, error)) { 3301 fake.createBuildpackMutex.Lock() 3302 defer fake.createBuildpackMutex.Unlock() 3303 fake.CreateBuildpackStub = stub 3304 } 3305 3306 func (fake *FakeCloudControllerClient) CreateBuildpackArgsForCall(i int) ccv3.Buildpack { 3307 fake.createBuildpackMutex.RLock() 3308 defer fake.createBuildpackMutex.RUnlock() 3309 argsForCall := fake.createBuildpackArgsForCall[i] 3310 return argsForCall.arg1 3311 } 3312 3313 func (fake *FakeCloudControllerClient) CreateBuildpackReturns(result1 ccv3.Buildpack, result2 ccv3.Warnings, result3 error) { 3314 fake.createBuildpackMutex.Lock() 3315 defer fake.createBuildpackMutex.Unlock() 3316 fake.CreateBuildpackStub = nil 3317 fake.createBuildpackReturns = struct { 3318 result1 ccv3.Buildpack 3319 result2 ccv3.Warnings 3320 result3 error 3321 }{result1, result2, result3} 3322 } 3323 3324 func (fake *FakeCloudControllerClient) CreateBuildpackReturnsOnCall(i int, result1 ccv3.Buildpack, result2 ccv3.Warnings, result3 error) { 3325 fake.createBuildpackMutex.Lock() 3326 defer fake.createBuildpackMutex.Unlock() 3327 fake.CreateBuildpackStub = nil 3328 if fake.createBuildpackReturnsOnCall == nil { 3329 fake.createBuildpackReturnsOnCall = make(map[int]struct { 3330 result1 ccv3.Buildpack 3331 result2 ccv3.Warnings 3332 result3 error 3333 }) 3334 } 3335 fake.createBuildpackReturnsOnCall[i] = struct { 3336 result1 ccv3.Buildpack 3337 result2 ccv3.Warnings 3338 result3 error 3339 }{result1, result2, result3} 3340 } 3341 3342 func (fake *FakeCloudControllerClient) CreateDomain(arg1 resources.Domain) (resources.Domain, ccv3.Warnings, error) { 3343 fake.createDomainMutex.Lock() 3344 ret, specificReturn := fake.createDomainReturnsOnCall[len(fake.createDomainArgsForCall)] 3345 fake.createDomainArgsForCall = append(fake.createDomainArgsForCall, struct { 3346 arg1 resources.Domain 3347 }{arg1}) 3348 fake.recordInvocation("CreateDomain", []interface{}{arg1}) 3349 fake.createDomainMutex.Unlock() 3350 if fake.CreateDomainStub != nil { 3351 return fake.CreateDomainStub(arg1) 3352 } 3353 if specificReturn { 3354 return ret.result1, ret.result2, ret.result3 3355 } 3356 fakeReturns := fake.createDomainReturns 3357 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3358 } 3359 3360 func (fake *FakeCloudControllerClient) CreateDomainCallCount() int { 3361 fake.createDomainMutex.RLock() 3362 defer fake.createDomainMutex.RUnlock() 3363 return len(fake.createDomainArgsForCall) 3364 } 3365 3366 func (fake *FakeCloudControllerClient) CreateDomainCalls(stub func(resources.Domain) (resources.Domain, ccv3.Warnings, error)) { 3367 fake.createDomainMutex.Lock() 3368 defer fake.createDomainMutex.Unlock() 3369 fake.CreateDomainStub = stub 3370 } 3371 3372 func (fake *FakeCloudControllerClient) CreateDomainArgsForCall(i int) resources.Domain { 3373 fake.createDomainMutex.RLock() 3374 defer fake.createDomainMutex.RUnlock() 3375 argsForCall := fake.createDomainArgsForCall[i] 3376 return argsForCall.arg1 3377 } 3378 3379 func (fake *FakeCloudControllerClient) CreateDomainReturns(result1 resources.Domain, result2 ccv3.Warnings, result3 error) { 3380 fake.createDomainMutex.Lock() 3381 defer fake.createDomainMutex.Unlock() 3382 fake.CreateDomainStub = nil 3383 fake.createDomainReturns = struct { 3384 result1 resources.Domain 3385 result2 ccv3.Warnings 3386 result3 error 3387 }{result1, result2, result3} 3388 } 3389 3390 func (fake *FakeCloudControllerClient) CreateDomainReturnsOnCall(i int, result1 resources.Domain, result2 ccv3.Warnings, result3 error) { 3391 fake.createDomainMutex.Lock() 3392 defer fake.createDomainMutex.Unlock() 3393 fake.CreateDomainStub = nil 3394 if fake.createDomainReturnsOnCall == nil { 3395 fake.createDomainReturnsOnCall = make(map[int]struct { 3396 result1 resources.Domain 3397 result2 ccv3.Warnings 3398 result3 error 3399 }) 3400 } 3401 fake.createDomainReturnsOnCall[i] = struct { 3402 result1 resources.Domain 3403 result2 ccv3.Warnings 3404 result3 error 3405 }{result1, result2, result3} 3406 } 3407 3408 func (fake *FakeCloudControllerClient) CreateDroplet(arg1 string) (resources.Droplet, ccv3.Warnings, error) { 3409 fake.createDropletMutex.Lock() 3410 ret, specificReturn := fake.createDropletReturnsOnCall[len(fake.createDropletArgsForCall)] 3411 fake.createDropletArgsForCall = append(fake.createDropletArgsForCall, struct { 3412 arg1 string 3413 }{arg1}) 3414 fake.recordInvocation("CreateDroplet", []interface{}{arg1}) 3415 fake.createDropletMutex.Unlock() 3416 if fake.CreateDropletStub != nil { 3417 return fake.CreateDropletStub(arg1) 3418 } 3419 if specificReturn { 3420 return ret.result1, ret.result2, ret.result3 3421 } 3422 fakeReturns := fake.createDropletReturns 3423 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3424 } 3425 3426 func (fake *FakeCloudControllerClient) CreateDropletCallCount() int { 3427 fake.createDropletMutex.RLock() 3428 defer fake.createDropletMutex.RUnlock() 3429 return len(fake.createDropletArgsForCall) 3430 } 3431 3432 func (fake *FakeCloudControllerClient) CreateDropletCalls(stub func(string) (resources.Droplet, ccv3.Warnings, error)) { 3433 fake.createDropletMutex.Lock() 3434 defer fake.createDropletMutex.Unlock() 3435 fake.CreateDropletStub = stub 3436 } 3437 3438 func (fake *FakeCloudControllerClient) CreateDropletArgsForCall(i int) string { 3439 fake.createDropletMutex.RLock() 3440 defer fake.createDropletMutex.RUnlock() 3441 argsForCall := fake.createDropletArgsForCall[i] 3442 return argsForCall.arg1 3443 } 3444 3445 func (fake *FakeCloudControllerClient) CreateDropletReturns(result1 resources.Droplet, result2 ccv3.Warnings, result3 error) { 3446 fake.createDropletMutex.Lock() 3447 defer fake.createDropletMutex.Unlock() 3448 fake.CreateDropletStub = nil 3449 fake.createDropletReturns = struct { 3450 result1 resources.Droplet 3451 result2 ccv3.Warnings 3452 result3 error 3453 }{result1, result2, result3} 3454 } 3455 3456 func (fake *FakeCloudControllerClient) CreateDropletReturnsOnCall(i int, result1 resources.Droplet, result2 ccv3.Warnings, result3 error) { 3457 fake.createDropletMutex.Lock() 3458 defer fake.createDropletMutex.Unlock() 3459 fake.CreateDropletStub = nil 3460 if fake.createDropletReturnsOnCall == nil { 3461 fake.createDropletReturnsOnCall = make(map[int]struct { 3462 result1 resources.Droplet 3463 result2 ccv3.Warnings 3464 result3 error 3465 }) 3466 } 3467 fake.createDropletReturnsOnCall[i] = struct { 3468 result1 resources.Droplet 3469 result2 ccv3.Warnings 3470 result3 error 3471 }{result1, result2, result3} 3472 } 3473 3474 func (fake *FakeCloudControllerClient) CreateIsolationSegment(arg1 ccv3.IsolationSegment) (ccv3.IsolationSegment, ccv3.Warnings, error) { 3475 fake.createIsolationSegmentMutex.Lock() 3476 ret, specificReturn := fake.createIsolationSegmentReturnsOnCall[len(fake.createIsolationSegmentArgsForCall)] 3477 fake.createIsolationSegmentArgsForCall = append(fake.createIsolationSegmentArgsForCall, struct { 3478 arg1 ccv3.IsolationSegment 3479 }{arg1}) 3480 fake.recordInvocation("CreateIsolationSegment", []interface{}{arg1}) 3481 fake.createIsolationSegmentMutex.Unlock() 3482 if fake.CreateIsolationSegmentStub != nil { 3483 return fake.CreateIsolationSegmentStub(arg1) 3484 } 3485 if specificReturn { 3486 return ret.result1, ret.result2, ret.result3 3487 } 3488 fakeReturns := fake.createIsolationSegmentReturns 3489 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3490 } 3491 3492 func (fake *FakeCloudControllerClient) CreateIsolationSegmentCallCount() int { 3493 fake.createIsolationSegmentMutex.RLock() 3494 defer fake.createIsolationSegmentMutex.RUnlock() 3495 return len(fake.createIsolationSegmentArgsForCall) 3496 } 3497 3498 func (fake *FakeCloudControllerClient) CreateIsolationSegmentCalls(stub func(ccv3.IsolationSegment) (ccv3.IsolationSegment, ccv3.Warnings, error)) { 3499 fake.createIsolationSegmentMutex.Lock() 3500 defer fake.createIsolationSegmentMutex.Unlock() 3501 fake.CreateIsolationSegmentStub = stub 3502 } 3503 3504 func (fake *FakeCloudControllerClient) CreateIsolationSegmentArgsForCall(i int) ccv3.IsolationSegment { 3505 fake.createIsolationSegmentMutex.RLock() 3506 defer fake.createIsolationSegmentMutex.RUnlock() 3507 argsForCall := fake.createIsolationSegmentArgsForCall[i] 3508 return argsForCall.arg1 3509 } 3510 3511 func (fake *FakeCloudControllerClient) CreateIsolationSegmentReturns(result1 ccv3.IsolationSegment, result2 ccv3.Warnings, result3 error) { 3512 fake.createIsolationSegmentMutex.Lock() 3513 defer fake.createIsolationSegmentMutex.Unlock() 3514 fake.CreateIsolationSegmentStub = nil 3515 fake.createIsolationSegmentReturns = struct { 3516 result1 ccv3.IsolationSegment 3517 result2 ccv3.Warnings 3518 result3 error 3519 }{result1, result2, result3} 3520 } 3521 3522 func (fake *FakeCloudControllerClient) CreateIsolationSegmentReturnsOnCall(i int, result1 ccv3.IsolationSegment, result2 ccv3.Warnings, result3 error) { 3523 fake.createIsolationSegmentMutex.Lock() 3524 defer fake.createIsolationSegmentMutex.Unlock() 3525 fake.CreateIsolationSegmentStub = nil 3526 if fake.createIsolationSegmentReturnsOnCall == nil { 3527 fake.createIsolationSegmentReturnsOnCall = make(map[int]struct { 3528 result1 ccv3.IsolationSegment 3529 result2 ccv3.Warnings 3530 result3 error 3531 }) 3532 } 3533 fake.createIsolationSegmentReturnsOnCall[i] = struct { 3534 result1 ccv3.IsolationSegment 3535 result2 ccv3.Warnings 3536 result3 error 3537 }{result1, result2, result3} 3538 } 3539 3540 func (fake *FakeCloudControllerClient) CreateOrganization(arg1 string) (resources.Organization, ccv3.Warnings, error) { 3541 fake.createOrganizationMutex.Lock() 3542 ret, specificReturn := fake.createOrganizationReturnsOnCall[len(fake.createOrganizationArgsForCall)] 3543 fake.createOrganizationArgsForCall = append(fake.createOrganizationArgsForCall, struct { 3544 arg1 string 3545 }{arg1}) 3546 fake.recordInvocation("CreateOrganization", []interface{}{arg1}) 3547 fake.createOrganizationMutex.Unlock() 3548 if fake.CreateOrganizationStub != nil { 3549 return fake.CreateOrganizationStub(arg1) 3550 } 3551 if specificReturn { 3552 return ret.result1, ret.result2, ret.result3 3553 } 3554 fakeReturns := fake.createOrganizationReturns 3555 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3556 } 3557 3558 func (fake *FakeCloudControllerClient) CreateOrganizationCallCount() int { 3559 fake.createOrganizationMutex.RLock() 3560 defer fake.createOrganizationMutex.RUnlock() 3561 return len(fake.createOrganizationArgsForCall) 3562 } 3563 3564 func (fake *FakeCloudControllerClient) CreateOrganizationCalls(stub func(string) (resources.Organization, ccv3.Warnings, error)) { 3565 fake.createOrganizationMutex.Lock() 3566 defer fake.createOrganizationMutex.Unlock() 3567 fake.CreateOrganizationStub = stub 3568 } 3569 3570 func (fake *FakeCloudControllerClient) CreateOrganizationArgsForCall(i int) string { 3571 fake.createOrganizationMutex.RLock() 3572 defer fake.createOrganizationMutex.RUnlock() 3573 argsForCall := fake.createOrganizationArgsForCall[i] 3574 return argsForCall.arg1 3575 } 3576 3577 func (fake *FakeCloudControllerClient) CreateOrganizationReturns(result1 resources.Organization, result2 ccv3.Warnings, result3 error) { 3578 fake.createOrganizationMutex.Lock() 3579 defer fake.createOrganizationMutex.Unlock() 3580 fake.CreateOrganizationStub = nil 3581 fake.createOrganizationReturns = struct { 3582 result1 resources.Organization 3583 result2 ccv3.Warnings 3584 result3 error 3585 }{result1, result2, result3} 3586 } 3587 3588 func (fake *FakeCloudControllerClient) CreateOrganizationReturnsOnCall(i int, result1 resources.Organization, result2 ccv3.Warnings, result3 error) { 3589 fake.createOrganizationMutex.Lock() 3590 defer fake.createOrganizationMutex.Unlock() 3591 fake.CreateOrganizationStub = nil 3592 if fake.createOrganizationReturnsOnCall == nil { 3593 fake.createOrganizationReturnsOnCall = make(map[int]struct { 3594 result1 resources.Organization 3595 result2 ccv3.Warnings 3596 result3 error 3597 }) 3598 } 3599 fake.createOrganizationReturnsOnCall[i] = struct { 3600 result1 resources.Organization 3601 result2 ccv3.Warnings 3602 result3 error 3603 }{result1, result2, result3} 3604 } 3605 3606 func (fake *FakeCloudControllerClient) CreateOrganizationQuota(arg1 resources.OrganizationQuota) (resources.OrganizationQuota, ccv3.Warnings, error) { 3607 fake.createOrganizationQuotaMutex.Lock() 3608 ret, specificReturn := fake.createOrganizationQuotaReturnsOnCall[len(fake.createOrganizationQuotaArgsForCall)] 3609 fake.createOrganizationQuotaArgsForCall = append(fake.createOrganizationQuotaArgsForCall, struct { 3610 arg1 resources.OrganizationQuota 3611 }{arg1}) 3612 fake.recordInvocation("CreateOrganizationQuota", []interface{}{arg1}) 3613 fake.createOrganizationQuotaMutex.Unlock() 3614 if fake.CreateOrganizationQuotaStub != nil { 3615 return fake.CreateOrganizationQuotaStub(arg1) 3616 } 3617 if specificReturn { 3618 return ret.result1, ret.result2, ret.result3 3619 } 3620 fakeReturns := fake.createOrganizationQuotaReturns 3621 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3622 } 3623 3624 func (fake *FakeCloudControllerClient) CreateOrganizationQuotaCallCount() int { 3625 fake.createOrganizationQuotaMutex.RLock() 3626 defer fake.createOrganizationQuotaMutex.RUnlock() 3627 return len(fake.createOrganizationQuotaArgsForCall) 3628 } 3629 3630 func (fake *FakeCloudControllerClient) CreateOrganizationQuotaCalls(stub func(resources.OrganizationQuota) (resources.OrganizationQuota, ccv3.Warnings, error)) { 3631 fake.createOrganizationQuotaMutex.Lock() 3632 defer fake.createOrganizationQuotaMutex.Unlock() 3633 fake.CreateOrganizationQuotaStub = stub 3634 } 3635 3636 func (fake *FakeCloudControllerClient) CreateOrganizationQuotaArgsForCall(i int) resources.OrganizationQuota { 3637 fake.createOrganizationQuotaMutex.RLock() 3638 defer fake.createOrganizationQuotaMutex.RUnlock() 3639 argsForCall := fake.createOrganizationQuotaArgsForCall[i] 3640 return argsForCall.arg1 3641 } 3642 3643 func (fake *FakeCloudControllerClient) CreateOrganizationQuotaReturns(result1 resources.OrganizationQuota, result2 ccv3.Warnings, result3 error) { 3644 fake.createOrganizationQuotaMutex.Lock() 3645 defer fake.createOrganizationQuotaMutex.Unlock() 3646 fake.CreateOrganizationQuotaStub = nil 3647 fake.createOrganizationQuotaReturns = struct { 3648 result1 resources.OrganizationQuota 3649 result2 ccv3.Warnings 3650 result3 error 3651 }{result1, result2, result3} 3652 } 3653 3654 func (fake *FakeCloudControllerClient) CreateOrganizationQuotaReturnsOnCall(i int, result1 resources.OrganizationQuota, result2 ccv3.Warnings, result3 error) { 3655 fake.createOrganizationQuotaMutex.Lock() 3656 defer fake.createOrganizationQuotaMutex.Unlock() 3657 fake.CreateOrganizationQuotaStub = nil 3658 if fake.createOrganizationQuotaReturnsOnCall == nil { 3659 fake.createOrganizationQuotaReturnsOnCall = make(map[int]struct { 3660 result1 resources.OrganizationQuota 3661 result2 ccv3.Warnings 3662 result3 error 3663 }) 3664 } 3665 fake.createOrganizationQuotaReturnsOnCall[i] = struct { 3666 result1 resources.OrganizationQuota 3667 result2 ccv3.Warnings 3668 result3 error 3669 }{result1, result2, result3} 3670 } 3671 3672 func (fake *FakeCloudControllerClient) CreatePackage(arg1 ccv3.Package) (ccv3.Package, ccv3.Warnings, error) { 3673 fake.createPackageMutex.Lock() 3674 ret, specificReturn := fake.createPackageReturnsOnCall[len(fake.createPackageArgsForCall)] 3675 fake.createPackageArgsForCall = append(fake.createPackageArgsForCall, struct { 3676 arg1 ccv3.Package 3677 }{arg1}) 3678 fake.recordInvocation("CreatePackage", []interface{}{arg1}) 3679 fake.createPackageMutex.Unlock() 3680 if fake.CreatePackageStub != nil { 3681 return fake.CreatePackageStub(arg1) 3682 } 3683 if specificReturn { 3684 return ret.result1, ret.result2, ret.result3 3685 } 3686 fakeReturns := fake.createPackageReturns 3687 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3688 } 3689 3690 func (fake *FakeCloudControllerClient) CreatePackageCallCount() int { 3691 fake.createPackageMutex.RLock() 3692 defer fake.createPackageMutex.RUnlock() 3693 return len(fake.createPackageArgsForCall) 3694 } 3695 3696 func (fake *FakeCloudControllerClient) CreatePackageCalls(stub func(ccv3.Package) (ccv3.Package, ccv3.Warnings, error)) { 3697 fake.createPackageMutex.Lock() 3698 defer fake.createPackageMutex.Unlock() 3699 fake.CreatePackageStub = stub 3700 } 3701 3702 func (fake *FakeCloudControllerClient) CreatePackageArgsForCall(i int) ccv3.Package { 3703 fake.createPackageMutex.RLock() 3704 defer fake.createPackageMutex.RUnlock() 3705 argsForCall := fake.createPackageArgsForCall[i] 3706 return argsForCall.arg1 3707 } 3708 3709 func (fake *FakeCloudControllerClient) CreatePackageReturns(result1 ccv3.Package, result2 ccv3.Warnings, result3 error) { 3710 fake.createPackageMutex.Lock() 3711 defer fake.createPackageMutex.Unlock() 3712 fake.CreatePackageStub = nil 3713 fake.createPackageReturns = struct { 3714 result1 ccv3.Package 3715 result2 ccv3.Warnings 3716 result3 error 3717 }{result1, result2, result3} 3718 } 3719 3720 func (fake *FakeCloudControllerClient) CreatePackageReturnsOnCall(i int, result1 ccv3.Package, result2 ccv3.Warnings, result3 error) { 3721 fake.createPackageMutex.Lock() 3722 defer fake.createPackageMutex.Unlock() 3723 fake.CreatePackageStub = nil 3724 if fake.createPackageReturnsOnCall == nil { 3725 fake.createPackageReturnsOnCall = make(map[int]struct { 3726 result1 ccv3.Package 3727 result2 ccv3.Warnings 3728 result3 error 3729 }) 3730 } 3731 fake.createPackageReturnsOnCall[i] = struct { 3732 result1 ccv3.Package 3733 result2 ccv3.Warnings 3734 result3 error 3735 }{result1, result2, result3} 3736 } 3737 3738 func (fake *FakeCloudControllerClient) CreateRole(arg1 resources.Role) (resources.Role, ccv3.Warnings, error) { 3739 fake.createRoleMutex.Lock() 3740 ret, specificReturn := fake.createRoleReturnsOnCall[len(fake.createRoleArgsForCall)] 3741 fake.createRoleArgsForCall = append(fake.createRoleArgsForCall, struct { 3742 arg1 resources.Role 3743 }{arg1}) 3744 fake.recordInvocation("CreateRole", []interface{}{arg1}) 3745 fake.createRoleMutex.Unlock() 3746 if fake.CreateRoleStub != nil { 3747 return fake.CreateRoleStub(arg1) 3748 } 3749 if specificReturn { 3750 return ret.result1, ret.result2, ret.result3 3751 } 3752 fakeReturns := fake.createRoleReturns 3753 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3754 } 3755 3756 func (fake *FakeCloudControllerClient) CreateRoleCallCount() int { 3757 fake.createRoleMutex.RLock() 3758 defer fake.createRoleMutex.RUnlock() 3759 return len(fake.createRoleArgsForCall) 3760 } 3761 3762 func (fake *FakeCloudControllerClient) CreateRoleCalls(stub func(resources.Role) (resources.Role, ccv3.Warnings, error)) { 3763 fake.createRoleMutex.Lock() 3764 defer fake.createRoleMutex.Unlock() 3765 fake.CreateRoleStub = stub 3766 } 3767 3768 func (fake *FakeCloudControllerClient) CreateRoleArgsForCall(i int) resources.Role { 3769 fake.createRoleMutex.RLock() 3770 defer fake.createRoleMutex.RUnlock() 3771 argsForCall := fake.createRoleArgsForCall[i] 3772 return argsForCall.arg1 3773 } 3774 3775 func (fake *FakeCloudControllerClient) CreateRoleReturns(result1 resources.Role, result2 ccv3.Warnings, result3 error) { 3776 fake.createRoleMutex.Lock() 3777 defer fake.createRoleMutex.Unlock() 3778 fake.CreateRoleStub = nil 3779 fake.createRoleReturns = struct { 3780 result1 resources.Role 3781 result2 ccv3.Warnings 3782 result3 error 3783 }{result1, result2, result3} 3784 } 3785 3786 func (fake *FakeCloudControllerClient) CreateRoleReturnsOnCall(i int, result1 resources.Role, result2 ccv3.Warnings, result3 error) { 3787 fake.createRoleMutex.Lock() 3788 defer fake.createRoleMutex.Unlock() 3789 fake.CreateRoleStub = nil 3790 if fake.createRoleReturnsOnCall == nil { 3791 fake.createRoleReturnsOnCall = make(map[int]struct { 3792 result1 resources.Role 3793 result2 ccv3.Warnings 3794 result3 error 3795 }) 3796 } 3797 fake.createRoleReturnsOnCall[i] = struct { 3798 result1 resources.Role 3799 result2 ccv3.Warnings 3800 result3 error 3801 }{result1, result2, result3} 3802 } 3803 3804 func (fake *FakeCloudControllerClient) CreateRoute(arg1 resources.Route) (resources.Route, ccv3.Warnings, error) { 3805 fake.createRouteMutex.Lock() 3806 ret, specificReturn := fake.createRouteReturnsOnCall[len(fake.createRouteArgsForCall)] 3807 fake.createRouteArgsForCall = append(fake.createRouteArgsForCall, struct { 3808 arg1 resources.Route 3809 }{arg1}) 3810 fake.recordInvocation("CreateRoute", []interface{}{arg1}) 3811 fake.createRouteMutex.Unlock() 3812 if fake.CreateRouteStub != nil { 3813 return fake.CreateRouteStub(arg1) 3814 } 3815 if specificReturn { 3816 return ret.result1, ret.result2, ret.result3 3817 } 3818 fakeReturns := fake.createRouteReturns 3819 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3820 } 3821 3822 func (fake *FakeCloudControllerClient) CreateRouteCallCount() int { 3823 fake.createRouteMutex.RLock() 3824 defer fake.createRouteMutex.RUnlock() 3825 return len(fake.createRouteArgsForCall) 3826 } 3827 3828 func (fake *FakeCloudControllerClient) CreateRouteCalls(stub func(resources.Route) (resources.Route, ccv3.Warnings, error)) { 3829 fake.createRouteMutex.Lock() 3830 defer fake.createRouteMutex.Unlock() 3831 fake.CreateRouteStub = stub 3832 } 3833 3834 func (fake *FakeCloudControllerClient) CreateRouteArgsForCall(i int) resources.Route { 3835 fake.createRouteMutex.RLock() 3836 defer fake.createRouteMutex.RUnlock() 3837 argsForCall := fake.createRouteArgsForCall[i] 3838 return argsForCall.arg1 3839 } 3840 3841 func (fake *FakeCloudControllerClient) CreateRouteReturns(result1 resources.Route, result2 ccv3.Warnings, result3 error) { 3842 fake.createRouteMutex.Lock() 3843 defer fake.createRouteMutex.Unlock() 3844 fake.CreateRouteStub = nil 3845 fake.createRouteReturns = struct { 3846 result1 resources.Route 3847 result2 ccv3.Warnings 3848 result3 error 3849 }{result1, result2, result3} 3850 } 3851 3852 func (fake *FakeCloudControllerClient) CreateRouteReturnsOnCall(i int, result1 resources.Route, result2 ccv3.Warnings, result3 error) { 3853 fake.createRouteMutex.Lock() 3854 defer fake.createRouteMutex.Unlock() 3855 fake.CreateRouteStub = nil 3856 if fake.createRouteReturnsOnCall == nil { 3857 fake.createRouteReturnsOnCall = make(map[int]struct { 3858 result1 resources.Route 3859 result2 ccv3.Warnings 3860 result3 error 3861 }) 3862 } 3863 fake.createRouteReturnsOnCall[i] = struct { 3864 result1 resources.Route 3865 result2 ccv3.Warnings 3866 result3 error 3867 }{result1, result2, result3} 3868 } 3869 3870 func (fake *FakeCloudControllerClient) CreateSecurityGroup(arg1 resources.SecurityGroup) (resources.SecurityGroup, ccv3.Warnings, error) { 3871 fake.createSecurityGroupMutex.Lock() 3872 ret, specificReturn := fake.createSecurityGroupReturnsOnCall[len(fake.createSecurityGroupArgsForCall)] 3873 fake.createSecurityGroupArgsForCall = append(fake.createSecurityGroupArgsForCall, struct { 3874 arg1 resources.SecurityGroup 3875 }{arg1}) 3876 fake.recordInvocation("CreateSecurityGroup", []interface{}{arg1}) 3877 fake.createSecurityGroupMutex.Unlock() 3878 if fake.CreateSecurityGroupStub != nil { 3879 return fake.CreateSecurityGroupStub(arg1) 3880 } 3881 if specificReturn { 3882 return ret.result1, ret.result2, ret.result3 3883 } 3884 fakeReturns := fake.createSecurityGroupReturns 3885 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3886 } 3887 3888 func (fake *FakeCloudControllerClient) CreateSecurityGroupCallCount() int { 3889 fake.createSecurityGroupMutex.RLock() 3890 defer fake.createSecurityGroupMutex.RUnlock() 3891 return len(fake.createSecurityGroupArgsForCall) 3892 } 3893 3894 func (fake *FakeCloudControllerClient) CreateSecurityGroupCalls(stub func(resources.SecurityGroup) (resources.SecurityGroup, ccv3.Warnings, error)) { 3895 fake.createSecurityGroupMutex.Lock() 3896 defer fake.createSecurityGroupMutex.Unlock() 3897 fake.CreateSecurityGroupStub = stub 3898 } 3899 3900 func (fake *FakeCloudControllerClient) CreateSecurityGroupArgsForCall(i int) resources.SecurityGroup { 3901 fake.createSecurityGroupMutex.RLock() 3902 defer fake.createSecurityGroupMutex.RUnlock() 3903 argsForCall := fake.createSecurityGroupArgsForCall[i] 3904 return argsForCall.arg1 3905 } 3906 3907 func (fake *FakeCloudControllerClient) CreateSecurityGroupReturns(result1 resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 3908 fake.createSecurityGroupMutex.Lock() 3909 defer fake.createSecurityGroupMutex.Unlock() 3910 fake.CreateSecurityGroupStub = nil 3911 fake.createSecurityGroupReturns = struct { 3912 result1 resources.SecurityGroup 3913 result2 ccv3.Warnings 3914 result3 error 3915 }{result1, result2, result3} 3916 } 3917 3918 func (fake *FakeCloudControllerClient) CreateSecurityGroupReturnsOnCall(i int, result1 resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 3919 fake.createSecurityGroupMutex.Lock() 3920 defer fake.createSecurityGroupMutex.Unlock() 3921 fake.CreateSecurityGroupStub = nil 3922 if fake.createSecurityGroupReturnsOnCall == nil { 3923 fake.createSecurityGroupReturnsOnCall = make(map[int]struct { 3924 result1 resources.SecurityGroup 3925 result2 ccv3.Warnings 3926 result3 error 3927 }) 3928 } 3929 fake.createSecurityGroupReturnsOnCall[i] = struct { 3930 result1 resources.SecurityGroup 3931 result2 ccv3.Warnings 3932 result3 error 3933 }{result1, result2, result3} 3934 } 3935 3936 func (fake *FakeCloudControllerClient) CreateServiceBroker(arg1 resources.ServiceBroker) (ccv3.JobURL, ccv3.Warnings, error) { 3937 fake.createServiceBrokerMutex.Lock() 3938 ret, specificReturn := fake.createServiceBrokerReturnsOnCall[len(fake.createServiceBrokerArgsForCall)] 3939 fake.createServiceBrokerArgsForCall = append(fake.createServiceBrokerArgsForCall, struct { 3940 arg1 resources.ServiceBroker 3941 }{arg1}) 3942 fake.recordInvocation("CreateServiceBroker", []interface{}{arg1}) 3943 fake.createServiceBrokerMutex.Unlock() 3944 if fake.CreateServiceBrokerStub != nil { 3945 return fake.CreateServiceBrokerStub(arg1) 3946 } 3947 if specificReturn { 3948 return ret.result1, ret.result2, ret.result3 3949 } 3950 fakeReturns := fake.createServiceBrokerReturns 3951 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3952 } 3953 3954 func (fake *FakeCloudControllerClient) CreateServiceBrokerCallCount() int { 3955 fake.createServiceBrokerMutex.RLock() 3956 defer fake.createServiceBrokerMutex.RUnlock() 3957 return len(fake.createServiceBrokerArgsForCall) 3958 } 3959 3960 func (fake *FakeCloudControllerClient) CreateServiceBrokerCalls(stub func(resources.ServiceBroker) (ccv3.JobURL, ccv3.Warnings, error)) { 3961 fake.createServiceBrokerMutex.Lock() 3962 defer fake.createServiceBrokerMutex.Unlock() 3963 fake.CreateServiceBrokerStub = stub 3964 } 3965 3966 func (fake *FakeCloudControllerClient) CreateServiceBrokerArgsForCall(i int) resources.ServiceBroker { 3967 fake.createServiceBrokerMutex.RLock() 3968 defer fake.createServiceBrokerMutex.RUnlock() 3969 argsForCall := fake.createServiceBrokerArgsForCall[i] 3970 return argsForCall.arg1 3971 } 3972 3973 func (fake *FakeCloudControllerClient) CreateServiceBrokerReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 3974 fake.createServiceBrokerMutex.Lock() 3975 defer fake.createServiceBrokerMutex.Unlock() 3976 fake.CreateServiceBrokerStub = nil 3977 fake.createServiceBrokerReturns = struct { 3978 result1 ccv3.JobURL 3979 result2 ccv3.Warnings 3980 result3 error 3981 }{result1, result2, result3} 3982 } 3983 3984 func (fake *FakeCloudControllerClient) CreateServiceBrokerReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 3985 fake.createServiceBrokerMutex.Lock() 3986 defer fake.createServiceBrokerMutex.Unlock() 3987 fake.CreateServiceBrokerStub = nil 3988 if fake.createServiceBrokerReturnsOnCall == nil { 3989 fake.createServiceBrokerReturnsOnCall = make(map[int]struct { 3990 result1 ccv3.JobURL 3991 result2 ccv3.Warnings 3992 result3 error 3993 }) 3994 } 3995 fake.createServiceBrokerReturnsOnCall[i] = struct { 3996 result1 ccv3.JobURL 3997 result2 ccv3.Warnings 3998 result3 error 3999 }{result1, result2, result3} 4000 } 4001 4002 func (fake *FakeCloudControllerClient) CreateSpace(arg1 resources.Space) (resources.Space, ccv3.Warnings, error) { 4003 fake.createSpaceMutex.Lock() 4004 ret, specificReturn := fake.createSpaceReturnsOnCall[len(fake.createSpaceArgsForCall)] 4005 fake.createSpaceArgsForCall = append(fake.createSpaceArgsForCall, struct { 4006 arg1 resources.Space 4007 }{arg1}) 4008 fake.recordInvocation("CreateSpace", []interface{}{arg1}) 4009 fake.createSpaceMutex.Unlock() 4010 if fake.CreateSpaceStub != nil { 4011 return fake.CreateSpaceStub(arg1) 4012 } 4013 if specificReturn { 4014 return ret.result1, ret.result2, ret.result3 4015 } 4016 fakeReturns := fake.createSpaceReturns 4017 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4018 } 4019 4020 func (fake *FakeCloudControllerClient) CreateSpaceCallCount() int { 4021 fake.createSpaceMutex.RLock() 4022 defer fake.createSpaceMutex.RUnlock() 4023 return len(fake.createSpaceArgsForCall) 4024 } 4025 4026 func (fake *FakeCloudControllerClient) CreateSpaceCalls(stub func(resources.Space) (resources.Space, ccv3.Warnings, error)) { 4027 fake.createSpaceMutex.Lock() 4028 defer fake.createSpaceMutex.Unlock() 4029 fake.CreateSpaceStub = stub 4030 } 4031 4032 func (fake *FakeCloudControllerClient) CreateSpaceArgsForCall(i int) resources.Space { 4033 fake.createSpaceMutex.RLock() 4034 defer fake.createSpaceMutex.RUnlock() 4035 argsForCall := fake.createSpaceArgsForCall[i] 4036 return argsForCall.arg1 4037 } 4038 4039 func (fake *FakeCloudControllerClient) CreateSpaceReturns(result1 resources.Space, result2 ccv3.Warnings, result3 error) { 4040 fake.createSpaceMutex.Lock() 4041 defer fake.createSpaceMutex.Unlock() 4042 fake.CreateSpaceStub = nil 4043 fake.createSpaceReturns = struct { 4044 result1 resources.Space 4045 result2 ccv3.Warnings 4046 result3 error 4047 }{result1, result2, result3} 4048 } 4049 4050 func (fake *FakeCloudControllerClient) CreateSpaceReturnsOnCall(i int, result1 resources.Space, result2 ccv3.Warnings, result3 error) { 4051 fake.createSpaceMutex.Lock() 4052 defer fake.createSpaceMutex.Unlock() 4053 fake.CreateSpaceStub = nil 4054 if fake.createSpaceReturnsOnCall == nil { 4055 fake.createSpaceReturnsOnCall = make(map[int]struct { 4056 result1 resources.Space 4057 result2 ccv3.Warnings 4058 result3 error 4059 }) 4060 } 4061 fake.createSpaceReturnsOnCall[i] = struct { 4062 result1 resources.Space 4063 result2 ccv3.Warnings 4064 result3 error 4065 }{result1, result2, result3} 4066 } 4067 4068 func (fake *FakeCloudControllerClient) CreateSpaceQuota(arg1 resources.SpaceQuota) (resources.SpaceQuota, ccv3.Warnings, error) { 4069 fake.createSpaceQuotaMutex.Lock() 4070 ret, specificReturn := fake.createSpaceQuotaReturnsOnCall[len(fake.createSpaceQuotaArgsForCall)] 4071 fake.createSpaceQuotaArgsForCall = append(fake.createSpaceQuotaArgsForCall, struct { 4072 arg1 resources.SpaceQuota 4073 }{arg1}) 4074 fake.recordInvocation("CreateSpaceQuota", []interface{}{arg1}) 4075 fake.createSpaceQuotaMutex.Unlock() 4076 if fake.CreateSpaceQuotaStub != nil { 4077 return fake.CreateSpaceQuotaStub(arg1) 4078 } 4079 if specificReturn { 4080 return ret.result1, ret.result2, ret.result3 4081 } 4082 fakeReturns := fake.createSpaceQuotaReturns 4083 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4084 } 4085 4086 func (fake *FakeCloudControllerClient) CreateSpaceQuotaCallCount() int { 4087 fake.createSpaceQuotaMutex.RLock() 4088 defer fake.createSpaceQuotaMutex.RUnlock() 4089 return len(fake.createSpaceQuotaArgsForCall) 4090 } 4091 4092 func (fake *FakeCloudControllerClient) CreateSpaceQuotaCalls(stub func(resources.SpaceQuota) (resources.SpaceQuota, ccv3.Warnings, error)) { 4093 fake.createSpaceQuotaMutex.Lock() 4094 defer fake.createSpaceQuotaMutex.Unlock() 4095 fake.CreateSpaceQuotaStub = stub 4096 } 4097 4098 func (fake *FakeCloudControllerClient) CreateSpaceQuotaArgsForCall(i int) resources.SpaceQuota { 4099 fake.createSpaceQuotaMutex.RLock() 4100 defer fake.createSpaceQuotaMutex.RUnlock() 4101 argsForCall := fake.createSpaceQuotaArgsForCall[i] 4102 return argsForCall.arg1 4103 } 4104 4105 func (fake *FakeCloudControllerClient) CreateSpaceQuotaReturns(result1 resources.SpaceQuota, result2 ccv3.Warnings, result3 error) { 4106 fake.createSpaceQuotaMutex.Lock() 4107 defer fake.createSpaceQuotaMutex.Unlock() 4108 fake.CreateSpaceQuotaStub = nil 4109 fake.createSpaceQuotaReturns = struct { 4110 result1 resources.SpaceQuota 4111 result2 ccv3.Warnings 4112 result3 error 4113 }{result1, result2, result3} 4114 } 4115 4116 func (fake *FakeCloudControllerClient) CreateSpaceQuotaReturnsOnCall(i int, result1 resources.SpaceQuota, result2 ccv3.Warnings, result3 error) { 4117 fake.createSpaceQuotaMutex.Lock() 4118 defer fake.createSpaceQuotaMutex.Unlock() 4119 fake.CreateSpaceQuotaStub = nil 4120 if fake.createSpaceQuotaReturnsOnCall == nil { 4121 fake.createSpaceQuotaReturnsOnCall = make(map[int]struct { 4122 result1 resources.SpaceQuota 4123 result2 ccv3.Warnings 4124 result3 error 4125 }) 4126 } 4127 fake.createSpaceQuotaReturnsOnCall[i] = struct { 4128 result1 resources.SpaceQuota 4129 result2 ccv3.Warnings 4130 result3 error 4131 }{result1, result2, result3} 4132 } 4133 4134 func (fake *FakeCloudControllerClient) CreateUser(arg1 string) (resources.User, ccv3.Warnings, error) { 4135 fake.createUserMutex.Lock() 4136 ret, specificReturn := fake.createUserReturnsOnCall[len(fake.createUserArgsForCall)] 4137 fake.createUserArgsForCall = append(fake.createUserArgsForCall, struct { 4138 arg1 string 4139 }{arg1}) 4140 fake.recordInvocation("CreateUser", []interface{}{arg1}) 4141 fake.createUserMutex.Unlock() 4142 if fake.CreateUserStub != nil { 4143 return fake.CreateUserStub(arg1) 4144 } 4145 if specificReturn { 4146 return ret.result1, ret.result2, ret.result3 4147 } 4148 fakeReturns := fake.createUserReturns 4149 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4150 } 4151 4152 func (fake *FakeCloudControllerClient) CreateUserCallCount() int { 4153 fake.createUserMutex.RLock() 4154 defer fake.createUserMutex.RUnlock() 4155 return len(fake.createUserArgsForCall) 4156 } 4157 4158 func (fake *FakeCloudControllerClient) CreateUserCalls(stub func(string) (resources.User, ccv3.Warnings, error)) { 4159 fake.createUserMutex.Lock() 4160 defer fake.createUserMutex.Unlock() 4161 fake.CreateUserStub = stub 4162 } 4163 4164 func (fake *FakeCloudControllerClient) CreateUserArgsForCall(i int) string { 4165 fake.createUserMutex.RLock() 4166 defer fake.createUserMutex.RUnlock() 4167 argsForCall := fake.createUserArgsForCall[i] 4168 return argsForCall.arg1 4169 } 4170 4171 func (fake *FakeCloudControllerClient) CreateUserReturns(result1 resources.User, result2 ccv3.Warnings, result3 error) { 4172 fake.createUserMutex.Lock() 4173 defer fake.createUserMutex.Unlock() 4174 fake.CreateUserStub = nil 4175 fake.createUserReturns = struct { 4176 result1 resources.User 4177 result2 ccv3.Warnings 4178 result3 error 4179 }{result1, result2, result3} 4180 } 4181 4182 func (fake *FakeCloudControllerClient) CreateUserReturnsOnCall(i int, result1 resources.User, result2 ccv3.Warnings, result3 error) { 4183 fake.createUserMutex.Lock() 4184 defer fake.createUserMutex.Unlock() 4185 fake.CreateUserStub = nil 4186 if fake.createUserReturnsOnCall == nil { 4187 fake.createUserReturnsOnCall = make(map[int]struct { 4188 result1 resources.User 4189 result2 ccv3.Warnings 4190 result3 error 4191 }) 4192 } 4193 fake.createUserReturnsOnCall[i] = struct { 4194 result1 resources.User 4195 result2 ccv3.Warnings 4196 result3 error 4197 }{result1, result2, result3} 4198 } 4199 4200 func (fake *FakeCloudControllerClient) DeleteApplication(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 4201 fake.deleteApplicationMutex.Lock() 4202 ret, specificReturn := fake.deleteApplicationReturnsOnCall[len(fake.deleteApplicationArgsForCall)] 4203 fake.deleteApplicationArgsForCall = append(fake.deleteApplicationArgsForCall, struct { 4204 arg1 string 4205 }{arg1}) 4206 fake.recordInvocation("DeleteApplication", []interface{}{arg1}) 4207 fake.deleteApplicationMutex.Unlock() 4208 if fake.DeleteApplicationStub != nil { 4209 return fake.DeleteApplicationStub(arg1) 4210 } 4211 if specificReturn { 4212 return ret.result1, ret.result2, ret.result3 4213 } 4214 fakeReturns := fake.deleteApplicationReturns 4215 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4216 } 4217 4218 func (fake *FakeCloudControllerClient) DeleteApplicationCallCount() int { 4219 fake.deleteApplicationMutex.RLock() 4220 defer fake.deleteApplicationMutex.RUnlock() 4221 return len(fake.deleteApplicationArgsForCall) 4222 } 4223 4224 func (fake *FakeCloudControllerClient) DeleteApplicationCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 4225 fake.deleteApplicationMutex.Lock() 4226 defer fake.deleteApplicationMutex.Unlock() 4227 fake.DeleteApplicationStub = stub 4228 } 4229 4230 func (fake *FakeCloudControllerClient) DeleteApplicationArgsForCall(i int) string { 4231 fake.deleteApplicationMutex.RLock() 4232 defer fake.deleteApplicationMutex.RUnlock() 4233 argsForCall := fake.deleteApplicationArgsForCall[i] 4234 return argsForCall.arg1 4235 } 4236 4237 func (fake *FakeCloudControllerClient) DeleteApplicationReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4238 fake.deleteApplicationMutex.Lock() 4239 defer fake.deleteApplicationMutex.Unlock() 4240 fake.DeleteApplicationStub = nil 4241 fake.deleteApplicationReturns = struct { 4242 result1 ccv3.JobURL 4243 result2 ccv3.Warnings 4244 result3 error 4245 }{result1, result2, result3} 4246 } 4247 4248 func (fake *FakeCloudControllerClient) DeleteApplicationReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4249 fake.deleteApplicationMutex.Lock() 4250 defer fake.deleteApplicationMutex.Unlock() 4251 fake.DeleteApplicationStub = nil 4252 if fake.deleteApplicationReturnsOnCall == nil { 4253 fake.deleteApplicationReturnsOnCall = make(map[int]struct { 4254 result1 ccv3.JobURL 4255 result2 ccv3.Warnings 4256 result3 error 4257 }) 4258 } 4259 fake.deleteApplicationReturnsOnCall[i] = struct { 4260 result1 ccv3.JobURL 4261 result2 ccv3.Warnings 4262 result3 error 4263 }{result1, result2, result3} 4264 } 4265 4266 func (fake *FakeCloudControllerClient) DeleteApplicationProcessInstance(arg1 string, arg2 string, arg3 int) (ccv3.Warnings, error) { 4267 fake.deleteApplicationProcessInstanceMutex.Lock() 4268 ret, specificReturn := fake.deleteApplicationProcessInstanceReturnsOnCall[len(fake.deleteApplicationProcessInstanceArgsForCall)] 4269 fake.deleteApplicationProcessInstanceArgsForCall = append(fake.deleteApplicationProcessInstanceArgsForCall, struct { 4270 arg1 string 4271 arg2 string 4272 arg3 int 4273 }{arg1, arg2, arg3}) 4274 fake.recordInvocation("DeleteApplicationProcessInstance", []interface{}{arg1, arg2, arg3}) 4275 fake.deleteApplicationProcessInstanceMutex.Unlock() 4276 if fake.DeleteApplicationProcessInstanceStub != nil { 4277 return fake.DeleteApplicationProcessInstanceStub(arg1, arg2, arg3) 4278 } 4279 if specificReturn { 4280 return ret.result1, ret.result2 4281 } 4282 fakeReturns := fake.deleteApplicationProcessInstanceReturns 4283 return fakeReturns.result1, fakeReturns.result2 4284 } 4285 4286 func (fake *FakeCloudControllerClient) DeleteApplicationProcessInstanceCallCount() int { 4287 fake.deleteApplicationProcessInstanceMutex.RLock() 4288 defer fake.deleteApplicationProcessInstanceMutex.RUnlock() 4289 return len(fake.deleteApplicationProcessInstanceArgsForCall) 4290 } 4291 4292 func (fake *FakeCloudControllerClient) DeleteApplicationProcessInstanceCalls(stub func(string, string, int) (ccv3.Warnings, error)) { 4293 fake.deleteApplicationProcessInstanceMutex.Lock() 4294 defer fake.deleteApplicationProcessInstanceMutex.Unlock() 4295 fake.DeleteApplicationProcessInstanceStub = stub 4296 } 4297 4298 func (fake *FakeCloudControllerClient) DeleteApplicationProcessInstanceArgsForCall(i int) (string, string, int) { 4299 fake.deleteApplicationProcessInstanceMutex.RLock() 4300 defer fake.deleteApplicationProcessInstanceMutex.RUnlock() 4301 argsForCall := fake.deleteApplicationProcessInstanceArgsForCall[i] 4302 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3 4303 } 4304 4305 func (fake *FakeCloudControllerClient) DeleteApplicationProcessInstanceReturns(result1 ccv3.Warnings, result2 error) { 4306 fake.deleteApplicationProcessInstanceMutex.Lock() 4307 defer fake.deleteApplicationProcessInstanceMutex.Unlock() 4308 fake.DeleteApplicationProcessInstanceStub = nil 4309 fake.deleteApplicationProcessInstanceReturns = struct { 4310 result1 ccv3.Warnings 4311 result2 error 4312 }{result1, result2} 4313 } 4314 4315 func (fake *FakeCloudControllerClient) DeleteApplicationProcessInstanceReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 4316 fake.deleteApplicationProcessInstanceMutex.Lock() 4317 defer fake.deleteApplicationProcessInstanceMutex.Unlock() 4318 fake.DeleteApplicationProcessInstanceStub = nil 4319 if fake.deleteApplicationProcessInstanceReturnsOnCall == nil { 4320 fake.deleteApplicationProcessInstanceReturnsOnCall = make(map[int]struct { 4321 result1 ccv3.Warnings 4322 result2 error 4323 }) 4324 } 4325 fake.deleteApplicationProcessInstanceReturnsOnCall[i] = struct { 4326 result1 ccv3.Warnings 4327 result2 error 4328 }{result1, result2} 4329 } 4330 4331 func (fake *FakeCloudControllerClient) DeleteBuildpack(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 4332 fake.deleteBuildpackMutex.Lock() 4333 ret, specificReturn := fake.deleteBuildpackReturnsOnCall[len(fake.deleteBuildpackArgsForCall)] 4334 fake.deleteBuildpackArgsForCall = append(fake.deleteBuildpackArgsForCall, struct { 4335 arg1 string 4336 }{arg1}) 4337 fake.recordInvocation("DeleteBuildpack", []interface{}{arg1}) 4338 fake.deleteBuildpackMutex.Unlock() 4339 if fake.DeleteBuildpackStub != nil { 4340 return fake.DeleteBuildpackStub(arg1) 4341 } 4342 if specificReturn { 4343 return ret.result1, ret.result2, ret.result3 4344 } 4345 fakeReturns := fake.deleteBuildpackReturns 4346 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4347 } 4348 4349 func (fake *FakeCloudControllerClient) DeleteBuildpackCallCount() int { 4350 fake.deleteBuildpackMutex.RLock() 4351 defer fake.deleteBuildpackMutex.RUnlock() 4352 return len(fake.deleteBuildpackArgsForCall) 4353 } 4354 4355 func (fake *FakeCloudControllerClient) DeleteBuildpackCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 4356 fake.deleteBuildpackMutex.Lock() 4357 defer fake.deleteBuildpackMutex.Unlock() 4358 fake.DeleteBuildpackStub = stub 4359 } 4360 4361 func (fake *FakeCloudControllerClient) DeleteBuildpackArgsForCall(i int) string { 4362 fake.deleteBuildpackMutex.RLock() 4363 defer fake.deleteBuildpackMutex.RUnlock() 4364 argsForCall := fake.deleteBuildpackArgsForCall[i] 4365 return argsForCall.arg1 4366 } 4367 4368 func (fake *FakeCloudControllerClient) DeleteBuildpackReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4369 fake.deleteBuildpackMutex.Lock() 4370 defer fake.deleteBuildpackMutex.Unlock() 4371 fake.DeleteBuildpackStub = nil 4372 fake.deleteBuildpackReturns = struct { 4373 result1 ccv3.JobURL 4374 result2 ccv3.Warnings 4375 result3 error 4376 }{result1, result2, result3} 4377 } 4378 4379 func (fake *FakeCloudControllerClient) DeleteBuildpackReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4380 fake.deleteBuildpackMutex.Lock() 4381 defer fake.deleteBuildpackMutex.Unlock() 4382 fake.DeleteBuildpackStub = nil 4383 if fake.deleteBuildpackReturnsOnCall == nil { 4384 fake.deleteBuildpackReturnsOnCall = make(map[int]struct { 4385 result1 ccv3.JobURL 4386 result2 ccv3.Warnings 4387 result3 error 4388 }) 4389 } 4390 fake.deleteBuildpackReturnsOnCall[i] = struct { 4391 result1 ccv3.JobURL 4392 result2 ccv3.Warnings 4393 result3 error 4394 }{result1, result2, result3} 4395 } 4396 4397 func (fake *FakeCloudControllerClient) DeleteDomain(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 4398 fake.deleteDomainMutex.Lock() 4399 ret, specificReturn := fake.deleteDomainReturnsOnCall[len(fake.deleteDomainArgsForCall)] 4400 fake.deleteDomainArgsForCall = append(fake.deleteDomainArgsForCall, struct { 4401 arg1 string 4402 }{arg1}) 4403 fake.recordInvocation("DeleteDomain", []interface{}{arg1}) 4404 fake.deleteDomainMutex.Unlock() 4405 if fake.DeleteDomainStub != nil { 4406 return fake.DeleteDomainStub(arg1) 4407 } 4408 if specificReturn { 4409 return ret.result1, ret.result2, ret.result3 4410 } 4411 fakeReturns := fake.deleteDomainReturns 4412 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4413 } 4414 4415 func (fake *FakeCloudControllerClient) DeleteDomainCallCount() int { 4416 fake.deleteDomainMutex.RLock() 4417 defer fake.deleteDomainMutex.RUnlock() 4418 return len(fake.deleteDomainArgsForCall) 4419 } 4420 4421 func (fake *FakeCloudControllerClient) DeleteDomainCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 4422 fake.deleteDomainMutex.Lock() 4423 defer fake.deleteDomainMutex.Unlock() 4424 fake.DeleteDomainStub = stub 4425 } 4426 4427 func (fake *FakeCloudControllerClient) DeleteDomainArgsForCall(i int) string { 4428 fake.deleteDomainMutex.RLock() 4429 defer fake.deleteDomainMutex.RUnlock() 4430 argsForCall := fake.deleteDomainArgsForCall[i] 4431 return argsForCall.arg1 4432 } 4433 4434 func (fake *FakeCloudControllerClient) DeleteDomainReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4435 fake.deleteDomainMutex.Lock() 4436 defer fake.deleteDomainMutex.Unlock() 4437 fake.DeleteDomainStub = nil 4438 fake.deleteDomainReturns = struct { 4439 result1 ccv3.JobURL 4440 result2 ccv3.Warnings 4441 result3 error 4442 }{result1, result2, result3} 4443 } 4444 4445 func (fake *FakeCloudControllerClient) DeleteDomainReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4446 fake.deleteDomainMutex.Lock() 4447 defer fake.deleteDomainMutex.Unlock() 4448 fake.DeleteDomainStub = nil 4449 if fake.deleteDomainReturnsOnCall == nil { 4450 fake.deleteDomainReturnsOnCall = make(map[int]struct { 4451 result1 ccv3.JobURL 4452 result2 ccv3.Warnings 4453 result3 error 4454 }) 4455 } 4456 fake.deleteDomainReturnsOnCall[i] = struct { 4457 result1 ccv3.JobURL 4458 result2 ccv3.Warnings 4459 result3 error 4460 }{result1, result2, result3} 4461 } 4462 4463 func (fake *FakeCloudControllerClient) DeleteIsolationSegment(arg1 string) (ccv3.Warnings, error) { 4464 fake.deleteIsolationSegmentMutex.Lock() 4465 ret, specificReturn := fake.deleteIsolationSegmentReturnsOnCall[len(fake.deleteIsolationSegmentArgsForCall)] 4466 fake.deleteIsolationSegmentArgsForCall = append(fake.deleteIsolationSegmentArgsForCall, struct { 4467 arg1 string 4468 }{arg1}) 4469 fake.recordInvocation("DeleteIsolationSegment", []interface{}{arg1}) 4470 fake.deleteIsolationSegmentMutex.Unlock() 4471 if fake.DeleteIsolationSegmentStub != nil { 4472 return fake.DeleteIsolationSegmentStub(arg1) 4473 } 4474 if specificReturn { 4475 return ret.result1, ret.result2 4476 } 4477 fakeReturns := fake.deleteIsolationSegmentReturns 4478 return fakeReturns.result1, fakeReturns.result2 4479 } 4480 4481 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentCallCount() int { 4482 fake.deleteIsolationSegmentMutex.RLock() 4483 defer fake.deleteIsolationSegmentMutex.RUnlock() 4484 return len(fake.deleteIsolationSegmentArgsForCall) 4485 } 4486 4487 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentCalls(stub func(string) (ccv3.Warnings, error)) { 4488 fake.deleteIsolationSegmentMutex.Lock() 4489 defer fake.deleteIsolationSegmentMutex.Unlock() 4490 fake.DeleteIsolationSegmentStub = stub 4491 } 4492 4493 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentArgsForCall(i int) string { 4494 fake.deleteIsolationSegmentMutex.RLock() 4495 defer fake.deleteIsolationSegmentMutex.RUnlock() 4496 argsForCall := fake.deleteIsolationSegmentArgsForCall[i] 4497 return argsForCall.arg1 4498 } 4499 4500 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentReturns(result1 ccv3.Warnings, result2 error) { 4501 fake.deleteIsolationSegmentMutex.Lock() 4502 defer fake.deleteIsolationSegmentMutex.Unlock() 4503 fake.DeleteIsolationSegmentStub = nil 4504 fake.deleteIsolationSegmentReturns = struct { 4505 result1 ccv3.Warnings 4506 result2 error 4507 }{result1, result2} 4508 } 4509 4510 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 4511 fake.deleteIsolationSegmentMutex.Lock() 4512 defer fake.deleteIsolationSegmentMutex.Unlock() 4513 fake.DeleteIsolationSegmentStub = nil 4514 if fake.deleteIsolationSegmentReturnsOnCall == nil { 4515 fake.deleteIsolationSegmentReturnsOnCall = make(map[int]struct { 4516 result1 ccv3.Warnings 4517 result2 error 4518 }) 4519 } 4520 fake.deleteIsolationSegmentReturnsOnCall[i] = struct { 4521 result1 ccv3.Warnings 4522 result2 error 4523 }{result1, result2} 4524 } 4525 4526 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentOrganization(arg1 string, arg2 string) (ccv3.Warnings, error) { 4527 fake.deleteIsolationSegmentOrganizationMutex.Lock() 4528 ret, specificReturn := fake.deleteIsolationSegmentOrganizationReturnsOnCall[len(fake.deleteIsolationSegmentOrganizationArgsForCall)] 4529 fake.deleteIsolationSegmentOrganizationArgsForCall = append(fake.deleteIsolationSegmentOrganizationArgsForCall, struct { 4530 arg1 string 4531 arg2 string 4532 }{arg1, arg2}) 4533 fake.recordInvocation("DeleteIsolationSegmentOrganization", []interface{}{arg1, arg2}) 4534 fake.deleteIsolationSegmentOrganizationMutex.Unlock() 4535 if fake.DeleteIsolationSegmentOrganizationStub != nil { 4536 return fake.DeleteIsolationSegmentOrganizationStub(arg1, arg2) 4537 } 4538 if specificReturn { 4539 return ret.result1, ret.result2 4540 } 4541 fakeReturns := fake.deleteIsolationSegmentOrganizationReturns 4542 return fakeReturns.result1, fakeReturns.result2 4543 } 4544 4545 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentOrganizationCallCount() int { 4546 fake.deleteIsolationSegmentOrganizationMutex.RLock() 4547 defer fake.deleteIsolationSegmentOrganizationMutex.RUnlock() 4548 return len(fake.deleteIsolationSegmentOrganizationArgsForCall) 4549 } 4550 4551 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentOrganizationCalls(stub func(string, string) (ccv3.Warnings, error)) { 4552 fake.deleteIsolationSegmentOrganizationMutex.Lock() 4553 defer fake.deleteIsolationSegmentOrganizationMutex.Unlock() 4554 fake.DeleteIsolationSegmentOrganizationStub = stub 4555 } 4556 4557 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentOrganizationArgsForCall(i int) (string, string) { 4558 fake.deleteIsolationSegmentOrganizationMutex.RLock() 4559 defer fake.deleteIsolationSegmentOrganizationMutex.RUnlock() 4560 argsForCall := fake.deleteIsolationSegmentOrganizationArgsForCall[i] 4561 return argsForCall.arg1, argsForCall.arg2 4562 } 4563 4564 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentOrganizationReturns(result1 ccv3.Warnings, result2 error) { 4565 fake.deleteIsolationSegmentOrganizationMutex.Lock() 4566 defer fake.deleteIsolationSegmentOrganizationMutex.Unlock() 4567 fake.DeleteIsolationSegmentOrganizationStub = nil 4568 fake.deleteIsolationSegmentOrganizationReturns = struct { 4569 result1 ccv3.Warnings 4570 result2 error 4571 }{result1, result2} 4572 } 4573 4574 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentOrganizationReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 4575 fake.deleteIsolationSegmentOrganizationMutex.Lock() 4576 defer fake.deleteIsolationSegmentOrganizationMutex.Unlock() 4577 fake.DeleteIsolationSegmentOrganizationStub = nil 4578 if fake.deleteIsolationSegmentOrganizationReturnsOnCall == nil { 4579 fake.deleteIsolationSegmentOrganizationReturnsOnCall = make(map[int]struct { 4580 result1 ccv3.Warnings 4581 result2 error 4582 }) 4583 } 4584 fake.deleteIsolationSegmentOrganizationReturnsOnCall[i] = struct { 4585 result1 ccv3.Warnings 4586 result2 error 4587 }{result1, result2} 4588 } 4589 4590 func (fake *FakeCloudControllerClient) DeleteOrganization(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 4591 fake.deleteOrganizationMutex.Lock() 4592 ret, specificReturn := fake.deleteOrganizationReturnsOnCall[len(fake.deleteOrganizationArgsForCall)] 4593 fake.deleteOrganizationArgsForCall = append(fake.deleteOrganizationArgsForCall, struct { 4594 arg1 string 4595 }{arg1}) 4596 fake.recordInvocation("DeleteOrganization", []interface{}{arg1}) 4597 fake.deleteOrganizationMutex.Unlock() 4598 if fake.DeleteOrganizationStub != nil { 4599 return fake.DeleteOrganizationStub(arg1) 4600 } 4601 if specificReturn { 4602 return ret.result1, ret.result2, ret.result3 4603 } 4604 fakeReturns := fake.deleteOrganizationReturns 4605 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4606 } 4607 4608 func (fake *FakeCloudControllerClient) DeleteOrganizationCallCount() int { 4609 fake.deleteOrganizationMutex.RLock() 4610 defer fake.deleteOrganizationMutex.RUnlock() 4611 return len(fake.deleteOrganizationArgsForCall) 4612 } 4613 4614 func (fake *FakeCloudControllerClient) DeleteOrganizationCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 4615 fake.deleteOrganizationMutex.Lock() 4616 defer fake.deleteOrganizationMutex.Unlock() 4617 fake.DeleteOrganizationStub = stub 4618 } 4619 4620 func (fake *FakeCloudControllerClient) DeleteOrganizationArgsForCall(i int) string { 4621 fake.deleteOrganizationMutex.RLock() 4622 defer fake.deleteOrganizationMutex.RUnlock() 4623 argsForCall := fake.deleteOrganizationArgsForCall[i] 4624 return argsForCall.arg1 4625 } 4626 4627 func (fake *FakeCloudControllerClient) DeleteOrganizationReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4628 fake.deleteOrganizationMutex.Lock() 4629 defer fake.deleteOrganizationMutex.Unlock() 4630 fake.DeleteOrganizationStub = nil 4631 fake.deleteOrganizationReturns = struct { 4632 result1 ccv3.JobURL 4633 result2 ccv3.Warnings 4634 result3 error 4635 }{result1, result2, result3} 4636 } 4637 4638 func (fake *FakeCloudControllerClient) DeleteOrganizationReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4639 fake.deleteOrganizationMutex.Lock() 4640 defer fake.deleteOrganizationMutex.Unlock() 4641 fake.DeleteOrganizationStub = nil 4642 if fake.deleteOrganizationReturnsOnCall == nil { 4643 fake.deleteOrganizationReturnsOnCall = make(map[int]struct { 4644 result1 ccv3.JobURL 4645 result2 ccv3.Warnings 4646 result3 error 4647 }) 4648 } 4649 fake.deleteOrganizationReturnsOnCall[i] = struct { 4650 result1 ccv3.JobURL 4651 result2 ccv3.Warnings 4652 result3 error 4653 }{result1, result2, result3} 4654 } 4655 4656 func (fake *FakeCloudControllerClient) DeleteOrganizationQuota(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 4657 fake.deleteOrganizationQuotaMutex.Lock() 4658 ret, specificReturn := fake.deleteOrganizationQuotaReturnsOnCall[len(fake.deleteOrganizationQuotaArgsForCall)] 4659 fake.deleteOrganizationQuotaArgsForCall = append(fake.deleteOrganizationQuotaArgsForCall, struct { 4660 arg1 string 4661 }{arg1}) 4662 fake.recordInvocation("DeleteOrganizationQuota", []interface{}{arg1}) 4663 fake.deleteOrganizationQuotaMutex.Unlock() 4664 if fake.DeleteOrganizationQuotaStub != nil { 4665 return fake.DeleteOrganizationQuotaStub(arg1) 4666 } 4667 if specificReturn { 4668 return ret.result1, ret.result2, ret.result3 4669 } 4670 fakeReturns := fake.deleteOrganizationQuotaReturns 4671 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4672 } 4673 4674 func (fake *FakeCloudControllerClient) DeleteOrganizationQuotaCallCount() int { 4675 fake.deleteOrganizationQuotaMutex.RLock() 4676 defer fake.deleteOrganizationQuotaMutex.RUnlock() 4677 return len(fake.deleteOrganizationQuotaArgsForCall) 4678 } 4679 4680 func (fake *FakeCloudControllerClient) DeleteOrganizationQuotaCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 4681 fake.deleteOrganizationQuotaMutex.Lock() 4682 defer fake.deleteOrganizationQuotaMutex.Unlock() 4683 fake.DeleteOrganizationQuotaStub = stub 4684 } 4685 4686 func (fake *FakeCloudControllerClient) DeleteOrganizationQuotaArgsForCall(i int) string { 4687 fake.deleteOrganizationQuotaMutex.RLock() 4688 defer fake.deleteOrganizationQuotaMutex.RUnlock() 4689 argsForCall := fake.deleteOrganizationQuotaArgsForCall[i] 4690 return argsForCall.arg1 4691 } 4692 4693 func (fake *FakeCloudControllerClient) DeleteOrganizationQuotaReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4694 fake.deleteOrganizationQuotaMutex.Lock() 4695 defer fake.deleteOrganizationQuotaMutex.Unlock() 4696 fake.DeleteOrganizationQuotaStub = nil 4697 fake.deleteOrganizationQuotaReturns = struct { 4698 result1 ccv3.JobURL 4699 result2 ccv3.Warnings 4700 result3 error 4701 }{result1, result2, result3} 4702 } 4703 4704 func (fake *FakeCloudControllerClient) DeleteOrganizationQuotaReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4705 fake.deleteOrganizationQuotaMutex.Lock() 4706 defer fake.deleteOrganizationQuotaMutex.Unlock() 4707 fake.DeleteOrganizationQuotaStub = nil 4708 if fake.deleteOrganizationQuotaReturnsOnCall == nil { 4709 fake.deleteOrganizationQuotaReturnsOnCall = make(map[int]struct { 4710 result1 ccv3.JobURL 4711 result2 ccv3.Warnings 4712 result3 error 4713 }) 4714 } 4715 fake.deleteOrganizationQuotaReturnsOnCall[i] = struct { 4716 result1 ccv3.JobURL 4717 result2 ccv3.Warnings 4718 result3 error 4719 }{result1, result2, result3} 4720 } 4721 4722 func (fake *FakeCloudControllerClient) DeleteOrphanedRoutes(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 4723 fake.deleteOrphanedRoutesMutex.Lock() 4724 ret, specificReturn := fake.deleteOrphanedRoutesReturnsOnCall[len(fake.deleteOrphanedRoutesArgsForCall)] 4725 fake.deleteOrphanedRoutesArgsForCall = append(fake.deleteOrphanedRoutesArgsForCall, struct { 4726 arg1 string 4727 }{arg1}) 4728 fake.recordInvocation("DeleteOrphanedRoutes", []interface{}{arg1}) 4729 fake.deleteOrphanedRoutesMutex.Unlock() 4730 if fake.DeleteOrphanedRoutesStub != nil { 4731 return fake.DeleteOrphanedRoutesStub(arg1) 4732 } 4733 if specificReturn { 4734 return ret.result1, ret.result2, ret.result3 4735 } 4736 fakeReturns := fake.deleteOrphanedRoutesReturns 4737 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4738 } 4739 4740 func (fake *FakeCloudControllerClient) DeleteOrphanedRoutesCallCount() int { 4741 fake.deleteOrphanedRoutesMutex.RLock() 4742 defer fake.deleteOrphanedRoutesMutex.RUnlock() 4743 return len(fake.deleteOrphanedRoutesArgsForCall) 4744 } 4745 4746 func (fake *FakeCloudControllerClient) DeleteOrphanedRoutesCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 4747 fake.deleteOrphanedRoutesMutex.Lock() 4748 defer fake.deleteOrphanedRoutesMutex.Unlock() 4749 fake.DeleteOrphanedRoutesStub = stub 4750 } 4751 4752 func (fake *FakeCloudControllerClient) DeleteOrphanedRoutesArgsForCall(i int) string { 4753 fake.deleteOrphanedRoutesMutex.RLock() 4754 defer fake.deleteOrphanedRoutesMutex.RUnlock() 4755 argsForCall := fake.deleteOrphanedRoutesArgsForCall[i] 4756 return argsForCall.arg1 4757 } 4758 4759 func (fake *FakeCloudControllerClient) DeleteOrphanedRoutesReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4760 fake.deleteOrphanedRoutesMutex.Lock() 4761 defer fake.deleteOrphanedRoutesMutex.Unlock() 4762 fake.DeleteOrphanedRoutesStub = nil 4763 fake.deleteOrphanedRoutesReturns = struct { 4764 result1 ccv3.JobURL 4765 result2 ccv3.Warnings 4766 result3 error 4767 }{result1, result2, result3} 4768 } 4769 4770 func (fake *FakeCloudControllerClient) DeleteOrphanedRoutesReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4771 fake.deleteOrphanedRoutesMutex.Lock() 4772 defer fake.deleteOrphanedRoutesMutex.Unlock() 4773 fake.DeleteOrphanedRoutesStub = nil 4774 if fake.deleteOrphanedRoutesReturnsOnCall == nil { 4775 fake.deleteOrphanedRoutesReturnsOnCall = make(map[int]struct { 4776 result1 ccv3.JobURL 4777 result2 ccv3.Warnings 4778 result3 error 4779 }) 4780 } 4781 fake.deleteOrphanedRoutesReturnsOnCall[i] = struct { 4782 result1 ccv3.JobURL 4783 result2 ccv3.Warnings 4784 result3 error 4785 }{result1, result2, result3} 4786 } 4787 4788 func (fake *FakeCloudControllerClient) DeleteRole(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 4789 fake.deleteRoleMutex.Lock() 4790 ret, specificReturn := fake.deleteRoleReturnsOnCall[len(fake.deleteRoleArgsForCall)] 4791 fake.deleteRoleArgsForCall = append(fake.deleteRoleArgsForCall, struct { 4792 arg1 string 4793 }{arg1}) 4794 fake.recordInvocation("DeleteRole", []interface{}{arg1}) 4795 fake.deleteRoleMutex.Unlock() 4796 if fake.DeleteRoleStub != nil { 4797 return fake.DeleteRoleStub(arg1) 4798 } 4799 if specificReturn { 4800 return ret.result1, ret.result2, ret.result3 4801 } 4802 fakeReturns := fake.deleteRoleReturns 4803 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4804 } 4805 4806 func (fake *FakeCloudControllerClient) DeleteRoleCallCount() int { 4807 fake.deleteRoleMutex.RLock() 4808 defer fake.deleteRoleMutex.RUnlock() 4809 return len(fake.deleteRoleArgsForCall) 4810 } 4811 4812 func (fake *FakeCloudControllerClient) DeleteRoleCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 4813 fake.deleteRoleMutex.Lock() 4814 defer fake.deleteRoleMutex.Unlock() 4815 fake.DeleteRoleStub = stub 4816 } 4817 4818 func (fake *FakeCloudControllerClient) DeleteRoleArgsForCall(i int) string { 4819 fake.deleteRoleMutex.RLock() 4820 defer fake.deleteRoleMutex.RUnlock() 4821 argsForCall := fake.deleteRoleArgsForCall[i] 4822 return argsForCall.arg1 4823 } 4824 4825 func (fake *FakeCloudControllerClient) DeleteRoleReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4826 fake.deleteRoleMutex.Lock() 4827 defer fake.deleteRoleMutex.Unlock() 4828 fake.DeleteRoleStub = nil 4829 fake.deleteRoleReturns = struct { 4830 result1 ccv3.JobURL 4831 result2 ccv3.Warnings 4832 result3 error 4833 }{result1, result2, result3} 4834 } 4835 4836 func (fake *FakeCloudControllerClient) DeleteRoleReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4837 fake.deleteRoleMutex.Lock() 4838 defer fake.deleteRoleMutex.Unlock() 4839 fake.DeleteRoleStub = nil 4840 if fake.deleteRoleReturnsOnCall == nil { 4841 fake.deleteRoleReturnsOnCall = make(map[int]struct { 4842 result1 ccv3.JobURL 4843 result2 ccv3.Warnings 4844 result3 error 4845 }) 4846 } 4847 fake.deleteRoleReturnsOnCall[i] = struct { 4848 result1 ccv3.JobURL 4849 result2 ccv3.Warnings 4850 result3 error 4851 }{result1, result2, result3} 4852 } 4853 4854 func (fake *FakeCloudControllerClient) DeleteRoute(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 4855 fake.deleteRouteMutex.Lock() 4856 ret, specificReturn := fake.deleteRouteReturnsOnCall[len(fake.deleteRouteArgsForCall)] 4857 fake.deleteRouteArgsForCall = append(fake.deleteRouteArgsForCall, struct { 4858 arg1 string 4859 }{arg1}) 4860 fake.recordInvocation("DeleteRoute", []interface{}{arg1}) 4861 fake.deleteRouteMutex.Unlock() 4862 if fake.DeleteRouteStub != nil { 4863 return fake.DeleteRouteStub(arg1) 4864 } 4865 if specificReturn { 4866 return ret.result1, ret.result2, ret.result3 4867 } 4868 fakeReturns := fake.deleteRouteReturns 4869 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4870 } 4871 4872 func (fake *FakeCloudControllerClient) DeleteRouteCallCount() int { 4873 fake.deleteRouteMutex.RLock() 4874 defer fake.deleteRouteMutex.RUnlock() 4875 return len(fake.deleteRouteArgsForCall) 4876 } 4877 4878 func (fake *FakeCloudControllerClient) DeleteRouteCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 4879 fake.deleteRouteMutex.Lock() 4880 defer fake.deleteRouteMutex.Unlock() 4881 fake.DeleteRouteStub = stub 4882 } 4883 4884 func (fake *FakeCloudControllerClient) DeleteRouteArgsForCall(i int) string { 4885 fake.deleteRouteMutex.RLock() 4886 defer fake.deleteRouteMutex.RUnlock() 4887 argsForCall := fake.deleteRouteArgsForCall[i] 4888 return argsForCall.arg1 4889 } 4890 4891 func (fake *FakeCloudControllerClient) DeleteRouteReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4892 fake.deleteRouteMutex.Lock() 4893 defer fake.deleteRouteMutex.Unlock() 4894 fake.DeleteRouteStub = nil 4895 fake.deleteRouteReturns = struct { 4896 result1 ccv3.JobURL 4897 result2 ccv3.Warnings 4898 result3 error 4899 }{result1, result2, result3} 4900 } 4901 4902 func (fake *FakeCloudControllerClient) DeleteRouteReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4903 fake.deleteRouteMutex.Lock() 4904 defer fake.deleteRouteMutex.Unlock() 4905 fake.DeleteRouteStub = nil 4906 if fake.deleteRouteReturnsOnCall == nil { 4907 fake.deleteRouteReturnsOnCall = make(map[int]struct { 4908 result1 ccv3.JobURL 4909 result2 ccv3.Warnings 4910 result3 error 4911 }) 4912 } 4913 fake.deleteRouteReturnsOnCall[i] = struct { 4914 result1 ccv3.JobURL 4915 result2 ccv3.Warnings 4916 result3 error 4917 }{result1, result2, result3} 4918 } 4919 4920 func (fake *FakeCloudControllerClient) DeleteSecurityGroup(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 4921 fake.deleteSecurityGroupMutex.Lock() 4922 ret, specificReturn := fake.deleteSecurityGroupReturnsOnCall[len(fake.deleteSecurityGroupArgsForCall)] 4923 fake.deleteSecurityGroupArgsForCall = append(fake.deleteSecurityGroupArgsForCall, struct { 4924 arg1 string 4925 }{arg1}) 4926 fake.recordInvocation("DeleteSecurityGroup", []interface{}{arg1}) 4927 fake.deleteSecurityGroupMutex.Unlock() 4928 if fake.DeleteSecurityGroupStub != nil { 4929 return fake.DeleteSecurityGroupStub(arg1) 4930 } 4931 if specificReturn { 4932 return ret.result1, ret.result2, ret.result3 4933 } 4934 fakeReturns := fake.deleteSecurityGroupReturns 4935 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4936 } 4937 4938 func (fake *FakeCloudControllerClient) DeleteSecurityGroupCallCount() int { 4939 fake.deleteSecurityGroupMutex.RLock() 4940 defer fake.deleteSecurityGroupMutex.RUnlock() 4941 return len(fake.deleteSecurityGroupArgsForCall) 4942 } 4943 4944 func (fake *FakeCloudControllerClient) DeleteSecurityGroupCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 4945 fake.deleteSecurityGroupMutex.Lock() 4946 defer fake.deleteSecurityGroupMutex.Unlock() 4947 fake.DeleteSecurityGroupStub = stub 4948 } 4949 4950 func (fake *FakeCloudControllerClient) DeleteSecurityGroupArgsForCall(i int) string { 4951 fake.deleteSecurityGroupMutex.RLock() 4952 defer fake.deleteSecurityGroupMutex.RUnlock() 4953 argsForCall := fake.deleteSecurityGroupArgsForCall[i] 4954 return argsForCall.arg1 4955 } 4956 4957 func (fake *FakeCloudControllerClient) DeleteSecurityGroupReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4958 fake.deleteSecurityGroupMutex.Lock() 4959 defer fake.deleteSecurityGroupMutex.Unlock() 4960 fake.DeleteSecurityGroupStub = nil 4961 fake.deleteSecurityGroupReturns = struct { 4962 result1 ccv3.JobURL 4963 result2 ccv3.Warnings 4964 result3 error 4965 }{result1, result2, result3} 4966 } 4967 4968 func (fake *FakeCloudControllerClient) DeleteSecurityGroupReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4969 fake.deleteSecurityGroupMutex.Lock() 4970 defer fake.deleteSecurityGroupMutex.Unlock() 4971 fake.DeleteSecurityGroupStub = nil 4972 if fake.deleteSecurityGroupReturnsOnCall == nil { 4973 fake.deleteSecurityGroupReturnsOnCall = make(map[int]struct { 4974 result1 ccv3.JobURL 4975 result2 ccv3.Warnings 4976 result3 error 4977 }) 4978 } 4979 fake.deleteSecurityGroupReturnsOnCall[i] = struct { 4980 result1 ccv3.JobURL 4981 result2 ccv3.Warnings 4982 result3 error 4983 }{result1, result2, result3} 4984 } 4985 4986 func (fake *FakeCloudControllerClient) DeleteServiceBroker(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 4987 fake.deleteServiceBrokerMutex.Lock() 4988 ret, specificReturn := fake.deleteServiceBrokerReturnsOnCall[len(fake.deleteServiceBrokerArgsForCall)] 4989 fake.deleteServiceBrokerArgsForCall = append(fake.deleteServiceBrokerArgsForCall, struct { 4990 arg1 string 4991 }{arg1}) 4992 fake.recordInvocation("DeleteServiceBroker", []interface{}{arg1}) 4993 fake.deleteServiceBrokerMutex.Unlock() 4994 if fake.DeleteServiceBrokerStub != nil { 4995 return fake.DeleteServiceBrokerStub(arg1) 4996 } 4997 if specificReturn { 4998 return ret.result1, ret.result2, ret.result3 4999 } 5000 fakeReturns := fake.deleteServiceBrokerReturns 5001 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5002 } 5003 5004 func (fake *FakeCloudControllerClient) DeleteServiceBrokerCallCount() int { 5005 fake.deleteServiceBrokerMutex.RLock() 5006 defer fake.deleteServiceBrokerMutex.RUnlock() 5007 return len(fake.deleteServiceBrokerArgsForCall) 5008 } 5009 5010 func (fake *FakeCloudControllerClient) DeleteServiceBrokerCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 5011 fake.deleteServiceBrokerMutex.Lock() 5012 defer fake.deleteServiceBrokerMutex.Unlock() 5013 fake.DeleteServiceBrokerStub = stub 5014 } 5015 5016 func (fake *FakeCloudControllerClient) DeleteServiceBrokerArgsForCall(i int) string { 5017 fake.deleteServiceBrokerMutex.RLock() 5018 defer fake.deleteServiceBrokerMutex.RUnlock() 5019 argsForCall := fake.deleteServiceBrokerArgsForCall[i] 5020 return argsForCall.arg1 5021 } 5022 5023 func (fake *FakeCloudControllerClient) DeleteServiceBrokerReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5024 fake.deleteServiceBrokerMutex.Lock() 5025 defer fake.deleteServiceBrokerMutex.Unlock() 5026 fake.DeleteServiceBrokerStub = nil 5027 fake.deleteServiceBrokerReturns = struct { 5028 result1 ccv3.JobURL 5029 result2 ccv3.Warnings 5030 result3 error 5031 }{result1, result2, result3} 5032 } 5033 5034 func (fake *FakeCloudControllerClient) DeleteServiceBrokerReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5035 fake.deleteServiceBrokerMutex.Lock() 5036 defer fake.deleteServiceBrokerMutex.Unlock() 5037 fake.DeleteServiceBrokerStub = nil 5038 if fake.deleteServiceBrokerReturnsOnCall == nil { 5039 fake.deleteServiceBrokerReturnsOnCall = make(map[int]struct { 5040 result1 ccv3.JobURL 5041 result2 ccv3.Warnings 5042 result3 error 5043 }) 5044 } 5045 fake.deleteServiceBrokerReturnsOnCall[i] = struct { 5046 result1 ccv3.JobURL 5047 result2 ccv3.Warnings 5048 result3 error 5049 }{result1, result2, result3} 5050 } 5051 5052 func (fake *FakeCloudControllerClient) DeleteServiceInstanceRelationshipsSharedSpace(arg1 string, arg2 string) (ccv3.Warnings, error) { 5053 fake.deleteServiceInstanceRelationshipsSharedSpaceMutex.Lock() 5054 ret, specificReturn := fake.deleteServiceInstanceRelationshipsSharedSpaceReturnsOnCall[len(fake.deleteServiceInstanceRelationshipsSharedSpaceArgsForCall)] 5055 fake.deleteServiceInstanceRelationshipsSharedSpaceArgsForCall = append(fake.deleteServiceInstanceRelationshipsSharedSpaceArgsForCall, struct { 5056 arg1 string 5057 arg2 string 5058 }{arg1, arg2}) 5059 fake.recordInvocation("DeleteServiceInstanceRelationshipsSharedSpace", []interface{}{arg1, arg2}) 5060 fake.deleteServiceInstanceRelationshipsSharedSpaceMutex.Unlock() 5061 if fake.DeleteServiceInstanceRelationshipsSharedSpaceStub != nil { 5062 return fake.DeleteServiceInstanceRelationshipsSharedSpaceStub(arg1, arg2) 5063 } 5064 if specificReturn { 5065 return ret.result1, ret.result2 5066 } 5067 fakeReturns := fake.deleteServiceInstanceRelationshipsSharedSpaceReturns 5068 return fakeReturns.result1, fakeReturns.result2 5069 } 5070 5071 func (fake *FakeCloudControllerClient) DeleteServiceInstanceRelationshipsSharedSpaceCallCount() int { 5072 fake.deleteServiceInstanceRelationshipsSharedSpaceMutex.RLock() 5073 defer fake.deleteServiceInstanceRelationshipsSharedSpaceMutex.RUnlock() 5074 return len(fake.deleteServiceInstanceRelationshipsSharedSpaceArgsForCall) 5075 } 5076 5077 func (fake *FakeCloudControllerClient) DeleteServiceInstanceRelationshipsSharedSpaceCalls(stub func(string, string) (ccv3.Warnings, error)) { 5078 fake.deleteServiceInstanceRelationshipsSharedSpaceMutex.Lock() 5079 defer fake.deleteServiceInstanceRelationshipsSharedSpaceMutex.Unlock() 5080 fake.DeleteServiceInstanceRelationshipsSharedSpaceStub = stub 5081 } 5082 5083 func (fake *FakeCloudControllerClient) DeleteServiceInstanceRelationshipsSharedSpaceArgsForCall(i int) (string, string) { 5084 fake.deleteServiceInstanceRelationshipsSharedSpaceMutex.RLock() 5085 defer fake.deleteServiceInstanceRelationshipsSharedSpaceMutex.RUnlock() 5086 argsForCall := fake.deleteServiceInstanceRelationshipsSharedSpaceArgsForCall[i] 5087 return argsForCall.arg1, argsForCall.arg2 5088 } 5089 5090 func (fake *FakeCloudControllerClient) DeleteServiceInstanceRelationshipsSharedSpaceReturns(result1 ccv3.Warnings, result2 error) { 5091 fake.deleteServiceInstanceRelationshipsSharedSpaceMutex.Lock() 5092 defer fake.deleteServiceInstanceRelationshipsSharedSpaceMutex.Unlock() 5093 fake.DeleteServiceInstanceRelationshipsSharedSpaceStub = nil 5094 fake.deleteServiceInstanceRelationshipsSharedSpaceReturns = struct { 5095 result1 ccv3.Warnings 5096 result2 error 5097 }{result1, result2} 5098 } 5099 5100 func (fake *FakeCloudControllerClient) DeleteServiceInstanceRelationshipsSharedSpaceReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 5101 fake.deleteServiceInstanceRelationshipsSharedSpaceMutex.Lock() 5102 defer fake.deleteServiceInstanceRelationshipsSharedSpaceMutex.Unlock() 5103 fake.DeleteServiceInstanceRelationshipsSharedSpaceStub = nil 5104 if fake.deleteServiceInstanceRelationshipsSharedSpaceReturnsOnCall == nil { 5105 fake.deleteServiceInstanceRelationshipsSharedSpaceReturnsOnCall = make(map[int]struct { 5106 result1 ccv3.Warnings 5107 result2 error 5108 }) 5109 } 5110 fake.deleteServiceInstanceRelationshipsSharedSpaceReturnsOnCall[i] = struct { 5111 result1 ccv3.Warnings 5112 result2 error 5113 }{result1, result2} 5114 } 5115 5116 func (fake *FakeCloudControllerClient) DeleteServicePlanVisibility(arg1 string, arg2 string) (ccv3.Warnings, error) { 5117 fake.deleteServicePlanVisibilityMutex.Lock() 5118 ret, specificReturn := fake.deleteServicePlanVisibilityReturnsOnCall[len(fake.deleteServicePlanVisibilityArgsForCall)] 5119 fake.deleteServicePlanVisibilityArgsForCall = append(fake.deleteServicePlanVisibilityArgsForCall, struct { 5120 arg1 string 5121 arg2 string 5122 }{arg1, arg2}) 5123 fake.recordInvocation("DeleteServicePlanVisibility", []interface{}{arg1, arg2}) 5124 fake.deleteServicePlanVisibilityMutex.Unlock() 5125 if fake.DeleteServicePlanVisibilityStub != nil { 5126 return fake.DeleteServicePlanVisibilityStub(arg1, arg2) 5127 } 5128 if specificReturn { 5129 return ret.result1, ret.result2 5130 } 5131 fakeReturns := fake.deleteServicePlanVisibilityReturns 5132 return fakeReturns.result1, fakeReturns.result2 5133 } 5134 5135 func (fake *FakeCloudControllerClient) DeleteServicePlanVisibilityCallCount() int { 5136 fake.deleteServicePlanVisibilityMutex.RLock() 5137 defer fake.deleteServicePlanVisibilityMutex.RUnlock() 5138 return len(fake.deleteServicePlanVisibilityArgsForCall) 5139 } 5140 5141 func (fake *FakeCloudControllerClient) DeleteServicePlanVisibilityCalls(stub func(string, string) (ccv3.Warnings, error)) { 5142 fake.deleteServicePlanVisibilityMutex.Lock() 5143 defer fake.deleteServicePlanVisibilityMutex.Unlock() 5144 fake.DeleteServicePlanVisibilityStub = stub 5145 } 5146 5147 func (fake *FakeCloudControllerClient) DeleteServicePlanVisibilityArgsForCall(i int) (string, string) { 5148 fake.deleteServicePlanVisibilityMutex.RLock() 5149 defer fake.deleteServicePlanVisibilityMutex.RUnlock() 5150 argsForCall := fake.deleteServicePlanVisibilityArgsForCall[i] 5151 return argsForCall.arg1, argsForCall.arg2 5152 } 5153 5154 func (fake *FakeCloudControllerClient) DeleteServicePlanVisibilityReturns(result1 ccv3.Warnings, result2 error) { 5155 fake.deleteServicePlanVisibilityMutex.Lock() 5156 defer fake.deleteServicePlanVisibilityMutex.Unlock() 5157 fake.DeleteServicePlanVisibilityStub = nil 5158 fake.deleteServicePlanVisibilityReturns = struct { 5159 result1 ccv3.Warnings 5160 result2 error 5161 }{result1, result2} 5162 } 5163 5164 func (fake *FakeCloudControllerClient) DeleteServicePlanVisibilityReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 5165 fake.deleteServicePlanVisibilityMutex.Lock() 5166 defer fake.deleteServicePlanVisibilityMutex.Unlock() 5167 fake.DeleteServicePlanVisibilityStub = nil 5168 if fake.deleteServicePlanVisibilityReturnsOnCall == nil { 5169 fake.deleteServicePlanVisibilityReturnsOnCall = make(map[int]struct { 5170 result1 ccv3.Warnings 5171 result2 error 5172 }) 5173 } 5174 fake.deleteServicePlanVisibilityReturnsOnCall[i] = struct { 5175 result1 ccv3.Warnings 5176 result2 error 5177 }{result1, result2} 5178 } 5179 5180 func (fake *FakeCloudControllerClient) DeleteSpace(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 5181 fake.deleteSpaceMutex.Lock() 5182 ret, specificReturn := fake.deleteSpaceReturnsOnCall[len(fake.deleteSpaceArgsForCall)] 5183 fake.deleteSpaceArgsForCall = append(fake.deleteSpaceArgsForCall, struct { 5184 arg1 string 5185 }{arg1}) 5186 fake.recordInvocation("DeleteSpace", []interface{}{arg1}) 5187 fake.deleteSpaceMutex.Unlock() 5188 if fake.DeleteSpaceStub != nil { 5189 return fake.DeleteSpaceStub(arg1) 5190 } 5191 if specificReturn { 5192 return ret.result1, ret.result2, ret.result3 5193 } 5194 fakeReturns := fake.deleteSpaceReturns 5195 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5196 } 5197 5198 func (fake *FakeCloudControllerClient) DeleteSpaceCallCount() int { 5199 fake.deleteSpaceMutex.RLock() 5200 defer fake.deleteSpaceMutex.RUnlock() 5201 return len(fake.deleteSpaceArgsForCall) 5202 } 5203 5204 func (fake *FakeCloudControllerClient) DeleteSpaceCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 5205 fake.deleteSpaceMutex.Lock() 5206 defer fake.deleteSpaceMutex.Unlock() 5207 fake.DeleteSpaceStub = stub 5208 } 5209 5210 func (fake *FakeCloudControllerClient) DeleteSpaceArgsForCall(i int) string { 5211 fake.deleteSpaceMutex.RLock() 5212 defer fake.deleteSpaceMutex.RUnlock() 5213 argsForCall := fake.deleteSpaceArgsForCall[i] 5214 return argsForCall.arg1 5215 } 5216 5217 func (fake *FakeCloudControllerClient) DeleteSpaceReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5218 fake.deleteSpaceMutex.Lock() 5219 defer fake.deleteSpaceMutex.Unlock() 5220 fake.DeleteSpaceStub = nil 5221 fake.deleteSpaceReturns = struct { 5222 result1 ccv3.JobURL 5223 result2 ccv3.Warnings 5224 result3 error 5225 }{result1, result2, result3} 5226 } 5227 5228 func (fake *FakeCloudControllerClient) DeleteSpaceReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5229 fake.deleteSpaceMutex.Lock() 5230 defer fake.deleteSpaceMutex.Unlock() 5231 fake.DeleteSpaceStub = nil 5232 if fake.deleteSpaceReturnsOnCall == nil { 5233 fake.deleteSpaceReturnsOnCall = make(map[int]struct { 5234 result1 ccv3.JobURL 5235 result2 ccv3.Warnings 5236 result3 error 5237 }) 5238 } 5239 fake.deleteSpaceReturnsOnCall[i] = struct { 5240 result1 ccv3.JobURL 5241 result2 ccv3.Warnings 5242 result3 error 5243 }{result1, result2, result3} 5244 } 5245 5246 func (fake *FakeCloudControllerClient) DeleteSpaceQuota(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 5247 fake.deleteSpaceQuotaMutex.Lock() 5248 ret, specificReturn := fake.deleteSpaceQuotaReturnsOnCall[len(fake.deleteSpaceQuotaArgsForCall)] 5249 fake.deleteSpaceQuotaArgsForCall = append(fake.deleteSpaceQuotaArgsForCall, struct { 5250 arg1 string 5251 }{arg1}) 5252 fake.recordInvocation("DeleteSpaceQuota", []interface{}{arg1}) 5253 fake.deleteSpaceQuotaMutex.Unlock() 5254 if fake.DeleteSpaceQuotaStub != nil { 5255 return fake.DeleteSpaceQuotaStub(arg1) 5256 } 5257 if specificReturn { 5258 return ret.result1, ret.result2, ret.result3 5259 } 5260 fakeReturns := fake.deleteSpaceQuotaReturns 5261 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5262 } 5263 5264 func (fake *FakeCloudControllerClient) DeleteSpaceQuotaCallCount() int { 5265 fake.deleteSpaceQuotaMutex.RLock() 5266 defer fake.deleteSpaceQuotaMutex.RUnlock() 5267 return len(fake.deleteSpaceQuotaArgsForCall) 5268 } 5269 5270 func (fake *FakeCloudControllerClient) DeleteSpaceQuotaCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 5271 fake.deleteSpaceQuotaMutex.Lock() 5272 defer fake.deleteSpaceQuotaMutex.Unlock() 5273 fake.DeleteSpaceQuotaStub = stub 5274 } 5275 5276 func (fake *FakeCloudControllerClient) DeleteSpaceQuotaArgsForCall(i int) string { 5277 fake.deleteSpaceQuotaMutex.RLock() 5278 defer fake.deleteSpaceQuotaMutex.RUnlock() 5279 argsForCall := fake.deleteSpaceQuotaArgsForCall[i] 5280 return argsForCall.arg1 5281 } 5282 5283 func (fake *FakeCloudControllerClient) DeleteSpaceQuotaReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5284 fake.deleteSpaceQuotaMutex.Lock() 5285 defer fake.deleteSpaceQuotaMutex.Unlock() 5286 fake.DeleteSpaceQuotaStub = nil 5287 fake.deleteSpaceQuotaReturns = struct { 5288 result1 ccv3.JobURL 5289 result2 ccv3.Warnings 5290 result3 error 5291 }{result1, result2, result3} 5292 } 5293 5294 func (fake *FakeCloudControllerClient) DeleteSpaceQuotaReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5295 fake.deleteSpaceQuotaMutex.Lock() 5296 defer fake.deleteSpaceQuotaMutex.Unlock() 5297 fake.DeleteSpaceQuotaStub = nil 5298 if fake.deleteSpaceQuotaReturnsOnCall == nil { 5299 fake.deleteSpaceQuotaReturnsOnCall = make(map[int]struct { 5300 result1 ccv3.JobURL 5301 result2 ccv3.Warnings 5302 result3 error 5303 }) 5304 } 5305 fake.deleteSpaceQuotaReturnsOnCall[i] = struct { 5306 result1 ccv3.JobURL 5307 result2 ccv3.Warnings 5308 result3 error 5309 }{result1, result2, result3} 5310 } 5311 5312 func (fake *FakeCloudControllerClient) DeleteUser(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 5313 fake.deleteUserMutex.Lock() 5314 ret, specificReturn := fake.deleteUserReturnsOnCall[len(fake.deleteUserArgsForCall)] 5315 fake.deleteUserArgsForCall = append(fake.deleteUserArgsForCall, struct { 5316 arg1 string 5317 }{arg1}) 5318 fake.recordInvocation("DeleteUser", []interface{}{arg1}) 5319 fake.deleteUserMutex.Unlock() 5320 if fake.DeleteUserStub != nil { 5321 return fake.DeleteUserStub(arg1) 5322 } 5323 if specificReturn { 5324 return ret.result1, ret.result2, ret.result3 5325 } 5326 fakeReturns := fake.deleteUserReturns 5327 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5328 } 5329 5330 func (fake *FakeCloudControllerClient) DeleteUserCallCount() int { 5331 fake.deleteUserMutex.RLock() 5332 defer fake.deleteUserMutex.RUnlock() 5333 return len(fake.deleteUserArgsForCall) 5334 } 5335 5336 func (fake *FakeCloudControllerClient) DeleteUserCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 5337 fake.deleteUserMutex.Lock() 5338 defer fake.deleteUserMutex.Unlock() 5339 fake.DeleteUserStub = stub 5340 } 5341 5342 func (fake *FakeCloudControllerClient) DeleteUserArgsForCall(i int) string { 5343 fake.deleteUserMutex.RLock() 5344 defer fake.deleteUserMutex.RUnlock() 5345 argsForCall := fake.deleteUserArgsForCall[i] 5346 return argsForCall.arg1 5347 } 5348 5349 func (fake *FakeCloudControllerClient) DeleteUserReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5350 fake.deleteUserMutex.Lock() 5351 defer fake.deleteUserMutex.Unlock() 5352 fake.DeleteUserStub = nil 5353 fake.deleteUserReturns = struct { 5354 result1 ccv3.JobURL 5355 result2 ccv3.Warnings 5356 result3 error 5357 }{result1, result2, result3} 5358 } 5359 5360 func (fake *FakeCloudControllerClient) DeleteUserReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5361 fake.deleteUserMutex.Lock() 5362 defer fake.deleteUserMutex.Unlock() 5363 fake.DeleteUserStub = nil 5364 if fake.deleteUserReturnsOnCall == nil { 5365 fake.deleteUserReturnsOnCall = make(map[int]struct { 5366 result1 ccv3.JobURL 5367 result2 ccv3.Warnings 5368 result3 error 5369 }) 5370 } 5371 fake.deleteUserReturnsOnCall[i] = struct { 5372 result1 ccv3.JobURL 5373 result2 ccv3.Warnings 5374 result3 error 5375 }{result1, result2, result3} 5376 } 5377 5378 func (fake *FakeCloudControllerClient) DownloadDroplet(arg1 string) ([]byte, ccv3.Warnings, error) { 5379 fake.downloadDropletMutex.Lock() 5380 ret, specificReturn := fake.downloadDropletReturnsOnCall[len(fake.downloadDropletArgsForCall)] 5381 fake.downloadDropletArgsForCall = append(fake.downloadDropletArgsForCall, struct { 5382 arg1 string 5383 }{arg1}) 5384 fake.recordInvocation("DownloadDroplet", []interface{}{arg1}) 5385 fake.downloadDropletMutex.Unlock() 5386 if fake.DownloadDropletStub != nil { 5387 return fake.DownloadDropletStub(arg1) 5388 } 5389 if specificReturn { 5390 return ret.result1, ret.result2, ret.result3 5391 } 5392 fakeReturns := fake.downloadDropletReturns 5393 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5394 } 5395 5396 func (fake *FakeCloudControllerClient) DownloadDropletCallCount() int { 5397 fake.downloadDropletMutex.RLock() 5398 defer fake.downloadDropletMutex.RUnlock() 5399 return len(fake.downloadDropletArgsForCall) 5400 } 5401 5402 func (fake *FakeCloudControllerClient) DownloadDropletCalls(stub func(string) ([]byte, ccv3.Warnings, error)) { 5403 fake.downloadDropletMutex.Lock() 5404 defer fake.downloadDropletMutex.Unlock() 5405 fake.DownloadDropletStub = stub 5406 } 5407 5408 func (fake *FakeCloudControllerClient) DownloadDropletArgsForCall(i int) string { 5409 fake.downloadDropletMutex.RLock() 5410 defer fake.downloadDropletMutex.RUnlock() 5411 argsForCall := fake.downloadDropletArgsForCall[i] 5412 return argsForCall.arg1 5413 } 5414 5415 func (fake *FakeCloudControllerClient) DownloadDropletReturns(result1 []byte, result2 ccv3.Warnings, result3 error) { 5416 fake.downloadDropletMutex.Lock() 5417 defer fake.downloadDropletMutex.Unlock() 5418 fake.DownloadDropletStub = nil 5419 fake.downloadDropletReturns = struct { 5420 result1 []byte 5421 result2 ccv3.Warnings 5422 result3 error 5423 }{result1, result2, result3} 5424 } 5425 5426 func (fake *FakeCloudControllerClient) DownloadDropletReturnsOnCall(i int, result1 []byte, result2 ccv3.Warnings, result3 error) { 5427 fake.downloadDropletMutex.Lock() 5428 defer fake.downloadDropletMutex.Unlock() 5429 fake.DownloadDropletStub = nil 5430 if fake.downloadDropletReturnsOnCall == nil { 5431 fake.downloadDropletReturnsOnCall = make(map[int]struct { 5432 result1 []byte 5433 result2 ccv3.Warnings 5434 result3 error 5435 }) 5436 } 5437 fake.downloadDropletReturnsOnCall[i] = struct { 5438 result1 []byte 5439 result2 ccv3.Warnings 5440 result3 error 5441 }{result1, result2, result3} 5442 } 5443 5444 func (fake *FakeCloudControllerClient) EntitleIsolationSegmentToOrganizations(arg1 string, arg2 []string) (resources.RelationshipList, ccv3.Warnings, error) { 5445 var arg2Copy []string 5446 if arg2 != nil { 5447 arg2Copy = make([]string, len(arg2)) 5448 copy(arg2Copy, arg2) 5449 } 5450 fake.entitleIsolationSegmentToOrganizationsMutex.Lock() 5451 ret, specificReturn := fake.entitleIsolationSegmentToOrganizationsReturnsOnCall[len(fake.entitleIsolationSegmentToOrganizationsArgsForCall)] 5452 fake.entitleIsolationSegmentToOrganizationsArgsForCall = append(fake.entitleIsolationSegmentToOrganizationsArgsForCall, struct { 5453 arg1 string 5454 arg2 []string 5455 }{arg1, arg2Copy}) 5456 fake.recordInvocation("EntitleIsolationSegmentToOrganizations", []interface{}{arg1, arg2Copy}) 5457 fake.entitleIsolationSegmentToOrganizationsMutex.Unlock() 5458 if fake.EntitleIsolationSegmentToOrganizationsStub != nil { 5459 return fake.EntitleIsolationSegmentToOrganizationsStub(arg1, arg2) 5460 } 5461 if specificReturn { 5462 return ret.result1, ret.result2, ret.result3 5463 } 5464 fakeReturns := fake.entitleIsolationSegmentToOrganizationsReturns 5465 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5466 } 5467 5468 func (fake *FakeCloudControllerClient) EntitleIsolationSegmentToOrganizationsCallCount() int { 5469 fake.entitleIsolationSegmentToOrganizationsMutex.RLock() 5470 defer fake.entitleIsolationSegmentToOrganizationsMutex.RUnlock() 5471 return len(fake.entitleIsolationSegmentToOrganizationsArgsForCall) 5472 } 5473 5474 func (fake *FakeCloudControllerClient) EntitleIsolationSegmentToOrganizationsCalls(stub func(string, []string) (resources.RelationshipList, ccv3.Warnings, error)) { 5475 fake.entitleIsolationSegmentToOrganizationsMutex.Lock() 5476 defer fake.entitleIsolationSegmentToOrganizationsMutex.Unlock() 5477 fake.EntitleIsolationSegmentToOrganizationsStub = stub 5478 } 5479 5480 func (fake *FakeCloudControllerClient) EntitleIsolationSegmentToOrganizationsArgsForCall(i int) (string, []string) { 5481 fake.entitleIsolationSegmentToOrganizationsMutex.RLock() 5482 defer fake.entitleIsolationSegmentToOrganizationsMutex.RUnlock() 5483 argsForCall := fake.entitleIsolationSegmentToOrganizationsArgsForCall[i] 5484 return argsForCall.arg1, argsForCall.arg2 5485 } 5486 5487 func (fake *FakeCloudControllerClient) EntitleIsolationSegmentToOrganizationsReturns(result1 resources.RelationshipList, result2 ccv3.Warnings, result3 error) { 5488 fake.entitleIsolationSegmentToOrganizationsMutex.Lock() 5489 defer fake.entitleIsolationSegmentToOrganizationsMutex.Unlock() 5490 fake.EntitleIsolationSegmentToOrganizationsStub = nil 5491 fake.entitleIsolationSegmentToOrganizationsReturns = struct { 5492 result1 resources.RelationshipList 5493 result2 ccv3.Warnings 5494 result3 error 5495 }{result1, result2, result3} 5496 } 5497 5498 func (fake *FakeCloudControllerClient) EntitleIsolationSegmentToOrganizationsReturnsOnCall(i int, result1 resources.RelationshipList, result2 ccv3.Warnings, result3 error) { 5499 fake.entitleIsolationSegmentToOrganizationsMutex.Lock() 5500 defer fake.entitleIsolationSegmentToOrganizationsMutex.Unlock() 5501 fake.EntitleIsolationSegmentToOrganizationsStub = nil 5502 if fake.entitleIsolationSegmentToOrganizationsReturnsOnCall == nil { 5503 fake.entitleIsolationSegmentToOrganizationsReturnsOnCall = make(map[int]struct { 5504 result1 resources.RelationshipList 5505 result2 ccv3.Warnings 5506 result3 error 5507 }) 5508 } 5509 fake.entitleIsolationSegmentToOrganizationsReturnsOnCall[i] = struct { 5510 result1 resources.RelationshipList 5511 result2 ccv3.Warnings 5512 result3 error 5513 }{result1, result2, result3} 5514 } 5515 5516 func (fake *FakeCloudControllerClient) GetAppFeature(arg1 string, arg2 string) (resources.ApplicationFeature, ccv3.Warnings, error) { 5517 fake.getAppFeatureMutex.Lock() 5518 ret, specificReturn := fake.getAppFeatureReturnsOnCall[len(fake.getAppFeatureArgsForCall)] 5519 fake.getAppFeatureArgsForCall = append(fake.getAppFeatureArgsForCall, struct { 5520 arg1 string 5521 arg2 string 5522 }{arg1, arg2}) 5523 fake.recordInvocation("GetAppFeature", []interface{}{arg1, arg2}) 5524 fake.getAppFeatureMutex.Unlock() 5525 if fake.GetAppFeatureStub != nil { 5526 return fake.GetAppFeatureStub(arg1, arg2) 5527 } 5528 if specificReturn { 5529 return ret.result1, ret.result2, ret.result3 5530 } 5531 fakeReturns := fake.getAppFeatureReturns 5532 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5533 } 5534 5535 func (fake *FakeCloudControllerClient) GetAppFeatureCallCount() int { 5536 fake.getAppFeatureMutex.RLock() 5537 defer fake.getAppFeatureMutex.RUnlock() 5538 return len(fake.getAppFeatureArgsForCall) 5539 } 5540 5541 func (fake *FakeCloudControllerClient) GetAppFeatureCalls(stub func(string, string) (resources.ApplicationFeature, ccv3.Warnings, error)) { 5542 fake.getAppFeatureMutex.Lock() 5543 defer fake.getAppFeatureMutex.Unlock() 5544 fake.GetAppFeatureStub = stub 5545 } 5546 5547 func (fake *FakeCloudControllerClient) GetAppFeatureArgsForCall(i int) (string, string) { 5548 fake.getAppFeatureMutex.RLock() 5549 defer fake.getAppFeatureMutex.RUnlock() 5550 argsForCall := fake.getAppFeatureArgsForCall[i] 5551 return argsForCall.arg1, argsForCall.arg2 5552 } 5553 5554 func (fake *FakeCloudControllerClient) GetAppFeatureReturns(result1 resources.ApplicationFeature, result2 ccv3.Warnings, result3 error) { 5555 fake.getAppFeatureMutex.Lock() 5556 defer fake.getAppFeatureMutex.Unlock() 5557 fake.GetAppFeatureStub = nil 5558 fake.getAppFeatureReturns = struct { 5559 result1 resources.ApplicationFeature 5560 result2 ccv3.Warnings 5561 result3 error 5562 }{result1, result2, result3} 5563 } 5564 5565 func (fake *FakeCloudControllerClient) GetAppFeatureReturnsOnCall(i int, result1 resources.ApplicationFeature, result2 ccv3.Warnings, result3 error) { 5566 fake.getAppFeatureMutex.Lock() 5567 defer fake.getAppFeatureMutex.Unlock() 5568 fake.GetAppFeatureStub = nil 5569 if fake.getAppFeatureReturnsOnCall == nil { 5570 fake.getAppFeatureReturnsOnCall = make(map[int]struct { 5571 result1 resources.ApplicationFeature 5572 result2 ccv3.Warnings 5573 result3 error 5574 }) 5575 } 5576 fake.getAppFeatureReturnsOnCall[i] = struct { 5577 result1 resources.ApplicationFeature 5578 result2 ccv3.Warnings 5579 result3 error 5580 }{result1, result2, result3} 5581 } 5582 5583 func (fake *FakeCloudControllerClient) GetApplicationByNameAndSpace(arg1 string, arg2 string) (resources.Application, ccv3.Warnings, error) { 5584 fake.getApplicationByNameAndSpaceMutex.Lock() 5585 ret, specificReturn := fake.getApplicationByNameAndSpaceReturnsOnCall[len(fake.getApplicationByNameAndSpaceArgsForCall)] 5586 fake.getApplicationByNameAndSpaceArgsForCall = append(fake.getApplicationByNameAndSpaceArgsForCall, struct { 5587 arg1 string 5588 arg2 string 5589 }{arg1, arg2}) 5590 fake.recordInvocation("GetApplicationByNameAndSpace", []interface{}{arg1, arg2}) 5591 fake.getApplicationByNameAndSpaceMutex.Unlock() 5592 if fake.GetApplicationByNameAndSpaceStub != nil { 5593 return fake.GetApplicationByNameAndSpaceStub(arg1, arg2) 5594 } 5595 if specificReturn { 5596 return ret.result1, ret.result2, ret.result3 5597 } 5598 fakeReturns := fake.getApplicationByNameAndSpaceReturns 5599 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5600 } 5601 5602 func (fake *FakeCloudControllerClient) GetApplicationByNameAndSpaceCallCount() int { 5603 fake.getApplicationByNameAndSpaceMutex.RLock() 5604 defer fake.getApplicationByNameAndSpaceMutex.RUnlock() 5605 return len(fake.getApplicationByNameAndSpaceArgsForCall) 5606 } 5607 5608 func (fake *FakeCloudControllerClient) GetApplicationByNameAndSpaceCalls(stub func(string, string) (resources.Application, ccv3.Warnings, error)) { 5609 fake.getApplicationByNameAndSpaceMutex.Lock() 5610 defer fake.getApplicationByNameAndSpaceMutex.Unlock() 5611 fake.GetApplicationByNameAndSpaceStub = stub 5612 } 5613 5614 func (fake *FakeCloudControllerClient) GetApplicationByNameAndSpaceArgsForCall(i int) (string, string) { 5615 fake.getApplicationByNameAndSpaceMutex.RLock() 5616 defer fake.getApplicationByNameAndSpaceMutex.RUnlock() 5617 argsForCall := fake.getApplicationByNameAndSpaceArgsForCall[i] 5618 return argsForCall.arg1, argsForCall.arg2 5619 } 5620 5621 func (fake *FakeCloudControllerClient) GetApplicationByNameAndSpaceReturns(result1 resources.Application, result2 ccv3.Warnings, result3 error) { 5622 fake.getApplicationByNameAndSpaceMutex.Lock() 5623 defer fake.getApplicationByNameAndSpaceMutex.Unlock() 5624 fake.GetApplicationByNameAndSpaceStub = nil 5625 fake.getApplicationByNameAndSpaceReturns = struct { 5626 result1 resources.Application 5627 result2 ccv3.Warnings 5628 result3 error 5629 }{result1, result2, result3} 5630 } 5631 5632 func (fake *FakeCloudControllerClient) GetApplicationByNameAndSpaceReturnsOnCall(i int, result1 resources.Application, result2 ccv3.Warnings, result3 error) { 5633 fake.getApplicationByNameAndSpaceMutex.Lock() 5634 defer fake.getApplicationByNameAndSpaceMutex.Unlock() 5635 fake.GetApplicationByNameAndSpaceStub = nil 5636 if fake.getApplicationByNameAndSpaceReturnsOnCall == nil { 5637 fake.getApplicationByNameAndSpaceReturnsOnCall = make(map[int]struct { 5638 result1 resources.Application 5639 result2 ccv3.Warnings 5640 result3 error 5641 }) 5642 } 5643 fake.getApplicationByNameAndSpaceReturnsOnCall[i] = struct { 5644 result1 resources.Application 5645 result2 ccv3.Warnings 5646 result3 error 5647 }{result1, result2, result3} 5648 } 5649 5650 func (fake *FakeCloudControllerClient) GetApplicationDropletCurrent(arg1 string) (resources.Droplet, ccv3.Warnings, error) { 5651 fake.getApplicationDropletCurrentMutex.Lock() 5652 ret, specificReturn := fake.getApplicationDropletCurrentReturnsOnCall[len(fake.getApplicationDropletCurrentArgsForCall)] 5653 fake.getApplicationDropletCurrentArgsForCall = append(fake.getApplicationDropletCurrentArgsForCall, struct { 5654 arg1 string 5655 }{arg1}) 5656 fake.recordInvocation("GetApplicationDropletCurrent", []interface{}{arg1}) 5657 fake.getApplicationDropletCurrentMutex.Unlock() 5658 if fake.GetApplicationDropletCurrentStub != nil { 5659 return fake.GetApplicationDropletCurrentStub(arg1) 5660 } 5661 if specificReturn { 5662 return ret.result1, ret.result2, ret.result3 5663 } 5664 fakeReturns := fake.getApplicationDropletCurrentReturns 5665 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5666 } 5667 5668 func (fake *FakeCloudControllerClient) GetApplicationDropletCurrentCallCount() int { 5669 fake.getApplicationDropletCurrentMutex.RLock() 5670 defer fake.getApplicationDropletCurrentMutex.RUnlock() 5671 return len(fake.getApplicationDropletCurrentArgsForCall) 5672 } 5673 5674 func (fake *FakeCloudControllerClient) GetApplicationDropletCurrentCalls(stub func(string) (resources.Droplet, ccv3.Warnings, error)) { 5675 fake.getApplicationDropletCurrentMutex.Lock() 5676 defer fake.getApplicationDropletCurrentMutex.Unlock() 5677 fake.GetApplicationDropletCurrentStub = stub 5678 } 5679 5680 func (fake *FakeCloudControllerClient) GetApplicationDropletCurrentArgsForCall(i int) string { 5681 fake.getApplicationDropletCurrentMutex.RLock() 5682 defer fake.getApplicationDropletCurrentMutex.RUnlock() 5683 argsForCall := fake.getApplicationDropletCurrentArgsForCall[i] 5684 return argsForCall.arg1 5685 } 5686 5687 func (fake *FakeCloudControllerClient) GetApplicationDropletCurrentReturns(result1 resources.Droplet, result2 ccv3.Warnings, result3 error) { 5688 fake.getApplicationDropletCurrentMutex.Lock() 5689 defer fake.getApplicationDropletCurrentMutex.Unlock() 5690 fake.GetApplicationDropletCurrentStub = nil 5691 fake.getApplicationDropletCurrentReturns = struct { 5692 result1 resources.Droplet 5693 result2 ccv3.Warnings 5694 result3 error 5695 }{result1, result2, result3} 5696 } 5697 5698 func (fake *FakeCloudControllerClient) GetApplicationDropletCurrentReturnsOnCall(i int, result1 resources.Droplet, result2 ccv3.Warnings, result3 error) { 5699 fake.getApplicationDropletCurrentMutex.Lock() 5700 defer fake.getApplicationDropletCurrentMutex.Unlock() 5701 fake.GetApplicationDropletCurrentStub = nil 5702 if fake.getApplicationDropletCurrentReturnsOnCall == nil { 5703 fake.getApplicationDropletCurrentReturnsOnCall = make(map[int]struct { 5704 result1 resources.Droplet 5705 result2 ccv3.Warnings 5706 result3 error 5707 }) 5708 } 5709 fake.getApplicationDropletCurrentReturnsOnCall[i] = struct { 5710 result1 resources.Droplet 5711 result2 ccv3.Warnings 5712 result3 error 5713 }{result1, result2, result3} 5714 } 5715 5716 func (fake *FakeCloudControllerClient) GetApplicationEnvironment(arg1 string) (ccv3.Environment, ccv3.Warnings, error) { 5717 fake.getApplicationEnvironmentMutex.Lock() 5718 ret, specificReturn := fake.getApplicationEnvironmentReturnsOnCall[len(fake.getApplicationEnvironmentArgsForCall)] 5719 fake.getApplicationEnvironmentArgsForCall = append(fake.getApplicationEnvironmentArgsForCall, struct { 5720 arg1 string 5721 }{arg1}) 5722 fake.recordInvocation("GetApplicationEnvironment", []interface{}{arg1}) 5723 fake.getApplicationEnvironmentMutex.Unlock() 5724 if fake.GetApplicationEnvironmentStub != nil { 5725 return fake.GetApplicationEnvironmentStub(arg1) 5726 } 5727 if specificReturn { 5728 return ret.result1, ret.result2, ret.result3 5729 } 5730 fakeReturns := fake.getApplicationEnvironmentReturns 5731 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5732 } 5733 5734 func (fake *FakeCloudControllerClient) GetApplicationEnvironmentCallCount() int { 5735 fake.getApplicationEnvironmentMutex.RLock() 5736 defer fake.getApplicationEnvironmentMutex.RUnlock() 5737 return len(fake.getApplicationEnvironmentArgsForCall) 5738 } 5739 5740 func (fake *FakeCloudControllerClient) GetApplicationEnvironmentCalls(stub func(string) (ccv3.Environment, ccv3.Warnings, error)) { 5741 fake.getApplicationEnvironmentMutex.Lock() 5742 defer fake.getApplicationEnvironmentMutex.Unlock() 5743 fake.GetApplicationEnvironmentStub = stub 5744 } 5745 5746 func (fake *FakeCloudControllerClient) GetApplicationEnvironmentArgsForCall(i int) string { 5747 fake.getApplicationEnvironmentMutex.RLock() 5748 defer fake.getApplicationEnvironmentMutex.RUnlock() 5749 argsForCall := fake.getApplicationEnvironmentArgsForCall[i] 5750 return argsForCall.arg1 5751 } 5752 5753 func (fake *FakeCloudControllerClient) GetApplicationEnvironmentReturns(result1 ccv3.Environment, result2 ccv3.Warnings, result3 error) { 5754 fake.getApplicationEnvironmentMutex.Lock() 5755 defer fake.getApplicationEnvironmentMutex.Unlock() 5756 fake.GetApplicationEnvironmentStub = nil 5757 fake.getApplicationEnvironmentReturns = struct { 5758 result1 ccv3.Environment 5759 result2 ccv3.Warnings 5760 result3 error 5761 }{result1, result2, result3} 5762 } 5763 5764 func (fake *FakeCloudControllerClient) GetApplicationEnvironmentReturnsOnCall(i int, result1 ccv3.Environment, result2 ccv3.Warnings, result3 error) { 5765 fake.getApplicationEnvironmentMutex.Lock() 5766 defer fake.getApplicationEnvironmentMutex.Unlock() 5767 fake.GetApplicationEnvironmentStub = nil 5768 if fake.getApplicationEnvironmentReturnsOnCall == nil { 5769 fake.getApplicationEnvironmentReturnsOnCall = make(map[int]struct { 5770 result1 ccv3.Environment 5771 result2 ccv3.Warnings 5772 result3 error 5773 }) 5774 } 5775 fake.getApplicationEnvironmentReturnsOnCall[i] = struct { 5776 result1 ccv3.Environment 5777 result2 ccv3.Warnings 5778 result3 error 5779 }{result1, result2, result3} 5780 } 5781 5782 func (fake *FakeCloudControllerClient) GetApplicationManifest(arg1 string) ([]byte, ccv3.Warnings, error) { 5783 fake.getApplicationManifestMutex.Lock() 5784 ret, specificReturn := fake.getApplicationManifestReturnsOnCall[len(fake.getApplicationManifestArgsForCall)] 5785 fake.getApplicationManifestArgsForCall = append(fake.getApplicationManifestArgsForCall, struct { 5786 arg1 string 5787 }{arg1}) 5788 fake.recordInvocation("GetApplicationManifest", []interface{}{arg1}) 5789 fake.getApplicationManifestMutex.Unlock() 5790 if fake.GetApplicationManifestStub != nil { 5791 return fake.GetApplicationManifestStub(arg1) 5792 } 5793 if specificReturn { 5794 return ret.result1, ret.result2, ret.result3 5795 } 5796 fakeReturns := fake.getApplicationManifestReturns 5797 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5798 } 5799 5800 func (fake *FakeCloudControllerClient) GetApplicationManifestCallCount() int { 5801 fake.getApplicationManifestMutex.RLock() 5802 defer fake.getApplicationManifestMutex.RUnlock() 5803 return len(fake.getApplicationManifestArgsForCall) 5804 } 5805 5806 func (fake *FakeCloudControllerClient) GetApplicationManifestCalls(stub func(string) ([]byte, ccv3.Warnings, error)) { 5807 fake.getApplicationManifestMutex.Lock() 5808 defer fake.getApplicationManifestMutex.Unlock() 5809 fake.GetApplicationManifestStub = stub 5810 } 5811 5812 func (fake *FakeCloudControllerClient) GetApplicationManifestArgsForCall(i int) string { 5813 fake.getApplicationManifestMutex.RLock() 5814 defer fake.getApplicationManifestMutex.RUnlock() 5815 argsForCall := fake.getApplicationManifestArgsForCall[i] 5816 return argsForCall.arg1 5817 } 5818 5819 func (fake *FakeCloudControllerClient) GetApplicationManifestReturns(result1 []byte, result2 ccv3.Warnings, result3 error) { 5820 fake.getApplicationManifestMutex.Lock() 5821 defer fake.getApplicationManifestMutex.Unlock() 5822 fake.GetApplicationManifestStub = nil 5823 fake.getApplicationManifestReturns = struct { 5824 result1 []byte 5825 result2 ccv3.Warnings 5826 result3 error 5827 }{result1, result2, result3} 5828 } 5829 5830 func (fake *FakeCloudControllerClient) GetApplicationManifestReturnsOnCall(i int, result1 []byte, result2 ccv3.Warnings, result3 error) { 5831 fake.getApplicationManifestMutex.Lock() 5832 defer fake.getApplicationManifestMutex.Unlock() 5833 fake.GetApplicationManifestStub = nil 5834 if fake.getApplicationManifestReturnsOnCall == nil { 5835 fake.getApplicationManifestReturnsOnCall = make(map[int]struct { 5836 result1 []byte 5837 result2 ccv3.Warnings 5838 result3 error 5839 }) 5840 } 5841 fake.getApplicationManifestReturnsOnCall[i] = struct { 5842 result1 []byte 5843 result2 ccv3.Warnings 5844 result3 error 5845 }{result1, result2, result3} 5846 } 5847 5848 func (fake *FakeCloudControllerClient) GetApplicationProcessByType(arg1 string, arg2 string) (ccv3.Process, ccv3.Warnings, error) { 5849 fake.getApplicationProcessByTypeMutex.Lock() 5850 ret, specificReturn := fake.getApplicationProcessByTypeReturnsOnCall[len(fake.getApplicationProcessByTypeArgsForCall)] 5851 fake.getApplicationProcessByTypeArgsForCall = append(fake.getApplicationProcessByTypeArgsForCall, struct { 5852 arg1 string 5853 arg2 string 5854 }{arg1, arg2}) 5855 fake.recordInvocation("GetApplicationProcessByType", []interface{}{arg1, arg2}) 5856 fake.getApplicationProcessByTypeMutex.Unlock() 5857 if fake.GetApplicationProcessByTypeStub != nil { 5858 return fake.GetApplicationProcessByTypeStub(arg1, arg2) 5859 } 5860 if specificReturn { 5861 return ret.result1, ret.result2, ret.result3 5862 } 5863 fakeReturns := fake.getApplicationProcessByTypeReturns 5864 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5865 } 5866 5867 func (fake *FakeCloudControllerClient) GetApplicationProcessByTypeCallCount() int { 5868 fake.getApplicationProcessByTypeMutex.RLock() 5869 defer fake.getApplicationProcessByTypeMutex.RUnlock() 5870 return len(fake.getApplicationProcessByTypeArgsForCall) 5871 } 5872 5873 func (fake *FakeCloudControllerClient) GetApplicationProcessByTypeCalls(stub func(string, string) (ccv3.Process, ccv3.Warnings, error)) { 5874 fake.getApplicationProcessByTypeMutex.Lock() 5875 defer fake.getApplicationProcessByTypeMutex.Unlock() 5876 fake.GetApplicationProcessByTypeStub = stub 5877 } 5878 5879 func (fake *FakeCloudControllerClient) GetApplicationProcessByTypeArgsForCall(i int) (string, string) { 5880 fake.getApplicationProcessByTypeMutex.RLock() 5881 defer fake.getApplicationProcessByTypeMutex.RUnlock() 5882 argsForCall := fake.getApplicationProcessByTypeArgsForCall[i] 5883 return argsForCall.arg1, argsForCall.arg2 5884 } 5885 5886 func (fake *FakeCloudControllerClient) GetApplicationProcessByTypeReturns(result1 ccv3.Process, result2 ccv3.Warnings, result3 error) { 5887 fake.getApplicationProcessByTypeMutex.Lock() 5888 defer fake.getApplicationProcessByTypeMutex.Unlock() 5889 fake.GetApplicationProcessByTypeStub = nil 5890 fake.getApplicationProcessByTypeReturns = struct { 5891 result1 ccv3.Process 5892 result2 ccv3.Warnings 5893 result3 error 5894 }{result1, result2, result3} 5895 } 5896 5897 func (fake *FakeCloudControllerClient) GetApplicationProcessByTypeReturnsOnCall(i int, result1 ccv3.Process, result2 ccv3.Warnings, result3 error) { 5898 fake.getApplicationProcessByTypeMutex.Lock() 5899 defer fake.getApplicationProcessByTypeMutex.Unlock() 5900 fake.GetApplicationProcessByTypeStub = nil 5901 if fake.getApplicationProcessByTypeReturnsOnCall == nil { 5902 fake.getApplicationProcessByTypeReturnsOnCall = make(map[int]struct { 5903 result1 ccv3.Process 5904 result2 ccv3.Warnings 5905 result3 error 5906 }) 5907 } 5908 fake.getApplicationProcessByTypeReturnsOnCall[i] = struct { 5909 result1 ccv3.Process 5910 result2 ccv3.Warnings 5911 result3 error 5912 }{result1, result2, result3} 5913 } 5914 5915 func (fake *FakeCloudControllerClient) GetApplicationProcesses(arg1 string) ([]ccv3.Process, ccv3.Warnings, error) { 5916 fake.getApplicationProcessesMutex.Lock() 5917 ret, specificReturn := fake.getApplicationProcessesReturnsOnCall[len(fake.getApplicationProcessesArgsForCall)] 5918 fake.getApplicationProcessesArgsForCall = append(fake.getApplicationProcessesArgsForCall, struct { 5919 arg1 string 5920 }{arg1}) 5921 fake.recordInvocation("GetApplicationProcesses", []interface{}{arg1}) 5922 fake.getApplicationProcessesMutex.Unlock() 5923 if fake.GetApplicationProcessesStub != nil { 5924 return fake.GetApplicationProcessesStub(arg1) 5925 } 5926 if specificReturn { 5927 return ret.result1, ret.result2, ret.result3 5928 } 5929 fakeReturns := fake.getApplicationProcessesReturns 5930 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5931 } 5932 5933 func (fake *FakeCloudControllerClient) GetApplicationProcessesCallCount() int { 5934 fake.getApplicationProcessesMutex.RLock() 5935 defer fake.getApplicationProcessesMutex.RUnlock() 5936 return len(fake.getApplicationProcessesArgsForCall) 5937 } 5938 5939 func (fake *FakeCloudControllerClient) GetApplicationProcessesCalls(stub func(string) ([]ccv3.Process, ccv3.Warnings, error)) { 5940 fake.getApplicationProcessesMutex.Lock() 5941 defer fake.getApplicationProcessesMutex.Unlock() 5942 fake.GetApplicationProcessesStub = stub 5943 } 5944 5945 func (fake *FakeCloudControllerClient) GetApplicationProcessesArgsForCall(i int) string { 5946 fake.getApplicationProcessesMutex.RLock() 5947 defer fake.getApplicationProcessesMutex.RUnlock() 5948 argsForCall := fake.getApplicationProcessesArgsForCall[i] 5949 return argsForCall.arg1 5950 } 5951 5952 func (fake *FakeCloudControllerClient) GetApplicationProcessesReturns(result1 []ccv3.Process, result2 ccv3.Warnings, result3 error) { 5953 fake.getApplicationProcessesMutex.Lock() 5954 defer fake.getApplicationProcessesMutex.Unlock() 5955 fake.GetApplicationProcessesStub = nil 5956 fake.getApplicationProcessesReturns = struct { 5957 result1 []ccv3.Process 5958 result2 ccv3.Warnings 5959 result3 error 5960 }{result1, result2, result3} 5961 } 5962 5963 func (fake *FakeCloudControllerClient) GetApplicationProcessesReturnsOnCall(i int, result1 []ccv3.Process, result2 ccv3.Warnings, result3 error) { 5964 fake.getApplicationProcessesMutex.Lock() 5965 defer fake.getApplicationProcessesMutex.Unlock() 5966 fake.GetApplicationProcessesStub = nil 5967 if fake.getApplicationProcessesReturnsOnCall == nil { 5968 fake.getApplicationProcessesReturnsOnCall = make(map[int]struct { 5969 result1 []ccv3.Process 5970 result2 ccv3.Warnings 5971 result3 error 5972 }) 5973 } 5974 fake.getApplicationProcessesReturnsOnCall[i] = struct { 5975 result1 []ccv3.Process 5976 result2 ccv3.Warnings 5977 result3 error 5978 }{result1, result2, result3} 5979 } 5980 5981 func (fake *FakeCloudControllerClient) GetApplicationRevisions(arg1 string, arg2 ...ccv3.Query) ([]resources.Revision, ccv3.Warnings, error) { 5982 fake.getApplicationRevisionsMutex.Lock() 5983 ret, specificReturn := fake.getApplicationRevisionsReturnsOnCall[len(fake.getApplicationRevisionsArgsForCall)] 5984 fake.getApplicationRevisionsArgsForCall = append(fake.getApplicationRevisionsArgsForCall, struct { 5985 arg1 string 5986 arg2 []ccv3.Query 5987 }{arg1, arg2}) 5988 fake.recordInvocation("GetApplicationRevisions", []interface{}{arg1, arg2}) 5989 fake.getApplicationRevisionsMutex.Unlock() 5990 if fake.GetApplicationRevisionsStub != nil { 5991 return fake.GetApplicationRevisionsStub(arg1, arg2...) 5992 } 5993 if specificReturn { 5994 return ret.result1, ret.result2, ret.result3 5995 } 5996 fakeReturns := fake.getApplicationRevisionsReturns 5997 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5998 } 5999 6000 func (fake *FakeCloudControllerClient) GetApplicationRevisionsCallCount() int { 6001 fake.getApplicationRevisionsMutex.RLock() 6002 defer fake.getApplicationRevisionsMutex.RUnlock() 6003 return len(fake.getApplicationRevisionsArgsForCall) 6004 } 6005 6006 func (fake *FakeCloudControllerClient) GetApplicationRevisionsCalls(stub func(string, ...ccv3.Query) ([]resources.Revision, ccv3.Warnings, error)) { 6007 fake.getApplicationRevisionsMutex.Lock() 6008 defer fake.getApplicationRevisionsMutex.Unlock() 6009 fake.GetApplicationRevisionsStub = stub 6010 } 6011 6012 func (fake *FakeCloudControllerClient) GetApplicationRevisionsArgsForCall(i int) (string, []ccv3.Query) { 6013 fake.getApplicationRevisionsMutex.RLock() 6014 defer fake.getApplicationRevisionsMutex.RUnlock() 6015 argsForCall := fake.getApplicationRevisionsArgsForCall[i] 6016 return argsForCall.arg1, argsForCall.arg2 6017 } 6018 6019 func (fake *FakeCloudControllerClient) GetApplicationRevisionsReturns(result1 []resources.Revision, result2 ccv3.Warnings, result3 error) { 6020 fake.getApplicationRevisionsMutex.Lock() 6021 defer fake.getApplicationRevisionsMutex.Unlock() 6022 fake.GetApplicationRevisionsStub = nil 6023 fake.getApplicationRevisionsReturns = struct { 6024 result1 []resources.Revision 6025 result2 ccv3.Warnings 6026 result3 error 6027 }{result1, result2, result3} 6028 } 6029 6030 func (fake *FakeCloudControllerClient) GetApplicationRevisionsReturnsOnCall(i int, result1 []resources.Revision, result2 ccv3.Warnings, result3 error) { 6031 fake.getApplicationRevisionsMutex.Lock() 6032 defer fake.getApplicationRevisionsMutex.Unlock() 6033 fake.GetApplicationRevisionsStub = nil 6034 if fake.getApplicationRevisionsReturnsOnCall == nil { 6035 fake.getApplicationRevisionsReturnsOnCall = make(map[int]struct { 6036 result1 []resources.Revision 6037 result2 ccv3.Warnings 6038 result3 error 6039 }) 6040 } 6041 fake.getApplicationRevisionsReturnsOnCall[i] = struct { 6042 result1 []resources.Revision 6043 result2 ccv3.Warnings 6044 result3 error 6045 }{result1, result2, result3} 6046 } 6047 6048 func (fake *FakeCloudControllerClient) GetApplicationRoutes(arg1 string) ([]resources.Route, ccv3.Warnings, error) { 6049 fake.getApplicationRoutesMutex.Lock() 6050 ret, specificReturn := fake.getApplicationRoutesReturnsOnCall[len(fake.getApplicationRoutesArgsForCall)] 6051 fake.getApplicationRoutesArgsForCall = append(fake.getApplicationRoutesArgsForCall, struct { 6052 arg1 string 6053 }{arg1}) 6054 fake.recordInvocation("GetApplicationRoutes", []interface{}{arg1}) 6055 fake.getApplicationRoutesMutex.Unlock() 6056 if fake.GetApplicationRoutesStub != nil { 6057 return fake.GetApplicationRoutesStub(arg1) 6058 } 6059 if specificReturn { 6060 return ret.result1, ret.result2, ret.result3 6061 } 6062 fakeReturns := fake.getApplicationRoutesReturns 6063 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6064 } 6065 6066 func (fake *FakeCloudControllerClient) GetApplicationRoutesCallCount() int { 6067 fake.getApplicationRoutesMutex.RLock() 6068 defer fake.getApplicationRoutesMutex.RUnlock() 6069 return len(fake.getApplicationRoutesArgsForCall) 6070 } 6071 6072 func (fake *FakeCloudControllerClient) GetApplicationRoutesCalls(stub func(string) ([]resources.Route, ccv3.Warnings, error)) { 6073 fake.getApplicationRoutesMutex.Lock() 6074 defer fake.getApplicationRoutesMutex.Unlock() 6075 fake.GetApplicationRoutesStub = stub 6076 } 6077 6078 func (fake *FakeCloudControllerClient) GetApplicationRoutesArgsForCall(i int) string { 6079 fake.getApplicationRoutesMutex.RLock() 6080 defer fake.getApplicationRoutesMutex.RUnlock() 6081 argsForCall := fake.getApplicationRoutesArgsForCall[i] 6082 return argsForCall.arg1 6083 } 6084 6085 func (fake *FakeCloudControllerClient) GetApplicationRoutesReturns(result1 []resources.Route, result2 ccv3.Warnings, result3 error) { 6086 fake.getApplicationRoutesMutex.Lock() 6087 defer fake.getApplicationRoutesMutex.Unlock() 6088 fake.GetApplicationRoutesStub = nil 6089 fake.getApplicationRoutesReturns = struct { 6090 result1 []resources.Route 6091 result2 ccv3.Warnings 6092 result3 error 6093 }{result1, result2, result3} 6094 } 6095 6096 func (fake *FakeCloudControllerClient) GetApplicationRoutesReturnsOnCall(i int, result1 []resources.Route, result2 ccv3.Warnings, result3 error) { 6097 fake.getApplicationRoutesMutex.Lock() 6098 defer fake.getApplicationRoutesMutex.Unlock() 6099 fake.GetApplicationRoutesStub = nil 6100 if fake.getApplicationRoutesReturnsOnCall == nil { 6101 fake.getApplicationRoutesReturnsOnCall = make(map[int]struct { 6102 result1 []resources.Route 6103 result2 ccv3.Warnings 6104 result3 error 6105 }) 6106 } 6107 fake.getApplicationRoutesReturnsOnCall[i] = struct { 6108 result1 []resources.Route 6109 result2 ccv3.Warnings 6110 result3 error 6111 }{result1, result2, result3} 6112 } 6113 6114 func (fake *FakeCloudControllerClient) GetApplicationTasks(arg1 string, arg2 ...ccv3.Query) ([]ccv3.Task, ccv3.Warnings, error) { 6115 fake.getApplicationTasksMutex.Lock() 6116 ret, specificReturn := fake.getApplicationTasksReturnsOnCall[len(fake.getApplicationTasksArgsForCall)] 6117 fake.getApplicationTasksArgsForCall = append(fake.getApplicationTasksArgsForCall, struct { 6118 arg1 string 6119 arg2 []ccv3.Query 6120 }{arg1, arg2}) 6121 fake.recordInvocation("GetApplicationTasks", []interface{}{arg1, arg2}) 6122 fake.getApplicationTasksMutex.Unlock() 6123 if fake.GetApplicationTasksStub != nil { 6124 return fake.GetApplicationTasksStub(arg1, arg2...) 6125 } 6126 if specificReturn { 6127 return ret.result1, ret.result2, ret.result3 6128 } 6129 fakeReturns := fake.getApplicationTasksReturns 6130 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6131 } 6132 6133 func (fake *FakeCloudControllerClient) GetApplicationTasksCallCount() int { 6134 fake.getApplicationTasksMutex.RLock() 6135 defer fake.getApplicationTasksMutex.RUnlock() 6136 return len(fake.getApplicationTasksArgsForCall) 6137 } 6138 6139 func (fake *FakeCloudControllerClient) GetApplicationTasksCalls(stub func(string, ...ccv3.Query) ([]ccv3.Task, ccv3.Warnings, error)) { 6140 fake.getApplicationTasksMutex.Lock() 6141 defer fake.getApplicationTasksMutex.Unlock() 6142 fake.GetApplicationTasksStub = stub 6143 } 6144 6145 func (fake *FakeCloudControllerClient) GetApplicationTasksArgsForCall(i int) (string, []ccv3.Query) { 6146 fake.getApplicationTasksMutex.RLock() 6147 defer fake.getApplicationTasksMutex.RUnlock() 6148 argsForCall := fake.getApplicationTasksArgsForCall[i] 6149 return argsForCall.arg1, argsForCall.arg2 6150 } 6151 6152 func (fake *FakeCloudControllerClient) GetApplicationTasksReturns(result1 []ccv3.Task, result2 ccv3.Warnings, result3 error) { 6153 fake.getApplicationTasksMutex.Lock() 6154 defer fake.getApplicationTasksMutex.Unlock() 6155 fake.GetApplicationTasksStub = nil 6156 fake.getApplicationTasksReturns = struct { 6157 result1 []ccv3.Task 6158 result2 ccv3.Warnings 6159 result3 error 6160 }{result1, result2, result3} 6161 } 6162 6163 func (fake *FakeCloudControllerClient) GetApplicationTasksReturnsOnCall(i int, result1 []ccv3.Task, result2 ccv3.Warnings, result3 error) { 6164 fake.getApplicationTasksMutex.Lock() 6165 defer fake.getApplicationTasksMutex.Unlock() 6166 fake.GetApplicationTasksStub = nil 6167 if fake.getApplicationTasksReturnsOnCall == nil { 6168 fake.getApplicationTasksReturnsOnCall = make(map[int]struct { 6169 result1 []ccv3.Task 6170 result2 ccv3.Warnings 6171 result3 error 6172 }) 6173 } 6174 fake.getApplicationTasksReturnsOnCall[i] = struct { 6175 result1 []ccv3.Task 6176 result2 ccv3.Warnings 6177 result3 error 6178 }{result1, result2, result3} 6179 } 6180 6181 func (fake *FakeCloudControllerClient) GetApplications(arg1 ...ccv3.Query) ([]resources.Application, ccv3.Warnings, error) { 6182 fake.getApplicationsMutex.Lock() 6183 ret, specificReturn := fake.getApplicationsReturnsOnCall[len(fake.getApplicationsArgsForCall)] 6184 fake.getApplicationsArgsForCall = append(fake.getApplicationsArgsForCall, struct { 6185 arg1 []ccv3.Query 6186 }{arg1}) 6187 fake.recordInvocation("GetApplications", []interface{}{arg1}) 6188 fake.getApplicationsMutex.Unlock() 6189 if fake.GetApplicationsStub != nil { 6190 return fake.GetApplicationsStub(arg1...) 6191 } 6192 if specificReturn { 6193 return ret.result1, ret.result2, ret.result3 6194 } 6195 fakeReturns := fake.getApplicationsReturns 6196 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6197 } 6198 6199 func (fake *FakeCloudControllerClient) GetApplicationsCallCount() int { 6200 fake.getApplicationsMutex.RLock() 6201 defer fake.getApplicationsMutex.RUnlock() 6202 return len(fake.getApplicationsArgsForCall) 6203 } 6204 6205 func (fake *FakeCloudControllerClient) GetApplicationsCalls(stub func(...ccv3.Query) ([]resources.Application, ccv3.Warnings, error)) { 6206 fake.getApplicationsMutex.Lock() 6207 defer fake.getApplicationsMutex.Unlock() 6208 fake.GetApplicationsStub = stub 6209 } 6210 6211 func (fake *FakeCloudControllerClient) GetApplicationsArgsForCall(i int) []ccv3.Query { 6212 fake.getApplicationsMutex.RLock() 6213 defer fake.getApplicationsMutex.RUnlock() 6214 argsForCall := fake.getApplicationsArgsForCall[i] 6215 return argsForCall.arg1 6216 } 6217 6218 func (fake *FakeCloudControllerClient) GetApplicationsReturns(result1 []resources.Application, result2 ccv3.Warnings, result3 error) { 6219 fake.getApplicationsMutex.Lock() 6220 defer fake.getApplicationsMutex.Unlock() 6221 fake.GetApplicationsStub = nil 6222 fake.getApplicationsReturns = struct { 6223 result1 []resources.Application 6224 result2 ccv3.Warnings 6225 result3 error 6226 }{result1, result2, result3} 6227 } 6228 6229 func (fake *FakeCloudControllerClient) GetApplicationsReturnsOnCall(i int, result1 []resources.Application, result2 ccv3.Warnings, result3 error) { 6230 fake.getApplicationsMutex.Lock() 6231 defer fake.getApplicationsMutex.Unlock() 6232 fake.GetApplicationsStub = nil 6233 if fake.getApplicationsReturnsOnCall == nil { 6234 fake.getApplicationsReturnsOnCall = make(map[int]struct { 6235 result1 []resources.Application 6236 result2 ccv3.Warnings 6237 result3 error 6238 }) 6239 } 6240 fake.getApplicationsReturnsOnCall[i] = struct { 6241 result1 []resources.Application 6242 result2 ccv3.Warnings 6243 result3 error 6244 }{result1, result2, result3} 6245 } 6246 6247 func (fake *FakeCloudControllerClient) GetBuild(arg1 string) (ccv3.Build, ccv3.Warnings, error) { 6248 fake.getBuildMutex.Lock() 6249 ret, specificReturn := fake.getBuildReturnsOnCall[len(fake.getBuildArgsForCall)] 6250 fake.getBuildArgsForCall = append(fake.getBuildArgsForCall, struct { 6251 arg1 string 6252 }{arg1}) 6253 fake.recordInvocation("GetBuild", []interface{}{arg1}) 6254 fake.getBuildMutex.Unlock() 6255 if fake.GetBuildStub != nil { 6256 return fake.GetBuildStub(arg1) 6257 } 6258 if specificReturn { 6259 return ret.result1, ret.result2, ret.result3 6260 } 6261 fakeReturns := fake.getBuildReturns 6262 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6263 } 6264 6265 func (fake *FakeCloudControllerClient) GetBuildCallCount() int { 6266 fake.getBuildMutex.RLock() 6267 defer fake.getBuildMutex.RUnlock() 6268 return len(fake.getBuildArgsForCall) 6269 } 6270 6271 func (fake *FakeCloudControllerClient) GetBuildCalls(stub func(string) (ccv3.Build, ccv3.Warnings, error)) { 6272 fake.getBuildMutex.Lock() 6273 defer fake.getBuildMutex.Unlock() 6274 fake.GetBuildStub = stub 6275 } 6276 6277 func (fake *FakeCloudControllerClient) GetBuildArgsForCall(i int) string { 6278 fake.getBuildMutex.RLock() 6279 defer fake.getBuildMutex.RUnlock() 6280 argsForCall := fake.getBuildArgsForCall[i] 6281 return argsForCall.arg1 6282 } 6283 6284 func (fake *FakeCloudControllerClient) GetBuildReturns(result1 ccv3.Build, result2 ccv3.Warnings, result3 error) { 6285 fake.getBuildMutex.Lock() 6286 defer fake.getBuildMutex.Unlock() 6287 fake.GetBuildStub = nil 6288 fake.getBuildReturns = struct { 6289 result1 ccv3.Build 6290 result2 ccv3.Warnings 6291 result3 error 6292 }{result1, result2, result3} 6293 } 6294 6295 func (fake *FakeCloudControllerClient) GetBuildReturnsOnCall(i int, result1 ccv3.Build, result2 ccv3.Warnings, result3 error) { 6296 fake.getBuildMutex.Lock() 6297 defer fake.getBuildMutex.Unlock() 6298 fake.GetBuildStub = nil 6299 if fake.getBuildReturnsOnCall == nil { 6300 fake.getBuildReturnsOnCall = make(map[int]struct { 6301 result1 ccv3.Build 6302 result2 ccv3.Warnings 6303 result3 error 6304 }) 6305 } 6306 fake.getBuildReturnsOnCall[i] = struct { 6307 result1 ccv3.Build 6308 result2 ccv3.Warnings 6309 result3 error 6310 }{result1, result2, result3} 6311 } 6312 6313 func (fake *FakeCloudControllerClient) GetBuildpacks(arg1 ...ccv3.Query) ([]ccv3.Buildpack, ccv3.Warnings, error) { 6314 fake.getBuildpacksMutex.Lock() 6315 ret, specificReturn := fake.getBuildpacksReturnsOnCall[len(fake.getBuildpacksArgsForCall)] 6316 fake.getBuildpacksArgsForCall = append(fake.getBuildpacksArgsForCall, struct { 6317 arg1 []ccv3.Query 6318 }{arg1}) 6319 fake.recordInvocation("GetBuildpacks", []interface{}{arg1}) 6320 fake.getBuildpacksMutex.Unlock() 6321 if fake.GetBuildpacksStub != nil { 6322 return fake.GetBuildpacksStub(arg1...) 6323 } 6324 if specificReturn { 6325 return ret.result1, ret.result2, ret.result3 6326 } 6327 fakeReturns := fake.getBuildpacksReturns 6328 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6329 } 6330 6331 func (fake *FakeCloudControllerClient) GetBuildpacksCallCount() int { 6332 fake.getBuildpacksMutex.RLock() 6333 defer fake.getBuildpacksMutex.RUnlock() 6334 return len(fake.getBuildpacksArgsForCall) 6335 } 6336 6337 func (fake *FakeCloudControllerClient) GetBuildpacksCalls(stub func(...ccv3.Query) ([]ccv3.Buildpack, ccv3.Warnings, error)) { 6338 fake.getBuildpacksMutex.Lock() 6339 defer fake.getBuildpacksMutex.Unlock() 6340 fake.GetBuildpacksStub = stub 6341 } 6342 6343 func (fake *FakeCloudControllerClient) GetBuildpacksArgsForCall(i int) []ccv3.Query { 6344 fake.getBuildpacksMutex.RLock() 6345 defer fake.getBuildpacksMutex.RUnlock() 6346 argsForCall := fake.getBuildpacksArgsForCall[i] 6347 return argsForCall.arg1 6348 } 6349 6350 func (fake *FakeCloudControllerClient) GetBuildpacksReturns(result1 []ccv3.Buildpack, result2 ccv3.Warnings, result3 error) { 6351 fake.getBuildpacksMutex.Lock() 6352 defer fake.getBuildpacksMutex.Unlock() 6353 fake.GetBuildpacksStub = nil 6354 fake.getBuildpacksReturns = struct { 6355 result1 []ccv3.Buildpack 6356 result2 ccv3.Warnings 6357 result3 error 6358 }{result1, result2, result3} 6359 } 6360 6361 func (fake *FakeCloudControllerClient) GetBuildpacksReturnsOnCall(i int, result1 []ccv3.Buildpack, result2 ccv3.Warnings, result3 error) { 6362 fake.getBuildpacksMutex.Lock() 6363 defer fake.getBuildpacksMutex.Unlock() 6364 fake.GetBuildpacksStub = nil 6365 if fake.getBuildpacksReturnsOnCall == nil { 6366 fake.getBuildpacksReturnsOnCall = make(map[int]struct { 6367 result1 []ccv3.Buildpack 6368 result2 ccv3.Warnings 6369 result3 error 6370 }) 6371 } 6372 fake.getBuildpacksReturnsOnCall[i] = struct { 6373 result1 []ccv3.Buildpack 6374 result2 ccv3.Warnings 6375 result3 error 6376 }{result1, result2, result3} 6377 } 6378 6379 func (fake *FakeCloudControllerClient) GetDefaultDomain(arg1 string) (resources.Domain, ccv3.Warnings, error) { 6380 fake.getDefaultDomainMutex.Lock() 6381 ret, specificReturn := fake.getDefaultDomainReturnsOnCall[len(fake.getDefaultDomainArgsForCall)] 6382 fake.getDefaultDomainArgsForCall = append(fake.getDefaultDomainArgsForCall, struct { 6383 arg1 string 6384 }{arg1}) 6385 fake.recordInvocation("GetDefaultDomain", []interface{}{arg1}) 6386 fake.getDefaultDomainMutex.Unlock() 6387 if fake.GetDefaultDomainStub != nil { 6388 return fake.GetDefaultDomainStub(arg1) 6389 } 6390 if specificReturn { 6391 return ret.result1, ret.result2, ret.result3 6392 } 6393 fakeReturns := fake.getDefaultDomainReturns 6394 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6395 } 6396 6397 func (fake *FakeCloudControllerClient) GetDefaultDomainCallCount() int { 6398 fake.getDefaultDomainMutex.RLock() 6399 defer fake.getDefaultDomainMutex.RUnlock() 6400 return len(fake.getDefaultDomainArgsForCall) 6401 } 6402 6403 func (fake *FakeCloudControllerClient) GetDefaultDomainCalls(stub func(string) (resources.Domain, ccv3.Warnings, error)) { 6404 fake.getDefaultDomainMutex.Lock() 6405 defer fake.getDefaultDomainMutex.Unlock() 6406 fake.GetDefaultDomainStub = stub 6407 } 6408 6409 func (fake *FakeCloudControllerClient) GetDefaultDomainArgsForCall(i int) string { 6410 fake.getDefaultDomainMutex.RLock() 6411 defer fake.getDefaultDomainMutex.RUnlock() 6412 argsForCall := fake.getDefaultDomainArgsForCall[i] 6413 return argsForCall.arg1 6414 } 6415 6416 func (fake *FakeCloudControllerClient) GetDefaultDomainReturns(result1 resources.Domain, result2 ccv3.Warnings, result3 error) { 6417 fake.getDefaultDomainMutex.Lock() 6418 defer fake.getDefaultDomainMutex.Unlock() 6419 fake.GetDefaultDomainStub = nil 6420 fake.getDefaultDomainReturns = struct { 6421 result1 resources.Domain 6422 result2 ccv3.Warnings 6423 result3 error 6424 }{result1, result2, result3} 6425 } 6426 6427 func (fake *FakeCloudControllerClient) GetDefaultDomainReturnsOnCall(i int, result1 resources.Domain, result2 ccv3.Warnings, result3 error) { 6428 fake.getDefaultDomainMutex.Lock() 6429 defer fake.getDefaultDomainMutex.Unlock() 6430 fake.GetDefaultDomainStub = nil 6431 if fake.getDefaultDomainReturnsOnCall == nil { 6432 fake.getDefaultDomainReturnsOnCall = make(map[int]struct { 6433 result1 resources.Domain 6434 result2 ccv3.Warnings 6435 result3 error 6436 }) 6437 } 6438 fake.getDefaultDomainReturnsOnCall[i] = struct { 6439 result1 resources.Domain 6440 result2 ccv3.Warnings 6441 result3 error 6442 }{result1, result2, result3} 6443 } 6444 6445 func (fake *FakeCloudControllerClient) GetDeployment(arg1 string) (ccv3.Deployment, ccv3.Warnings, error) { 6446 fake.getDeploymentMutex.Lock() 6447 ret, specificReturn := fake.getDeploymentReturnsOnCall[len(fake.getDeploymentArgsForCall)] 6448 fake.getDeploymentArgsForCall = append(fake.getDeploymentArgsForCall, struct { 6449 arg1 string 6450 }{arg1}) 6451 fake.recordInvocation("GetDeployment", []interface{}{arg1}) 6452 fake.getDeploymentMutex.Unlock() 6453 if fake.GetDeploymentStub != nil { 6454 return fake.GetDeploymentStub(arg1) 6455 } 6456 if specificReturn { 6457 return ret.result1, ret.result2, ret.result3 6458 } 6459 fakeReturns := fake.getDeploymentReturns 6460 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6461 } 6462 6463 func (fake *FakeCloudControllerClient) GetDeploymentCallCount() int { 6464 fake.getDeploymentMutex.RLock() 6465 defer fake.getDeploymentMutex.RUnlock() 6466 return len(fake.getDeploymentArgsForCall) 6467 } 6468 6469 func (fake *FakeCloudControllerClient) GetDeploymentCalls(stub func(string) (ccv3.Deployment, ccv3.Warnings, error)) { 6470 fake.getDeploymentMutex.Lock() 6471 defer fake.getDeploymentMutex.Unlock() 6472 fake.GetDeploymentStub = stub 6473 } 6474 6475 func (fake *FakeCloudControllerClient) GetDeploymentArgsForCall(i int) string { 6476 fake.getDeploymentMutex.RLock() 6477 defer fake.getDeploymentMutex.RUnlock() 6478 argsForCall := fake.getDeploymentArgsForCall[i] 6479 return argsForCall.arg1 6480 } 6481 6482 func (fake *FakeCloudControllerClient) GetDeploymentReturns(result1 ccv3.Deployment, result2 ccv3.Warnings, result3 error) { 6483 fake.getDeploymentMutex.Lock() 6484 defer fake.getDeploymentMutex.Unlock() 6485 fake.GetDeploymentStub = nil 6486 fake.getDeploymentReturns = struct { 6487 result1 ccv3.Deployment 6488 result2 ccv3.Warnings 6489 result3 error 6490 }{result1, result2, result3} 6491 } 6492 6493 func (fake *FakeCloudControllerClient) GetDeploymentReturnsOnCall(i int, result1 ccv3.Deployment, result2 ccv3.Warnings, result3 error) { 6494 fake.getDeploymentMutex.Lock() 6495 defer fake.getDeploymentMutex.Unlock() 6496 fake.GetDeploymentStub = nil 6497 if fake.getDeploymentReturnsOnCall == nil { 6498 fake.getDeploymentReturnsOnCall = make(map[int]struct { 6499 result1 ccv3.Deployment 6500 result2 ccv3.Warnings 6501 result3 error 6502 }) 6503 } 6504 fake.getDeploymentReturnsOnCall[i] = struct { 6505 result1 ccv3.Deployment 6506 result2 ccv3.Warnings 6507 result3 error 6508 }{result1, result2, result3} 6509 } 6510 6511 func (fake *FakeCloudControllerClient) GetDeployments(arg1 ...ccv3.Query) ([]ccv3.Deployment, ccv3.Warnings, error) { 6512 fake.getDeploymentsMutex.Lock() 6513 ret, specificReturn := fake.getDeploymentsReturnsOnCall[len(fake.getDeploymentsArgsForCall)] 6514 fake.getDeploymentsArgsForCall = append(fake.getDeploymentsArgsForCall, struct { 6515 arg1 []ccv3.Query 6516 }{arg1}) 6517 fake.recordInvocation("GetDeployments", []interface{}{arg1}) 6518 fake.getDeploymentsMutex.Unlock() 6519 if fake.GetDeploymentsStub != nil { 6520 return fake.GetDeploymentsStub(arg1...) 6521 } 6522 if specificReturn { 6523 return ret.result1, ret.result2, ret.result3 6524 } 6525 fakeReturns := fake.getDeploymentsReturns 6526 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6527 } 6528 6529 func (fake *FakeCloudControllerClient) GetDeploymentsCallCount() int { 6530 fake.getDeploymentsMutex.RLock() 6531 defer fake.getDeploymentsMutex.RUnlock() 6532 return len(fake.getDeploymentsArgsForCall) 6533 } 6534 6535 func (fake *FakeCloudControllerClient) GetDeploymentsCalls(stub func(...ccv3.Query) ([]ccv3.Deployment, ccv3.Warnings, error)) { 6536 fake.getDeploymentsMutex.Lock() 6537 defer fake.getDeploymentsMutex.Unlock() 6538 fake.GetDeploymentsStub = stub 6539 } 6540 6541 func (fake *FakeCloudControllerClient) GetDeploymentsArgsForCall(i int) []ccv3.Query { 6542 fake.getDeploymentsMutex.RLock() 6543 defer fake.getDeploymentsMutex.RUnlock() 6544 argsForCall := fake.getDeploymentsArgsForCall[i] 6545 return argsForCall.arg1 6546 } 6547 6548 func (fake *FakeCloudControllerClient) GetDeploymentsReturns(result1 []ccv3.Deployment, result2 ccv3.Warnings, result3 error) { 6549 fake.getDeploymentsMutex.Lock() 6550 defer fake.getDeploymentsMutex.Unlock() 6551 fake.GetDeploymentsStub = nil 6552 fake.getDeploymentsReturns = struct { 6553 result1 []ccv3.Deployment 6554 result2 ccv3.Warnings 6555 result3 error 6556 }{result1, result2, result3} 6557 } 6558 6559 func (fake *FakeCloudControllerClient) GetDeploymentsReturnsOnCall(i int, result1 []ccv3.Deployment, result2 ccv3.Warnings, result3 error) { 6560 fake.getDeploymentsMutex.Lock() 6561 defer fake.getDeploymentsMutex.Unlock() 6562 fake.GetDeploymentsStub = nil 6563 if fake.getDeploymentsReturnsOnCall == nil { 6564 fake.getDeploymentsReturnsOnCall = make(map[int]struct { 6565 result1 []ccv3.Deployment 6566 result2 ccv3.Warnings 6567 result3 error 6568 }) 6569 } 6570 fake.getDeploymentsReturnsOnCall[i] = struct { 6571 result1 []ccv3.Deployment 6572 result2 ccv3.Warnings 6573 result3 error 6574 }{result1, result2, result3} 6575 } 6576 6577 func (fake *FakeCloudControllerClient) GetDomain(arg1 string) (resources.Domain, ccv3.Warnings, error) { 6578 fake.getDomainMutex.Lock() 6579 ret, specificReturn := fake.getDomainReturnsOnCall[len(fake.getDomainArgsForCall)] 6580 fake.getDomainArgsForCall = append(fake.getDomainArgsForCall, struct { 6581 arg1 string 6582 }{arg1}) 6583 fake.recordInvocation("GetDomain", []interface{}{arg1}) 6584 fake.getDomainMutex.Unlock() 6585 if fake.GetDomainStub != nil { 6586 return fake.GetDomainStub(arg1) 6587 } 6588 if specificReturn { 6589 return ret.result1, ret.result2, ret.result3 6590 } 6591 fakeReturns := fake.getDomainReturns 6592 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6593 } 6594 6595 func (fake *FakeCloudControllerClient) GetDomainCallCount() int { 6596 fake.getDomainMutex.RLock() 6597 defer fake.getDomainMutex.RUnlock() 6598 return len(fake.getDomainArgsForCall) 6599 } 6600 6601 func (fake *FakeCloudControllerClient) GetDomainCalls(stub func(string) (resources.Domain, ccv3.Warnings, error)) { 6602 fake.getDomainMutex.Lock() 6603 defer fake.getDomainMutex.Unlock() 6604 fake.GetDomainStub = stub 6605 } 6606 6607 func (fake *FakeCloudControllerClient) GetDomainArgsForCall(i int) string { 6608 fake.getDomainMutex.RLock() 6609 defer fake.getDomainMutex.RUnlock() 6610 argsForCall := fake.getDomainArgsForCall[i] 6611 return argsForCall.arg1 6612 } 6613 6614 func (fake *FakeCloudControllerClient) GetDomainReturns(result1 resources.Domain, result2 ccv3.Warnings, result3 error) { 6615 fake.getDomainMutex.Lock() 6616 defer fake.getDomainMutex.Unlock() 6617 fake.GetDomainStub = nil 6618 fake.getDomainReturns = struct { 6619 result1 resources.Domain 6620 result2 ccv3.Warnings 6621 result3 error 6622 }{result1, result2, result3} 6623 } 6624 6625 func (fake *FakeCloudControllerClient) GetDomainReturnsOnCall(i int, result1 resources.Domain, result2 ccv3.Warnings, result3 error) { 6626 fake.getDomainMutex.Lock() 6627 defer fake.getDomainMutex.Unlock() 6628 fake.GetDomainStub = nil 6629 if fake.getDomainReturnsOnCall == nil { 6630 fake.getDomainReturnsOnCall = make(map[int]struct { 6631 result1 resources.Domain 6632 result2 ccv3.Warnings 6633 result3 error 6634 }) 6635 } 6636 fake.getDomainReturnsOnCall[i] = struct { 6637 result1 resources.Domain 6638 result2 ccv3.Warnings 6639 result3 error 6640 }{result1, result2, result3} 6641 } 6642 6643 func (fake *FakeCloudControllerClient) GetDomains(arg1 ...ccv3.Query) ([]resources.Domain, ccv3.Warnings, error) { 6644 fake.getDomainsMutex.Lock() 6645 ret, specificReturn := fake.getDomainsReturnsOnCall[len(fake.getDomainsArgsForCall)] 6646 fake.getDomainsArgsForCall = append(fake.getDomainsArgsForCall, struct { 6647 arg1 []ccv3.Query 6648 }{arg1}) 6649 fake.recordInvocation("GetDomains", []interface{}{arg1}) 6650 fake.getDomainsMutex.Unlock() 6651 if fake.GetDomainsStub != nil { 6652 return fake.GetDomainsStub(arg1...) 6653 } 6654 if specificReturn { 6655 return ret.result1, ret.result2, ret.result3 6656 } 6657 fakeReturns := fake.getDomainsReturns 6658 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6659 } 6660 6661 func (fake *FakeCloudControllerClient) GetDomainsCallCount() int { 6662 fake.getDomainsMutex.RLock() 6663 defer fake.getDomainsMutex.RUnlock() 6664 return len(fake.getDomainsArgsForCall) 6665 } 6666 6667 func (fake *FakeCloudControllerClient) GetDomainsCalls(stub func(...ccv3.Query) ([]resources.Domain, ccv3.Warnings, error)) { 6668 fake.getDomainsMutex.Lock() 6669 defer fake.getDomainsMutex.Unlock() 6670 fake.GetDomainsStub = stub 6671 } 6672 6673 func (fake *FakeCloudControllerClient) GetDomainsArgsForCall(i int) []ccv3.Query { 6674 fake.getDomainsMutex.RLock() 6675 defer fake.getDomainsMutex.RUnlock() 6676 argsForCall := fake.getDomainsArgsForCall[i] 6677 return argsForCall.arg1 6678 } 6679 6680 func (fake *FakeCloudControllerClient) GetDomainsReturns(result1 []resources.Domain, result2 ccv3.Warnings, result3 error) { 6681 fake.getDomainsMutex.Lock() 6682 defer fake.getDomainsMutex.Unlock() 6683 fake.GetDomainsStub = nil 6684 fake.getDomainsReturns = struct { 6685 result1 []resources.Domain 6686 result2 ccv3.Warnings 6687 result3 error 6688 }{result1, result2, result3} 6689 } 6690 6691 func (fake *FakeCloudControllerClient) GetDomainsReturnsOnCall(i int, result1 []resources.Domain, result2 ccv3.Warnings, result3 error) { 6692 fake.getDomainsMutex.Lock() 6693 defer fake.getDomainsMutex.Unlock() 6694 fake.GetDomainsStub = nil 6695 if fake.getDomainsReturnsOnCall == nil { 6696 fake.getDomainsReturnsOnCall = make(map[int]struct { 6697 result1 []resources.Domain 6698 result2 ccv3.Warnings 6699 result3 error 6700 }) 6701 } 6702 fake.getDomainsReturnsOnCall[i] = struct { 6703 result1 []resources.Domain 6704 result2 ccv3.Warnings 6705 result3 error 6706 }{result1, result2, result3} 6707 } 6708 6709 func (fake *FakeCloudControllerClient) GetDroplet(arg1 string) (resources.Droplet, ccv3.Warnings, error) { 6710 fake.getDropletMutex.Lock() 6711 ret, specificReturn := fake.getDropletReturnsOnCall[len(fake.getDropletArgsForCall)] 6712 fake.getDropletArgsForCall = append(fake.getDropletArgsForCall, struct { 6713 arg1 string 6714 }{arg1}) 6715 fake.recordInvocation("GetDroplet", []interface{}{arg1}) 6716 fake.getDropletMutex.Unlock() 6717 if fake.GetDropletStub != nil { 6718 return fake.GetDropletStub(arg1) 6719 } 6720 if specificReturn { 6721 return ret.result1, ret.result2, ret.result3 6722 } 6723 fakeReturns := fake.getDropletReturns 6724 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6725 } 6726 6727 func (fake *FakeCloudControllerClient) GetDropletCallCount() int { 6728 fake.getDropletMutex.RLock() 6729 defer fake.getDropletMutex.RUnlock() 6730 return len(fake.getDropletArgsForCall) 6731 } 6732 6733 func (fake *FakeCloudControllerClient) GetDropletCalls(stub func(string) (resources.Droplet, ccv3.Warnings, error)) { 6734 fake.getDropletMutex.Lock() 6735 defer fake.getDropletMutex.Unlock() 6736 fake.GetDropletStub = stub 6737 } 6738 6739 func (fake *FakeCloudControllerClient) GetDropletArgsForCall(i int) string { 6740 fake.getDropletMutex.RLock() 6741 defer fake.getDropletMutex.RUnlock() 6742 argsForCall := fake.getDropletArgsForCall[i] 6743 return argsForCall.arg1 6744 } 6745 6746 func (fake *FakeCloudControllerClient) GetDropletReturns(result1 resources.Droplet, result2 ccv3.Warnings, result3 error) { 6747 fake.getDropletMutex.Lock() 6748 defer fake.getDropletMutex.Unlock() 6749 fake.GetDropletStub = nil 6750 fake.getDropletReturns = struct { 6751 result1 resources.Droplet 6752 result2 ccv3.Warnings 6753 result3 error 6754 }{result1, result2, result3} 6755 } 6756 6757 func (fake *FakeCloudControllerClient) GetDropletReturnsOnCall(i int, result1 resources.Droplet, result2 ccv3.Warnings, result3 error) { 6758 fake.getDropletMutex.Lock() 6759 defer fake.getDropletMutex.Unlock() 6760 fake.GetDropletStub = nil 6761 if fake.getDropletReturnsOnCall == nil { 6762 fake.getDropletReturnsOnCall = make(map[int]struct { 6763 result1 resources.Droplet 6764 result2 ccv3.Warnings 6765 result3 error 6766 }) 6767 } 6768 fake.getDropletReturnsOnCall[i] = struct { 6769 result1 resources.Droplet 6770 result2 ccv3.Warnings 6771 result3 error 6772 }{result1, result2, result3} 6773 } 6774 6775 func (fake *FakeCloudControllerClient) GetDroplets(arg1 ...ccv3.Query) ([]resources.Droplet, ccv3.Warnings, error) { 6776 fake.getDropletsMutex.Lock() 6777 ret, specificReturn := fake.getDropletsReturnsOnCall[len(fake.getDropletsArgsForCall)] 6778 fake.getDropletsArgsForCall = append(fake.getDropletsArgsForCall, struct { 6779 arg1 []ccv3.Query 6780 }{arg1}) 6781 fake.recordInvocation("GetDroplets", []interface{}{arg1}) 6782 fake.getDropletsMutex.Unlock() 6783 if fake.GetDropletsStub != nil { 6784 return fake.GetDropletsStub(arg1...) 6785 } 6786 if specificReturn { 6787 return ret.result1, ret.result2, ret.result3 6788 } 6789 fakeReturns := fake.getDropletsReturns 6790 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6791 } 6792 6793 func (fake *FakeCloudControllerClient) GetDropletsCallCount() int { 6794 fake.getDropletsMutex.RLock() 6795 defer fake.getDropletsMutex.RUnlock() 6796 return len(fake.getDropletsArgsForCall) 6797 } 6798 6799 func (fake *FakeCloudControllerClient) GetDropletsCalls(stub func(...ccv3.Query) ([]resources.Droplet, ccv3.Warnings, error)) { 6800 fake.getDropletsMutex.Lock() 6801 defer fake.getDropletsMutex.Unlock() 6802 fake.GetDropletsStub = stub 6803 } 6804 6805 func (fake *FakeCloudControllerClient) GetDropletsArgsForCall(i int) []ccv3.Query { 6806 fake.getDropletsMutex.RLock() 6807 defer fake.getDropletsMutex.RUnlock() 6808 argsForCall := fake.getDropletsArgsForCall[i] 6809 return argsForCall.arg1 6810 } 6811 6812 func (fake *FakeCloudControllerClient) GetDropletsReturns(result1 []resources.Droplet, result2 ccv3.Warnings, result3 error) { 6813 fake.getDropletsMutex.Lock() 6814 defer fake.getDropletsMutex.Unlock() 6815 fake.GetDropletsStub = nil 6816 fake.getDropletsReturns = struct { 6817 result1 []resources.Droplet 6818 result2 ccv3.Warnings 6819 result3 error 6820 }{result1, result2, result3} 6821 } 6822 6823 func (fake *FakeCloudControllerClient) GetDropletsReturnsOnCall(i int, result1 []resources.Droplet, result2 ccv3.Warnings, result3 error) { 6824 fake.getDropletsMutex.Lock() 6825 defer fake.getDropletsMutex.Unlock() 6826 fake.GetDropletsStub = nil 6827 if fake.getDropletsReturnsOnCall == nil { 6828 fake.getDropletsReturnsOnCall = make(map[int]struct { 6829 result1 []resources.Droplet 6830 result2 ccv3.Warnings 6831 result3 error 6832 }) 6833 } 6834 fake.getDropletsReturnsOnCall[i] = struct { 6835 result1 []resources.Droplet 6836 result2 ccv3.Warnings 6837 result3 error 6838 }{result1, result2, result3} 6839 } 6840 6841 func (fake *FakeCloudControllerClient) GetEnvironmentVariableGroup(arg1 constant.EnvironmentVariableGroupName) (ccv3.EnvironmentVariables, ccv3.Warnings, error) { 6842 fake.getEnvironmentVariableGroupMutex.Lock() 6843 ret, specificReturn := fake.getEnvironmentVariableGroupReturnsOnCall[len(fake.getEnvironmentVariableGroupArgsForCall)] 6844 fake.getEnvironmentVariableGroupArgsForCall = append(fake.getEnvironmentVariableGroupArgsForCall, struct { 6845 arg1 constant.EnvironmentVariableGroupName 6846 }{arg1}) 6847 fake.recordInvocation("GetEnvironmentVariableGroup", []interface{}{arg1}) 6848 fake.getEnvironmentVariableGroupMutex.Unlock() 6849 if fake.GetEnvironmentVariableGroupStub != nil { 6850 return fake.GetEnvironmentVariableGroupStub(arg1) 6851 } 6852 if specificReturn { 6853 return ret.result1, ret.result2, ret.result3 6854 } 6855 fakeReturns := fake.getEnvironmentVariableGroupReturns 6856 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6857 } 6858 6859 func (fake *FakeCloudControllerClient) GetEnvironmentVariableGroupCallCount() int { 6860 fake.getEnvironmentVariableGroupMutex.RLock() 6861 defer fake.getEnvironmentVariableGroupMutex.RUnlock() 6862 return len(fake.getEnvironmentVariableGroupArgsForCall) 6863 } 6864 6865 func (fake *FakeCloudControllerClient) GetEnvironmentVariableGroupCalls(stub func(constant.EnvironmentVariableGroupName) (ccv3.EnvironmentVariables, ccv3.Warnings, error)) { 6866 fake.getEnvironmentVariableGroupMutex.Lock() 6867 defer fake.getEnvironmentVariableGroupMutex.Unlock() 6868 fake.GetEnvironmentVariableGroupStub = stub 6869 } 6870 6871 func (fake *FakeCloudControllerClient) GetEnvironmentVariableGroupArgsForCall(i int) constant.EnvironmentVariableGroupName { 6872 fake.getEnvironmentVariableGroupMutex.RLock() 6873 defer fake.getEnvironmentVariableGroupMutex.RUnlock() 6874 argsForCall := fake.getEnvironmentVariableGroupArgsForCall[i] 6875 return argsForCall.arg1 6876 } 6877 6878 func (fake *FakeCloudControllerClient) GetEnvironmentVariableGroupReturns(result1 ccv3.EnvironmentVariables, result2 ccv3.Warnings, result3 error) { 6879 fake.getEnvironmentVariableGroupMutex.Lock() 6880 defer fake.getEnvironmentVariableGroupMutex.Unlock() 6881 fake.GetEnvironmentVariableGroupStub = nil 6882 fake.getEnvironmentVariableGroupReturns = struct { 6883 result1 ccv3.EnvironmentVariables 6884 result2 ccv3.Warnings 6885 result3 error 6886 }{result1, result2, result3} 6887 } 6888 6889 func (fake *FakeCloudControllerClient) GetEnvironmentVariableGroupReturnsOnCall(i int, result1 ccv3.EnvironmentVariables, result2 ccv3.Warnings, result3 error) { 6890 fake.getEnvironmentVariableGroupMutex.Lock() 6891 defer fake.getEnvironmentVariableGroupMutex.Unlock() 6892 fake.GetEnvironmentVariableGroupStub = nil 6893 if fake.getEnvironmentVariableGroupReturnsOnCall == nil { 6894 fake.getEnvironmentVariableGroupReturnsOnCall = make(map[int]struct { 6895 result1 ccv3.EnvironmentVariables 6896 result2 ccv3.Warnings 6897 result3 error 6898 }) 6899 } 6900 fake.getEnvironmentVariableGroupReturnsOnCall[i] = struct { 6901 result1 ccv3.EnvironmentVariables 6902 result2 ccv3.Warnings 6903 result3 error 6904 }{result1, result2, result3} 6905 } 6906 6907 func (fake *FakeCloudControllerClient) GetEvents(arg1 ...ccv3.Query) ([]ccv3.Event, ccv3.Warnings, error) { 6908 fake.getEventsMutex.Lock() 6909 ret, specificReturn := fake.getEventsReturnsOnCall[len(fake.getEventsArgsForCall)] 6910 fake.getEventsArgsForCall = append(fake.getEventsArgsForCall, struct { 6911 arg1 []ccv3.Query 6912 }{arg1}) 6913 fake.recordInvocation("GetEvents", []interface{}{arg1}) 6914 fake.getEventsMutex.Unlock() 6915 if fake.GetEventsStub != nil { 6916 return fake.GetEventsStub(arg1...) 6917 } 6918 if specificReturn { 6919 return ret.result1, ret.result2, ret.result3 6920 } 6921 fakeReturns := fake.getEventsReturns 6922 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6923 } 6924 6925 func (fake *FakeCloudControllerClient) GetEventsCallCount() int { 6926 fake.getEventsMutex.RLock() 6927 defer fake.getEventsMutex.RUnlock() 6928 return len(fake.getEventsArgsForCall) 6929 } 6930 6931 func (fake *FakeCloudControllerClient) GetEventsCalls(stub func(...ccv3.Query) ([]ccv3.Event, ccv3.Warnings, error)) { 6932 fake.getEventsMutex.Lock() 6933 defer fake.getEventsMutex.Unlock() 6934 fake.GetEventsStub = stub 6935 } 6936 6937 func (fake *FakeCloudControllerClient) GetEventsArgsForCall(i int) []ccv3.Query { 6938 fake.getEventsMutex.RLock() 6939 defer fake.getEventsMutex.RUnlock() 6940 argsForCall := fake.getEventsArgsForCall[i] 6941 return argsForCall.arg1 6942 } 6943 6944 func (fake *FakeCloudControllerClient) GetEventsReturns(result1 []ccv3.Event, result2 ccv3.Warnings, result3 error) { 6945 fake.getEventsMutex.Lock() 6946 defer fake.getEventsMutex.Unlock() 6947 fake.GetEventsStub = nil 6948 fake.getEventsReturns = struct { 6949 result1 []ccv3.Event 6950 result2 ccv3.Warnings 6951 result3 error 6952 }{result1, result2, result3} 6953 } 6954 6955 func (fake *FakeCloudControllerClient) GetEventsReturnsOnCall(i int, result1 []ccv3.Event, result2 ccv3.Warnings, result3 error) { 6956 fake.getEventsMutex.Lock() 6957 defer fake.getEventsMutex.Unlock() 6958 fake.GetEventsStub = nil 6959 if fake.getEventsReturnsOnCall == nil { 6960 fake.getEventsReturnsOnCall = make(map[int]struct { 6961 result1 []ccv3.Event 6962 result2 ccv3.Warnings 6963 result3 error 6964 }) 6965 } 6966 fake.getEventsReturnsOnCall[i] = struct { 6967 result1 []ccv3.Event 6968 result2 ccv3.Warnings 6969 result3 error 6970 }{result1, result2, result3} 6971 } 6972 6973 func (fake *FakeCloudControllerClient) GetFeatureFlag(arg1 string) (ccv3.FeatureFlag, ccv3.Warnings, error) { 6974 fake.getFeatureFlagMutex.Lock() 6975 ret, specificReturn := fake.getFeatureFlagReturnsOnCall[len(fake.getFeatureFlagArgsForCall)] 6976 fake.getFeatureFlagArgsForCall = append(fake.getFeatureFlagArgsForCall, struct { 6977 arg1 string 6978 }{arg1}) 6979 fake.recordInvocation("GetFeatureFlag", []interface{}{arg1}) 6980 fake.getFeatureFlagMutex.Unlock() 6981 if fake.GetFeatureFlagStub != nil { 6982 return fake.GetFeatureFlagStub(arg1) 6983 } 6984 if specificReturn { 6985 return ret.result1, ret.result2, ret.result3 6986 } 6987 fakeReturns := fake.getFeatureFlagReturns 6988 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6989 } 6990 6991 func (fake *FakeCloudControllerClient) GetFeatureFlagCallCount() int { 6992 fake.getFeatureFlagMutex.RLock() 6993 defer fake.getFeatureFlagMutex.RUnlock() 6994 return len(fake.getFeatureFlagArgsForCall) 6995 } 6996 6997 func (fake *FakeCloudControllerClient) GetFeatureFlagCalls(stub func(string) (ccv3.FeatureFlag, ccv3.Warnings, error)) { 6998 fake.getFeatureFlagMutex.Lock() 6999 defer fake.getFeatureFlagMutex.Unlock() 7000 fake.GetFeatureFlagStub = stub 7001 } 7002 7003 func (fake *FakeCloudControllerClient) GetFeatureFlagArgsForCall(i int) string { 7004 fake.getFeatureFlagMutex.RLock() 7005 defer fake.getFeatureFlagMutex.RUnlock() 7006 argsForCall := fake.getFeatureFlagArgsForCall[i] 7007 return argsForCall.arg1 7008 } 7009 7010 func (fake *FakeCloudControllerClient) GetFeatureFlagReturns(result1 ccv3.FeatureFlag, result2 ccv3.Warnings, result3 error) { 7011 fake.getFeatureFlagMutex.Lock() 7012 defer fake.getFeatureFlagMutex.Unlock() 7013 fake.GetFeatureFlagStub = nil 7014 fake.getFeatureFlagReturns = struct { 7015 result1 ccv3.FeatureFlag 7016 result2 ccv3.Warnings 7017 result3 error 7018 }{result1, result2, result3} 7019 } 7020 7021 func (fake *FakeCloudControllerClient) GetFeatureFlagReturnsOnCall(i int, result1 ccv3.FeatureFlag, result2 ccv3.Warnings, result3 error) { 7022 fake.getFeatureFlagMutex.Lock() 7023 defer fake.getFeatureFlagMutex.Unlock() 7024 fake.GetFeatureFlagStub = nil 7025 if fake.getFeatureFlagReturnsOnCall == nil { 7026 fake.getFeatureFlagReturnsOnCall = make(map[int]struct { 7027 result1 ccv3.FeatureFlag 7028 result2 ccv3.Warnings 7029 result3 error 7030 }) 7031 } 7032 fake.getFeatureFlagReturnsOnCall[i] = struct { 7033 result1 ccv3.FeatureFlag 7034 result2 ccv3.Warnings 7035 result3 error 7036 }{result1, result2, result3} 7037 } 7038 7039 func (fake *FakeCloudControllerClient) GetFeatureFlags() ([]ccv3.FeatureFlag, ccv3.Warnings, error) { 7040 fake.getFeatureFlagsMutex.Lock() 7041 ret, specificReturn := fake.getFeatureFlagsReturnsOnCall[len(fake.getFeatureFlagsArgsForCall)] 7042 fake.getFeatureFlagsArgsForCall = append(fake.getFeatureFlagsArgsForCall, struct { 7043 }{}) 7044 fake.recordInvocation("GetFeatureFlags", []interface{}{}) 7045 fake.getFeatureFlagsMutex.Unlock() 7046 if fake.GetFeatureFlagsStub != nil { 7047 return fake.GetFeatureFlagsStub() 7048 } 7049 if specificReturn { 7050 return ret.result1, ret.result2, ret.result3 7051 } 7052 fakeReturns := fake.getFeatureFlagsReturns 7053 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7054 } 7055 7056 func (fake *FakeCloudControllerClient) GetFeatureFlagsCallCount() int { 7057 fake.getFeatureFlagsMutex.RLock() 7058 defer fake.getFeatureFlagsMutex.RUnlock() 7059 return len(fake.getFeatureFlagsArgsForCall) 7060 } 7061 7062 func (fake *FakeCloudControllerClient) GetFeatureFlagsCalls(stub func() ([]ccv3.FeatureFlag, ccv3.Warnings, error)) { 7063 fake.getFeatureFlagsMutex.Lock() 7064 defer fake.getFeatureFlagsMutex.Unlock() 7065 fake.GetFeatureFlagsStub = stub 7066 } 7067 7068 func (fake *FakeCloudControllerClient) GetFeatureFlagsReturns(result1 []ccv3.FeatureFlag, result2 ccv3.Warnings, result3 error) { 7069 fake.getFeatureFlagsMutex.Lock() 7070 defer fake.getFeatureFlagsMutex.Unlock() 7071 fake.GetFeatureFlagsStub = nil 7072 fake.getFeatureFlagsReturns = struct { 7073 result1 []ccv3.FeatureFlag 7074 result2 ccv3.Warnings 7075 result3 error 7076 }{result1, result2, result3} 7077 } 7078 7079 func (fake *FakeCloudControllerClient) GetFeatureFlagsReturnsOnCall(i int, result1 []ccv3.FeatureFlag, result2 ccv3.Warnings, result3 error) { 7080 fake.getFeatureFlagsMutex.Lock() 7081 defer fake.getFeatureFlagsMutex.Unlock() 7082 fake.GetFeatureFlagsStub = nil 7083 if fake.getFeatureFlagsReturnsOnCall == nil { 7084 fake.getFeatureFlagsReturnsOnCall = make(map[int]struct { 7085 result1 []ccv3.FeatureFlag 7086 result2 ccv3.Warnings 7087 result3 error 7088 }) 7089 } 7090 fake.getFeatureFlagsReturnsOnCall[i] = struct { 7091 result1 []ccv3.FeatureFlag 7092 result2 ccv3.Warnings 7093 result3 error 7094 }{result1, result2, result3} 7095 } 7096 7097 func (fake *FakeCloudControllerClient) GetInfo() (ccv3.Info, ccv3.ResourceLinks, ccv3.Warnings, error) { 7098 fake.getInfoMutex.Lock() 7099 ret, specificReturn := fake.getInfoReturnsOnCall[len(fake.getInfoArgsForCall)] 7100 fake.getInfoArgsForCall = append(fake.getInfoArgsForCall, struct { 7101 }{}) 7102 fake.recordInvocation("GetInfo", []interface{}{}) 7103 fake.getInfoMutex.Unlock() 7104 if fake.GetInfoStub != nil { 7105 return fake.GetInfoStub() 7106 } 7107 if specificReturn { 7108 return ret.result1, ret.result2, ret.result3, ret.result4 7109 } 7110 fakeReturns := fake.getInfoReturns 7111 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3, fakeReturns.result4 7112 } 7113 7114 func (fake *FakeCloudControllerClient) GetInfoCallCount() int { 7115 fake.getInfoMutex.RLock() 7116 defer fake.getInfoMutex.RUnlock() 7117 return len(fake.getInfoArgsForCall) 7118 } 7119 7120 func (fake *FakeCloudControllerClient) GetInfoCalls(stub func() (ccv3.Info, ccv3.ResourceLinks, ccv3.Warnings, error)) { 7121 fake.getInfoMutex.Lock() 7122 defer fake.getInfoMutex.Unlock() 7123 fake.GetInfoStub = stub 7124 } 7125 7126 func (fake *FakeCloudControllerClient) GetInfoReturns(result1 ccv3.Info, result2 ccv3.ResourceLinks, result3 ccv3.Warnings, result4 error) { 7127 fake.getInfoMutex.Lock() 7128 defer fake.getInfoMutex.Unlock() 7129 fake.GetInfoStub = nil 7130 fake.getInfoReturns = struct { 7131 result1 ccv3.Info 7132 result2 ccv3.ResourceLinks 7133 result3 ccv3.Warnings 7134 result4 error 7135 }{result1, result2, result3, result4} 7136 } 7137 7138 func (fake *FakeCloudControllerClient) GetInfoReturnsOnCall(i int, result1 ccv3.Info, result2 ccv3.ResourceLinks, result3 ccv3.Warnings, result4 error) { 7139 fake.getInfoMutex.Lock() 7140 defer fake.getInfoMutex.Unlock() 7141 fake.GetInfoStub = nil 7142 if fake.getInfoReturnsOnCall == nil { 7143 fake.getInfoReturnsOnCall = make(map[int]struct { 7144 result1 ccv3.Info 7145 result2 ccv3.ResourceLinks 7146 result3 ccv3.Warnings 7147 result4 error 7148 }) 7149 } 7150 fake.getInfoReturnsOnCall[i] = struct { 7151 result1 ccv3.Info 7152 result2 ccv3.ResourceLinks 7153 result3 ccv3.Warnings 7154 result4 error 7155 }{result1, result2, result3, result4} 7156 } 7157 7158 func (fake *FakeCloudControllerClient) GetIsolationSegment(arg1 string) (ccv3.IsolationSegment, ccv3.Warnings, error) { 7159 fake.getIsolationSegmentMutex.Lock() 7160 ret, specificReturn := fake.getIsolationSegmentReturnsOnCall[len(fake.getIsolationSegmentArgsForCall)] 7161 fake.getIsolationSegmentArgsForCall = append(fake.getIsolationSegmentArgsForCall, struct { 7162 arg1 string 7163 }{arg1}) 7164 fake.recordInvocation("GetIsolationSegment", []interface{}{arg1}) 7165 fake.getIsolationSegmentMutex.Unlock() 7166 if fake.GetIsolationSegmentStub != nil { 7167 return fake.GetIsolationSegmentStub(arg1) 7168 } 7169 if specificReturn { 7170 return ret.result1, ret.result2, ret.result3 7171 } 7172 fakeReturns := fake.getIsolationSegmentReturns 7173 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7174 } 7175 7176 func (fake *FakeCloudControllerClient) GetIsolationSegmentCallCount() int { 7177 fake.getIsolationSegmentMutex.RLock() 7178 defer fake.getIsolationSegmentMutex.RUnlock() 7179 return len(fake.getIsolationSegmentArgsForCall) 7180 } 7181 7182 func (fake *FakeCloudControllerClient) GetIsolationSegmentCalls(stub func(string) (ccv3.IsolationSegment, ccv3.Warnings, error)) { 7183 fake.getIsolationSegmentMutex.Lock() 7184 defer fake.getIsolationSegmentMutex.Unlock() 7185 fake.GetIsolationSegmentStub = stub 7186 } 7187 7188 func (fake *FakeCloudControllerClient) GetIsolationSegmentArgsForCall(i int) string { 7189 fake.getIsolationSegmentMutex.RLock() 7190 defer fake.getIsolationSegmentMutex.RUnlock() 7191 argsForCall := fake.getIsolationSegmentArgsForCall[i] 7192 return argsForCall.arg1 7193 } 7194 7195 func (fake *FakeCloudControllerClient) GetIsolationSegmentReturns(result1 ccv3.IsolationSegment, result2 ccv3.Warnings, result3 error) { 7196 fake.getIsolationSegmentMutex.Lock() 7197 defer fake.getIsolationSegmentMutex.Unlock() 7198 fake.GetIsolationSegmentStub = nil 7199 fake.getIsolationSegmentReturns = struct { 7200 result1 ccv3.IsolationSegment 7201 result2 ccv3.Warnings 7202 result3 error 7203 }{result1, result2, result3} 7204 } 7205 7206 func (fake *FakeCloudControllerClient) GetIsolationSegmentReturnsOnCall(i int, result1 ccv3.IsolationSegment, result2 ccv3.Warnings, result3 error) { 7207 fake.getIsolationSegmentMutex.Lock() 7208 defer fake.getIsolationSegmentMutex.Unlock() 7209 fake.GetIsolationSegmentStub = nil 7210 if fake.getIsolationSegmentReturnsOnCall == nil { 7211 fake.getIsolationSegmentReturnsOnCall = make(map[int]struct { 7212 result1 ccv3.IsolationSegment 7213 result2 ccv3.Warnings 7214 result3 error 7215 }) 7216 } 7217 fake.getIsolationSegmentReturnsOnCall[i] = struct { 7218 result1 ccv3.IsolationSegment 7219 result2 ccv3.Warnings 7220 result3 error 7221 }{result1, result2, result3} 7222 } 7223 7224 func (fake *FakeCloudControllerClient) GetIsolationSegmentOrganizations(arg1 string) ([]resources.Organization, ccv3.Warnings, error) { 7225 fake.getIsolationSegmentOrganizationsMutex.Lock() 7226 ret, specificReturn := fake.getIsolationSegmentOrganizationsReturnsOnCall[len(fake.getIsolationSegmentOrganizationsArgsForCall)] 7227 fake.getIsolationSegmentOrganizationsArgsForCall = append(fake.getIsolationSegmentOrganizationsArgsForCall, struct { 7228 arg1 string 7229 }{arg1}) 7230 fake.recordInvocation("GetIsolationSegmentOrganizations", []interface{}{arg1}) 7231 fake.getIsolationSegmentOrganizationsMutex.Unlock() 7232 if fake.GetIsolationSegmentOrganizationsStub != nil { 7233 return fake.GetIsolationSegmentOrganizationsStub(arg1) 7234 } 7235 if specificReturn { 7236 return ret.result1, ret.result2, ret.result3 7237 } 7238 fakeReturns := fake.getIsolationSegmentOrganizationsReturns 7239 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7240 } 7241 7242 func (fake *FakeCloudControllerClient) GetIsolationSegmentOrganizationsCallCount() int { 7243 fake.getIsolationSegmentOrganizationsMutex.RLock() 7244 defer fake.getIsolationSegmentOrganizationsMutex.RUnlock() 7245 return len(fake.getIsolationSegmentOrganizationsArgsForCall) 7246 } 7247 7248 func (fake *FakeCloudControllerClient) GetIsolationSegmentOrganizationsCalls(stub func(string) ([]resources.Organization, ccv3.Warnings, error)) { 7249 fake.getIsolationSegmentOrganizationsMutex.Lock() 7250 defer fake.getIsolationSegmentOrganizationsMutex.Unlock() 7251 fake.GetIsolationSegmentOrganizationsStub = stub 7252 } 7253 7254 func (fake *FakeCloudControllerClient) GetIsolationSegmentOrganizationsArgsForCall(i int) string { 7255 fake.getIsolationSegmentOrganizationsMutex.RLock() 7256 defer fake.getIsolationSegmentOrganizationsMutex.RUnlock() 7257 argsForCall := fake.getIsolationSegmentOrganizationsArgsForCall[i] 7258 return argsForCall.arg1 7259 } 7260 7261 func (fake *FakeCloudControllerClient) GetIsolationSegmentOrganizationsReturns(result1 []resources.Organization, result2 ccv3.Warnings, result3 error) { 7262 fake.getIsolationSegmentOrganizationsMutex.Lock() 7263 defer fake.getIsolationSegmentOrganizationsMutex.Unlock() 7264 fake.GetIsolationSegmentOrganizationsStub = nil 7265 fake.getIsolationSegmentOrganizationsReturns = struct { 7266 result1 []resources.Organization 7267 result2 ccv3.Warnings 7268 result3 error 7269 }{result1, result2, result3} 7270 } 7271 7272 func (fake *FakeCloudControllerClient) GetIsolationSegmentOrganizationsReturnsOnCall(i int, result1 []resources.Organization, result2 ccv3.Warnings, result3 error) { 7273 fake.getIsolationSegmentOrganizationsMutex.Lock() 7274 defer fake.getIsolationSegmentOrganizationsMutex.Unlock() 7275 fake.GetIsolationSegmentOrganizationsStub = nil 7276 if fake.getIsolationSegmentOrganizationsReturnsOnCall == nil { 7277 fake.getIsolationSegmentOrganizationsReturnsOnCall = make(map[int]struct { 7278 result1 []resources.Organization 7279 result2 ccv3.Warnings 7280 result3 error 7281 }) 7282 } 7283 fake.getIsolationSegmentOrganizationsReturnsOnCall[i] = struct { 7284 result1 []resources.Organization 7285 result2 ccv3.Warnings 7286 result3 error 7287 }{result1, result2, result3} 7288 } 7289 7290 func (fake *FakeCloudControllerClient) GetIsolationSegments(arg1 ...ccv3.Query) ([]ccv3.IsolationSegment, ccv3.Warnings, error) { 7291 fake.getIsolationSegmentsMutex.Lock() 7292 ret, specificReturn := fake.getIsolationSegmentsReturnsOnCall[len(fake.getIsolationSegmentsArgsForCall)] 7293 fake.getIsolationSegmentsArgsForCall = append(fake.getIsolationSegmentsArgsForCall, struct { 7294 arg1 []ccv3.Query 7295 }{arg1}) 7296 fake.recordInvocation("GetIsolationSegments", []interface{}{arg1}) 7297 fake.getIsolationSegmentsMutex.Unlock() 7298 if fake.GetIsolationSegmentsStub != nil { 7299 return fake.GetIsolationSegmentsStub(arg1...) 7300 } 7301 if specificReturn { 7302 return ret.result1, ret.result2, ret.result3 7303 } 7304 fakeReturns := fake.getIsolationSegmentsReturns 7305 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7306 } 7307 7308 func (fake *FakeCloudControllerClient) GetIsolationSegmentsCallCount() int { 7309 fake.getIsolationSegmentsMutex.RLock() 7310 defer fake.getIsolationSegmentsMutex.RUnlock() 7311 return len(fake.getIsolationSegmentsArgsForCall) 7312 } 7313 7314 func (fake *FakeCloudControllerClient) GetIsolationSegmentsCalls(stub func(...ccv3.Query) ([]ccv3.IsolationSegment, ccv3.Warnings, error)) { 7315 fake.getIsolationSegmentsMutex.Lock() 7316 defer fake.getIsolationSegmentsMutex.Unlock() 7317 fake.GetIsolationSegmentsStub = stub 7318 } 7319 7320 func (fake *FakeCloudControllerClient) GetIsolationSegmentsArgsForCall(i int) []ccv3.Query { 7321 fake.getIsolationSegmentsMutex.RLock() 7322 defer fake.getIsolationSegmentsMutex.RUnlock() 7323 argsForCall := fake.getIsolationSegmentsArgsForCall[i] 7324 return argsForCall.arg1 7325 } 7326 7327 func (fake *FakeCloudControllerClient) GetIsolationSegmentsReturns(result1 []ccv3.IsolationSegment, result2 ccv3.Warnings, result3 error) { 7328 fake.getIsolationSegmentsMutex.Lock() 7329 defer fake.getIsolationSegmentsMutex.Unlock() 7330 fake.GetIsolationSegmentsStub = nil 7331 fake.getIsolationSegmentsReturns = struct { 7332 result1 []ccv3.IsolationSegment 7333 result2 ccv3.Warnings 7334 result3 error 7335 }{result1, result2, result3} 7336 } 7337 7338 func (fake *FakeCloudControllerClient) GetIsolationSegmentsReturnsOnCall(i int, result1 []ccv3.IsolationSegment, result2 ccv3.Warnings, result3 error) { 7339 fake.getIsolationSegmentsMutex.Lock() 7340 defer fake.getIsolationSegmentsMutex.Unlock() 7341 fake.GetIsolationSegmentsStub = nil 7342 if fake.getIsolationSegmentsReturnsOnCall == nil { 7343 fake.getIsolationSegmentsReturnsOnCall = make(map[int]struct { 7344 result1 []ccv3.IsolationSegment 7345 result2 ccv3.Warnings 7346 result3 error 7347 }) 7348 } 7349 fake.getIsolationSegmentsReturnsOnCall[i] = struct { 7350 result1 []ccv3.IsolationSegment 7351 result2 ccv3.Warnings 7352 result3 error 7353 }{result1, result2, result3} 7354 } 7355 7356 func (fake *FakeCloudControllerClient) GetNewApplicationProcesses(arg1 string, arg2 string) ([]ccv3.Process, ccv3.Warnings, error) { 7357 fake.getNewApplicationProcessesMutex.Lock() 7358 ret, specificReturn := fake.getNewApplicationProcessesReturnsOnCall[len(fake.getNewApplicationProcessesArgsForCall)] 7359 fake.getNewApplicationProcessesArgsForCall = append(fake.getNewApplicationProcessesArgsForCall, struct { 7360 arg1 string 7361 arg2 string 7362 }{arg1, arg2}) 7363 fake.recordInvocation("GetNewApplicationProcesses", []interface{}{arg1, arg2}) 7364 fake.getNewApplicationProcessesMutex.Unlock() 7365 if fake.GetNewApplicationProcessesStub != nil { 7366 return fake.GetNewApplicationProcessesStub(arg1, arg2) 7367 } 7368 if specificReturn { 7369 return ret.result1, ret.result2, ret.result3 7370 } 7371 fakeReturns := fake.getNewApplicationProcessesReturns 7372 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7373 } 7374 7375 func (fake *FakeCloudControllerClient) GetNewApplicationProcessesCallCount() int { 7376 fake.getNewApplicationProcessesMutex.RLock() 7377 defer fake.getNewApplicationProcessesMutex.RUnlock() 7378 return len(fake.getNewApplicationProcessesArgsForCall) 7379 } 7380 7381 func (fake *FakeCloudControllerClient) GetNewApplicationProcessesCalls(stub func(string, string) ([]ccv3.Process, ccv3.Warnings, error)) { 7382 fake.getNewApplicationProcessesMutex.Lock() 7383 defer fake.getNewApplicationProcessesMutex.Unlock() 7384 fake.GetNewApplicationProcessesStub = stub 7385 } 7386 7387 func (fake *FakeCloudControllerClient) GetNewApplicationProcessesArgsForCall(i int) (string, string) { 7388 fake.getNewApplicationProcessesMutex.RLock() 7389 defer fake.getNewApplicationProcessesMutex.RUnlock() 7390 argsForCall := fake.getNewApplicationProcessesArgsForCall[i] 7391 return argsForCall.arg1, argsForCall.arg2 7392 } 7393 7394 func (fake *FakeCloudControllerClient) GetNewApplicationProcessesReturns(result1 []ccv3.Process, result2 ccv3.Warnings, result3 error) { 7395 fake.getNewApplicationProcessesMutex.Lock() 7396 defer fake.getNewApplicationProcessesMutex.Unlock() 7397 fake.GetNewApplicationProcessesStub = nil 7398 fake.getNewApplicationProcessesReturns = struct { 7399 result1 []ccv3.Process 7400 result2 ccv3.Warnings 7401 result3 error 7402 }{result1, result2, result3} 7403 } 7404 7405 func (fake *FakeCloudControllerClient) GetNewApplicationProcessesReturnsOnCall(i int, result1 []ccv3.Process, result2 ccv3.Warnings, result3 error) { 7406 fake.getNewApplicationProcessesMutex.Lock() 7407 defer fake.getNewApplicationProcessesMutex.Unlock() 7408 fake.GetNewApplicationProcessesStub = nil 7409 if fake.getNewApplicationProcessesReturnsOnCall == nil { 7410 fake.getNewApplicationProcessesReturnsOnCall = make(map[int]struct { 7411 result1 []ccv3.Process 7412 result2 ccv3.Warnings 7413 result3 error 7414 }) 7415 } 7416 fake.getNewApplicationProcessesReturnsOnCall[i] = struct { 7417 result1 []ccv3.Process 7418 result2 ccv3.Warnings 7419 result3 error 7420 }{result1, result2, result3} 7421 } 7422 7423 func (fake *FakeCloudControllerClient) GetOrganization(arg1 string) (resources.Organization, ccv3.Warnings, error) { 7424 fake.getOrganizationMutex.Lock() 7425 ret, specificReturn := fake.getOrganizationReturnsOnCall[len(fake.getOrganizationArgsForCall)] 7426 fake.getOrganizationArgsForCall = append(fake.getOrganizationArgsForCall, struct { 7427 arg1 string 7428 }{arg1}) 7429 fake.recordInvocation("GetOrganization", []interface{}{arg1}) 7430 fake.getOrganizationMutex.Unlock() 7431 if fake.GetOrganizationStub != nil { 7432 return fake.GetOrganizationStub(arg1) 7433 } 7434 if specificReturn { 7435 return ret.result1, ret.result2, ret.result3 7436 } 7437 fakeReturns := fake.getOrganizationReturns 7438 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7439 } 7440 7441 func (fake *FakeCloudControllerClient) GetOrganizationCallCount() int { 7442 fake.getOrganizationMutex.RLock() 7443 defer fake.getOrganizationMutex.RUnlock() 7444 return len(fake.getOrganizationArgsForCall) 7445 } 7446 7447 func (fake *FakeCloudControllerClient) GetOrganizationCalls(stub func(string) (resources.Organization, ccv3.Warnings, error)) { 7448 fake.getOrganizationMutex.Lock() 7449 defer fake.getOrganizationMutex.Unlock() 7450 fake.GetOrganizationStub = stub 7451 } 7452 7453 func (fake *FakeCloudControllerClient) GetOrganizationArgsForCall(i int) string { 7454 fake.getOrganizationMutex.RLock() 7455 defer fake.getOrganizationMutex.RUnlock() 7456 argsForCall := fake.getOrganizationArgsForCall[i] 7457 return argsForCall.arg1 7458 } 7459 7460 func (fake *FakeCloudControllerClient) GetOrganizationReturns(result1 resources.Organization, result2 ccv3.Warnings, result3 error) { 7461 fake.getOrganizationMutex.Lock() 7462 defer fake.getOrganizationMutex.Unlock() 7463 fake.GetOrganizationStub = nil 7464 fake.getOrganizationReturns = struct { 7465 result1 resources.Organization 7466 result2 ccv3.Warnings 7467 result3 error 7468 }{result1, result2, result3} 7469 } 7470 7471 func (fake *FakeCloudControllerClient) GetOrganizationReturnsOnCall(i int, result1 resources.Organization, result2 ccv3.Warnings, result3 error) { 7472 fake.getOrganizationMutex.Lock() 7473 defer fake.getOrganizationMutex.Unlock() 7474 fake.GetOrganizationStub = nil 7475 if fake.getOrganizationReturnsOnCall == nil { 7476 fake.getOrganizationReturnsOnCall = make(map[int]struct { 7477 result1 resources.Organization 7478 result2 ccv3.Warnings 7479 result3 error 7480 }) 7481 } 7482 fake.getOrganizationReturnsOnCall[i] = struct { 7483 result1 resources.Organization 7484 result2 ccv3.Warnings 7485 result3 error 7486 }{result1, result2, result3} 7487 } 7488 7489 func (fake *FakeCloudControllerClient) GetOrganizationDefaultIsolationSegment(arg1 string) (resources.Relationship, ccv3.Warnings, error) { 7490 fake.getOrganizationDefaultIsolationSegmentMutex.Lock() 7491 ret, specificReturn := fake.getOrganizationDefaultIsolationSegmentReturnsOnCall[len(fake.getOrganizationDefaultIsolationSegmentArgsForCall)] 7492 fake.getOrganizationDefaultIsolationSegmentArgsForCall = append(fake.getOrganizationDefaultIsolationSegmentArgsForCall, struct { 7493 arg1 string 7494 }{arg1}) 7495 fake.recordInvocation("GetOrganizationDefaultIsolationSegment", []interface{}{arg1}) 7496 fake.getOrganizationDefaultIsolationSegmentMutex.Unlock() 7497 if fake.GetOrganizationDefaultIsolationSegmentStub != nil { 7498 return fake.GetOrganizationDefaultIsolationSegmentStub(arg1) 7499 } 7500 if specificReturn { 7501 return ret.result1, ret.result2, ret.result3 7502 } 7503 fakeReturns := fake.getOrganizationDefaultIsolationSegmentReturns 7504 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7505 } 7506 7507 func (fake *FakeCloudControllerClient) GetOrganizationDefaultIsolationSegmentCallCount() int { 7508 fake.getOrganizationDefaultIsolationSegmentMutex.RLock() 7509 defer fake.getOrganizationDefaultIsolationSegmentMutex.RUnlock() 7510 return len(fake.getOrganizationDefaultIsolationSegmentArgsForCall) 7511 } 7512 7513 func (fake *FakeCloudControllerClient) GetOrganizationDefaultIsolationSegmentCalls(stub func(string) (resources.Relationship, ccv3.Warnings, error)) { 7514 fake.getOrganizationDefaultIsolationSegmentMutex.Lock() 7515 defer fake.getOrganizationDefaultIsolationSegmentMutex.Unlock() 7516 fake.GetOrganizationDefaultIsolationSegmentStub = stub 7517 } 7518 7519 func (fake *FakeCloudControllerClient) GetOrganizationDefaultIsolationSegmentArgsForCall(i int) string { 7520 fake.getOrganizationDefaultIsolationSegmentMutex.RLock() 7521 defer fake.getOrganizationDefaultIsolationSegmentMutex.RUnlock() 7522 argsForCall := fake.getOrganizationDefaultIsolationSegmentArgsForCall[i] 7523 return argsForCall.arg1 7524 } 7525 7526 func (fake *FakeCloudControllerClient) GetOrganizationDefaultIsolationSegmentReturns(result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 7527 fake.getOrganizationDefaultIsolationSegmentMutex.Lock() 7528 defer fake.getOrganizationDefaultIsolationSegmentMutex.Unlock() 7529 fake.GetOrganizationDefaultIsolationSegmentStub = nil 7530 fake.getOrganizationDefaultIsolationSegmentReturns = struct { 7531 result1 resources.Relationship 7532 result2 ccv3.Warnings 7533 result3 error 7534 }{result1, result2, result3} 7535 } 7536 7537 func (fake *FakeCloudControllerClient) GetOrganizationDefaultIsolationSegmentReturnsOnCall(i int, result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 7538 fake.getOrganizationDefaultIsolationSegmentMutex.Lock() 7539 defer fake.getOrganizationDefaultIsolationSegmentMutex.Unlock() 7540 fake.GetOrganizationDefaultIsolationSegmentStub = nil 7541 if fake.getOrganizationDefaultIsolationSegmentReturnsOnCall == nil { 7542 fake.getOrganizationDefaultIsolationSegmentReturnsOnCall = make(map[int]struct { 7543 result1 resources.Relationship 7544 result2 ccv3.Warnings 7545 result3 error 7546 }) 7547 } 7548 fake.getOrganizationDefaultIsolationSegmentReturnsOnCall[i] = struct { 7549 result1 resources.Relationship 7550 result2 ccv3.Warnings 7551 result3 error 7552 }{result1, result2, result3} 7553 } 7554 7555 func (fake *FakeCloudControllerClient) GetOrganizationDomains(arg1 string, arg2 ...ccv3.Query) ([]resources.Domain, ccv3.Warnings, error) { 7556 fake.getOrganizationDomainsMutex.Lock() 7557 ret, specificReturn := fake.getOrganizationDomainsReturnsOnCall[len(fake.getOrganizationDomainsArgsForCall)] 7558 fake.getOrganizationDomainsArgsForCall = append(fake.getOrganizationDomainsArgsForCall, struct { 7559 arg1 string 7560 arg2 []ccv3.Query 7561 }{arg1, arg2}) 7562 fake.recordInvocation("GetOrganizationDomains", []interface{}{arg1, arg2}) 7563 fake.getOrganizationDomainsMutex.Unlock() 7564 if fake.GetOrganizationDomainsStub != nil { 7565 return fake.GetOrganizationDomainsStub(arg1, arg2...) 7566 } 7567 if specificReturn { 7568 return ret.result1, ret.result2, ret.result3 7569 } 7570 fakeReturns := fake.getOrganizationDomainsReturns 7571 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7572 } 7573 7574 func (fake *FakeCloudControllerClient) GetOrganizationDomainsCallCount() int { 7575 fake.getOrganizationDomainsMutex.RLock() 7576 defer fake.getOrganizationDomainsMutex.RUnlock() 7577 return len(fake.getOrganizationDomainsArgsForCall) 7578 } 7579 7580 func (fake *FakeCloudControllerClient) GetOrganizationDomainsCalls(stub func(string, ...ccv3.Query) ([]resources.Domain, ccv3.Warnings, error)) { 7581 fake.getOrganizationDomainsMutex.Lock() 7582 defer fake.getOrganizationDomainsMutex.Unlock() 7583 fake.GetOrganizationDomainsStub = stub 7584 } 7585 7586 func (fake *FakeCloudControllerClient) GetOrganizationDomainsArgsForCall(i int) (string, []ccv3.Query) { 7587 fake.getOrganizationDomainsMutex.RLock() 7588 defer fake.getOrganizationDomainsMutex.RUnlock() 7589 argsForCall := fake.getOrganizationDomainsArgsForCall[i] 7590 return argsForCall.arg1, argsForCall.arg2 7591 } 7592 7593 func (fake *FakeCloudControllerClient) GetOrganizationDomainsReturns(result1 []resources.Domain, result2 ccv3.Warnings, result3 error) { 7594 fake.getOrganizationDomainsMutex.Lock() 7595 defer fake.getOrganizationDomainsMutex.Unlock() 7596 fake.GetOrganizationDomainsStub = nil 7597 fake.getOrganizationDomainsReturns = struct { 7598 result1 []resources.Domain 7599 result2 ccv3.Warnings 7600 result3 error 7601 }{result1, result2, result3} 7602 } 7603 7604 func (fake *FakeCloudControllerClient) GetOrganizationDomainsReturnsOnCall(i int, result1 []resources.Domain, result2 ccv3.Warnings, result3 error) { 7605 fake.getOrganizationDomainsMutex.Lock() 7606 defer fake.getOrganizationDomainsMutex.Unlock() 7607 fake.GetOrganizationDomainsStub = nil 7608 if fake.getOrganizationDomainsReturnsOnCall == nil { 7609 fake.getOrganizationDomainsReturnsOnCall = make(map[int]struct { 7610 result1 []resources.Domain 7611 result2 ccv3.Warnings 7612 result3 error 7613 }) 7614 } 7615 fake.getOrganizationDomainsReturnsOnCall[i] = struct { 7616 result1 []resources.Domain 7617 result2 ccv3.Warnings 7618 result3 error 7619 }{result1, result2, result3} 7620 } 7621 7622 func (fake *FakeCloudControllerClient) GetOrganizationQuota(arg1 string) (resources.OrganizationQuota, ccv3.Warnings, error) { 7623 fake.getOrganizationQuotaMutex.Lock() 7624 ret, specificReturn := fake.getOrganizationQuotaReturnsOnCall[len(fake.getOrganizationQuotaArgsForCall)] 7625 fake.getOrganizationQuotaArgsForCall = append(fake.getOrganizationQuotaArgsForCall, struct { 7626 arg1 string 7627 }{arg1}) 7628 fake.recordInvocation("GetOrganizationQuota", []interface{}{arg1}) 7629 fake.getOrganizationQuotaMutex.Unlock() 7630 if fake.GetOrganizationQuotaStub != nil { 7631 return fake.GetOrganizationQuotaStub(arg1) 7632 } 7633 if specificReturn { 7634 return ret.result1, ret.result2, ret.result3 7635 } 7636 fakeReturns := fake.getOrganizationQuotaReturns 7637 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7638 } 7639 7640 func (fake *FakeCloudControllerClient) GetOrganizationQuotaCallCount() int { 7641 fake.getOrganizationQuotaMutex.RLock() 7642 defer fake.getOrganizationQuotaMutex.RUnlock() 7643 return len(fake.getOrganizationQuotaArgsForCall) 7644 } 7645 7646 func (fake *FakeCloudControllerClient) GetOrganizationQuotaCalls(stub func(string) (resources.OrganizationQuota, ccv3.Warnings, error)) { 7647 fake.getOrganizationQuotaMutex.Lock() 7648 defer fake.getOrganizationQuotaMutex.Unlock() 7649 fake.GetOrganizationQuotaStub = stub 7650 } 7651 7652 func (fake *FakeCloudControllerClient) GetOrganizationQuotaArgsForCall(i int) string { 7653 fake.getOrganizationQuotaMutex.RLock() 7654 defer fake.getOrganizationQuotaMutex.RUnlock() 7655 argsForCall := fake.getOrganizationQuotaArgsForCall[i] 7656 return argsForCall.arg1 7657 } 7658 7659 func (fake *FakeCloudControllerClient) GetOrganizationQuotaReturns(result1 resources.OrganizationQuota, result2 ccv3.Warnings, result3 error) { 7660 fake.getOrganizationQuotaMutex.Lock() 7661 defer fake.getOrganizationQuotaMutex.Unlock() 7662 fake.GetOrganizationQuotaStub = nil 7663 fake.getOrganizationQuotaReturns = struct { 7664 result1 resources.OrganizationQuota 7665 result2 ccv3.Warnings 7666 result3 error 7667 }{result1, result2, result3} 7668 } 7669 7670 func (fake *FakeCloudControllerClient) GetOrganizationQuotaReturnsOnCall(i int, result1 resources.OrganizationQuota, result2 ccv3.Warnings, result3 error) { 7671 fake.getOrganizationQuotaMutex.Lock() 7672 defer fake.getOrganizationQuotaMutex.Unlock() 7673 fake.GetOrganizationQuotaStub = nil 7674 if fake.getOrganizationQuotaReturnsOnCall == nil { 7675 fake.getOrganizationQuotaReturnsOnCall = make(map[int]struct { 7676 result1 resources.OrganizationQuota 7677 result2 ccv3.Warnings 7678 result3 error 7679 }) 7680 } 7681 fake.getOrganizationQuotaReturnsOnCall[i] = struct { 7682 result1 resources.OrganizationQuota 7683 result2 ccv3.Warnings 7684 result3 error 7685 }{result1, result2, result3} 7686 } 7687 7688 func (fake *FakeCloudControllerClient) GetOrganizationQuotas(arg1 ...ccv3.Query) ([]resources.OrganizationQuota, ccv3.Warnings, error) { 7689 fake.getOrganizationQuotasMutex.Lock() 7690 ret, specificReturn := fake.getOrganizationQuotasReturnsOnCall[len(fake.getOrganizationQuotasArgsForCall)] 7691 fake.getOrganizationQuotasArgsForCall = append(fake.getOrganizationQuotasArgsForCall, struct { 7692 arg1 []ccv3.Query 7693 }{arg1}) 7694 fake.recordInvocation("GetOrganizationQuotas", []interface{}{arg1}) 7695 fake.getOrganizationQuotasMutex.Unlock() 7696 if fake.GetOrganizationQuotasStub != nil { 7697 return fake.GetOrganizationQuotasStub(arg1...) 7698 } 7699 if specificReturn { 7700 return ret.result1, ret.result2, ret.result3 7701 } 7702 fakeReturns := fake.getOrganizationQuotasReturns 7703 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7704 } 7705 7706 func (fake *FakeCloudControllerClient) GetOrganizationQuotasCallCount() int { 7707 fake.getOrganizationQuotasMutex.RLock() 7708 defer fake.getOrganizationQuotasMutex.RUnlock() 7709 return len(fake.getOrganizationQuotasArgsForCall) 7710 } 7711 7712 func (fake *FakeCloudControllerClient) GetOrganizationQuotasCalls(stub func(...ccv3.Query) ([]resources.OrganizationQuota, ccv3.Warnings, error)) { 7713 fake.getOrganizationQuotasMutex.Lock() 7714 defer fake.getOrganizationQuotasMutex.Unlock() 7715 fake.GetOrganizationQuotasStub = stub 7716 } 7717 7718 func (fake *FakeCloudControllerClient) GetOrganizationQuotasArgsForCall(i int) []ccv3.Query { 7719 fake.getOrganizationQuotasMutex.RLock() 7720 defer fake.getOrganizationQuotasMutex.RUnlock() 7721 argsForCall := fake.getOrganizationQuotasArgsForCall[i] 7722 return argsForCall.arg1 7723 } 7724 7725 func (fake *FakeCloudControllerClient) GetOrganizationQuotasReturns(result1 []resources.OrganizationQuota, result2 ccv3.Warnings, result3 error) { 7726 fake.getOrganizationQuotasMutex.Lock() 7727 defer fake.getOrganizationQuotasMutex.Unlock() 7728 fake.GetOrganizationQuotasStub = nil 7729 fake.getOrganizationQuotasReturns = struct { 7730 result1 []resources.OrganizationQuota 7731 result2 ccv3.Warnings 7732 result3 error 7733 }{result1, result2, result3} 7734 } 7735 7736 func (fake *FakeCloudControllerClient) GetOrganizationQuotasReturnsOnCall(i int, result1 []resources.OrganizationQuota, result2 ccv3.Warnings, result3 error) { 7737 fake.getOrganizationQuotasMutex.Lock() 7738 defer fake.getOrganizationQuotasMutex.Unlock() 7739 fake.GetOrganizationQuotasStub = nil 7740 if fake.getOrganizationQuotasReturnsOnCall == nil { 7741 fake.getOrganizationQuotasReturnsOnCall = make(map[int]struct { 7742 result1 []resources.OrganizationQuota 7743 result2 ccv3.Warnings 7744 result3 error 7745 }) 7746 } 7747 fake.getOrganizationQuotasReturnsOnCall[i] = struct { 7748 result1 []resources.OrganizationQuota 7749 result2 ccv3.Warnings 7750 result3 error 7751 }{result1, result2, result3} 7752 } 7753 7754 func (fake *FakeCloudControllerClient) GetOrganizations(arg1 ...ccv3.Query) ([]resources.Organization, ccv3.Warnings, error) { 7755 fake.getOrganizationsMutex.Lock() 7756 ret, specificReturn := fake.getOrganizationsReturnsOnCall[len(fake.getOrganizationsArgsForCall)] 7757 fake.getOrganizationsArgsForCall = append(fake.getOrganizationsArgsForCall, struct { 7758 arg1 []ccv3.Query 7759 }{arg1}) 7760 fake.recordInvocation("GetOrganizations", []interface{}{arg1}) 7761 fake.getOrganizationsMutex.Unlock() 7762 if fake.GetOrganizationsStub != nil { 7763 return fake.GetOrganizationsStub(arg1...) 7764 } 7765 if specificReturn { 7766 return ret.result1, ret.result2, ret.result3 7767 } 7768 fakeReturns := fake.getOrganizationsReturns 7769 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7770 } 7771 7772 func (fake *FakeCloudControllerClient) GetOrganizationsCallCount() int { 7773 fake.getOrganizationsMutex.RLock() 7774 defer fake.getOrganizationsMutex.RUnlock() 7775 return len(fake.getOrganizationsArgsForCall) 7776 } 7777 7778 func (fake *FakeCloudControllerClient) GetOrganizationsCalls(stub func(...ccv3.Query) ([]resources.Organization, ccv3.Warnings, error)) { 7779 fake.getOrganizationsMutex.Lock() 7780 defer fake.getOrganizationsMutex.Unlock() 7781 fake.GetOrganizationsStub = stub 7782 } 7783 7784 func (fake *FakeCloudControllerClient) GetOrganizationsArgsForCall(i int) []ccv3.Query { 7785 fake.getOrganizationsMutex.RLock() 7786 defer fake.getOrganizationsMutex.RUnlock() 7787 argsForCall := fake.getOrganizationsArgsForCall[i] 7788 return argsForCall.arg1 7789 } 7790 7791 func (fake *FakeCloudControllerClient) GetOrganizationsReturns(result1 []resources.Organization, result2 ccv3.Warnings, result3 error) { 7792 fake.getOrganizationsMutex.Lock() 7793 defer fake.getOrganizationsMutex.Unlock() 7794 fake.GetOrganizationsStub = nil 7795 fake.getOrganizationsReturns = struct { 7796 result1 []resources.Organization 7797 result2 ccv3.Warnings 7798 result3 error 7799 }{result1, result2, result3} 7800 } 7801 7802 func (fake *FakeCloudControllerClient) GetOrganizationsReturnsOnCall(i int, result1 []resources.Organization, result2 ccv3.Warnings, result3 error) { 7803 fake.getOrganizationsMutex.Lock() 7804 defer fake.getOrganizationsMutex.Unlock() 7805 fake.GetOrganizationsStub = nil 7806 if fake.getOrganizationsReturnsOnCall == nil { 7807 fake.getOrganizationsReturnsOnCall = make(map[int]struct { 7808 result1 []resources.Organization 7809 result2 ccv3.Warnings 7810 result3 error 7811 }) 7812 } 7813 fake.getOrganizationsReturnsOnCall[i] = struct { 7814 result1 []resources.Organization 7815 result2 ccv3.Warnings 7816 result3 error 7817 }{result1, result2, result3} 7818 } 7819 7820 func (fake *FakeCloudControllerClient) GetPackage(arg1 string) (ccv3.Package, ccv3.Warnings, error) { 7821 fake.getPackageMutex.Lock() 7822 ret, specificReturn := fake.getPackageReturnsOnCall[len(fake.getPackageArgsForCall)] 7823 fake.getPackageArgsForCall = append(fake.getPackageArgsForCall, struct { 7824 arg1 string 7825 }{arg1}) 7826 fake.recordInvocation("GetPackage", []interface{}{arg1}) 7827 fake.getPackageMutex.Unlock() 7828 if fake.GetPackageStub != nil { 7829 return fake.GetPackageStub(arg1) 7830 } 7831 if specificReturn { 7832 return ret.result1, ret.result2, ret.result3 7833 } 7834 fakeReturns := fake.getPackageReturns 7835 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7836 } 7837 7838 func (fake *FakeCloudControllerClient) GetPackageCallCount() int { 7839 fake.getPackageMutex.RLock() 7840 defer fake.getPackageMutex.RUnlock() 7841 return len(fake.getPackageArgsForCall) 7842 } 7843 7844 func (fake *FakeCloudControllerClient) GetPackageCalls(stub func(string) (ccv3.Package, ccv3.Warnings, error)) { 7845 fake.getPackageMutex.Lock() 7846 defer fake.getPackageMutex.Unlock() 7847 fake.GetPackageStub = stub 7848 } 7849 7850 func (fake *FakeCloudControllerClient) GetPackageArgsForCall(i int) string { 7851 fake.getPackageMutex.RLock() 7852 defer fake.getPackageMutex.RUnlock() 7853 argsForCall := fake.getPackageArgsForCall[i] 7854 return argsForCall.arg1 7855 } 7856 7857 func (fake *FakeCloudControllerClient) GetPackageReturns(result1 ccv3.Package, result2 ccv3.Warnings, result3 error) { 7858 fake.getPackageMutex.Lock() 7859 defer fake.getPackageMutex.Unlock() 7860 fake.GetPackageStub = nil 7861 fake.getPackageReturns = struct { 7862 result1 ccv3.Package 7863 result2 ccv3.Warnings 7864 result3 error 7865 }{result1, result2, result3} 7866 } 7867 7868 func (fake *FakeCloudControllerClient) GetPackageReturnsOnCall(i int, result1 ccv3.Package, result2 ccv3.Warnings, result3 error) { 7869 fake.getPackageMutex.Lock() 7870 defer fake.getPackageMutex.Unlock() 7871 fake.GetPackageStub = nil 7872 if fake.getPackageReturnsOnCall == nil { 7873 fake.getPackageReturnsOnCall = make(map[int]struct { 7874 result1 ccv3.Package 7875 result2 ccv3.Warnings 7876 result3 error 7877 }) 7878 } 7879 fake.getPackageReturnsOnCall[i] = struct { 7880 result1 ccv3.Package 7881 result2 ccv3.Warnings 7882 result3 error 7883 }{result1, result2, result3} 7884 } 7885 7886 func (fake *FakeCloudControllerClient) GetPackageDroplets(arg1 string, arg2 ...ccv3.Query) ([]resources.Droplet, ccv3.Warnings, error) { 7887 fake.getPackageDropletsMutex.Lock() 7888 ret, specificReturn := fake.getPackageDropletsReturnsOnCall[len(fake.getPackageDropletsArgsForCall)] 7889 fake.getPackageDropletsArgsForCall = append(fake.getPackageDropletsArgsForCall, struct { 7890 arg1 string 7891 arg2 []ccv3.Query 7892 }{arg1, arg2}) 7893 fake.recordInvocation("GetPackageDroplets", []interface{}{arg1, arg2}) 7894 fake.getPackageDropletsMutex.Unlock() 7895 if fake.GetPackageDropletsStub != nil { 7896 return fake.GetPackageDropletsStub(arg1, arg2...) 7897 } 7898 if specificReturn { 7899 return ret.result1, ret.result2, ret.result3 7900 } 7901 fakeReturns := fake.getPackageDropletsReturns 7902 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7903 } 7904 7905 func (fake *FakeCloudControllerClient) GetPackageDropletsCallCount() int { 7906 fake.getPackageDropletsMutex.RLock() 7907 defer fake.getPackageDropletsMutex.RUnlock() 7908 return len(fake.getPackageDropletsArgsForCall) 7909 } 7910 7911 func (fake *FakeCloudControllerClient) GetPackageDropletsCalls(stub func(string, ...ccv3.Query) ([]resources.Droplet, ccv3.Warnings, error)) { 7912 fake.getPackageDropletsMutex.Lock() 7913 defer fake.getPackageDropletsMutex.Unlock() 7914 fake.GetPackageDropletsStub = stub 7915 } 7916 7917 func (fake *FakeCloudControllerClient) GetPackageDropletsArgsForCall(i int) (string, []ccv3.Query) { 7918 fake.getPackageDropletsMutex.RLock() 7919 defer fake.getPackageDropletsMutex.RUnlock() 7920 argsForCall := fake.getPackageDropletsArgsForCall[i] 7921 return argsForCall.arg1, argsForCall.arg2 7922 } 7923 7924 func (fake *FakeCloudControllerClient) GetPackageDropletsReturns(result1 []resources.Droplet, result2 ccv3.Warnings, result3 error) { 7925 fake.getPackageDropletsMutex.Lock() 7926 defer fake.getPackageDropletsMutex.Unlock() 7927 fake.GetPackageDropletsStub = nil 7928 fake.getPackageDropletsReturns = struct { 7929 result1 []resources.Droplet 7930 result2 ccv3.Warnings 7931 result3 error 7932 }{result1, result2, result3} 7933 } 7934 7935 func (fake *FakeCloudControllerClient) GetPackageDropletsReturnsOnCall(i int, result1 []resources.Droplet, result2 ccv3.Warnings, result3 error) { 7936 fake.getPackageDropletsMutex.Lock() 7937 defer fake.getPackageDropletsMutex.Unlock() 7938 fake.GetPackageDropletsStub = nil 7939 if fake.getPackageDropletsReturnsOnCall == nil { 7940 fake.getPackageDropletsReturnsOnCall = make(map[int]struct { 7941 result1 []resources.Droplet 7942 result2 ccv3.Warnings 7943 result3 error 7944 }) 7945 } 7946 fake.getPackageDropletsReturnsOnCall[i] = struct { 7947 result1 []resources.Droplet 7948 result2 ccv3.Warnings 7949 result3 error 7950 }{result1, result2, result3} 7951 } 7952 7953 func (fake *FakeCloudControllerClient) GetPackages(arg1 ...ccv3.Query) ([]ccv3.Package, ccv3.Warnings, error) { 7954 fake.getPackagesMutex.Lock() 7955 ret, specificReturn := fake.getPackagesReturnsOnCall[len(fake.getPackagesArgsForCall)] 7956 fake.getPackagesArgsForCall = append(fake.getPackagesArgsForCall, struct { 7957 arg1 []ccv3.Query 7958 }{arg1}) 7959 fake.recordInvocation("GetPackages", []interface{}{arg1}) 7960 fake.getPackagesMutex.Unlock() 7961 if fake.GetPackagesStub != nil { 7962 return fake.GetPackagesStub(arg1...) 7963 } 7964 if specificReturn { 7965 return ret.result1, ret.result2, ret.result3 7966 } 7967 fakeReturns := fake.getPackagesReturns 7968 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7969 } 7970 7971 func (fake *FakeCloudControllerClient) GetPackagesCallCount() int { 7972 fake.getPackagesMutex.RLock() 7973 defer fake.getPackagesMutex.RUnlock() 7974 return len(fake.getPackagesArgsForCall) 7975 } 7976 7977 func (fake *FakeCloudControllerClient) GetPackagesCalls(stub func(...ccv3.Query) ([]ccv3.Package, ccv3.Warnings, error)) { 7978 fake.getPackagesMutex.Lock() 7979 defer fake.getPackagesMutex.Unlock() 7980 fake.GetPackagesStub = stub 7981 } 7982 7983 func (fake *FakeCloudControllerClient) GetPackagesArgsForCall(i int) []ccv3.Query { 7984 fake.getPackagesMutex.RLock() 7985 defer fake.getPackagesMutex.RUnlock() 7986 argsForCall := fake.getPackagesArgsForCall[i] 7987 return argsForCall.arg1 7988 } 7989 7990 func (fake *FakeCloudControllerClient) GetPackagesReturns(result1 []ccv3.Package, result2 ccv3.Warnings, result3 error) { 7991 fake.getPackagesMutex.Lock() 7992 defer fake.getPackagesMutex.Unlock() 7993 fake.GetPackagesStub = nil 7994 fake.getPackagesReturns = struct { 7995 result1 []ccv3.Package 7996 result2 ccv3.Warnings 7997 result3 error 7998 }{result1, result2, result3} 7999 } 8000 8001 func (fake *FakeCloudControllerClient) GetPackagesReturnsOnCall(i int, result1 []ccv3.Package, result2 ccv3.Warnings, result3 error) { 8002 fake.getPackagesMutex.Lock() 8003 defer fake.getPackagesMutex.Unlock() 8004 fake.GetPackagesStub = nil 8005 if fake.getPackagesReturnsOnCall == nil { 8006 fake.getPackagesReturnsOnCall = make(map[int]struct { 8007 result1 []ccv3.Package 8008 result2 ccv3.Warnings 8009 result3 error 8010 }) 8011 } 8012 fake.getPackagesReturnsOnCall[i] = struct { 8013 result1 []ccv3.Package 8014 result2 ccv3.Warnings 8015 result3 error 8016 }{result1, result2, result3} 8017 } 8018 8019 func (fake *FakeCloudControllerClient) GetProcess(arg1 string) (ccv3.Process, ccv3.Warnings, error) { 8020 fake.getProcessMutex.Lock() 8021 ret, specificReturn := fake.getProcessReturnsOnCall[len(fake.getProcessArgsForCall)] 8022 fake.getProcessArgsForCall = append(fake.getProcessArgsForCall, struct { 8023 arg1 string 8024 }{arg1}) 8025 fake.recordInvocation("GetProcess", []interface{}{arg1}) 8026 fake.getProcessMutex.Unlock() 8027 if fake.GetProcessStub != nil { 8028 return fake.GetProcessStub(arg1) 8029 } 8030 if specificReturn { 8031 return ret.result1, ret.result2, ret.result3 8032 } 8033 fakeReturns := fake.getProcessReturns 8034 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8035 } 8036 8037 func (fake *FakeCloudControllerClient) GetProcessCallCount() int { 8038 fake.getProcessMutex.RLock() 8039 defer fake.getProcessMutex.RUnlock() 8040 return len(fake.getProcessArgsForCall) 8041 } 8042 8043 func (fake *FakeCloudControllerClient) GetProcessCalls(stub func(string) (ccv3.Process, ccv3.Warnings, error)) { 8044 fake.getProcessMutex.Lock() 8045 defer fake.getProcessMutex.Unlock() 8046 fake.GetProcessStub = stub 8047 } 8048 8049 func (fake *FakeCloudControllerClient) GetProcessArgsForCall(i int) string { 8050 fake.getProcessMutex.RLock() 8051 defer fake.getProcessMutex.RUnlock() 8052 argsForCall := fake.getProcessArgsForCall[i] 8053 return argsForCall.arg1 8054 } 8055 8056 func (fake *FakeCloudControllerClient) GetProcessReturns(result1 ccv3.Process, result2 ccv3.Warnings, result3 error) { 8057 fake.getProcessMutex.Lock() 8058 defer fake.getProcessMutex.Unlock() 8059 fake.GetProcessStub = nil 8060 fake.getProcessReturns = struct { 8061 result1 ccv3.Process 8062 result2 ccv3.Warnings 8063 result3 error 8064 }{result1, result2, result3} 8065 } 8066 8067 func (fake *FakeCloudControllerClient) GetProcessReturnsOnCall(i int, result1 ccv3.Process, result2 ccv3.Warnings, result3 error) { 8068 fake.getProcessMutex.Lock() 8069 defer fake.getProcessMutex.Unlock() 8070 fake.GetProcessStub = nil 8071 if fake.getProcessReturnsOnCall == nil { 8072 fake.getProcessReturnsOnCall = make(map[int]struct { 8073 result1 ccv3.Process 8074 result2 ccv3.Warnings 8075 result3 error 8076 }) 8077 } 8078 fake.getProcessReturnsOnCall[i] = struct { 8079 result1 ccv3.Process 8080 result2 ccv3.Warnings 8081 result3 error 8082 }{result1, result2, result3} 8083 } 8084 8085 func (fake *FakeCloudControllerClient) GetProcessInstances(arg1 string) ([]ccv3.ProcessInstance, ccv3.Warnings, error) { 8086 fake.getProcessInstancesMutex.Lock() 8087 ret, specificReturn := fake.getProcessInstancesReturnsOnCall[len(fake.getProcessInstancesArgsForCall)] 8088 fake.getProcessInstancesArgsForCall = append(fake.getProcessInstancesArgsForCall, struct { 8089 arg1 string 8090 }{arg1}) 8091 fake.recordInvocation("GetProcessInstances", []interface{}{arg1}) 8092 fake.getProcessInstancesMutex.Unlock() 8093 if fake.GetProcessInstancesStub != nil { 8094 return fake.GetProcessInstancesStub(arg1) 8095 } 8096 if specificReturn { 8097 return ret.result1, ret.result2, ret.result3 8098 } 8099 fakeReturns := fake.getProcessInstancesReturns 8100 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8101 } 8102 8103 func (fake *FakeCloudControllerClient) GetProcessInstancesCallCount() int { 8104 fake.getProcessInstancesMutex.RLock() 8105 defer fake.getProcessInstancesMutex.RUnlock() 8106 return len(fake.getProcessInstancesArgsForCall) 8107 } 8108 8109 func (fake *FakeCloudControllerClient) GetProcessInstancesCalls(stub func(string) ([]ccv3.ProcessInstance, ccv3.Warnings, error)) { 8110 fake.getProcessInstancesMutex.Lock() 8111 defer fake.getProcessInstancesMutex.Unlock() 8112 fake.GetProcessInstancesStub = stub 8113 } 8114 8115 func (fake *FakeCloudControllerClient) GetProcessInstancesArgsForCall(i int) string { 8116 fake.getProcessInstancesMutex.RLock() 8117 defer fake.getProcessInstancesMutex.RUnlock() 8118 argsForCall := fake.getProcessInstancesArgsForCall[i] 8119 return argsForCall.arg1 8120 } 8121 8122 func (fake *FakeCloudControllerClient) GetProcessInstancesReturns(result1 []ccv3.ProcessInstance, result2 ccv3.Warnings, result3 error) { 8123 fake.getProcessInstancesMutex.Lock() 8124 defer fake.getProcessInstancesMutex.Unlock() 8125 fake.GetProcessInstancesStub = nil 8126 fake.getProcessInstancesReturns = struct { 8127 result1 []ccv3.ProcessInstance 8128 result2 ccv3.Warnings 8129 result3 error 8130 }{result1, result2, result3} 8131 } 8132 8133 func (fake *FakeCloudControllerClient) GetProcessInstancesReturnsOnCall(i int, result1 []ccv3.ProcessInstance, result2 ccv3.Warnings, result3 error) { 8134 fake.getProcessInstancesMutex.Lock() 8135 defer fake.getProcessInstancesMutex.Unlock() 8136 fake.GetProcessInstancesStub = nil 8137 if fake.getProcessInstancesReturnsOnCall == nil { 8138 fake.getProcessInstancesReturnsOnCall = make(map[int]struct { 8139 result1 []ccv3.ProcessInstance 8140 result2 ccv3.Warnings 8141 result3 error 8142 }) 8143 } 8144 fake.getProcessInstancesReturnsOnCall[i] = struct { 8145 result1 []ccv3.ProcessInstance 8146 result2 ccv3.Warnings 8147 result3 error 8148 }{result1, result2, result3} 8149 } 8150 8151 func (fake *FakeCloudControllerClient) GetProcessSidecars(arg1 string) ([]ccv3.Sidecar, ccv3.Warnings, error) { 8152 fake.getProcessSidecarsMutex.Lock() 8153 ret, specificReturn := fake.getProcessSidecarsReturnsOnCall[len(fake.getProcessSidecarsArgsForCall)] 8154 fake.getProcessSidecarsArgsForCall = append(fake.getProcessSidecarsArgsForCall, struct { 8155 arg1 string 8156 }{arg1}) 8157 fake.recordInvocation("GetProcessSidecars", []interface{}{arg1}) 8158 fake.getProcessSidecarsMutex.Unlock() 8159 if fake.GetProcessSidecarsStub != nil { 8160 return fake.GetProcessSidecarsStub(arg1) 8161 } 8162 if specificReturn { 8163 return ret.result1, ret.result2, ret.result3 8164 } 8165 fakeReturns := fake.getProcessSidecarsReturns 8166 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8167 } 8168 8169 func (fake *FakeCloudControllerClient) GetProcessSidecarsCallCount() int { 8170 fake.getProcessSidecarsMutex.RLock() 8171 defer fake.getProcessSidecarsMutex.RUnlock() 8172 return len(fake.getProcessSidecarsArgsForCall) 8173 } 8174 8175 func (fake *FakeCloudControllerClient) GetProcessSidecarsCalls(stub func(string) ([]ccv3.Sidecar, ccv3.Warnings, error)) { 8176 fake.getProcessSidecarsMutex.Lock() 8177 defer fake.getProcessSidecarsMutex.Unlock() 8178 fake.GetProcessSidecarsStub = stub 8179 } 8180 8181 func (fake *FakeCloudControllerClient) GetProcessSidecarsArgsForCall(i int) string { 8182 fake.getProcessSidecarsMutex.RLock() 8183 defer fake.getProcessSidecarsMutex.RUnlock() 8184 argsForCall := fake.getProcessSidecarsArgsForCall[i] 8185 return argsForCall.arg1 8186 } 8187 8188 func (fake *FakeCloudControllerClient) GetProcessSidecarsReturns(result1 []ccv3.Sidecar, result2 ccv3.Warnings, result3 error) { 8189 fake.getProcessSidecarsMutex.Lock() 8190 defer fake.getProcessSidecarsMutex.Unlock() 8191 fake.GetProcessSidecarsStub = nil 8192 fake.getProcessSidecarsReturns = struct { 8193 result1 []ccv3.Sidecar 8194 result2 ccv3.Warnings 8195 result3 error 8196 }{result1, result2, result3} 8197 } 8198 8199 func (fake *FakeCloudControllerClient) GetProcessSidecarsReturnsOnCall(i int, result1 []ccv3.Sidecar, result2 ccv3.Warnings, result3 error) { 8200 fake.getProcessSidecarsMutex.Lock() 8201 defer fake.getProcessSidecarsMutex.Unlock() 8202 fake.GetProcessSidecarsStub = nil 8203 if fake.getProcessSidecarsReturnsOnCall == nil { 8204 fake.getProcessSidecarsReturnsOnCall = make(map[int]struct { 8205 result1 []ccv3.Sidecar 8206 result2 ccv3.Warnings 8207 result3 error 8208 }) 8209 } 8210 fake.getProcessSidecarsReturnsOnCall[i] = struct { 8211 result1 []ccv3.Sidecar 8212 result2 ccv3.Warnings 8213 result3 error 8214 }{result1, result2, result3} 8215 } 8216 8217 func (fake *FakeCloudControllerClient) GetProcesses(arg1 ...ccv3.Query) ([]ccv3.Process, ccv3.Warnings, error) { 8218 fake.getProcessesMutex.Lock() 8219 ret, specificReturn := fake.getProcessesReturnsOnCall[len(fake.getProcessesArgsForCall)] 8220 fake.getProcessesArgsForCall = append(fake.getProcessesArgsForCall, struct { 8221 arg1 []ccv3.Query 8222 }{arg1}) 8223 fake.recordInvocation("GetProcesses", []interface{}{arg1}) 8224 fake.getProcessesMutex.Unlock() 8225 if fake.GetProcessesStub != nil { 8226 return fake.GetProcessesStub(arg1...) 8227 } 8228 if specificReturn { 8229 return ret.result1, ret.result2, ret.result3 8230 } 8231 fakeReturns := fake.getProcessesReturns 8232 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8233 } 8234 8235 func (fake *FakeCloudControllerClient) GetProcessesCallCount() int { 8236 fake.getProcessesMutex.RLock() 8237 defer fake.getProcessesMutex.RUnlock() 8238 return len(fake.getProcessesArgsForCall) 8239 } 8240 8241 func (fake *FakeCloudControllerClient) GetProcessesCalls(stub func(...ccv3.Query) ([]ccv3.Process, ccv3.Warnings, error)) { 8242 fake.getProcessesMutex.Lock() 8243 defer fake.getProcessesMutex.Unlock() 8244 fake.GetProcessesStub = stub 8245 } 8246 8247 func (fake *FakeCloudControllerClient) GetProcessesArgsForCall(i int) []ccv3.Query { 8248 fake.getProcessesMutex.RLock() 8249 defer fake.getProcessesMutex.RUnlock() 8250 argsForCall := fake.getProcessesArgsForCall[i] 8251 return argsForCall.arg1 8252 } 8253 8254 func (fake *FakeCloudControllerClient) GetProcessesReturns(result1 []ccv3.Process, result2 ccv3.Warnings, result3 error) { 8255 fake.getProcessesMutex.Lock() 8256 defer fake.getProcessesMutex.Unlock() 8257 fake.GetProcessesStub = nil 8258 fake.getProcessesReturns = struct { 8259 result1 []ccv3.Process 8260 result2 ccv3.Warnings 8261 result3 error 8262 }{result1, result2, result3} 8263 } 8264 8265 func (fake *FakeCloudControllerClient) GetProcessesReturnsOnCall(i int, result1 []ccv3.Process, result2 ccv3.Warnings, result3 error) { 8266 fake.getProcessesMutex.Lock() 8267 defer fake.getProcessesMutex.Unlock() 8268 fake.GetProcessesStub = nil 8269 if fake.getProcessesReturnsOnCall == nil { 8270 fake.getProcessesReturnsOnCall = make(map[int]struct { 8271 result1 []ccv3.Process 8272 result2 ccv3.Warnings 8273 result3 error 8274 }) 8275 } 8276 fake.getProcessesReturnsOnCall[i] = struct { 8277 result1 []ccv3.Process 8278 result2 ccv3.Warnings 8279 result3 error 8280 }{result1, result2, result3} 8281 } 8282 8283 func (fake *FakeCloudControllerClient) GetRoles(arg1 ...ccv3.Query) ([]resources.Role, ccv3.IncludedResources, ccv3.Warnings, error) { 8284 fake.getRolesMutex.Lock() 8285 ret, specificReturn := fake.getRolesReturnsOnCall[len(fake.getRolesArgsForCall)] 8286 fake.getRolesArgsForCall = append(fake.getRolesArgsForCall, struct { 8287 arg1 []ccv3.Query 8288 }{arg1}) 8289 fake.recordInvocation("GetRoles", []interface{}{arg1}) 8290 fake.getRolesMutex.Unlock() 8291 if fake.GetRolesStub != nil { 8292 return fake.GetRolesStub(arg1...) 8293 } 8294 if specificReturn { 8295 return ret.result1, ret.result2, ret.result3, ret.result4 8296 } 8297 fakeReturns := fake.getRolesReturns 8298 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3, fakeReturns.result4 8299 } 8300 8301 func (fake *FakeCloudControllerClient) GetRolesCallCount() int { 8302 fake.getRolesMutex.RLock() 8303 defer fake.getRolesMutex.RUnlock() 8304 return len(fake.getRolesArgsForCall) 8305 } 8306 8307 func (fake *FakeCloudControllerClient) GetRolesCalls(stub func(...ccv3.Query) ([]resources.Role, ccv3.IncludedResources, ccv3.Warnings, error)) { 8308 fake.getRolesMutex.Lock() 8309 defer fake.getRolesMutex.Unlock() 8310 fake.GetRolesStub = stub 8311 } 8312 8313 func (fake *FakeCloudControllerClient) GetRolesArgsForCall(i int) []ccv3.Query { 8314 fake.getRolesMutex.RLock() 8315 defer fake.getRolesMutex.RUnlock() 8316 argsForCall := fake.getRolesArgsForCall[i] 8317 return argsForCall.arg1 8318 } 8319 8320 func (fake *FakeCloudControllerClient) GetRolesReturns(result1 []resources.Role, result2 ccv3.IncludedResources, result3 ccv3.Warnings, result4 error) { 8321 fake.getRolesMutex.Lock() 8322 defer fake.getRolesMutex.Unlock() 8323 fake.GetRolesStub = nil 8324 fake.getRolesReturns = struct { 8325 result1 []resources.Role 8326 result2 ccv3.IncludedResources 8327 result3 ccv3.Warnings 8328 result4 error 8329 }{result1, result2, result3, result4} 8330 } 8331 8332 func (fake *FakeCloudControllerClient) GetRolesReturnsOnCall(i int, result1 []resources.Role, result2 ccv3.IncludedResources, result3 ccv3.Warnings, result4 error) { 8333 fake.getRolesMutex.Lock() 8334 defer fake.getRolesMutex.Unlock() 8335 fake.GetRolesStub = nil 8336 if fake.getRolesReturnsOnCall == nil { 8337 fake.getRolesReturnsOnCall = make(map[int]struct { 8338 result1 []resources.Role 8339 result2 ccv3.IncludedResources 8340 result3 ccv3.Warnings 8341 result4 error 8342 }) 8343 } 8344 fake.getRolesReturnsOnCall[i] = struct { 8345 result1 []resources.Role 8346 result2 ccv3.IncludedResources 8347 result3 ccv3.Warnings 8348 result4 error 8349 }{result1, result2, result3, result4} 8350 } 8351 8352 func (fake *FakeCloudControllerClient) GetRouteDestinations(arg1 string) ([]resources.RouteDestination, ccv3.Warnings, error) { 8353 fake.getRouteDestinationsMutex.Lock() 8354 ret, specificReturn := fake.getRouteDestinationsReturnsOnCall[len(fake.getRouteDestinationsArgsForCall)] 8355 fake.getRouteDestinationsArgsForCall = append(fake.getRouteDestinationsArgsForCall, struct { 8356 arg1 string 8357 }{arg1}) 8358 fake.recordInvocation("GetRouteDestinations", []interface{}{arg1}) 8359 fake.getRouteDestinationsMutex.Unlock() 8360 if fake.GetRouteDestinationsStub != nil { 8361 return fake.GetRouteDestinationsStub(arg1) 8362 } 8363 if specificReturn { 8364 return ret.result1, ret.result2, ret.result3 8365 } 8366 fakeReturns := fake.getRouteDestinationsReturns 8367 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8368 } 8369 8370 func (fake *FakeCloudControllerClient) GetRouteDestinationsCallCount() int { 8371 fake.getRouteDestinationsMutex.RLock() 8372 defer fake.getRouteDestinationsMutex.RUnlock() 8373 return len(fake.getRouteDestinationsArgsForCall) 8374 } 8375 8376 func (fake *FakeCloudControllerClient) GetRouteDestinationsCalls(stub func(string) ([]resources.RouteDestination, ccv3.Warnings, error)) { 8377 fake.getRouteDestinationsMutex.Lock() 8378 defer fake.getRouteDestinationsMutex.Unlock() 8379 fake.GetRouteDestinationsStub = stub 8380 } 8381 8382 func (fake *FakeCloudControllerClient) GetRouteDestinationsArgsForCall(i int) string { 8383 fake.getRouteDestinationsMutex.RLock() 8384 defer fake.getRouteDestinationsMutex.RUnlock() 8385 argsForCall := fake.getRouteDestinationsArgsForCall[i] 8386 return argsForCall.arg1 8387 } 8388 8389 func (fake *FakeCloudControllerClient) GetRouteDestinationsReturns(result1 []resources.RouteDestination, result2 ccv3.Warnings, result3 error) { 8390 fake.getRouteDestinationsMutex.Lock() 8391 defer fake.getRouteDestinationsMutex.Unlock() 8392 fake.GetRouteDestinationsStub = nil 8393 fake.getRouteDestinationsReturns = struct { 8394 result1 []resources.RouteDestination 8395 result2 ccv3.Warnings 8396 result3 error 8397 }{result1, result2, result3} 8398 } 8399 8400 func (fake *FakeCloudControllerClient) GetRouteDestinationsReturnsOnCall(i int, result1 []resources.RouteDestination, result2 ccv3.Warnings, result3 error) { 8401 fake.getRouteDestinationsMutex.Lock() 8402 defer fake.getRouteDestinationsMutex.Unlock() 8403 fake.GetRouteDestinationsStub = nil 8404 if fake.getRouteDestinationsReturnsOnCall == nil { 8405 fake.getRouteDestinationsReturnsOnCall = make(map[int]struct { 8406 result1 []resources.RouteDestination 8407 result2 ccv3.Warnings 8408 result3 error 8409 }) 8410 } 8411 fake.getRouteDestinationsReturnsOnCall[i] = struct { 8412 result1 []resources.RouteDestination 8413 result2 ccv3.Warnings 8414 result3 error 8415 }{result1, result2, result3} 8416 } 8417 8418 func (fake *FakeCloudControllerClient) GetRoutes(arg1 ...ccv3.Query) ([]resources.Route, ccv3.Warnings, error) { 8419 fake.getRoutesMutex.Lock() 8420 ret, specificReturn := fake.getRoutesReturnsOnCall[len(fake.getRoutesArgsForCall)] 8421 fake.getRoutesArgsForCall = append(fake.getRoutesArgsForCall, struct { 8422 arg1 []ccv3.Query 8423 }{arg1}) 8424 fake.recordInvocation("GetRoutes", []interface{}{arg1}) 8425 fake.getRoutesMutex.Unlock() 8426 if fake.GetRoutesStub != nil { 8427 return fake.GetRoutesStub(arg1...) 8428 } 8429 if specificReturn { 8430 return ret.result1, ret.result2, ret.result3 8431 } 8432 fakeReturns := fake.getRoutesReturns 8433 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8434 } 8435 8436 func (fake *FakeCloudControllerClient) GetRoutesCallCount() int { 8437 fake.getRoutesMutex.RLock() 8438 defer fake.getRoutesMutex.RUnlock() 8439 return len(fake.getRoutesArgsForCall) 8440 } 8441 8442 func (fake *FakeCloudControllerClient) GetRoutesCalls(stub func(...ccv3.Query) ([]resources.Route, ccv3.Warnings, error)) { 8443 fake.getRoutesMutex.Lock() 8444 defer fake.getRoutesMutex.Unlock() 8445 fake.GetRoutesStub = stub 8446 } 8447 8448 func (fake *FakeCloudControllerClient) GetRoutesArgsForCall(i int) []ccv3.Query { 8449 fake.getRoutesMutex.RLock() 8450 defer fake.getRoutesMutex.RUnlock() 8451 argsForCall := fake.getRoutesArgsForCall[i] 8452 return argsForCall.arg1 8453 } 8454 8455 func (fake *FakeCloudControllerClient) GetRoutesReturns(result1 []resources.Route, result2 ccv3.Warnings, result3 error) { 8456 fake.getRoutesMutex.Lock() 8457 defer fake.getRoutesMutex.Unlock() 8458 fake.GetRoutesStub = nil 8459 fake.getRoutesReturns = struct { 8460 result1 []resources.Route 8461 result2 ccv3.Warnings 8462 result3 error 8463 }{result1, result2, result3} 8464 } 8465 8466 func (fake *FakeCloudControllerClient) GetRoutesReturnsOnCall(i int, result1 []resources.Route, result2 ccv3.Warnings, result3 error) { 8467 fake.getRoutesMutex.Lock() 8468 defer fake.getRoutesMutex.Unlock() 8469 fake.GetRoutesStub = nil 8470 if fake.getRoutesReturnsOnCall == nil { 8471 fake.getRoutesReturnsOnCall = make(map[int]struct { 8472 result1 []resources.Route 8473 result2 ccv3.Warnings 8474 result3 error 8475 }) 8476 } 8477 fake.getRoutesReturnsOnCall[i] = struct { 8478 result1 []resources.Route 8479 result2 ccv3.Warnings 8480 result3 error 8481 }{result1, result2, result3} 8482 } 8483 8484 func (fake *FakeCloudControllerClient) GetRunningSecurityGroups(arg1 string, arg2 ...ccv3.Query) ([]resources.SecurityGroup, ccv3.Warnings, error) { 8485 fake.getRunningSecurityGroupsMutex.Lock() 8486 ret, specificReturn := fake.getRunningSecurityGroupsReturnsOnCall[len(fake.getRunningSecurityGroupsArgsForCall)] 8487 fake.getRunningSecurityGroupsArgsForCall = append(fake.getRunningSecurityGroupsArgsForCall, struct { 8488 arg1 string 8489 arg2 []ccv3.Query 8490 }{arg1, arg2}) 8491 fake.recordInvocation("GetRunningSecurityGroups", []interface{}{arg1, arg2}) 8492 fake.getRunningSecurityGroupsMutex.Unlock() 8493 if fake.GetRunningSecurityGroupsStub != nil { 8494 return fake.GetRunningSecurityGroupsStub(arg1, arg2...) 8495 } 8496 if specificReturn { 8497 return ret.result1, ret.result2, ret.result3 8498 } 8499 fakeReturns := fake.getRunningSecurityGroupsReturns 8500 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8501 } 8502 8503 func (fake *FakeCloudControllerClient) GetRunningSecurityGroupsCallCount() int { 8504 fake.getRunningSecurityGroupsMutex.RLock() 8505 defer fake.getRunningSecurityGroupsMutex.RUnlock() 8506 return len(fake.getRunningSecurityGroupsArgsForCall) 8507 } 8508 8509 func (fake *FakeCloudControllerClient) GetRunningSecurityGroupsCalls(stub func(string, ...ccv3.Query) ([]resources.SecurityGroup, ccv3.Warnings, error)) { 8510 fake.getRunningSecurityGroupsMutex.Lock() 8511 defer fake.getRunningSecurityGroupsMutex.Unlock() 8512 fake.GetRunningSecurityGroupsStub = stub 8513 } 8514 8515 func (fake *FakeCloudControllerClient) GetRunningSecurityGroupsArgsForCall(i int) (string, []ccv3.Query) { 8516 fake.getRunningSecurityGroupsMutex.RLock() 8517 defer fake.getRunningSecurityGroupsMutex.RUnlock() 8518 argsForCall := fake.getRunningSecurityGroupsArgsForCall[i] 8519 return argsForCall.arg1, argsForCall.arg2 8520 } 8521 8522 func (fake *FakeCloudControllerClient) GetRunningSecurityGroupsReturns(result1 []resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 8523 fake.getRunningSecurityGroupsMutex.Lock() 8524 defer fake.getRunningSecurityGroupsMutex.Unlock() 8525 fake.GetRunningSecurityGroupsStub = nil 8526 fake.getRunningSecurityGroupsReturns = struct { 8527 result1 []resources.SecurityGroup 8528 result2 ccv3.Warnings 8529 result3 error 8530 }{result1, result2, result3} 8531 } 8532 8533 func (fake *FakeCloudControllerClient) GetRunningSecurityGroupsReturnsOnCall(i int, result1 []resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 8534 fake.getRunningSecurityGroupsMutex.Lock() 8535 defer fake.getRunningSecurityGroupsMutex.Unlock() 8536 fake.GetRunningSecurityGroupsStub = nil 8537 if fake.getRunningSecurityGroupsReturnsOnCall == nil { 8538 fake.getRunningSecurityGroupsReturnsOnCall = make(map[int]struct { 8539 result1 []resources.SecurityGroup 8540 result2 ccv3.Warnings 8541 result3 error 8542 }) 8543 } 8544 fake.getRunningSecurityGroupsReturnsOnCall[i] = struct { 8545 result1 []resources.SecurityGroup 8546 result2 ccv3.Warnings 8547 result3 error 8548 }{result1, result2, result3} 8549 } 8550 8551 func (fake *FakeCloudControllerClient) GetSSHEnabled(arg1 string) (ccv3.SSHEnabled, ccv3.Warnings, error) { 8552 fake.getSSHEnabledMutex.Lock() 8553 ret, specificReturn := fake.getSSHEnabledReturnsOnCall[len(fake.getSSHEnabledArgsForCall)] 8554 fake.getSSHEnabledArgsForCall = append(fake.getSSHEnabledArgsForCall, struct { 8555 arg1 string 8556 }{arg1}) 8557 fake.recordInvocation("GetSSHEnabled", []interface{}{arg1}) 8558 fake.getSSHEnabledMutex.Unlock() 8559 if fake.GetSSHEnabledStub != nil { 8560 return fake.GetSSHEnabledStub(arg1) 8561 } 8562 if specificReturn { 8563 return ret.result1, ret.result2, ret.result3 8564 } 8565 fakeReturns := fake.getSSHEnabledReturns 8566 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8567 } 8568 8569 func (fake *FakeCloudControllerClient) GetSSHEnabledCallCount() int { 8570 fake.getSSHEnabledMutex.RLock() 8571 defer fake.getSSHEnabledMutex.RUnlock() 8572 return len(fake.getSSHEnabledArgsForCall) 8573 } 8574 8575 func (fake *FakeCloudControllerClient) GetSSHEnabledCalls(stub func(string) (ccv3.SSHEnabled, ccv3.Warnings, error)) { 8576 fake.getSSHEnabledMutex.Lock() 8577 defer fake.getSSHEnabledMutex.Unlock() 8578 fake.GetSSHEnabledStub = stub 8579 } 8580 8581 func (fake *FakeCloudControllerClient) GetSSHEnabledArgsForCall(i int) string { 8582 fake.getSSHEnabledMutex.RLock() 8583 defer fake.getSSHEnabledMutex.RUnlock() 8584 argsForCall := fake.getSSHEnabledArgsForCall[i] 8585 return argsForCall.arg1 8586 } 8587 8588 func (fake *FakeCloudControllerClient) GetSSHEnabledReturns(result1 ccv3.SSHEnabled, result2 ccv3.Warnings, result3 error) { 8589 fake.getSSHEnabledMutex.Lock() 8590 defer fake.getSSHEnabledMutex.Unlock() 8591 fake.GetSSHEnabledStub = nil 8592 fake.getSSHEnabledReturns = struct { 8593 result1 ccv3.SSHEnabled 8594 result2 ccv3.Warnings 8595 result3 error 8596 }{result1, result2, result3} 8597 } 8598 8599 func (fake *FakeCloudControllerClient) GetSSHEnabledReturnsOnCall(i int, result1 ccv3.SSHEnabled, result2 ccv3.Warnings, result3 error) { 8600 fake.getSSHEnabledMutex.Lock() 8601 defer fake.getSSHEnabledMutex.Unlock() 8602 fake.GetSSHEnabledStub = nil 8603 if fake.getSSHEnabledReturnsOnCall == nil { 8604 fake.getSSHEnabledReturnsOnCall = make(map[int]struct { 8605 result1 ccv3.SSHEnabled 8606 result2 ccv3.Warnings 8607 result3 error 8608 }) 8609 } 8610 fake.getSSHEnabledReturnsOnCall[i] = struct { 8611 result1 ccv3.SSHEnabled 8612 result2 ccv3.Warnings 8613 result3 error 8614 }{result1, result2, result3} 8615 } 8616 8617 func (fake *FakeCloudControllerClient) GetSecurityGroups(arg1 ...ccv3.Query) ([]resources.SecurityGroup, ccv3.Warnings, error) { 8618 fake.getSecurityGroupsMutex.Lock() 8619 ret, specificReturn := fake.getSecurityGroupsReturnsOnCall[len(fake.getSecurityGroupsArgsForCall)] 8620 fake.getSecurityGroupsArgsForCall = append(fake.getSecurityGroupsArgsForCall, struct { 8621 arg1 []ccv3.Query 8622 }{arg1}) 8623 fake.recordInvocation("GetSecurityGroups", []interface{}{arg1}) 8624 fake.getSecurityGroupsMutex.Unlock() 8625 if fake.GetSecurityGroupsStub != nil { 8626 return fake.GetSecurityGroupsStub(arg1...) 8627 } 8628 if specificReturn { 8629 return ret.result1, ret.result2, ret.result3 8630 } 8631 fakeReturns := fake.getSecurityGroupsReturns 8632 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8633 } 8634 8635 func (fake *FakeCloudControllerClient) GetSecurityGroupsCallCount() int { 8636 fake.getSecurityGroupsMutex.RLock() 8637 defer fake.getSecurityGroupsMutex.RUnlock() 8638 return len(fake.getSecurityGroupsArgsForCall) 8639 } 8640 8641 func (fake *FakeCloudControllerClient) GetSecurityGroupsCalls(stub func(...ccv3.Query) ([]resources.SecurityGroup, ccv3.Warnings, error)) { 8642 fake.getSecurityGroupsMutex.Lock() 8643 defer fake.getSecurityGroupsMutex.Unlock() 8644 fake.GetSecurityGroupsStub = stub 8645 } 8646 8647 func (fake *FakeCloudControllerClient) GetSecurityGroupsArgsForCall(i int) []ccv3.Query { 8648 fake.getSecurityGroupsMutex.RLock() 8649 defer fake.getSecurityGroupsMutex.RUnlock() 8650 argsForCall := fake.getSecurityGroupsArgsForCall[i] 8651 return argsForCall.arg1 8652 } 8653 8654 func (fake *FakeCloudControllerClient) GetSecurityGroupsReturns(result1 []resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 8655 fake.getSecurityGroupsMutex.Lock() 8656 defer fake.getSecurityGroupsMutex.Unlock() 8657 fake.GetSecurityGroupsStub = nil 8658 fake.getSecurityGroupsReturns = struct { 8659 result1 []resources.SecurityGroup 8660 result2 ccv3.Warnings 8661 result3 error 8662 }{result1, result2, result3} 8663 } 8664 8665 func (fake *FakeCloudControllerClient) GetSecurityGroupsReturnsOnCall(i int, result1 []resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 8666 fake.getSecurityGroupsMutex.Lock() 8667 defer fake.getSecurityGroupsMutex.Unlock() 8668 fake.GetSecurityGroupsStub = nil 8669 if fake.getSecurityGroupsReturnsOnCall == nil { 8670 fake.getSecurityGroupsReturnsOnCall = make(map[int]struct { 8671 result1 []resources.SecurityGroup 8672 result2 ccv3.Warnings 8673 result3 error 8674 }) 8675 } 8676 fake.getSecurityGroupsReturnsOnCall[i] = struct { 8677 result1 []resources.SecurityGroup 8678 result2 ccv3.Warnings 8679 result3 error 8680 }{result1, result2, result3} 8681 } 8682 8683 func (fake *FakeCloudControllerClient) GetServiceBrokers(arg1 ...ccv3.Query) ([]resources.ServiceBroker, ccv3.Warnings, error) { 8684 fake.getServiceBrokersMutex.Lock() 8685 ret, specificReturn := fake.getServiceBrokersReturnsOnCall[len(fake.getServiceBrokersArgsForCall)] 8686 fake.getServiceBrokersArgsForCall = append(fake.getServiceBrokersArgsForCall, struct { 8687 arg1 []ccv3.Query 8688 }{arg1}) 8689 fake.recordInvocation("GetServiceBrokers", []interface{}{arg1}) 8690 fake.getServiceBrokersMutex.Unlock() 8691 if fake.GetServiceBrokersStub != nil { 8692 return fake.GetServiceBrokersStub(arg1...) 8693 } 8694 if specificReturn { 8695 return ret.result1, ret.result2, ret.result3 8696 } 8697 fakeReturns := fake.getServiceBrokersReturns 8698 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8699 } 8700 8701 func (fake *FakeCloudControllerClient) GetServiceBrokersCallCount() int { 8702 fake.getServiceBrokersMutex.RLock() 8703 defer fake.getServiceBrokersMutex.RUnlock() 8704 return len(fake.getServiceBrokersArgsForCall) 8705 } 8706 8707 func (fake *FakeCloudControllerClient) GetServiceBrokersCalls(stub func(...ccv3.Query) ([]resources.ServiceBroker, ccv3.Warnings, error)) { 8708 fake.getServiceBrokersMutex.Lock() 8709 defer fake.getServiceBrokersMutex.Unlock() 8710 fake.GetServiceBrokersStub = stub 8711 } 8712 8713 func (fake *FakeCloudControllerClient) GetServiceBrokersArgsForCall(i int) []ccv3.Query { 8714 fake.getServiceBrokersMutex.RLock() 8715 defer fake.getServiceBrokersMutex.RUnlock() 8716 argsForCall := fake.getServiceBrokersArgsForCall[i] 8717 return argsForCall.arg1 8718 } 8719 8720 func (fake *FakeCloudControllerClient) GetServiceBrokersReturns(result1 []resources.ServiceBroker, result2 ccv3.Warnings, result3 error) { 8721 fake.getServiceBrokersMutex.Lock() 8722 defer fake.getServiceBrokersMutex.Unlock() 8723 fake.GetServiceBrokersStub = nil 8724 fake.getServiceBrokersReturns = struct { 8725 result1 []resources.ServiceBroker 8726 result2 ccv3.Warnings 8727 result3 error 8728 }{result1, result2, result3} 8729 } 8730 8731 func (fake *FakeCloudControllerClient) GetServiceBrokersReturnsOnCall(i int, result1 []resources.ServiceBroker, result2 ccv3.Warnings, result3 error) { 8732 fake.getServiceBrokersMutex.Lock() 8733 defer fake.getServiceBrokersMutex.Unlock() 8734 fake.GetServiceBrokersStub = nil 8735 if fake.getServiceBrokersReturnsOnCall == nil { 8736 fake.getServiceBrokersReturnsOnCall = make(map[int]struct { 8737 result1 []resources.ServiceBroker 8738 result2 ccv3.Warnings 8739 result3 error 8740 }) 8741 } 8742 fake.getServiceBrokersReturnsOnCall[i] = struct { 8743 result1 []resources.ServiceBroker 8744 result2 ccv3.Warnings 8745 result3 error 8746 }{result1, result2, result3} 8747 } 8748 8749 func (fake *FakeCloudControllerClient) GetServiceInstances(arg1 ...ccv3.Query) ([]resources.ServiceInstance, ccv3.Warnings, error) { 8750 fake.getServiceInstancesMutex.Lock() 8751 ret, specificReturn := fake.getServiceInstancesReturnsOnCall[len(fake.getServiceInstancesArgsForCall)] 8752 fake.getServiceInstancesArgsForCall = append(fake.getServiceInstancesArgsForCall, struct { 8753 arg1 []ccv3.Query 8754 }{arg1}) 8755 fake.recordInvocation("GetServiceInstances", []interface{}{arg1}) 8756 fake.getServiceInstancesMutex.Unlock() 8757 if fake.GetServiceInstancesStub != nil { 8758 return fake.GetServiceInstancesStub(arg1...) 8759 } 8760 if specificReturn { 8761 return ret.result1, ret.result2, ret.result3 8762 } 8763 fakeReturns := fake.getServiceInstancesReturns 8764 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8765 } 8766 8767 func (fake *FakeCloudControllerClient) GetServiceInstancesCallCount() int { 8768 fake.getServiceInstancesMutex.RLock() 8769 defer fake.getServiceInstancesMutex.RUnlock() 8770 return len(fake.getServiceInstancesArgsForCall) 8771 } 8772 8773 func (fake *FakeCloudControllerClient) GetServiceInstancesCalls(stub func(...ccv3.Query) ([]resources.ServiceInstance, ccv3.Warnings, error)) { 8774 fake.getServiceInstancesMutex.Lock() 8775 defer fake.getServiceInstancesMutex.Unlock() 8776 fake.GetServiceInstancesStub = stub 8777 } 8778 8779 func (fake *FakeCloudControllerClient) GetServiceInstancesArgsForCall(i int) []ccv3.Query { 8780 fake.getServiceInstancesMutex.RLock() 8781 defer fake.getServiceInstancesMutex.RUnlock() 8782 argsForCall := fake.getServiceInstancesArgsForCall[i] 8783 return argsForCall.arg1 8784 } 8785 8786 func (fake *FakeCloudControllerClient) GetServiceInstancesReturns(result1 []resources.ServiceInstance, result2 ccv3.Warnings, result3 error) { 8787 fake.getServiceInstancesMutex.Lock() 8788 defer fake.getServiceInstancesMutex.Unlock() 8789 fake.GetServiceInstancesStub = nil 8790 fake.getServiceInstancesReturns = struct { 8791 result1 []resources.ServiceInstance 8792 result2 ccv3.Warnings 8793 result3 error 8794 }{result1, result2, result3} 8795 } 8796 8797 func (fake *FakeCloudControllerClient) GetServiceInstancesReturnsOnCall(i int, result1 []resources.ServiceInstance, result2 ccv3.Warnings, result3 error) { 8798 fake.getServiceInstancesMutex.Lock() 8799 defer fake.getServiceInstancesMutex.Unlock() 8800 fake.GetServiceInstancesStub = nil 8801 if fake.getServiceInstancesReturnsOnCall == nil { 8802 fake.getServiceInstancesReturnsOnCall = make(map[int]struct { 8803 result1 []resources.ServiceInstance 8804 result2 ccv3.Warnings 8805 result3 error 8806 }) 8807 } 8808 fake.getServiceInstancesReturnsOnCall[i] = struct { 8809 result1 []resources.ServiceInstance 8810 result2 ccv3.Warnings 8811 result3 error 8812 }{result1, result2, result3} 8813 } 8814 8815 func (fake *FakeCloudControllerClient) GetServiceOfferingByNameAndBroker(arg1 string, arg2 string) (resources.ServiceOffering, ccv3.Warnings, error) { 8816 fake.getServiceOfferingByNameAndBrokerMutex.Lock() 8817 ret, specificReturn := fake.getServiceOfferingByNameAndBrokerReturnsOnCall[len(fake.getServiceOfferingByNameAndBrokerArgsForCall)] 8818 fake.getServiceOfferingByNameAndBrokerArgsForCall = append(fake.getServiceOfferingByNameAndBrokerArgsForCall, struct { 8819 arg1 string 8820 arg2 string 8821 }{arg1, arg2}) 8822 fake.recordInvocation("GetServiceOfferingByNameAndBroker", []interface{}{arg1, arg2}) 8823 fake.getServiceOfferingByNameAndBrokerMutex.Unlock() 8824 if fake.GetServiceOfferingByNameAndBrokerStub != nil { 8825 return fake.GetServiceOfferingByNameAndBrokerStub(arg1, arg2) 8826 } 8827 if specificReturn { 8828 return ret.result1, ret.result2, ret.result3 8829 } 8830 fakeReturns := fake.getServiceOfferingByNameAndBrokerReturns 8831 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8832 } 8833 8834 func (fake *FakeCloudControllerClient) GetServiceOfferingByNameAndBrokerCallCount() int { 8835 fake.getServiceOfferingByNameAndBrokerMutex.RLock() 8836 defer fake.getServiceOfferingByNameAndBrokerMutex.RUnlock() 8837 return len(fake.getServiceOfferingByNameAndBrokerArgsForCall) 8838 } 8839 8840 func (fake *FakeCloudControllerClient) GetServiceOfferingByNameAndBrokerCalls(stub func(string, string) (resources.ServiceOffering, ccv3.Warnings, error)) { 8841 fake.getServiceOfferingByNameAndBrokerMutex.Lock() 8842 defer fake.getServiceOfferingByNameAndBrokerMutex.Unlock() 8843 fake.GetServiceOfferingByNameAndBrokerStub = stub 8844 } 8845 8846 func (fake *FakeCloudControllerClient) GetServiceOfferingByNameAndBrokerArgsForCall(i int) (string, string) { 8847 fake.getServiceOfferingByNameAndBrokerMutex.RLock() 8848 defer fake.getServiceOfferingByNameAndBrokerMutex.RUnlock() 8849 argsForCall := fake.getServiceOfferingByNameAndBrokerArgsForCall[i] 8850 return argsForCall.arg1, argsForCall.arg2 8851 } 8852 8853 func (fake *FakeCloudControllerClient) GetServiceOfferingByNameAndBrokerReturns(result1 resources.ServiceOffering, result2 ccv3.Warnings, result3 error) { 8854 fake.getServiceOfferingByNameAndBrokerMutex.Lock() 8855 defer fake.getServiceOfferingByNameAndBrokerMutex.Unlock() 8856 fake.GetServiceOfferingByNameAndBrokerStub = nil 8857 fake.getServiceOfferingByNameAndBrokerReturns = struct { 8858 result1 resources.ServiceOffering 8859 result2 ccv3.Warnings 8860 result3 error 8861 }{result1, result2, result3} 8862 } 8863 8864 func (fake *FakeCloudControllerClient) GetServiceOfferingByNameAndBrokerReturnsOnCall(i int, result1 resources.ServiceOffering, result2 ccv3.Warnings, result3 error) { 8865 fake.getServiceOfferingByNameAndBrokerMutex.Lock() 8866 defer fake.getServiceOfferingByNameAndBrokerMutex.Unlock() 8867 fake.GetServiceOfferingByNameAndBrokerStub = nil 8868 if fake.getServiceOfferingByNameAndBrokerReturnsOnCall == nil { 8869 fake.getServiceOfferingByNameAndBrokerReturnsOnCall = make(map[int]struct { 8870 result1 resources.ServiceOffering 8871 result2 ccv3.Warnings 8872 result3 error 8873 }) 8874 } 8875 fake.getServiceOfferingByNameAndBrokerReturnsOnCall[i] = struct { 8876 result1 resources.ServiceOffering 8877 result2 ccv3.Warnings 8878 result3 error 8879 }{result1, result2, result3} 8880 } 8881 8882 func (fake *FakeCloudControllerClient) GetServiceOfferings(arg1 ...ccv3.Query) ([]resources.ServiceOffering, ccv3.Warnings, error) { 8883 fake.getServiceOfferingsMutex.Lock() 8884 ret, specificReturn := fake.getServiceOfferingsReturnsOnCall[len(fake.getServiceOfferingsArgsForCall)] 8885 fake.getServiceOfferingsArgsForCall = append(fake.getServiceOfferingsArgsForCall, struct { 8886 arg1 []ccv3.Query 8887 }{arg1}) 8888 fake.recordInvocation("GetServiceOfferings", []interface{}{arg1}) 8889 fake.getServiceOfferingsMutex.Unlock() 8890 if fake.GetServiceOfferingsStub != nil { 8891 return fake.GetServiceOfferingsStub(arg1...) 8892 } 8893 if specificReturn { 8894 return ret.result1, ret.result2, ret.result3 8895 } 8896 fakeReturns := fake.getServiceOfferingsReturns 8897 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8898 } 8899 8900 func (fake *FakeCloudControllerClient) GetServiceOfferingsCallCount() int { 8901 fake.getServiceOfferingsMutex.RLock() 8902 defer fake.getServiceOfferingsMutex.RUnlock() 8903 return len(fake.getServiceOfferingsArgsForCall) 8904 } 8905 8906 func (fake *FakeCloudControllerClient) GetServiceOfferingsCalls(stub func(...ccv3.Query) ([]resources.ServiceOffering, ccv3.Warnings, error)) { 8907 fake.getServiceOfferingsMutex.Lock() 8908 defer fake.getServiceOfferingsMutex.Unlock() 8909 fake.GetServiceOfferingsStub = stub 8910 } 8911 8912 func (fake *FakeCloudControllerClient) GetServiceOfferingsArgsForCall(i int) []ccv3.Query { 8913 fake.getServiceOfferingsMutex.RLock() 8914 defer fake.getServiceOfferingsMutex.RUnlock() 8915 argsForCall := fake.getServiceOfferingsArgsForCall[i] 8916 return argsForCall.arg1 8917 } 8918 8919 func (fake *FakeCloudControllerClient) GetServiceOfferingsReturns(result1 []resources.ServiceOffering, result2 ccv3.Warnings, result3 error) { 8920 fake.getServiceOfferingsMutex.Lock() 8921 defer fake.getServiceOfferingsMutex.Unlock() 8922 fake.GetServiceOfferingsStub = nil 8923 fake.getServiceOfferingsReturns = struct { 8924 result1 []resources.ServiceOffering 8925 result2 ccv3.Warnings 8926 result3 error 8927 }{result1, result2, result3} 8928 } 8929 8930 func (fake *FakeCloudControllerClient) GetServiceOfferingsReturnsOnCall(i int, result1 []resources.ServiceOffering, result2 ccv3.Warnings, result3 error) { 8931 fake.getServiceOfferingsMutex.Lock() 8932 defer fake.getServiceOfferingsMutex.Unlock() 8933 fake.GetServiceOfferingsStub = nil 8934 if fake.getServiceOfferingsReturnsOnCall == nil { 8935 fake.getServiceOfferingsReturnsOnCall = make(map[int]struct { 8936 result1 []resources.ServiceOffering 8937 result2 ccv3.Warnings 8938 result3 error 8939 }) 8940 } 8941 fake.getServiceOfferingsReturnsOnCall[i] = struct { 8942 result1 []resources.ServiceOffering 8943 result2 ccv3.Warnings 8944 result3 error 8945 }{result1, result2, result3} 8946 } 8947 8948 func (fake *FakeCloudControllerClient) GetServicePlanVisibility(arg1 string) (resources.ServicePlanVisibility, ccv3.Warnings, error) { 8949 fake.getServicePlanVisibilityMutex.Lock() 8950 ret, specificReturn := fake.getServicePlanVisibilityReturnsOnCall[len(fake.getServicePlanVisibilityArgsForCall)] 8951 fake.getServicePlanVisibilityArgsForCall = append(fake.getServicePlanVisibilityArgsForCall, struct { 8952 arg1 string 8953 }{arg1}) 8954 fake.recordInvocation("GetServicePlanVisibility", []interface{}{arg1}) 8955 fake.getServicePlanVisibilityMutex.Unlock() 8956 if fake.GetServicePlanVisibilityStub != nil { 8957 return fake.GetServicePlanVisibilityStub(arg1) 8958 } 8959 if specificReturn { 8960 return ret.result1, ret.result2, ret.result3 8961 } 8962 fakeReturns := fake.getServicePlanVisibilityReturns 8963 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8964 } 8965 8966 func (fake *FakeCloudControllerClient) GetServicePlanVisibilityCallCount() int { 8967 fake.getServicePlanVisibilityMutex.RLock() 8968 defer fake.getServicePlanVisibilityMutex.RUnlock() 8969 return len(fake.getServicePlanVisibilityArgsForCall) 8970 } 8971 8972 func (fake *FakeCloudControllerClient) GetServicePlanVisibilityCalls(stub func(string) (resources.ServicePlanVisibility, ccv3.Warnings, error)) { 8973 fake.getServicePlanVisibilityMutex.Lock() 8974 defer fake.getServicePlanVisibilityMutex.Unlock() 8975 fake.GetServicePlanVisibilityStub = stub 8976 } 8977 8978 func (fake *FakeCloudControllerClient) GetServicePlanVisibilityArgsForCall(i int) string { 8979 fake.getServicePlanVisibilityMutex.RLock() 8980 defer fake.getServicePlanVisibilityMutex.RUnlock() 8981 argsForCall := fake.getServicePlanVisibilityArgsForCall[i] 8982 return argsForCall.arg1 8983 } 8984 8985 func (fake *FakeCloudControllerClient) GetServicePlanVisibilityReturns(result1 resources.ServicePlanVisibility, result2 ccv3.Warnings, result3 error) { 8986 fake.getServicePlanVisibilityMutex.Lock() 8987 defer fake.getServicePlanVisibilityMutex.Unlock() 8988 fake.GetServicePlanVisibilityStub = nil 8989 fake.getServicePlanVisibilityReturns = struct { 8990 result1 resources.ServicePlanVisibility 8991 result2 ccv3.Warnings 8992 result3 error 8993 }{result1, result2, result3} 8994 } 8995 8996 func (fake *FakeCloudControllerClient) GetServicePlanVisibilityReturnsOnCall(i int, result1 resources.ServicePlanVisibility, result2 ccv3.Warnings, result3 error) { 8997 fake.getServicePlanVisibilityMutex.Lock() 8998 defer fake.getServicePlanVisibilityMutex.Unlock() 8999 fake.GetServicePlanVisibilityStub = nil 9000 if fake.getServicePlanVisibilityReturnsOnCall == nil { 9001 fake.getServicePlanVisibilityReturnsOnCall = make(map[int]struct { 9002 result1 resources.ServicePlanVisibility 9003 result2 ccv3.Warnings 9004 result3 error 9005 }) 9006 } 9007 fake.getServicePlanVisibilityReturnsOnCall[i] = struct { 9008 result1 resources.ServicePlanVisibility 9009 result2 ccv3.Warnings 9010 result3 error 9011 }{result1, result2, result3} 9012 } 9013 9014 func (fake *FakeCloudControllerClient) GetServicePlans(arg1 ...ccv3.Query) ([]resources.ServicePlan, ccv3.Warnings, error) { 9015 fake.getServicePlansMutex.Lock() 9016 ret, specificReturn := fake.getServicePlansReturnsOnCall[len(fake.getServicePlansArgsForCall)] 9017 fake.getServicePlansArgsForCall = append(fake.getServicePlansArgsForCall, struct { 9018 arg1 []ccv3.Query 9019 }{arg1}) 9020 fake.recordInvocation("GetServicePlans", []interface{}{arg1}) 9021 fake.getServicePlansMutex.Unlock() 9022 if fake.GetServicePlansStub != nil { 9023 return fake.GetServicePlansStub(arg1...) 9024 } 9025 if specificReturn { 9026 return ret.result1, ret.result2, ret.result3 9027 } 9028 fakeReturns := fake.getServicePlansReturns 9029 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9030 } 9031 9032 func (fake *FakeCloudControllerClient) GetServicePlansCallCount() int { 9033 fake.getServicePlansMutex.RLock() 9034 defer fake.getServicePlansMutex.RUnlock() 9035 return len(fake.getServicePlansArgsForCall) 9036 } 9037 9038 func (fake *FakeCloudControllerClient) GetServicePlansCalls(stub func(...ccv3.Query) ([]resources.ServicePlan, ccv3.Warnings, error)) { 9039 fake.getServicePlansMutex.Lock() 9040 defer fake.getServicePlansMutex.Unlock() 9041 fake.GetServicePlansStub = stub 9042 } 9043 9044 func (fake *FakeCloudControllerClient) GetServicePlansArgsForCall(i int) []ccv3.Query { 9045 fake.getServicePlansMutex.RLock() 9046 defer fake.getServicePlansMutex.RUnlock() 9047 argsForCall := fake.getServicePlansArgsForCall[i] 9048 return argsForCall.arg1 9049 } 9050 9051 func (fake *FakeCloudControllerClient) GetServicePlansReturns(result1 []resources.ServicePlan, result2 ccv3.Warnings, result3 error) { 9052 fake.getServicePlansMutex.Lock() 9053 defer fake.getServicePlansMutex.Unlock() 9054 fake.GetServicePlansStub = nil 9055 fake.getServicePlansReturns = struct { 9056 result1 []resources.ServicePlan 9057 result2 ccv3.Warnings 9058 result3 error 9059 }{result1, result2, result3} 9060 } 9061 9062 func (fake *FakeCloudControllerClient) GetServicePlansReturnsOnCall(i int, result1 []resources.ServicePlan, result2 ccv3.Warnings, result3 error) { 9063 fake.getServicePlansMutex.Lock() 9064 defer fake.getServicePlansMutex.Unlock() 9065 fake.GetServicePlansStub = nil 9066 if fake.getServicePlansReturnsOnCall == nil { 9067 fake.getServicePlansReturnsOnCall = make(map[int]struct { 9068 result1 []resources.ServicePlan 9069 result2 ccv3.Warnings 9070 result3 error 9071 }) 9072 } 9073 fake.getServicePlansReturnsOnCall[i] = struct { 9074 result1 []resources.ServicePlan 9075 result2 ccv3.Warnings 9076 result3 error 9077 }{result1, result2, result3} 9078 } 9079 9080 func (fake *FakeCloudControllerClient) GetServicePlansWithOfferings(arg1 ...ccv3.Query) ([]ccv3.ServiceOfferingWithPlans, ccv3.Warnings, error) { 9081 fake.getServicePlansWithOfferingsMutex.Lock() 9082 ret, specificReturn := fake.getServicePlansWithOfferingsReturnsOnCall[len(fake.getServicePlansWithOfferingsArgsForCall)] 9083 fake.getServicePlansWithOfferingsArgsForCall = append(fake.getServicePlansWithOfferingsArgsForCall, struct { 9084 arg1 []ccv3.Query 9085 }{arg1}) 9086 fake.recordInvocation("GetServicePlansWithOfferings", []interface{}{arg1}) 9087 fake.getServicePlansWithOfferingsMutex.Unlock() 9088 if fake.GetServicePlansWithOfferingsStub != nil { 9089 return fake.GetServicePlansWithOfferingsStub(arg1...) 9090 } 9091 if specificReturn { 9092 return ret.result1, ret.result2, ret.result3 9093 } 9094 fakeReturns := fake.getServicePlansWithOfferingsReturns 9095 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9096 } 9097 9098 func (fake *FakeCloudControllerClient) GetServicePlansWithOfferingsCallCount() int { 9099 fake.getServicePlansWithOfferingsMutex.RLock() 9100 defer fake.getServicePlansWithOfferingsMutex.RUnlock() 9101 return len(fake.getServicePlansWithOfferingsArgsForCall) 9102 } 9103 9104 func (fake *FakeCloudControllerClient) GetServicePlansWithOfferingsCalls(stub func(...ccv3.Query) ([]ccv3.ServiceOfferingWithPlans, ccv3.Warnings, error)) { 9105 fake.getServicePlansWithOfferingsMutex.Lock() 9106 defer fake.getServicePlansWithOfferingsMutex.Unlock() 9107 fake.GetServicePlansWithOfferingsStub = stub 9108 } 9109 9110 func (fake *FakeCloudControllerClient) GetServicePlansWithOfferingsArgsForCall(i int) []ccv3.Query { 9111 fake.getServicePlansWithOfferingsMutex.RLock() 9112 defer fake.getServicePlansWithOfferingsMutex.RUnlock() 9113 argsForCall := fake.getServicePlansWithOfferingsArgsForCall[i] 9114 return argsForCall.arg1 9115 } 9116 9117 func (fake *FakeCloudControllerClient) GetServicePlansWithOfferingsReturns(result1 []ccv3.ServiceOfferingWithPlans, result2 ccv3.Warnings, result3 error) { 9118 fake.getServicePlansWithOfferingsMutex.Lock() 9119 defer fake.getServicePlansWithOfferingsMutex.Unlock() 9120 fake.GetServicePlansWithOfferingsStub = nil 9121 fake.getServicePlansWithOfferingsReturns = struct { 9122 result1 []ccv3.ServiceOfferingWithPlans 9123 result2 ccv3.Warnings 9124 result3 error 9125 }{result1, result2, result3} 9126 } 9127 9128 func (fake *FakeCloudControllerClient) GetServicePlansWithOfferingsReturnsOnCall(i int, result1 []ccv3.ServiceOfferingWithPlans, result2 ccv3.Warnings, result3 error) { 9129 fake.getServicePlansWithOfferingsMutex.Lock() 9130 defer fake.getServicePlansWithOfferingsMutex.Unlock() 9131 fake.GetServicePlansWithOfferingsStub = nil 9132 if fake.getServicePlansWithOfferingsReturnsOnCall == nil { 9133 fake.getServicePlansWithOfferingsReturnsOnCall = make(map[int]struct { 9134 result1 []ccv3.ServiceOfferingWithPlans 9135 result2 ccv3.Warnings 9136 result3 error 9137 }) 9138 } 9139 fake.getServicePlansWithOfferingsReturnsOnCall[i] = struct { 9140 result1 []ccv3.ServiceOfferingWithPlans 9141 result2 ccv3.Warnings 9142 result3 error 9143 }{result1, result2, result3} 9144 } 9145 9146 func (fake *FakeCloudControllerClient) GetServicePlansWithSpaceAndOrganization(arg1 ...ccv3.Query) ([]ccv3.ServicePlanWithSpaceAndOrganization, ccv3.Warnings, error) { 9147 fake.getServicePlansWithSpaceAndOrganizationMutex.Lock() 9148 ret, specificReturn := fake.getServicePlansWithSpaceAndOrganizationReturnsOnCall[len(fake.getServicePlansWithSpaceAndOrganizationArgsForCall)] 9149 fake.getServicePlansWithSpaceAndOrganizationArgsForCall = append(fake.getServicePlansWithSpaceAndOrganizationArgsForCall, struct { 9150 arg1 []ccv3.Query 9151 }{arg1}) 9152 fake.recordInvocation("GetServicePlansWithSpaceAndOrganization", []interface{}{arg1}) 9153 fake.getServicePlansWithSpaceAndOrganizationMutex.Unlock() 9154 if fake.GetServicePlansWithSpaceAndOrganizationStub != nil { 9155 return fake.GetServicePlansWithSpaceAndOrganizationStub(arg1...) 9156 } 9157 if specificReturn { 9158 return ret.result1, ret.result2, ret.result3 9159 } 9160 fakeReturns := fake.getServicePlansWithSpaceAndOrganizationReturns 9161 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9162 } 9163 9164 func (fake *FakeCloudControllerClient) GetServicePlansWithSpaceAndOrganizationCallCount() int { 9165 fake.getServicePlansWithSpaceAndOrganizationMutex.RLock() 9166 defer fake.getServicePlansWithSpaceAndOrganizationMutex.RUnlock() 9167 return len(fake.getServicePlansWithSpaceAndOrganizationArgsForCall) 9168 } 9169 9170 func (fake *FakeCloudControllerClient) GetServicePlansWithSpaceAndOrganizationCalls(stub func(...ccv3.Query) ([]ccv3.ServicePlanWithSpaceAndOrganization, ccv3.Warnings, error)) { 9171 fake.getServicePlansWithSpaceAndOrganizationMutex.Lock() 9172 defer fake.getServicePlansWithSpaceAndOrganizationMutex.Unlock() 9173 fake.GetServicePlansWithSpaceAndOrganizationStub = stub 9174 } 9175 9176 func (fake *FakeCloudControllerClient) GetServicePlansWithSpaceAndOrganizationArgsForCall(i int) []ccv3.Query { 9177 fake.getServicePlansWithSpaceAndOrganizationMutex.RLock() 9178 defer fake.getServicePlansWithSpaceAndOrganizationMutex.RUnlock() 9179 argsForCall := fake.getServicePlansWithSpaceAndOrganizationArgsForCall[i] 9180 return argsForCall.arg1 9181 } 9182 9183 func (fake *FakeCloudControllerClient) GetServicePlansWithSpaceAndOrganizationReturns(result1 []ccv3.ServicePlanWithSpaceAndOrganization, result2 ccv3.Warnings, result3 error) { 9184 fake.getServicePlansWithSpaceAndOrganizationMutex.Lock() 9185 defer fake.getServicePlansWithSpaceAndOrganizationMutex.Unlock() 9186 fake.GetServicePlansWithSpaceAndOrganizationStub = nil 9187 fake.getServicePlansWithSpaceAndOrganizationReturns = struct { 9188 result1 []ccv3.ServicePlanWithSpaceAndOrganization 9189 result2 ccv3.Warnings 9190 result3 error 9191 }{result1, result2, result3} 9192 } 9193 9194 func (fake *FakeCloudControllerClient) GetServicePlansWithSpaceAndOrganizationReturnsOnCall(i int, result1 []ccv3.ServicePlanWithSpaceAndOrganization, result2 ccv3.Warnings, result3 error) { 9195 fake.getServicePlansWithSpaceAndOrganizationMutex.Lock() 9196 defer fake.getServicePlansWithSpaceAndOrganizationMutex.Unlock() 9197 fake.GetServicePlansWithSpaceAndOrganizationStub = nil 9198 if fake.getServicePlansWithSpaceAndOrganizationReturnsOnCall == nil { 9199 fake.getServicePlansWithSpaceAndOrganizationReturnsOnCall = make(map[int]struct { 9200 result1 []ccv3.ServicePlanWithSpaceAndOrganization 9201 result2 ccv3.Warnings 9202 result3 error 9203 }) 9204 } 9205 fake.getServicePlansWithSpaceAndOrganizationReturnsOnCall[i] = struct { 9206 result1 []ccv3.ServicePlanWithSpaceAndOrganization 9207 result2 ccv3.Warnings 9208 result3 error 9209 }{result1, result2, result3} 9210 } 9211 9212 func (fake *FakeCloudControllerClient) GetSpaceFeature(arg1 string, arg2 string) (bool, ccv3.Warnings, error) { 9213 fake.getSpaceFeatureMutex.Lock() 9214 ret, specificReturn := fake.getSpaceFeatureReturnsOnCall[len(fake.getSpaceFeatureArgsForCall)] 9215 fake.getSpaceFeatureArgsForCall = append(fake.getSpaceFeatureArgsForCall, struct { 9216 arg1 string 9217 arg2 string 9218 }{arg1, arg2}) 9219 fake.recordInvocation("GetSpaceFeature", []interface{}{arg1, arg2}) 9220 fake.getSpaceFeatureMutex.Unlock() 9221 if fake.GetSpaceFeatureStub != nil { 9222 return fake.GetSpaceFeatureStub(arg1, arg2) 9223 } 9224 if specificReturn { 9225 return ret.result1, ret.result2, ret.result3 9226 } 9227 fakeReturns := fake.getSpaceFeatureReturns 9228 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9229 } 9230 9231 func (fake *FakeCloudControllerClient) GetSpaceFeatureCallCount() int { 9232 fake.getSpaceFeatureMutex.RLock() 9233 defer fake.getSpaceFeatureMutex.RUnlock() 9234 return len(fake.getSpaceFeatureArgsForCall) 9235 } 9236 9237 func (fake *FakeCloudControllerClient) GetSpaceFeatureCalls(stub func(string, string) (bool, ccv3.Warnings, error)) { 9238 fake.getSpaceFeatureMutex.Lock() 9239 defer fake.getSpaceFeatureMutex.Unlock() 9240 fake.GetSpaceFeatureStub = stub 9241 } 9242 9243 func (fake *FakeCloudControllerClient) GetSpaceFeatureArgsForCall(i int) (string, string) { 9244 fake.getSpaceFeatureMutex.RLock() 9245 defer fake.getSpaceFeatureMutex.RUnlock() 9246 argsForCall := fake.getSpaceFeatureArgsForCall[i] 9247 return argsForCall.arg1, argsForCall.arg2 9248 } 9249 9250 func (fake *FakeCloudControllerClient) GetSpaceFeatureReturns(result1 bool, result2 ccv3.Warnings, result3 error) { 9251 fake.getSpaceFeatureMutex.Lock() 9252 defer fake.getSpaceFeatureMutex.Unlock() 9253 fake.GetSpaceFeatureStub = nil 9254 fake.getSpaceFeatureReturns = struct { 9255 result1 bool 9256 result2 ccv3.Warnings 9257 result3 error 9258 }{result1, result2, result3} 9259 } 9260 9261 func (fake *FakeCloudControllerClient) GetSpaceFeatureReturnsOnCall(i int, result1 bool, result2 ccv3.Warnings, result3 error) { 9262 fake.getSpaceFeatureMutex.Lock() 9263 defer fake.getSpaceFeatureMutex.Unlock() 9264 fake.GetSpaceFeatureStub = nil 9265 if fake.getSpaceFeatureReturnsOnCall == nil { 9266 fake.getSpaceFeatureReturnsOnCall = make(map[int]struct { 9267 result1 bool 9268 result2 ccv3.Warnings 9269 result3 error 9270 }) 9271 } 9272 fake.getSpaceFeatureReturnsOnCall[i] = struct { 9273 result1 bool 9274 result2 ccv3.Warnings 9275 result3 error 9276 }{result1, result2, result3} 9277 } 9278 9279 func (fake *FakeCloudControllerClient) GetSpaceIsolationSegment(arg1 string) (resources.Relationship, ccv3.Warnings, error) { 9280 fake.getSpaceIsolationSegmentMutex.Lock() 9281 ret, specificReturn := fake.getSpaceIsolationSegmentReturnsOnCall[len(fake.getSpaceIsolationSegmentArgsForCall)] 9282 fake.getSpaceIsolationSegmentArgsForCall = append(fake.getSpaceIsolationSegmentArgsForCall, struct { 9283 arg1 string 9284 }{arg1}) 9285 fake.recordInvocation("GetSpaceIsolationSegment", []interface{}{arg1}) 9286 fake.getSpaceIsolationSegmentMutex.Unlock() 9287 if fake.GetSpaceIsolationSegmentStub != nil { 9288 return fake.GetSpaceIsolationSegmentStub(arg1) 9289 } 9290 if specificReturn { 9291 return ret.result1, ret.result2, ret.result3 9292 } 9293 fakeReturns := fake.getSpaceIsolationSegmentReturns 9294 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9295 } 9296 9297 func (fake *FakeCloudControllerClient) GetSpaceIsolationSegmentCallCount() int { 9298 fake.getSpaceIsolationSegmentMutex.RLock() 9299 defer fake.getSpaceIsolationSegmentMutex.RUnlock() 9300 return len(fake.getSpaceIsolationSegmentArgsForCall) 9301 } 9302 9303 func (fake *FakeCloudControllerClient) GetSpaceIsolationSegmentCalls(stub func(string) (resources.Relationship, ccv3.Warnings, error)) { 9304 fake.getSpaceIsolationSegmentMutex.Lock() 9305 defer fake.getSpaceIsolationSegmentMutex.Unlock() 9306 fake.GetSpaceIsolationSegmentStub = stub 9307 } 9308 9309 func (fake *FakeCloudControllerClient) GetSpaceIsolationSegmentArgsForCall(i int) string { 9310 fake.getSpaceIsolationSegmentMutex.RLock() 9311 defer fake.getSpaceIsolationSegmentMutex.RUnlock() 9312 argsForCall := fake.getSpaceIsolationSegmentArgsForCall[i] 9313 return argsForCall.arg1 9314 } 9315 9316 func (fake *FakeCloudControllerClient) GetSpaceIsolationSegmentReturns(result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 9317 fake.getSpaceIsolationSegmentMutex.Lock() 9318 defer fake.getSpaceIsolationSegmentMutex.Unlock() 9319 fake.GetSpaceIsolationSegmentStub = nil 9320 fake.getSpaceIsolationSegmentReturns = struct { 9321 result1 resources.Relationship 9322 result2 ccv3.Warnings 9323 result3 error 9324 }{result1, result2, result3} 9325 } 9326 9327 func (fake *FakeCloudControllerClient) GetSpaceIsolationSegmentReturnsOnCall(i int, result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 9328 fake.getSpaceIsolationSegmentMutex.Lock() 9329 defer fake.getSpaceIsolationSegmentMutex.Unlock() 9330 fake.GetSpaceIsolationSegmentStub = nil 9331 if fake.getSpaceIsolationSegmentReturnsOnCall == nil { 9332 fake.getSpaceIsolationSegmentReturnsOnCall = make(map[int]struct { 9333 result1 resources.Relationship 9334 result2 ccv3.Warnings 9335 result3 error 9336 }) 9337 } 9338 fake.getSpaceIsolationSegmentReturnsOnCall[i] = struct { 9339 result1 resources.Relationship 9340 result2 ccv3.Warnings 9341 result3 error 9342 }{result1, result2, result3} 9343 } 9344 9345 func (fake *FakeCloudControllerClient) GetSpaceQuota(arg1 string) (resources.SpaceQuota, ccv3.Warnings, error) { 9346 fake.getSpaceQuotaMutex.Lock() 9347 ret, specificReturn := fake.getSpaceQuotaReturnsOnCall[len(fake.getSpaceQuotaArgsForCall)] 9348 fake.getSpaceQuotaArgsForCall = append(fake.getSpaceQuotaArgsForCall, struct { 9349 arg1 string 9350 }{arg1}) 9351 fake.recordInvocation("GetSpaceQuota", []interface{}{arg1}) 9352 fake.getSpaceQuotaMutex.Unlock() 9353 if fake.GetSpaceQuotaStub != nil { 9354 return fake.GetSpaceQuotaStub(arg1) 9355 } 9356 if specificReturn { 9357 return ret.result1, ret.result2, ret.result3 9358 } 9359 fakeReturns := fake.getSpaceQuotaReturns 9360 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9361 } 9362 9363 func (fake *FakeCloudControllerClient) GetSpaceQuotaCallCount() int { 9364 fake.getSpaceQuotaMutex.RLock() 9365 defer fake.getSpaceQuotaMutex.RUnlock() 9366 return len(fake.getSpaceQuotaArgsForCall) 9367 } 9368 9369 func (fake *FakeCloudControllerClient) GetSpaceQuotaCalls(stub func(string) (resources.SpaceQuota, ccv3.Warnings, error)) { 9370 fake.getSpaceQuotaMutex.Lock() 9371 defer fake.getSpaceQuotaMutex.Unlock() 9372 fake.GetSpaceQuotaStub = stub 9373 } 9374 9375 func (fake *FakeCloudControllerClient) GetSpaceQuotaArgsForCall(i int) string { 9376 fake.getSpaceQuotaMutex.RLock() 9377 defer fake.getSpaceQuotaMutex.RUnlock() 9378 argsForCall := fake.getSpaceQuotaArgsForCall[i] 9379 return argsForCall.arg1 9380 } 9381 9382 func (fake *FakeCloudControllerClient) GetSpaceQuotaReturns(result1 resources.SpaceQuota, result2 ccv3.Warnings, result3 error) { 9383 fake.getSpaceQuotaMutex.Lock() 9384 defer fake.getSpaceQuotaMutex.Unlock() 9385 fake.GetSpaceQuotaStub = nil 9386 fake.getSpaceQuotaReturns = struct { 9387 result1 resources.SpaceQuota 9388 result2 ccv3.Warnings 9389 result3 error 9390 }{result1, result2, result3} 9391 } 9392 9393 func (fake *FakeCloudControllerClient) GetSpaceQuotaReturnsOnCall(i int, result1 resources.SpaceQuota, result2 ccv3.Warnings, result3 error) { 9394 fake.getSpaceQuotaMutex.Lock() 9395 defer fake.getSpaceQuotaMutex.Unlock() 9396 fake.GetSpaceQuotaStub = nil 9397 if fake.getSpaceQuotaReturnsOnCall == nil { 9398 fake.getSpaceQuotaReturnsOnCall = make(map[int]struct { 9399 result1 resources.SpaceQuota 9400 result2 ccv3.Warnings 9401 result3 error 9402 }) 9403 } 9404 fake.getSpaceQuotaReturnsOnCall[i] = struct { 9405 result1 resources.SpaceQuota 9406 result2 ccv3.Warnings 9407 result3 error 9408 }{result1, result2, result3} 9409 } 9410 9411 func (fake *FakeCloudControllerClient) GetSpaceQuotas(arg1 ...ccv3.Query) ([]resources.SpaceQuota, ccv3.Warnings, error) { 9412 fake.getSpaceQuotasMutex.Lock() 9413 ret, specificReturn := fake.getSpaceQuotasReturnsOnCall[len(fake.getSpaceQuotasArgsForCall)] 9414 fake.getSpaceQuotasArgsForCall = append(fake.getSpaceQuotasArgsForCall, struct { 9415 arg1 []ccv3.Query 9416 }{arg1}) 9417 fake.recordInvocation("GetSpaceQuotas", []interface{}{arg1}) 9418 fake.getSpaceQuotasMutex.Unlock() 9419 if fake.GetSpaceQuotasStub != nil { 9420 return fake.GetSpaceQuotasStub(arg1...) 9421 } 9422 if specificReturn { 9423 return ret.result1, ret.result2, ret.result3 9424 } 9425 fakeReturns := fake.getSpaceQuotasReturns 9426 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9427 } 9428 9429 func (fake *FakeCloudControllerClient) GetSpaceQuotasCallCount() int { 9430 fake.getSpaceQuotasMutex.RLock() 9431 defer fake.getSpaceQuotasMutex.RUnlock() 9432 return len(fake.getSpaceQuotasArgsForCall) 9433 } 9434 9435 func (fake *FakeCloudControllerClient) GetSpaceQuotasCalls(stub func(...ccv3.Query) ([]resources.SpaceQuota, ccv3.Warnings, error)) { 9436 fake.getSpaceQuotasMutex.Lock() 9437 defer fake.getSpaceQuotasMutex.Unlock() 9438 fake.GetSpaceQuotasStub = stub 9439 } 9440 9441 func (fake *FakeCloudControllerClient) GetSpaceQuotasArgsForCall(i int) []ccv3.Query { 9442 fake.getSpaceQuotasMutex.RLock() 9443 defer fake.getSpaceQuotasMutex.RUnlock() 9444 argsForCall := fake.getSpaceQuotasArgsForCall[i] 9445 return argsForCall.arg1 9446 } 9447 9448 func (fake *FakeCloudControllerClient) GetSpaceQuotasReturns(result1 []resources.SpaceQuota, result2 ccv3.Warnings, result3 error) { 9449 fake.getSpaceQuotasMutex.Lock() 9450 defer fake.getSpaceQuotasMutex.Unlock() 9451 fake.GetSpaceQuotasStub = nil 9452 fake.getSpaceQuotasReturns = struct { 9453 result1 []resources.SpaceQuota 9454 result2 ccv3.Warnings 9455 result3 error 9456 }{result1, result2, result3} 9457 } 9458 9459 func (fake *FakeCloudControllerClient) GetSpaceQuotasReturnsOnCall(i int, result1 []resources.SpaceQuota, result2 ccv3.Warnings, result3 error) { 9460 fake.getSpaceQuotasMutex.Lock() 9461 defer fake.getSpaceQuotasMutex.Unlock() 9462 fake.GetSpaceQuotasStub = nil 9463 if fake.getSpaceQuotasReturnsOnCall == nil { 9464 fake.getSpaceQuotasReturnsOnCall = make(map[int]struct { 9465 result1 []resources.SpaceQuota 9466 result2 ccv3.Warnings 9467 result3 error 9468 }) 9469 } 9470 fake.getSpaceQuotasReturnsOnCall[i] = struct { 9471 result1 []resources.SpaceQuota 9472 result2 ccv3.Warnings 9473 result3 error 9474 }{result1, result2, result3} 9475 } 9476 9477 func (fake *FakeCloudControllerClient) GetSpaces(arg1 ...ccv3.Query) ([]resources.Space, ccv3.IncludedResources, ccv3.Warnings, error) { 9478 fake.getSpacesMutex.Lock() 9479 ret, specificReturn := fake.getSpacesReturnsOnCall[len(fake.getSpacesArgsForCall)] 9480 fake.getSpacesArgsForCall = append(fake.getSpacesArgsForCall, struct { 9481 arg1 []ccv3.Query 9482 }{arg1}) 9483 fake.recordInvocation("GetSpaces", []interface{}{arg1}) 9484 fake.getSpacesMutex.Unlock() 9485 if fake.GetSpacesStub != nil { 9486 return fake.GetSpacesStub(arg1...) 9487 } 9488 if specificReturn { 9489 return ret.result1, ret.result2, ret.result3, ret.result4 9490 } 9491 fakeReturns := fake.getSpacesReturns 9492 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3, fakeReturns.result4 9493 } 9494 9495 func (fake *FakeCloudControllerClient) GetSpacesCallCount() int { 9496 fake.getSpacesMutex.RLock() 9497 defer fake.getSpacesMutex.RUnlock() 9498 return len(fake.getSpacesArgsForCall) 9499 } 9500 9501 func (fake *FakeCloudControllerClient) GetSpacesCalls(stub func(...ccv3.Query) ([]resources.Space, ccv3.IncludedResources, ccv3.Warnings, error)) { 9502 fake.getSpacesMutex.Lock() 9503 defer fake.getSpacesMutex.Unlock() 9504 fake.GetSpacesStub = stub 9505 } 9506 9507 func (fake *FakeCloudControllerClient) GetSpacesArgsForCall(i int) []ccv3.Query { 9508 fake.getSpacesMutex.RLock() 9509 defer fake.getSpacesMutex.RUnlock() 9510 argsForCall := fake.getSpacesArgsForCall[i] 9511 return argsForCall.arg1 9512 } 9513 9514 func (fake *FakeCloudControllerClient) GetSpacesReturns(result1 []resources.Space, result2 ccv3.IncludedResources, result3 ccv3.Warnings, result4 error) { 9515 fake.getSpacesMutex.Lock() 9516 defer fake.getSpacesMutex.Unlock() 9517 fake.GetSpacesStub = nil 9518 fake.getSpacesReturns = struct { 9519 result1 []resources.Space 9520 result2 ccv3.IncludedResources 9521 result3 ccv3.Warnings 9522 result4 error 9523 }{result1, result2, result3, result4} 9524 } 9525 9526 func (fake *FakeCloudControllerClient) GetSpacesReturnsOnCall(i int, result1 []resources.Space, result2 ccv3.IncludedResources, result3 ccv3.Warnings, result4 error) { 9527 fake.getSpacesMutex.Lock() 9528 defer fake.getSpacesMutex.Unlock() 9529 fake.GetSpacesStub = nil 9530 if fake.getSpacesReturnsOnCall == nil { 9531 fake.getSpacesReturnsOnCall = make(map[int]struct { 9532 result1 []resources.Space 9533 result2 ccv3.IncludedResources 9534 result3 ccv3.Warnings 9535 result4 error 9536 }) 9537 } 9538 fake.getSpacesReturnsOnCall[i] = struct { 9539 result1 []resources.Space 9540 result2 ccv3.IncludedResources 9541 result3 ccv3.Warnings 9542 result4 error 9543 }{result1, result2, result3, result4} 9544 } 9545 9546 func (fake *FakeCloudControllerClient) GetStacks(arg1 ...ccv3.Query) ([]ccv3.Stack, ccv3.Warnings, error) { 9547 fake.getStacksMutex.Lock() 9548 ret, specificReturn := fake.getStacksReturnsOnCall[len(fake.getStacksArgsForCall)] 9549 fake.getStacksArgsForCall = append(fake.getStacksArgsForCall, struct { 9550 arg1 []ccv3.Query 9551 }{arg1}) 9552 fake.recordInvocation("GetStacks", []interface{}{arg1}) 9553 fake.getStacksMutex.Unlock() 9554 if fake.GetStacksStub != nil { 9555 return fake.GetStacksStub(arg1...) 9556 } 9557 if specificReturn { 9558 return ret.result1, ret.result2, ret.result3 9559 } 9560 fakeReturns := fake.getStacksReturns 9561 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9562 } 9563 9564 func (fake *FakeCloudControllerClient) GetStacksCallCount() int { 9565 fake.getStacksMutex.RLock() 9566 defer fake.getStacksMutex.RUnlock() 9567 return len(fake.getStacksArgsForCall) 9568 } 9569 9570 func (fake *FakeCloudControllerClient) GetStacksCalls(stub func(...ccv3.Query) ([]ccv3.Stack, ccv3.Warnings, error)) { 9571 fake.getStacksMutex.Lock() 9572 defer fake.getStacksMutex.Unlock() 9573 fake.GetStacksStub = stub 9574 } 9575 9576 func (fake *FakeCloudControllerClient) GetStacksArgsForCall(i int) []ccv3.Query { 9577 fake.getStacksMutex.RLock() 9578 defer fake.getStacksMutex.RUnlock() 9579 argsForCall := fake.getStacksArgsForCall[i] 9580 return argsForCall.arg1 9581 } 9582 9583 func (fake *FakeCloudControllerClient) GetStacksReturns(result1 []ccv3.Stack, result2 ccv3.Warnings, result3 error) { 9584 fake.getStacksMutex.Lock() 9585 defer fake.getStacksMutex.Unlock() 9586 fake.GetStacksStub = nil 9587 fake.getStacksReturns = struct { 9588 result1 []ccv3.Stack 9589 result2 ccv3.Warnings 9590 result3 error 9591 }{result1, result2, result3} 9592 } 9593 9594 func (fake *FakeCloudControllerClient) GetStacksReturnsOnCall(i int, result1 []ccv3.Stack, result2 ccv3.Warnings, result3 error) { 9595 fake.getStacksMutex.Lock() 9596 defer fake.getStacksMutex.Unlock() 9597 fake.GetStacksStub = nil 9598 if fake.getStacksReturnsOnCall == nil { 9599 fake.getStacksReturnsOnCall = make(map[int]struct { 9600 result1 []ccv3.Stack 9601 result2 ccv3.Warnings 9602 result3 error 9603 }) 9604 } 9605 fake.getStacksReturnsOnCall[i] = struct { 9606 result1 []ccv3.Stack 9607 result2 ccv3.Warnings 9608 result3 error 9609 }{result1, result2, result3} 9610 } 9611 9612 func (fake *FakeCloudControllerClient) GetStagingSecurityGroups(arg1 string, arg2 ...ccv3.Query) ([]resources.SecurityGroup, ccv3.Warnings, error) { 9613 fake.getStagingSecurityGroupsMutex.Lock() 9614 ret, specificReturn := fake.getStagingSecurityGroupsReturnsOnCall[len(fake.getStagingSecurityGroupsArgsForCall)] 9615 fake.getStagingSecurityGroupsArgsForCall = append(fake.getStagingSecurityGroupsArgsForCall, struct { 9616 arg1 string 9617 arg2 []ccv3.Query 9618 }{arg1, arg2}) 9619 fake.recordInvocation("GetStagingSecurityGroups", []interface{}{arg1, arg2}) 9620 fake.getStagingSecurityGroupsMutex.Unlock() 9621 if fake.GetStagingSecurityGroupsStub != nil { 9622 return fake.GetStagingSecurityGroupsStub(arg1, arg2...) 9623 } 9624 if specificReturn { 9625 return ret.result1, ret.result2, ret.result3 9626 } 9627 fakeReturns := fake.getStagingSecurityGroupsReturns 9628 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9629 } 9630 9631 func (fake *FakeCloudControllerClient) GetStagingSecurityGroupsCallCount() int { 9632 fake.getStagingSecurityGroupsMutex.RLock() 9633 defer fake.getStagingSecurityGroupsMutex.RUnlock() 9634 return len(fake.getStagingSecurityGroupsArgsForCall) 9635 } 9636 9637 func (fake *FakeCloudControllerClient) GetStagingSecurityGroupsCalls(stub func(string, ...ccv3.Query) ([]resources.SecurityGroup, ccv3.Warnings, error)) { 9638 fake.getStagingSecurityGroupsMutex.Lock() 9639 defer fake.getStagingSecurityGroupsMutex.Unlock() 9640 fake.GetStagingSecurityGroupsStub = stub 9641 } 9642 9643 func (fake *FakeCloudControllerClient) GetStagingSecurityGroupsArgsForCall(i int) (string, []ccv3.Query) { 9644 fake.getStagingSecurityGroupsMutex.RLock() 9645 defer fake.getStagingSecurityGroupsMutex.RUnlock() 9646 argsForCall := fake.getStagingSecurityGroupsArgsForCall[i] 9647 return argsForCall.arg1, argsForCall.arg2 9648 } 9649 9650 func (fake *FakeCloudControllerClient) GetStagingSecurityGroupsReturns(result1 []resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 9651 fake.getStagingSecurityGroupsMutex.Lock() 9652 defer fake.getStagingSecurityGroupsMutex.Unlock() 9653 fake.GetStagingSecurityGroupsStub = nil 9654 fake.getStagingSecurityGroupsReturns = struct { 9655 result1 []resources.SecurityGroup 9656 result2 ccv3.Warnings 9657 result3 error 9658 }{result1, result2, result3} 9659 } 9660 9661 func (fake *FakeCloudControllerClient) GetStagingSecurityGroupsReturnsOnCall(i int, result1 []resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 9662 fake.getStagingSecurityGroupsMutex.Lock() 9663 defer fake.getStagingSecurityGroupsMutex.Unlock() 9664 fake.GetStagingSecurityGroupsStub = nil 9665 if fake.getStagingSecurityGroupsReturnsOnCall == nil { 9666 fake.getStagingSecurityGroupsReturnsOnCall = make(map[int]struct { 9667 result1 []resources.SecurityGroup 9668 result2 ccv3.Warnings 9669 result3 error 9670 }) 9671 } 9672 fake.getStagingSecurityGroupsReturnsOnCall[i] = struct { 9673 result1 []resources.SecurityGroup 9674 result2 ccv3.Warnings 9675 result3 error 9676 }{result1, result2, result3} 9677 } 9678 9679 func (fake *FakeCloudControllerClient) GetUser(arg1 string) (resources.User, ccv3.Warnings, error) { 9680 fake.getUserMutex.Lock() 9681 ret, specificReturn := fake.getUserReturnsOnCall[len(fake.getUserArgsForCall)] 9682 fake.getUserArgsForCall = append(fake.getUserArgsForCall, struct { 9683 arg1 string 9684 }{arg1}) 9685 fake.recordInvocation("GetUser", []interface{}{arg1}) 9686 fake.getUserMutex.Unlock() 9687 if fake.GetUserStub != nil { 9688 return fake.GetUserStub(arg1) 9689 } 9690 if specificReturn { 9691 return ret.result1, ret.result2, ret.result3 9692 } 9693 fakeReturns := fake.getUserReturns 9694 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9695 } 9696 9697 func (fake *FakeCloudControllerClient) GetUserCallCount() int { 9698 fake.getUserMutex.RLock() 9699 defer fake.getUserMutex.RUnlock() 9700 return len(fake.getUserArgsForCall) 9701 } 9702 9703 func (fake *FakeCloudControllerClient) GetUserCalls(stub func(string) (resources.User, ccv3.Warnings, error)) { 9704 fake.getUserMutex.Lock() 9705 defer fake.getUserMutex.Unlock() 9706 fake.GetUserStub = stub 9707 } 9708 9709 func (fake *FakeCloudControllerClient) GetUserArgsForCall(i int) string { 9710 fake.getUserMutex.RLock() 9711 defer fake.getUserMutex.RUnlock() 9712 argsForCall := fake.getUserArgsForCall[i] 9713 return argsForCall.arg1 9714 } 9715 9716 func (fake *FakeCloudControllerClient) GetUserReturns(result1 resources.User, result2 ccv3.Warnings, result3 error) { 9717 fake.getUserMutex.Lock() 9718 defer fake.getUserMutex.Unlock() 9719 fake.GetUserStub = nil 9720 fake.getUserReturns = struct { 9721 result1 resources.User 9722 result2 ccv3.Warnings 9723 result3 error 9724 }{result1, result2, result3} 9725 } 9726 9727 func (fake *FakeCloudControllerClient) GetUserReturnsOnCall(i int, result1 resources.User, result2 ccv3.Warnings, result3 error) { 9728 fake.getUserMutex.Lock() 9729 defer fake.getUserMutex.Unlock() 9730 fake.GetUserStub = nil 9731 if fake.getUserReturnsOnCall == nil { 9732 fake.getUserReturnsOnCall = make(map[int]struct { 9733 result1 resources.User 9734 result2 ccv3.Warnings 9735 result3 error 9736 }) 9737 } 9738 fake.getUserReturnsOnCall[i] = struct { 9739 result1 resources.User 9740 result2 ccv3.Warnings 9741 result3 error 9742 }{result1, result2, result3} 9743 } 9744 9745 func (fake *FakeCloudControllerClient) GetUsers(arg1 ...ccv3.Query) ([]resources.User, ccv3.Warnings, error) { 9746 fake.getUsersMutex.Lock() 9747 ret, specificReturn := fake.getUsersReturnsOnCall[len(fake.getUsersArgsForCall)] 9748 fake.getUsersArgsForCall = append(fake.getUsersArgsForCall, struct { 9749 arg1 []ccv3.Query 9750 }{arg1}) 9751 fake.recordInvocation("GetUsers", []interface{}{arg1}) 9752 fake.getUsersMutex.Unlock() 9753 if fake.GetUsersStub != nil { 9754 return fake.GetUsersStub(arg1...) 9755 } 9756 if specificReturn { 9757 return ret.result1, ret.result2, ret.result3 9758 } 9759 fakeReturns := fake.getUsersReturns 9760 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9761 } 9762 9763 func (fake *FakeCloudControllerClient) GetUsersCallCount() int { 9764 fake.getUsersMutex.RLock() 9765 defer fake.getUsersMutex.RUnlock() 9766 return len(fake.getUsersArgsForCall) 9767 } 9768 9769 func (fake *FakeCloudControllerClient) GetUsersCalls(stub func(...ccv3.Query) ([]resources.User, ccv3.Warnings, error)) { 9770 fake.getUsersMutex.Lock() 9771 defer fake.getUsersMutex.Unlock() 9772 fake.GetUsersStub = stub 9773 } 9774 9775 func (fake *FakeCloudControllerClient) GetUsersArgsForCall(i int) []ccv3.Query { 9776 fake.getUsersMutex.RLock() 9777 defer fake.getUsersMutex.RUnlock() 9778 argsForCall := fake.getUsersArgsForCall[i] 9779 return argsForCall.arg1 9780 } 9781 9782 func (fake *FakeCloudControllerClient) GetUsersReturns(result1 []resources.User, result2 ccv3.Warnings, result3 error) { 9783 fake.getUsersMutex.Lock() 9784 defer fake.getUsersMutex.Unlock() 9785 fake.GetUsersStub = nil 9786 fake.getUsersReturns = struct { 9787 result1 []resources.User 9788 result2 ccv3.Warnings 9789 result3 error 9790 }{result1, result2, result3} 9791 } 9792 9793 func (fake *FakeCloudControllerClient) GetUsersReturnsOnCall(i int, result1 []resources.User, result2 ccv3.Warnings, result3 error) { 9794 fake.getUsersMutex.Lock() 9795 defer fake.getUsersMutex.Unlock() 9796 fake.GetUsersStub = nil 9797 if fake.getUsersReturnsOnCall == nil { 9798 fake.getUsersReturnsOnCall = make(map[int]struct { 9799 result1 []resources.User 9800 result2 ccv3.Warnings 9801 result3 error 9802 }) 9803 } 9804 fake.getUsersReturnsOnCall[i] = struct { 9805 result1 []resources.User 9806 result2 ccv3.Warnings 9807 result3 error 9808 }{result1, result2, result3} 9809 } 9810 9811 func (fake *FakeCloudControllerClient) MapRoute(arg1 string, arg2 string) (ccv3.Warnings, error) { 9812 fake.mapRouteMutex.Lock() 9813 ret, specificReturn := fake.mapRouteReturnsOnCall[len(fake.mapRouteArgsForCall)] 9814 fake.mapRouteArgsForCall = append(fake.mapRouteArgsForCall, struct { 9815 arg1 string 9816 arg2 string 9817 }{arg1, arg2}) 9818 fake.recordInvocation("MapRoute", []interface{}{arg1, arg2}) 9819 fake.mapRouteMutex.Unlock() 9820 if fake.MapRouteStub != nil { 9821 return fake.MapRouteStub(arg1, arg2) 9822 } 9823 if specificReturn { 9824 return ret.result1, ret.result2 9825 } 9826 fakeReturns := fake.mapRouteReturns 9827 return fakeReturns.result1, fakeReturns.result2 9828 } 9829 9830 func (fake *FakeCloudControllerClient) MapRouteCallCount() int { 9831 fake.mapRouteMutex.RLock() 9832 defer fake.mapRouteMutex.RUnlock() 9833 return len(fake.mapRouteArgsForCall) 9834 } 9835 9836 func (fake *FakeCloudControllerClient) MapRouteCalls(stub func(string, string) (ccv3.Warnings, error)) { 9837 fake.mapRouteMutex.Lock() 9838 defer fake.mapRouteMutex.Unlock() 9839 fake.MapRouteStub = stub 9840 } 9841 9842 func (fake *FakeCloudControllerClient) MapRouteArgsForCall(i int) (string, string) { 9843 fake.mapRouteMutex.RLock() 9844 defer fake.mapRouteMutex.RUnlock() 9845 argsForCall := fake.mapRouteArgsForCall[i] 9846 return argsForCall.arg1, argsForCall.arg2 9847 } 9848 9849 func (fake *FakeCloudControllerClient) MapRouteReturns(result1 ccv3.Warnings, result2 error) { 9850 fake.mapRouteMutex.Lock() 9851 defer fake.mapRouteMutex.Unlock() 9852 fake.MapRouteStub = nil 9853 fake.mapRouteReturns = struct { 9854 result1 ccv3.Warnings 9855 result2 error 9856 }{result1, result2} 9857 } 9858 9859 func (fake *FakeCloudControllerClient) MapRouteReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 9860 fake.mapRouteMutex.Lock() 9861 defer fake.mapRouteMutex.Unlock() 9862 fake.MapRouteStub = nil 9863 if fake.mapRouteReturnsOnCall == nil { 9864 fake.mapRouteReturnsOnCall = make(map[int]struct { 9865 result1 ccv3.Warnings 9866 result2 error 9867 }) 9868 } 9869 fake.mapRouteReturnsOnCall[i] = struct { 9870 result1 ccv3.Warnings 9871 result2 error 9872 }{result1, result2} 9873 } 9874 9875 func (fake *FakeCloudControllerClient) PollJob(arg1 ccv3.JobURL) (ccv3.Warnings, error) { 9876 fake.pollJobMutex.Lock() 9877 ret, specificReturn := fake.pollJobReturnsOnCall[len(fake.pollJobArgsForCall)] 9878 fake.pollJobArgsForCall = append(fake.pollJobArgsForCall, struct { 9879 arg1 ccv3.JobURL 9880 }{arg1}) 9881 fake.recordInvocation("PollJob", []interface{}{arg1}) 9882 fake.pollJobMutex.Unlock() 9883 if fake.PollJobStub != nil { 9884 return fake.PollJobStub(arg1) 9885 } 9886 if specificReturn { 9887 return ret.result1, ret.result2 9888 } 9889 fakeReturns := fake.pollJobReturns 9890 return fakeReturns.result1, fakeReturns.result2 9891 } 9892 9893 func (fake *FakeCloudControllerClient) PollJobCallCount() int { 9894 fake.pollJobMutex.RLock() 9895 defer fake.pollJobMutex.RUnlock() 9896 return len(fake.pollJobArgsForCall) 9897 } 9898 9899 func (fake *FakeCloudControllerClient) PollJobCalls(stub func(ccv3.JobURL) (ccv3.Warnings, error)) { 9900 fake.pollJobMutex.Lock() 9901 defer fake.pollJobMutex.Unlock() 9902 fake.PollJobStub = stub 9903 } 9904 9905 func (fake *FakeCloudControllerClient) PollJobArgsForCall(i int) ccv3.JobURL { 9906 fake.pollJobMutex.RLock() 9907 defer fake.pollJobMutex.RUnlock() 9908 argsForCall := fake.pollJobArgsForCall[i] 9909 return argsForCall.arg1 9910 } 9911 9912 func (fake *FakeCloudControllerClient) PollJobReturns(result1 ccv3.Warnings, result2 error) { 9913 fake.pollJobMutex.Lock() 9914 defer fake.pollJobMutex.Unlock() 9915 fake.PollJobStub = nil 9916 fake.pollJobReturns = struct { 9917 result1 ccv3.Warnings 9918 result2 error 9919 }{result1, result2} 9920 } 9921 9922 func (fake *FakeCloudControllerClient) PollJobReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 9923 fake.pollJobMutex.Lock() 9924 defer fake.pollJobMutex.Unlock() 9925 fake.PollJobStub = nil 9926 if fake.pollJobReturnsOnCall == nil { 9927 fake.pollJobReturnsOnCall = make(map[int]struct { 9928 result1 ccv3.Warnings 9929 result2 error 9930 }) 9931 } 9932 fake.pollJobReturnsOnCall[i] = struct { 9933 result1 ccv3.Warnings 9934 result2 error 9935 }{result1, result2} 9936 } 9937 9938 func (fake *FakeCloudControllerClient) PurgeServiceOffering(arg1 string) (ccv3.Warnings, error) { 9939 fake.purgeServiceOfferingMutex.Lock() 9940 ret, specificReturn := fake.purgeServiceOfferingReturnsOnCall[len(fake.purgeServiceOfferingArgsForCall)] 9941 fake.purgeServiceOfferingArgsForCall = append(fake.purgeServiceOfferingArgsForCall, struct { 9942 arg1 string 9943 }{arg1}) 9944 fake.recordInvocation("PurgeServiceOffering", []interface{}{arg1}) 9945 fake.purgeServiceOfferingMutex.Unlock() 9946 if fake.PurgeServiceOfferingStub != nil { 9947 return fake.PurgeServiceOfferingStub(arg1) 9948 } 9949 if specificReturn { 9950 return ret.result1, ret.result2 9951 } 9952 fakeReturns := fake.purgeServiceOfferingReturns 9953 return fakeReturns.result1, fakeReturns.result2 9954 } 9955 9956 func (fake *FakeCloudControllerClient) PurgeServiceOfferingCallCount() int { 9957 fake.purgeServiceOfferingMutex.RLock() 9958 defer fake.purgeServiceOfferingMutex.RUnlock() 9959 return len(fake.purgeServiceOfferingArgsForCall) 9960 } 9961 9962 func (fake *FakeCloudControllerClient) PurgeServiceOfferingCalls(stub func(string) (ccv3.Warnings, error)) { 9963 fake.purgeServiceOfferingMutex.Lock() 9964 defer fake.purgeServiceOfferingMutex.Unlock() 9965 fake.PurgeServiceOfferingStub = stub 9966 } 9967 9968 func (fake *FakeCloudControllerClient) PurgeServiceOfferingArgsForCall(i int) string { 9969 fake.purgeServiceOfferingMutex.RLock() 9970 defer fake.purgeServiceOfferingMutex.RUnlock() 9971 argsForCall := fake.purgeServiceOfferingArgsForCall[i] 9972 return argsForCall.arg1 9973 } 9974 9975 func (fake *FakeCloudControllerClient) PurgeServiceOfferingReturns(result1 ccv3.Warnings, result2 error) { 9976 fake.purgeServiceOfferingMutex.Lock() 9977 defer fake.purgeServiceOfferingMutex.Unlock() 9978 fake.PurgeServiceOfferingStub = nil 9979 fake.purgeServiceOfferingReturns = struct { 9980 result1 ccv3.Warnings 9981 result2 error 9982 }{result1, result2} 9983 } 9984 9985 func (fake *FakeCloudControllerClient) PurgeServiceOfferingReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 9986 fake.purgeServiceOfferingMutex.Lock() 9987 defer fake.purgeServiceOfferingMutex.Unlock() 9988 fake.PurgeServiceOfferingStub = nil 9989 if fake.purgeServiceOfferingReturnsOnCall == nil { 9990 fake.purgeServiceOfferingReturnsOnCall = make(map[int]struct { 9991 result1 ccv3.Warnings 9992 result2 error 9993 }) 9994 } 9995 fake.purgeServiceOfferingReturnsOnCall[i] = struct { 9996 result1 ccv3.Warnings 9997 result2 error 9998 }{result1, result2} 9999 } 10000 10001 func (fake *FakeCloudControllerClient) ResourceMatch(arg1 []ccv3.Resource) ([]ccv3.Resource, ccv3.Warnings, error) { 10002 var arg1Copy []ccv3.Resource 10003 if arg1 != nil { 10004 arg1Copy = make([]ccv3.Resource, len(arg1)) 10005 copy(arg1Copy, arg1) 10006 } 10007 fake.resourceMatchMutex.Lock() 10008 ret, specificReturn := fake.resourceMatchReturnsOnCall[len(fake.resourceMatchArgsForCall)] 10009 fake.resourceMatchArgsForCall = append(fake.resourceMatchArgsForCall, struct { 10010 arg1 []ccv3.Resource 10011 }{arg1Copy}) 10012 fake.recordInvocation("ResourceMatch", []interface{}{arg1Copy}) 10013 fake.resourceMatchMutex.Unlock() 10014 if fake.ResourceMatchStub != nil { 10015 return fake.ResourceMatchStub(arg1) 10016 } 10017 if specificReturn { 10018 return ret.result1, ret.result2, ret.result3 10019 } 10020 fakeReturns := fake.resourceMatchReturns 10021 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10022 } 10023 10024 func (fake *FakeCloudControllerClient) ResourceMatchCallCount() int { 10025 fake.resourceMatchMutex.RLock() 10026 defer fake.resourceMatchMutex.RUnlock() 10027 return len(fake.resourceMatchArgsForCall) 10028 } 10029 10030 func (fake *FakeCloudControllerClient) ResourceMatchCalls(stub func([]ccv3.Resource) ([]ccv3.Resource, ccv3.Warnings, error)) { 10031 fake.resourceMatchMutex.Lock() 10032 defer fake.resourceMatchMutex.Unlock() 10033 fake.ResourceMatchStub = stub 10034 } 10035 10036 func (fake *FakeCloudControllerClient) ResourceMatchArgsForCall(i int) []ccv3.Resource { 10037 fake.resourceMatchMutex.RLock() 10038 defer fake.resourceMatchMutex.RUnlock() 10039 argsForCall := fake.resourceMatchArgsForCall[i] 10040 return argsForCall.arg1 10041 } 10042 10043 func (fake *FakeCloudControllerClient) ResourceMatchReturns(result1 []ccv3.Resource, result2 ccv3.Warnings, result3 error) { 10044 fake.resourceMatchMutex.Lock() 10045 defer fake.resourceMatchMutex.Unlock() 10046 fake.ResourceMatchStub = nil 10047 fake.resourceMatchReturns = struct { 10048 result1 []ccv3.Resource 10049 result2 ccv3.Warnings 10050 result3 error 10051 }{result1, result2, result3} 10052 } 10053 10054 func (fake *FakeCloudControllerClient) ResourceMatchReturnsOnCall(i int, result1 []ccv3.Resource, result2 ccv3.Warnings, result3 error) { 10055 fake.resourceMatchMutex.Lock() 10056 defer fake.resourceMatchMutex.Unlock() 10057 fake.ResourceMatchStub = nil 10058 if fake.resourceMatchReturnsOnCall == nil { 10059 fake.resourceMatchReturnsOnCall = make(map[int]struct { 10060 result1 []ccv3.Resource 10061 result2 ccv3.Warnings 10062 result3 error 10063 }) 10064 } 10065 fake.resourceMatchReturnsOnCall[i] = struct { 10066 result1 []ccv3.Resource 10067 result2 ccv3.Warnings 10068 result3 error 10069 }{result1, result2, result3} 10070 } 10071 10072 func (fake *FakeCloudControllerClient) RootResponse() (ccv3.Info, ccv3.Warnings, error) { 10073 fake.rootResponseMutex.Lock() 10074 ret, specificReturn := fake.rootResponseReturnsOnCall[len(fake.rootResponseArgsForCall)] 10075 fake.rootResponseArgsForCall = append(fake.rootResponseArgsForCall, struct { 10076 }{}) 10077 fake.recordInvocation("RootResponse", []interface{}{}) 10078 fake.rootResponseMutex.Unlock() 10079 if fake.RootResponseStub != nil { 10080 return fake.RootResponseStub() 10081 } 10082 if specificReturn { 10083 return ret.result1, ret.result2, ret.result3 10084 } 10085 fakeReturns := fake.rootResponseReturns 10086 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10087 } 10088 10089 func (fake *FakeCloudControllerClient) RootResponseCallCount() int { 10090 fake.rootResponseMutex.RLock() 10091 defer fake.rootResponseMutex.RUnlock() 10092 return len(fake.rootResponseArgsForCall) 10093 } 10094 10095 func (fake *FakeCloudControllerClient) RootResponseCalls(stub func() (ccv3.Info, ccv3.Warnings, error)) { 10096 fake.rootResponseMutex.Lock() 10097 defer fake.rootResponseMutex.Unlock() 10098 fake.RootResponseStub = stub 10099 } 10100 10101 func (fake *FakeCloudControllerClient) RootResponseReturns(result1 ccv3.Info, result2 ccv3.Warnings, result3 error) { 10102 fake.rootResponseMutex.Lock() 10103 defer fake.rootResponseMutex.Unlock() 10104 fake.RootResponseStub = nil 10105 fake.rootResponseReturns = struct { 10106 result1 ccv3.Info 10107 result2 ccv3.Warnings 10108 result3 error 10109 }{result1, result2, result3} 10110 } 10111 10112 func (fake *FakeCloudControllerClient) RootResponseReturnsOnCall(i int, result1 ccv3.Info, result2 ccv3.Warnings, result3 error) { 10113 fake.rootResponseMutex.Lock() 10114 defer fake.rootResponseMutex.Unlock() 10115 fake.RootResponseStub = nil 10116 if fake.rootResponseReturnsOnCall == nil { 10117 fake.rootResponseReturnsOnCall = make(map[int]struct { 10118 result1 ccv3.Info 10119 result2 ccv3.Warnings 10120 result3 error 10121 }) 10122 } 10123 fake.rootResponseReturnsOnCall[i] = struct { 10124 result1 ccv3.Info 10125 result2 ccv3.Warnings 10126 result3 error 10127 }{result1, result2, result3} 10128 } 10129 10130 func (fake *FakeCloudControllerClient) SetApplicationDroplet(arg1 string, arg2 string) (resources.Relationship, ccv3.Warnings, error) { 10131 fake.setApplicationDropletMutex.Lock() 10132 ret, specificReturn := fake.setApplicationDropletReturnsOnCall[len(fake.setApplicationDropletArgsForCall)] 10133 fake.setApplicationDropletArgsForCall = append(fake.setApplicationDropletArgsForCall, struct { 10134 arg1 string 10135 arg2 string 10136 }{arg1, arg2}) 10137 fake.recordInvocation("SetApplicationDroplet", []interface{}{arg1, arg2}) 10138 fake.setApplicationDropletMutex.Unlock() 10139 if fake.SetApplicationDropletStub != nil { 10140 return fake.SetApplicationDropletStub(arg1, arg2) 10141 } 10142 if specificReturn { 10143 return ret.result1, ret.result2, ret.result3 10144 } 10145 fakeReturns := fake.setApplicationDropletReturns 10146 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10147 } 10148 10149 func (fake *FakeCloudControllerClient) SetApplicationDropletCallCount() int { 10150 fake.setApplicationDropletMutex.RLock() 10151 defer fake.setApplicationDropletMutex.RUnlock() 10152 return len(fake.setApplicationDropletArgsForCall) 10153 } 10154 10155 func (fake *FakeCloudControllerClient) SetApplicationDropletCalls(stub func(string, string) (resources.Relationship, ccv3.Warnings, error)) { 10156 fake.setApplicationDropletMutex.Lock() 10157 defer fake.setApplicationDropletMutex.Unlock() 10158 fake.SetApplicationDropletStub = stub 10159 } 10160 10161 func (fake *FakeCloudControllerClient) SetApplicationDropletArgsForCall(i int) (string, string) { 10162 fake.setApplicationDropletMutex.RLock() 10163 defer fake.setApplicationDropletMutex.RUnlock() 10164 argsForCall := fake.setApplicationDropletArgsForCall[i] 10165 return argsForCall.arg1, argsForCall.arg2 10166 } 10167 10168 func (fake *FakeCloudControllerClient) SetApplicationDropletReturns(result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 10169 fake.setApplicationDropletMutex.Lock() 10170 defer fake.setApplicationDropletMutex.Unlock() 10171 fake.SetApplicationDropletStub = nil 10172 fake.setApplicationDropletReturns = struct { 10173 result1 resources.Relationship 10174 result2 ccv3.Warnings 10175 result3 error 10176 }{result1, result2, result3} 10177 } 10178 10179 func (fake *FakeCloudControllerClient) SetApplicationDropletReturnsOnCall(i int, result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 10180 fake.setApplicationDropletMutex.Lock() 10181 defer fake.setApplicationDropletMutex.Unlock() 10182 fake.SetApplicationDropletStub = nil 10183 if fake.setApplicationDropletReturnsOnCall == nil { 10184 fake.setApplicationDropletReturnsOnCall = make(map[int]struct { 10185 result1 resources.Relationship 10186 result2 ccv3.Warnings 10187 result3 error 10188 }) 10189 } 10190 fake.setApplicationDropletReturnsOnCall[i] = struct { 10191 result1 resources.Relationship 10192 result2 ccv3.Warnings 10193 result3 error 10194 }{result1, result2, result3} 10195 } 10196 10197 func (fake *FakeCloudControllerClient) SharePrivateDomainToOrgs(arg1 string, arg2 ccv3.SharedOrgs) (ccv3.Warnings, error) { 10198 fake.sharePrivateDomainToOrgsMutex.Lock() 10199 ret, specificReturn := fake.sharePrivateDomainToOrgsReturnsOnCall[len(fake.sharePrivateDomainToOrgsArgsForCall)] 10200 fake.sharePrivateDomainToOrgsArgsForCall = append(fake.sharePrivateDomainToOrgsArgsForCall, struct { 10201 arg1 string 10202 arg2 ccv3.SharedOrgs 10203 }{arg1, arg2}) 10204 fake.recordInvocation("SharePrivateDomainToOrgs", []interface{}{arg1, arg2}) 10205 fake.sharePrivateDomainToOrgsMutex.Unlock() 10206 if fake.SharePrivateDomainToOrgsStub != nil { 10207 return fake.SharePrivateDomainToOrgsStub(arg1, arg2) 10208 } 10209 if specificReturn { 10210 return ret.result1, ret.result2 10211 } 10212 fakeReturns := fake.sharePrivateDomainToOrgsReturns 10213 return fakeReturns.result1, fakeReturns.result2 10214 } 10215 10216 func (fake *FakeCloudControllerClient) SharePrivateDomainToOrgsCallCount() int { 10217 fake.sharePrivateDomainToOrgsMutex.RLock() 10218 defer fake.sharePrivateDomainToOrgsMutex.RUnlock() 10219 return len(fake.sharePrivateDomainToOrgsArgsForCall) 10220 } 10221 10222 func (fake *FakeCloudControllerClient) SharePrivateDomainToOrgsCalls(stub func(string, ccv3.SharedOrgs) (ccv3.Warnings, error)) { 10223 fake.sharePrivateDomainToOrgsMutex.Lock() 10224 defer fake.sharePrivateDomainToOrgsMutex.Unlock() 10225 fake.SharePrivateDomainToOrgsStub = stub 10226 } 10227 10228 func (fake *FakeCloudControllerClient) SharePrivateDomainToOrgsArgsForCall(i int) (string, ccv3.SharedOrgs) { 10229 fake.sharePrivateDomainToOrgsMutex.RLock() 10230 defer fake.sharePrivateDomainToOrgsMutex.RUnlock() 10231 argsForCall := fake.sharePrivateDomainToOrgsArgsForCall[i] 10232 return argsForCall.arg1, argsForCall.arg2 10233 } 10234 10235 func (fake *FakeCloudControllerClient) SharePrivateDomainToOrgsReturns(result1 ccv3.Warnings, result2 error) { 10236 fake.sharePrivateDomainToOrgsMutex.Lock() 10237 defer fake.sharePrivateDomainToOrgsMutex.Unlock() 10238 fake.SharePrivateDomainToOrgsStub = nil 10239 fake.sharePrivateDomainToOrgsReturns = struct { 10240 result1 ccv3.Warnings 10241 result2 error 10242 }{result1, result2} 10243 } 10244 10245 func (fake *FakeCloudControllerClient) SharePrivateDomainToOrgsReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 10246 fake.sharePrivateDomainToOrgsMutex.Lock() 10247 defer fake.sharePrivateDomainToOrgsMutex.Unlock() 10248 fake.SharePrivateDomainToOrgsStub = nil 10249 if fake.sharePrivateDomainToOrgsReturnsOnCall == nil { 10250 fake.sharePrivateDomainToOrgsReturnsOnCall = make(map[int]struct { 10251 result1 ccv3.Warnings 10252 result2 error 10253 }) 10254 } 10255 fake.sharePrivateDomainToOrgsReturnsOnCall[i] = struct { 10256 result1 ccv3.Warnings 10257 result2 error 10258 }{result1, result2} 10259 } 10260 10261 func (fake *FakeCloudControllerClient) ShareServiceInstanceToSpaces(arg1 string, arg2 []string) (resources.RelationshipList, ccv3.Warnings, error) { 10262 var arg2Copy []string 10263 if arg2 != nil { 10264 arg2Copy = make([]string, len(arg2)) 10265 copy(arg2Copy, arg2) 10266 } 10267 fake.shareServiceInstanceToSpacesMutex.Lock() 10268 ret, specificReturn := fake.shareServiceInstanceToSpacesReturnsOnCall[len(fake.shareServiceInstanceToSpacesArgsForCall)] 10269 fake.shareServiceInstanceToSpacesArgsForCall = append(fake.shareServiceInstanceToSpacesArgsForCall, struct { 10270 arg1 string 10271 arg2 []string 10272 }{arg1, arg2Copy}) 10273 fake.recordInvocation("ShareServiceInstanceToSpaces", []interface{}{arg1, arg2Copy}) 10274 fake.shareServiceInstanceToSpacesMutex.Unlock() 10275 if fake.ShareServiceInstanceToSpacesStub != nil { 10276 return fake.ShareServiceInstanceToSpacesStub(arg1, arg2) 10277 } 10278 if specificReturn { 10279 return ret.result1, ret.result2, ret.result3 10280 } 10281 fakeReturns := fake.shareServiceInstanceToSpacesReturns 10282 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10283 } 10284 10285 func (fake *FakeCloudControllerClient) ShareServiceInstanceToSpacesCallCount() int { 10286 fake.shareServiceInstanceToSpacesMutex.RLock() 10287 defer fake.shareServiceInstanceToSpacesMutex.RUnlock() 10288 return len(fake.shareServiceInstanceToSpacesArgsForCall) 10289 } 10290 10291 func (fake *FakeCloudControllerClient) ShareServiceInstanceToSpacesCalls(stub func(string, []string) (resources.RelationshipList, ccv3.Warnings, error)) { 10292 fake.shareServiceInstanceToSpacesMutex.Lock() 10293 defer fake.shareServiceInstanceToSpacesMutex.Unlock() 10294 fake.ShareServiceInstanceToSpacesStub = stub 10295 } 10296 10297 func (fake *FakeCloudControllerClient) ShareServiceInstanceToSpacesArgsForCall(i int) (string, []string) { 10298 fake.shareServiceInstanceToSpacesMutex.RLock() 10299 defer fake.shareServiceInstanceToSpacesMutex.RUnlock() 10300 argsForCall := fake.shareServiceInstanceToSpacesArgsForCall[i] 10301 return argsForCall.arg1, argsForCall.arg2 10302 } 10303 10304 func (fake *FakeCloudControllerClient) ShareServiceInstanceToSpacesReturns(result1 resources.RelationshipList, result2 ccv3.Warnings, result3 error) { 10305 fake.shareServiceInstanceToSpacesMutex.Lock() 10306 defer fake.shareServiceInstanceToSpacesMutex.Unlock() 10307 fake.ShareServiceInstanceToSpacesStub = nil 10308 fake.shareServiceInstanceToSpacesReturns = struct { 10309 result1 resources.RelationshipList 10310 result2 ccv3.Warnings 10311 result3 error 10312 }{result1, result2, result3} 10313 } 10314 10315 func (fake *FakeCloudControllerClient) ShareServiceInstanceToSpacesReturnsOnCall(i int, result1 resources.RelationshipList, result2 ccv3.Warnings, result3 error) { 10316 fake.shareServiceInstanceToSpacesMutex.Lock() 10317 defer fake.shareServiceInstanceToSpacesMutex.Unlock() 10318 fake.ShareServiceInstanceToSpacesStub = nil 10319 if fake.shareServiceInstanceToSpacesReturnsOnCall == nil { 10320 fake.shareServiceInstanceToSpacesReturnsOnCall = make(map[int]struct { 10321 result1 resources.RelationshipList 10322 result2 ccv3.Warnings 10323 result3 error 10324 }) 10325 } 10326 fake.shareServiceInstanceToSpacesReturnsOnCall[i] = struct { 10327 result1 resources.RelationshipList 10328 result2 ccv3.Warnings 10329 result3 error 10330 }{result1, result2, result3} 10331 } 10332 10333 func (fake *FakeCloudControllerClient) TargetCF(arg1 ccv3.TargetSettings) (ccv3.Info, ccv3.Warnings, error) { 10334 fake.targetCFMutex.Lock() 10335 ret, specificReturn := fake.targetCFReturnsOnCall[len(fake.targetCFArgsForCall)] 10336 fake.targetCFArgsForCall = append(fake.targetCFArgsForCall, struct { 10337 arg1 ccv3.TargetSettings 10338 }{arg1}) 10339 fake.recordInvocation("TargetCF", []interface{}{arg1}) 10340 fake.targetCFMutex.Unlock() 10341 if fake.TargetCFStub != nil { 10342 return fake.TargetCFStub(arg1) 10343 } 10344 if specificReturn { 10345 return ret.result1, ret.result2, ret.result3 10346 } 10347 fakeReturns := fake.targetCFReturns 10348 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10349 } 10350 10351 func (fake *FakeCloudControllerClient) TargetCFCallCount() int { 10352 fake.targetCFMutex.RLock() 10353 defer fake.targetCFMutex.RUnlock() 10354 return len(fake.targetCFArgsForCall) 10355 } 10356 10357 func (fake *FakeCloudControllerClient) TargetCFCalls(stub func(ccv3.TargetSettings) (ccv3.Info, ccv3.Warnings, error)) { 10358 fake.targetCFMutex.Lock() 10359 defer fake.targetCFMutex.Unlock() 10360 fake.TargetCFStub = stub 10361 } 10362 10363 func (fake *FakeCloudControllerClient) TargetCFArgsForCall(i int) ccv3.TargetSettings { 10364 fake.targetCFMutex.RLock() 10365 defer fake.targetCFMutex.RUnlock() 10366 argsForCall := fake.targetCFArgsForCall[i] 10367 return argsForCall.arg1 10368 } 10369 10370 func (fake *FakeCloudControllerClient) TargetCFReturns(result1 ccv3.Info, result2 ccv3.Warnings, result3 error) { 10371 fake.targetCFMutex.Lock() 10372 defer fake.targetCFMutex.Unlock() 10373 fake.TargetCFStub = nil 10374 fake.targetCFReturns = struct { 10375 result1 ccv3.Info 10376 result2 ccv3.Warnings 10377 result3 error 10378 }{result1, result2, result3} 10379 } 10380 10381 func (fake *FakeCloudControllerClient) TargetCFReturnsOnCall(i int, result1 ccv3.Info, result2 ccv3.Warnings, result3 error) { 10382 fake.targetCFMutex.Lock() 10383 defer fake.targetCFMutex.Unlock() 10384 fake.TargetCFStub = nil 10385 if fake.targetCFReturnsOnCall == nil { 10386 fake.targetCFReturnsOnCall = make(map[int]struct { 10387 result1 ccv3.Info 10388 result2 ccv3.Warnings 10389 result3 error 10390 }) 10391 } 10392 fake.targetCFReturnsOnCall[i] = struct { 10393 result1 ccv3.Info 10394 result2 ccv3.Warnings 10395 result3 error 10396 }{result1, result2, result3} 10397 } 10398 10399 func (fake *FakeCloudControllerClient) UnbindSecurityGroupRunningSpace(arg1 string, arg2 string) (ccv3.Warnings, error) { 10400 fake.unbindSecurityGroupRunningSpaceMutex.Lock() 10401 ret, specificReturn := fake.unbindSecurityGroupRunningSpaceReturnsOnCall[len(fake.unbindSecurityGroupRunningSpaceArgsForCall)] 10402 fake.unbindSecurityGroupRunningSpaceArgsForCall = append(fake.unbindSecurityGroupRunningSpaceArgsForCall, struct { 10403 arg1 string 10404 arg2 string 10405 }{arg1, arg2}) 10406 fake.recordInvocation("UnbindSecurityGroupRunningSpace", []interface{}{arg1, arg2}) 10407 fake.unbindSecurityGroupRunningSpaceMutex.Unlock() 10408 if fake.UnbindSecurityGroupRunningSpaceStub != nil { 10409 return fake.UnbindSecurityGroupRunningSpaceStub(arg1, arg2) 10410 } 10411 if specificReturn { 10412 return ret.result1, ret.result2 10413 } 10414 fakeReturns := fake.unbindSecurityGroupRunningSpaceReturns 10415 return fakeReturns.result1, fakeReturns.result2 10416 } 10417 10418 func (fake *FakeCloudControllerClient) UnbindSecurityGroupRunningSpaceCallCount() int { 10419 fake.unbindSecurityGroupRunningSpaceMutex.RLock() 10420 defer fake.unbindSecurityGroupRunningSpaceMutex.RUnlock() 10421 return len(fake.unbindSecurityGroupRunningSpaceArgsForCall) 10422 } 10423 10424 func (fake *FakeCloudControllerClient) UnbindSecurityGroupRunningSpaceCalls(stub func(string, string) (ccv3.Warnings, error)) { 10425 fake.unbindSecurityGroupRunningSpaceMutex.Lock() 10426 defer fake.unbindSecurityGroupRunningSpaceMutex.Unlock() 10427 fake.UnbindSecurityGroupRunningSpaceStub = stub 10428 } 10429 10430 func (fake *FakeCloudControllerClient) UnbindSecurityGroupRunningSpaceArgsForCall(i int) (string, string) { 10431 fake.unbindSecurityGroupRunningSpaceMutex.RLock() 10432 defer fake.unbindSecurityGroupRunningSpaceMutex.RUnlock() 10433 argsForCall := fake.unbindSecurityGroupRunningSpaceArgsForCall[i] 10434 return argsForCall.arg1, argsForCall.arg2 10435 } 10436 10437 func (fake *FakeCloudControllerClient) UnbindSecurityGroupRunningSpaceReturns(result1 ccv3.Warnings, result2 error) { 10438 fake.unbindSecurityGroupRunningSpaceMutex.Lock() 10439 defer fake.unbindSecurityGroupRunningSpaceMutex.Unlock() 10440 fake.UnbindSecurityGroupRunningSpaceStub = nil 10441 fake.unbindSecurityGroupRunningSpaceReturns = struct { 10442 result1 ccv3.Warnings 10443 result2 error 10444 }{result1, result2} 10445 } 10446 10447 func (fake *FakeCloudControllerClient) UnbindSecurityGroupRunningSpaceReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 10448 fake.unbindSecurityGroupRunningSpaceMutex.Lock() 10449 defer fake.unbindSecurityGroupRunningSpaceMutex.Unlock() 10450 fake.UnbindSecurityGroupRunningSpaceStub = nil 10451 if fake.unbindSecurityGroupRunningSpaceReturnsOnCall == nil { 10452 fake.unbindSecurityGroupRunningSpaceReturnsOnCall = make(map[int]struct { 10453 result1 ccv3.Warnings 10454 result2 error 10455 }) 10456 } 10457 fake.unbindSecurityGroupRunningSpaceReturnsOnCall[i] = struct { 10458 result1 ccv3.Warnings 10459 result2 error 10460 }{result1, result2} 10461 } 10462 10463 func (fake *FakeCloudControllerClient) UnbindSecurityGroupStagingSpace(arg1 string, arg2 string) (ccv3.Warnings, error) { 10464 fake.unbindSecurityGroupStagingSpaceMutex.Lock() 10465 ret, specificReturn := fake.unbindSecurityGroupStagingSpaceReturnsOnCall[len(fake.unbindSecurityGroupStagingSpaceArgsForCall)] 10466 fake.unbindSecurityGroupStagingSpaceArgsForCall = append(fake.unbindSecurityGroupStagingSpaceArgsForCall, struct { 10467 arg1 string 10468 arg2 string 10469 }{arg1, arg2}) 10470 fake.recordInvocation("UnbindSecurityGroupStagingSpace", []interface{}{arg1, arg2}) 10471 fake.unbindSecurityGroupStagingSpaceMutex.Unlock() 10472 if fake.UnbindSecurityGroupStagingSpaceStub != nil { 10473 return fake.UnbindSecurityGroupStagingSpaceStub(arg1, arg2) 10474 } 10475 if specificReturn { 10476 return ret.result1, ret.result2 10477 } 10478 fakeReturns := fake.unbindSecurityGroupStagingSpaceReturns 10479 return fakeReturns.result1, fakeReturns.result2 10480 } 10481 10482 func (fake *FakeCloudControllerClient) UnbindSecurityGroupStagingSpaceCallCount() int { 10483 fake.unbindSecurityGroupStagingSpaceMutex.RLock() 10484 defer fake.unbindSecurityGroupStagingSpaceMutex.RUnlock() 10485 return len(fake.unbindSecurityGroupStagingSpaceArgsForCall) 10486 } 10487 10488 func (fake *FakeCloudControllerClient) UnbindSecurityGroupStagingSpaceCalls(stub func(string, string) (ccv3.Warnings, error)) { 10489 fake.unbindSecurityGroupStagingSpaceMutex.Lock() 10490 defer fake.unbindSecurityGroupStagingSpaceMutex.Unlock() 10491 fake.UnbindSecurityGroupStagingSpaceStub = stub 10492 } 10493 10494 func (fake *FakeCloudControllerClient) UnbindSecurityGroupStagingSpaceArgsForCall(i int) (string, string) { 10495 fake.unbindSecurityGroupStagingSpaceMutex.RLock() 10496 defer fake.unbindSecurityGroupStagingSpaceMutex.RUnlock() 10497 argsForCall := fake.unbindSecurityGroupStagingSpaceArgsForCall[i] 10498 return argsForCall.arg1, argsForCall.arg2 10499 } 10500 10501 func (fake *FakeCloudControllerClient) UnbindSecurityGroupStagingSpaceReturns(result1 ccv3.Warnings, result2 error) { 10502 fake.unbindSecurityGroupStagingSpaceMutex.Lock() 10503 defer fake.unbindSecurityGroupStagingSpaceMutex.Unlock() 10504 fake.UnbindSecurityGroupStagingSpaceStub = nil 10505 fake.unbindSecurityGroupStagingSpaceReturns = struct { 10506 result1 ccv3.Warnings 10507 result2 error 10508 }{result1, result2} 10509 } 10510 10511 func (fake *FakeCloudControllerClient) UnbindSecurityGroupStagingSpaceReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 10512 fake.unbindSecurityGroupStagingSpaceMutex.Lock() 10513 defer fake.unbindSecurityGroupStagingSpaceMutex.Unlock() 10514 fake.UnbindSecurityGroupStagingSpaceStub = nil 10515 if fake.unbindSecurityGroupStagingSpaceReturnsOnCall == nil { 10516 fake.unbindSecurityGroupStagingSpaceReturnsOnCall = make(map[int]struct { 10517 result1 ccv3.Warnings 10518 result2 error 10519 }) 10520 } 10521 fake.unbindSecurityGroupStagingSpaceReturnsOnCall[i] = struct { 10522 result1 ccv3.Warnings 10523 result2 error 10524 }{result1, result2} 10525 } 10526 10527 func (fake *FakeCloudControllerClient) UnmapRoute(arg1 string, arg2 string) (ccv3.Warnings, error) { 10528 fake.unmapRouteMutex.Lock() 10529 ret, specificReturn := fake.unmapRouteReturnsOnCall[len(fake.unmapRouteArgsForCall)] 10530 fake.unmapRouteArgsForCall = append(fake.unmapRouteArgsForCall, struct { 10531 arg1 string 10532 arg2 string 10533 }{arg1, arg2}) 10534 fake.recordInvocation("UnmapRoute", []interface{}{arg1, arg2}) 10535 fake.unmapRouteMutex.Unlock() 10536 if fake.UnmapRouteStub != nil { 10537 return fake.UnmapRouteStub(arg1, arg2) 10538 } 10539 if specificReturn { 10540 return ret.result1, ret.result2 10541 } 10542 fakeReturns := fake.unmapRouteReturns 10543 return fakeReturns.result1, fakeReturns.result2 10544 } 10545 10546 func (fake *FakeCloudControllerClient) UnmapRouteCallCount() int { 10547 fake.unmapRouteMutex.RLock() 10548 defer fake.unmapRouteMutex.RUnlock() 10549 return len(fake.unmapRouteArgsForCall) 10550 } 10551 10552 func (fake *FakeCloudControllerClient) UnmapRouteCalls(stub func(string, string) (ccv3.Warnings, error)) { 10553 fake.unmapRouteMutex.Lock() 10554 defer fake.unmapRouteMutex.Unlock() 10555 fake.UnmapRouteStub = stub 10556 } 10557 10558 func (fake *FakeCloudControllerClient) UnmapRouteArgsForCall(i int) (string, string) { 10559 fake.unmapRouteMutex.RLock() 10560 defer fake.unmapRouteMutex.RUnlock() 10561 argsForCall := fake.unmapRouteArgsForCall[i] 10562 return argsForCall.arg1, argsForCall.arg2 10563 } 10564 10565 func (fake *FakeCloudControllerClient) UnmapRouteReturns(result1 ccv3.Warnings, result2 error) { 10566 fake.unmapRouteMutex.Lock() 10567 defer fake.unmapRouteMutex.Unlock() 10568 fake.UnmapRouteStub = nil 10569 fake.unmapRouteReturns = struct { 10570 result1 ccv3.Warnings 10571 result2 error 10572 }{result1, result2} 10573 } 10574 10575 func (fake *FakeCloudControllerClient) UnmapRouteReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 10576 fake.unmapRouteMutex.Lock() 10577 defer fake.unmapRouteMutex.Unlock() 10578 fake.UnmapRouteStub = nil 10579 if fake.unmapRouteReturnsOnCall == nil { 10580 fake.unmapRouteReturnsOnCall = make(map[int]struct { 10581 result1 ccv3.Warnings 10582 result2 error 10583 }) 10584 } 10585 fake.unmapRouteReturnsOnCall[i] = struct { 10586 result1 ccv3.Warnings 10587 result2 error 10588 }{result1, result2} 10589 } 10590 10591 func (fake *FakeCloudControllerClient) UnsetSpaceQuota(arg1 string, arg2 string) (ccv3.Warnings, error) { 10592 fake.unsetSpaceQuotaMutex.Lock() 10593 ret, specificReturn := fake.unsetSpaceQuotaReturnsOnCall[len(fake.unsetSpaceQuotaArgsForCall)] 10594 fake.unsetSpaceQuotaArgsForCall = append(fake.unsetSpaceQuotaArgsForCall, struct { 10595 arg1 string 10596 arg2 string 10597 }{arg1, arg2}) 10598 fake.recordInvocation("UnsetSpaceQuota", []interface{}{arg1, arg2}) 10599 fake.unsetSpaceQuotaMutex.Unlock() 10600 if fake.UnsetSpaceQuotaStub != nil { 10601 return fake.UnsetSpaceQuotaStub(arg1, arg2) 10602 } 10603 if specificReturn { 10604 return ret.result1, ret.result2 10605 } 10606 fakeReturns := fake.unsetSpaceQuotaReturns 10607 return fakeReturns.result1, fakeReturns.result2 10608 } 10609 10610 func (fake *FakeCloudControllerClient) UnsetSpaceQuotaCallCount() int { 10611 fake.unsetSpaceQuotaMutex.RLock() 10612 defer fake.unsetSpaceQuotaMutex.RUnlock() 10613 return len(fake.unsetSpaceQuotaArgsForCall) 10614 } 10615 10616 func (fake *FakeCloudControllerClient) UnsetSpaceQuotaCalls(stub func(string, string) (ccv3.Warnings, error)) { 10617 fake.unsetSpaceQuotaMutex.Lock() 10618 defer fake.unsetSpaceQuotaMutex.Unlock() 10619 fake.UnsetSpaceQuotaStub = stub 10620 } 10621 10622 func (fake *FakeCloudControllerClient) UnsetSpaceQuotaArgsForCall(i int) (string, string) { 10623 fake.unsetSpaceQuotaMutex.RLock() 10624 defer fake.unsetSpaceQuotaMutex.RUnlock() 10625 argsForCall := fake.unsetSpaceQuotaArgsForCall[i] 10626 return argsForCall.arg1, argsForCall.arg2 10627 } 10628 10629 func (fake *FakeCloudControllerClient) UnsetSpaceQuotaReturns(result1 ccv3.Warnings, result2 error) { 10630 fake.unsetSpaceQuotaMutex.Lock() 10631 defer fake.unsetSpaceQuotaMutex.Unlock() 10632 fake.UnsetSpaceQuotaStub = nil 10633 fake.unsetSpaceQuotaReturns = struct { 10634 result1 ccv3.Warnings 10635 result2 error 10636 }{result1, result2} 10637 } 10638 10639 func (fake *FakeCloudControllerClient) UnsetSpaceQuotaReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 10640 fake.unsetSpaceQuotaMutex.Lock() 10641 defer fake.unsetSpaceQuotaMutex.Unlock() 10642 fake.UnsetSpaceQuotaStub = nil 10643 if fake.unsetSpaceQuotaReturnsOnCall == nil { 10644 fake.unsetSpaceQuotaReturnsOnCall = make(map[int]struct { 10645 result1 ccv3.Warnings 10646 result2 error 10647 }) 10648 } 10649 fake.unsetSpaceQuotaReturnsOnCall[i] = struct { 10650 result1 ccv3.Warnings 10651 result2 error 10652 }{result1, result2} 10653 } 10654 10655 func (fake *FakeCloudControllerClient) UnsharePrivateDomainFromOrg(arg1 string, arg2 string) (ccv3.Warnings, error) { 10656 fake.unsharePrivateDomainFromOrgMutex.Lock() 10657 ret, specificReturn := fake.unsharePrivateDomainFromOrgReturnsOnCall[len(fake.unsharePrivateDomainFromOrgArgsForCall)] 10658 fake.unsharePrivateDomainFromOrgArgsForCall = append(fake.unsharePrivateDomainFromOrgArgsForCall, struct { 10659 arg1 string 10660 arg2 string 10661 }{arg1, arg2}) 10662 fake.recordInvocation("UnsharePrivateDomainFromOrg", []interface{}{arg1, arg2}) 10663 fake.unsharePrivateDomainFromOrgMutex.Unlock() 10664 if fake.UnsharePrivateDomainFromOrgStub != nil { 10665 return fake.UnsharePrivateDomainFromOrgStub(arg1, arg2) 10666 } 10667 if specificReturn { 10668 return ret.result1, ret.result2 10669 } 10670 fakeReturns := fake.unsharePrivateDomainFromOrgReturns 10671 return fakeReturns.result1, fakeReturns.result2 10672 } 10673 10674 func (fake *FakeCloudControllerClient) UnsharePrivateDomainFromOrgCallCount() int { 10675 fake.unsharePrivateDomainFromOrgMutex.RLock() 10676 defer fake.unsharePrivateDomainFromOrgMutex.RUnlock() 10677 return len(fake.unsharePrivateDomainFromOrgArgsForCall) 10678 } 10679 10680 func (fake *FakeCloudControllerClient) UnsharePrivateDomainFromOrgCalls(stub func(string, string) (ccv3.Warnings, error)) { 10681 fake.unsharePrivateDomainFromOrgMutex.Lock() 10682 defer fake.unsharePrivateDomainFromOrgMutex.Unlock() 10683 fake.UnsharePrivateDomainFromOrgStub = stub 10684 } 10685 10686 func (fake *FakeCloudControllerClient) UnsharePrivateDomainFromOrgArgsForCall(i int) (string, string) { 10687 fake.unsharePrivateDomainFromOrgMutex.RLock() 10688 defer fake.unsharePrivateDomainFromOrgMutex.RUnlock() 10689 argsForCall := fake.unsharePrivateDomainFromOrgArgsForCall[i] 10690 return argsForCall.arg1, argsForCall.arg2 10691 } 10692 10693 func (fake *FakeCloudControllerClient) UnsharePrivateDomainFromOrgReturns(result1 ccv3.Warnings, result2 error) { 10694 fake.unsharePrivateDomainFromOrgMutex.Lock() 10695 defer fake.unsharePrivateDomainFromOrgMutex.Unlock() 10696 fake.UnsharePrivateDomainFromOrgStub = nil 10697 fake.unsharePrivateDomainFromOrgReturns = struct { 10698 result1 ccv3.Warnings 10699 result2 error 10700 }{result1, result2} 10701 } 10702 10703 func (fake *FakeCloudControllerClient) UnsharePrivateDomainFromOrgReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 10704 fake.unsharePrivateDomainFromOrgMutex.Lock() 10705 defer fake.unsharePrivateDomainFromOrgMutex.Unlock() 10706 fake.UnsharePrivateDomainFromOrgStub = nil 10707 if fake.unsharePrivateDomainFromOrgReturnsOnCall == nil { 10708 fake.unsharePrivateDomainFromOrgReturnsOnCall = make(map[int]struct { 10709 result1 ccv3.Warnings 10710 result2 error 10711 }) 10712 } 10713 fake.unsharePrivateDomainFromOrgReturnsOnCall[i] = struct { 10714 result1 ccv3.Warnings 10715 result2 error 10716 }{result1, result2} 10717 } 10718 10719 func (fake *FakeCloudControllerClient) UpdateAppFeature(arg1 string, arg2 bool, arg3 string) (ccv3.Warnings, error) { 10720 fake.updateAppFeatureMutex.Lock() 10721 ret, specificReturn := fake.updateAppFeatureReturnsOnCall[len(fake.updateAppFeatureArgsForCall)] 10722 fake.updateAppFeatureArgsForCall = append(fake.updateAppFeatureArgsForCall, struct { 10723 arg1 string 10724 arg2 bool 10725 arg3 string 10726 }{arg1, arg2, arg3}) 10727 fake.recordInvocation("UpdateAppFeature", []interface{}{arg1, arg2, arg3}) 10728 fake.updateAppFeatureMutex.Unlock() 10729 if fake.UpdateAppFeatureStub != nil { 10730 return fake.UpdateAppFeatureStub(arg1, arg2, arg3) 10731 } 10732 if specificReturn { 10733 return ret.result1, ret.result2 10734 } 10735 fakeReturns := fake.updateAppFeatureReturns 10736 return fakeReturns.result1, fakeReturns.result2 10737 } 10738 10739 func (fake *FakeCloudControllerClient) UpdateAppFeatureCallCount() int { 10740 fake.updateAppFeatureMutex.RLock() 10741 defer fake.updateAppFeatureMutex.RUnlock() 10742 return len(fake.updateAppFeatureArgsForCall) 10743 } 10744 10745 func (fake *FakeCloudControllerClient) UpdateAppFeatureCalls(stub func(string, bool, string) (ccv3.Warnings, error)) { 10746 fake.updateAppFeatureMutex.Lock() 10747 defer fake.updateAppFeatureMutex.Unlock() 10748 fake.UpdateAppFeatureStub = stub 10749 } 10750 10751 func (fake *FakeCloudControllerClient) UpdateAppFeatureArgsForCall(i int) (string, bool, string) { 10752 fake.updateAppFeatureMutex.RLock() 10753 defer fake.updateAppFeatureMutex.RUnlock() 10754 argsForCall := fake.updateAppFeatureArgsForCall[i] 10755 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3 10756 } 10757 10758 func (fake *FakeCloudControllerClient) UpdateAppFeatureReturns(result1 ccv3.Warnings, result2 error) { 10759 fake.updateAppFeatureMutex.Lock() 10760 defer fake.updateAppFeatureMutex.Unlock() 10761 fake.UpdateAppFeatureStub = nil 10762 fake.updateAppFeatureReturns = struct { 10763 result1 ccv3.Warnings 10764 result2 error 10765 }{result1, result2} 10766 } 10767 10768 func (fake *FakeCloudControllerClient) UpdateAppFeatureReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 10769 fake.updateAppFeatureMutex.Lock() 10770 defer fake.updateAppFeatureMutex.Unlock() 10771 fake.UpdateAppFeatureStub = nil 10772 if fake.updateAppFeatureReturnsOnCall == nil { 10773 fake.updateAppFeatureReturnsOnCall = make(map[int]struct { 10774 result1 ccv3.Warnings 10775 result2 error 10776 }) 10777 } 10778 fake.updateAppFeatureReturnsOnCall[i] = struct { 10779 result1 ccv3.Warnings 10780 result2 error 10781 }{result1, result2} 10782 } 10783 10784 func (fake *FakeCloudControllerClient) UpdateApplication(arg1 resources.Application) (resources.Application, ccv3.Warnings, error) { 10785 fake.updateApplicationMutex.Lock() 10786 ret, specificReturn := fake.updateApplicationReturnsOnCall[len(fake.updateApplicationArgsForCall)] 10787 fake.updateApplicationArgsForCall = append(fake.updateApplicationArgsForCall, struct { 10788 arg1 resources.Application 10789 }{arg1}) 10790 fake.recordInvocation("UpdateApplication", []interface{}{arg1}) 10791 fake.updateApplicationMutex.Unlock() 10792 if fake.UpdateApplicationStub != nil { 10793 return fake.UpdateApplicationStub(arg1) 10794 } 10795 if specificReturn { 10796 return ret.result1, ret.result2, ret.result3 10797 } 10798 fakeReturns := fake.updateApplicationReturns 10799 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10800 } 10801 10802 func (fake *FakeCloudControllerClient) UpdateApplicationCallCount() int { 10803 fake.updateApplicationMutex.RLock() 10804 defer fake.updateApplicationMutex.RUnlock() 10805 return len(fake.updateApplicationArgsForCall) 10806 } 10807 10808 func (fake *FakeCloudControllerClient) UpdateApplicationCalls(stub func(resources.Application) (resources.Application, ccv3.Warnings, error)) { 10809 fake.updateApplicationMutex.Lock() 10810 defer fake.updateApplicationMutex.Unlock() 10811 fake.UpdateApplicationStub = stub 10812 } 10813 10814 func (fake *FakeCloudControllerClient) UpdateApplicationArgsForCall(i int) resources.Application { 10815 fake.updateApplicationMutex.RLock() 10816 defer fake.updateApplicationMutex.RUnlock() 10817 argsForCall := fake.updateApplicationArgsForCall[i] 10818 return argsForCall.arg1 10819 } 10820 10821 func (fake *FakeCloudControllerClient) UpdateApplicationReturns(result1 resources.Application, result2 ccv3.Warnings, result3 error) { 10822 fake.updateApplicationMutex.Lock() 10823 defer fake.updateApplicationMutex.Unlock() 10824 fake.UpdateApplicationStub = nil 10825 fake.updateApplicationReturns = struct { 10826 result1 resources.Application 10827 result2 ccv3.Warnings 10828 result3 error 10829 }{result1, result2, result3} 10830 } 10831 10832 func (fake *FakeCloudControllerClient) UpdateApplicationReturnsOnCall(i int, result1 resources.Application, result2 ccv3.Warnings, result3 error) { 10833 fake.updateApplicationMutex.Lock() 10834 defer fake.updateApplicationMutex.Unlock() 10835 fake.UpdateApplicationStub = nil 10836 if fake.updateApplicationReturnsOnCall == nil { 10837 fake.updateApplicationReturnsOnCall = make(map[int]struct { 10838 result1 resources.Application 10839 result2 ccv3.Warnings 10840 result3 error 10841 }) 10842 } 10843 fake.updateApplicationReturnsOnCall[i] = struct { 10844 result1 resources.Application 10845 result2 ccv3.Warnings 10846 result3 error 10847 }{result1, result2, result3} 10848 } 10849 10850 func (fake *FakeCloudControllerClient) UpdateApplicationApplyManifest(arg1 string, arg2 []byte) (ccv3.JobURL, ccv3.Warnings, error) { 10851 var arg2Copy []byte 10852 if arg2 != nil { 10853 arg2Copy = make([]byte, len(arg2)) 10854 copy(arg2Copy, arg2) 10855 } 10856 fake.updateApplicationApplyManifestMutex.Lock() 10857 ret, specificReturn := fake.updateApplicationApplyManifestReturnsOnCall[len(fake.updateApplicationApplyManifestArgsForCall)] 10858 fake.updateApplicationApplyManifestArgsForCall = append(fake.updateApplicationApplyManifestArgsForCall, struct { 10859 arg1 string 10860 arg2 []byte 10861 }{arg1, arg2Copy}) 10862 fake.recordInvocation("UpdateApplicationApplyManifest", []interface{}{arg1, arg2Copy}) 10863 fake.updateApplicationApplyManifestMutex.Unlock() 10864 if fake.UpdateApplicationApplyManifestStub != nil { 10865 return fake.UpdateApplicationApplyManifestStub(arg1, arg2) 10866 } 10867 if specificReturn { 10868 return ret.result1, ret.result2, ret.result3 10869 } 10870 fakeReturns := fake.updateApplicationApplyManifestReturns 10871 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10872 } 10873 10874 func (fake *FakeCloudControllerClient) UpdateApplicationApplyManifestCallCount() int { 10875 fake.updateApplicationApplyManifestMutex.RLock() 10876 defer fake.updateApplicationApplyManifestMutex.RUnlock() 10877 return len(fake.updateApplicationApplyManifestArgsForCall) 10878 } 10879 10880 func (fake *FakeCloudControllerClient) UpdateApplicationApplyManifestCalls(stub func(string, []byte) (ccv3.JobURL, ccv3.Warnings, error)) { 10881 fake.updateApplicationApplyManifestMutex.Lock() 10882 defer fake.updateApplicationApplyManifestMutex.Unlock() 10883 fake.UpdateApplicationApplyManifestStub = stub 10884 } 10885 10886 func (fake *FakeCloudControllerClient) UpdateApplicationApplyManifestArgsForCall(i int) (string, []byte) { 10887 fake.updateApplicationApplyManifestMutex.RLock() 10888 defer fake.updateApplicationApplyManifestMutex.RUnlock() 10889 argsForCall := fake.updateApplicationApplyManifestArgsForCall[i] 10890 return argsForCall.arg1, argsForCall.arg2 10891 } 10892 10893 func (fake *FakeCloudControllerClient) UpdateApplicationApplyManifestReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 10894 fake.updateApplicationApplyManifestMutex.Lock() 10895 defer fake.updateApplicationApplyManifestMutex.Unlock() 10896 fake.UpdateApplicationApplyManifestStub = nil 10897 fake.updateApplicationApplyManifestReturns = struct { 10898 result1 ccv3.JobURL 10899 result2 ccv3.Warnings 10900 result3 error 10901 }{result1, result2, result3} 10902 } 10903 10904 func (fake *FakeCloudControllerClient) UpdateApplicationApplyManifestReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 10905 fake.updateApplicationApplyManifestMutex.Lock() 10906 defer fake.updateApplicationApplyManifestMutex.Unlock() 10907 fake.UpdateApplicationApplyManifestStub = nil 10908 if fake.updateApplicationApplyManifestReturnsOnCall == nil { 10909 fake.updateApplicationApplyManifestReturnsOnCall = make(map[int]struct { 10910 result1 ccv3.JobURL 10911 result2 ccv3.Warnings 10912 result3 error 10913 }) 10914 } 10915 fake.updateApplicationApplyManifestReturnsOnCall[i] = struct { 10916 result1 ccv3.JobURL 10917 result2 ccv3.Warnings 10918 result3 error 10919 }{result1, result2, result3} 10920 } 10921 10922 func (fake *FakeCloudControllerClient) UpdateApplicationEnvironmentVariables(arg1 string, arg2 ccv3.EnvironmentVariables) (ccv3.EnvironmentVariables, ccv3.Warnings, error) { 10923 fake.updateApplicationEnvironmentVariablesMutex.Lock() 10924 ret, specificReturn := fake.updateApplicationEnvironmentVariablesReturnsOnCall[len(fake.updateApplicationEnvironmentVariablesArgsForCall)] 10925 fake.updateApplicationEnvironmentVariablesArgsForCall = append(fake.updateApplicationEnvironmentVariablesArgsForCall, struct { 10926 arg1 string 10927 arg2 ccv3.EnvironmentVariables 10928 }{arg1, arg2}) 10929 fake.recordInvocation("UpdateApplicationEnvironmentVariables", []interface{}{arg1, arg2}) 10930 fake.updateApplicationEnvironmentVariablesMutex.Unlock() 10931 if fake.UpdateApplicationEnvironmentVariablesStub != nil { 10932 return fake.UpdateApplicationEnvironmentVariablesStub(arg1, arg2) 10933 } 10934 if specificReturn { 10935 return ret.result1, ret.result2, ret.result3 10936 } 10937 fakeReturns := fake.updateApplicationEnvironmentVariablesReturns 10938 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10939 } 10940 10941 func (fake *FakeCloudControllerClient) UpdateApplicationEnvironmentVariablesCallCount() int { 10942 fake.updateApplicationEnvironmentVariablesMutex.RLock() 10943 defer fake.updateApplicationEnvironmentVariablesMutex.RUnlock() 10944 return len(fake.updateApplicationEnvironmentVariablesArgsForCall) 10945 } 10946 10947 func (fake *FakeCloudControllerClient) UpdateApplicationEnvironmentVariablesCalls(stub func(string, ccv3.EnvironmentVariables) (ccv3.EnvironmentVariables, ccv3.Warnings, error)) { 10948 fake.updateApplicationEnvironmentVariablesMutex.Lock() 10949 defer fake.updateApplicationEnvironmentVariablesMutex.Unlock() 10950 fake.UpdateApplicationEnvironmentVariablesStub = stub 10951 } 10952 10953 func (fake *FakeCloudControllerClient) UpdateApplicationEnvironmentVariablesArgsForCall(i int) (string, ccv3.EnvironmentVariables) { 10954 fake.updateApplicationEnvironmentVariablesMutex.RLock() 10955 defer fake.updateApplicationEnvironmentVariablesMutex.RUnlock() 10956 argsForCall := fake.updateApplicationEnvironmentVariablesArgsForCall[i] 10957 return argsForCall.arg1, argsForCall.arg2 10958 } 10959 10960 func (fake *FakeCloudControllerClient) UpdateApplicationEnvironmentVariablesReturns(result1 ccv3.EnvironmentVariables, result2 ccv3.Warnings, result3 error) { 10961 fake.updateApplicationEnvironmentVariablesMutex.Lock() 10962 defer fake.updateApplicationEnvironmentVariablesMutex.Unlock() 10963 fake.UpdateApplicationEnvironmentVariablesStub = nil 10964 fake.updateApplicationEnvironmentVariablesReturns = struct { 10965 result1 ccv3.EnvironmentVariables 10966 result2 ccv3.Warnings 10967 result3 error 10968 }{result1, result2, result3} 10969 } 10970 10971 func (fake *FakeCloudControllerClient) UpdateApplicationEnvironmentVariablesReturnsOnCall(i int, result1 ccv3.EnvironmentVariables, result2 ccv3.Warnings, result3 error) { 10972 fake.updateApplicationEnvironmentVariablesMutex.Lock() 10973 defer fake.updateApplicationEnvironmentVariablesMutex.Unlock() 10974 fake.UpdateApplicationEnvironmentVariablesStub = nil 10975 if fake.updateApplicationEnvironmentVariablesReturnsOnCall == nil { 10976 fake.updateApplicationEnvironmentVariablesReturnsOnCall = make(map[int]struct { 10977 result1 ccv3.EnvironmentVariables 10978 result2 ccv3.Warnings 10979 result3 error 10980 }) 10981 } 10982 fake.updateApplicationEnvironmentVariablesReturnsOnCall[i] = struct { 10983 result1 ccv3.EnvironmentVariables 10984 result2 ccv3.Warnings 10985 result3 error 10986 }{result1, result2, result3} 10987 } 10988 10989 func (fake *FakeCloudControllerClient) UpdateApplicationRestart(arg1 string) (resources.Application, ccv3.Warnings, error) { 10990 fake.updateApplicationRestartMutex.Lock() 10991 ret, specificReturn := fake.updateApplicationRestartReturnsOnCall[len(fake.updateApplicationRestartArgsForCall)] 10992 fake.updateApplicationRestartArgsForCall = append(fake.updateApplicationRestartArgsForCall, struct { 10993 arg1 string 10994 }{arg1}) 10995 fake.recordInvocation("UpdateApplicationRestart", []interface{}{arg1}) 10996 fake.updateApplicationRestartMutex.Unlock() 10997 if fake.UpdateApplicationRestartStub != nil { 10998 return fake.UpdateApplicationRestartStub(arg1) 10999 } 11000 if specificReturn { 11001 return ret.result1, ret.result2, ret.result3 11002 } 11003 fakeReturns := fake.updateApplicationRestartReturns 11004 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11005 } 11006 11007 func (fake *FakeCloudControllerClient) UpdateApplicationRestartCallCount() int { 11008 fake.updateApplicationRestartMutex.RLock() 11009 defer fake.updateApplicationRestartMutex.RUnlock() 11010 return len(fake.updateApplicationRestartArgsForCall) 11011 } 11012 11013 func (fake *FakeCloudControllerClient) UpdateApplicationRestartCalls(stub func(string) (resources.Application, ccv3.Warnings, error)) { 11014 fake.updateApplicationRestartMutex.Lock() 11015 defer fake.updateApplicationRestartMutex.Unlock() 11016 fake.UpdateApplicationRestartStub = stub 11017 } 11018 11019 func (fake *FakeCloudControllerClient) UpdateApplicationRestartArgsForCall(i int) string { 11020 fake.updateApplicationRestartMutex.RLock() 11021 defer fake.updateApplicationRestartMutex.RUnlock() 11022 argsForCall := fake.updateApplicationRestartArgsForCall[i] 11023 return argsForCall.arg1 11024 } 11025 11026 func (fake *FakeCloudControllerClient) UpdateApplicationRestartReturns(result1 resources.Application, result2 ccv3.Warnings, result3 error) { 11027 fake.updateApplicationRestartMutex.Lock() 11028 defer fake.updateApplicationRestartMutex.Unlock() 11029 fake.UpdateApplicationRestartStub = nil 11030 fake.updateApplicationRestartReturns = struct { 11031 result1 resources.Application 11032 result2 ccv3.Warnings 11033 result3 error 11034 }{result1, result2, result3} 11035 } 11036 11037 func (fake *FakeCloudControllerClient) UpdateApplicationRestartReturnsOnCall(i int, result1 resources.Application, result2 ccv3.Warnings, result3 error) { 11038 fake.updateApplicationRestartMutex.Lock() 11039 defer fake.updateApplicationRestartMutex.Unlock() 11040 fake.UpdateApplicationRestartStub = nil 11041 if fake.updateApplicationRestartReturnsOnCall == nil { 11042 fake.updateApplicationRestartReturnsOnCall = make(map[int]struct { 11043 result1 resources.Application 11044 result2 ccv3.Warnings 11045 result3 error 11046 }) 11047 } 11048 fake.updateApplicationRestartReturnsOnCall[i] = struct { 11049 result1 resources.Application 11050 result2 ccv3.Warnings 11051 result3 error 11052 }{result1, result2, result3} 11053 } 11054 11055 func (fake *FakeCloudControllerClient) UpdateApplicationStart(arg1 string) (resources.Application, ccv3.Warnings, error) { 11056 fake.updateApplicationStartMutex.Lock() 11057 ret, specificReturn := fake.updateApplicationStartReturnsOnCall[len(fake.updateApplicationStartArgsForCall)] 11058 fake.updateApplicationStartArgsForCall = append(fake.updateApplicationStartArgsForCall, struct { 11059 arg1 string 11060 }{arg1}) 11061 fake.recordInvocation("UpdateApplicationStart", []interface{}{arg1}) 11062 fake.updateApplicationStartMutex.Unlock() 11063 if fake.UpdateApplicationStartStub != nil { 11064 return fake.UpdateApplicationStartStub(arg1) 11065 } 11066 if specificReturn { 11067 return ret.result1, ret.result2, ret.result3 11068 } 11069 fakeReturns := fake.updateApplicationStartReturns 11070 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11071 } 11072 11073 func (fake *FakeCloudControllerClient) UpdateApplicationStartCallCount() int { 11074 fake.updateApplicationStartMutex.RLock() 11075 defer fake.updateApplicationStartMutex.RUnlock() 11076 return len(fake.updateApplicationStartArgsForCall) 11077 } 11078 11079 func (fake *FakeCloudControllerClient) UpdateApplicationStartCalls(stub func(string) (resources.Application, ccv3.Warnings, error)) { 11080 fake.updateApplicationStartMutex.Lock() 11081 defer fake.updateApplicationStartMutex.Unlock() 11082 fake.UpdateApplicationStartStub = stub 11083 } 11084 11085 func (fake *FakeCloudControllerClient) UpdateApplicationStartArgsForCall(i int) string { 11086 fake.updateApplicationStartMutex.RLock() 11087 defer fake.updateApplicationStartMutex.RUnlock() 11088 argsForCall := fake.updateApplicationStartArgsForCall[i] 11089 return argsForCall.arg1 11090 } 11091 11092 func (fake *FakeCloudControllerClient) UpdateApplicationStartReturns(result1 resources.Application, result2 ccv3.Warnings, result3 error) { 11093 fake.updateApplicationStartMutex.Lock() 11094 defer fake.updateApplicationStartMutex.Unlock() 11095 fake.UpdateApplicationStartStub = nil 11096 fake.updateApplicationStartReturns = struct { 11097 result1 resources.Application 11098 result2 ccv3.Warnings 11099 result3 error 11100 }{result1, result2, result3} 11101 } 11102 11103 func (fake *FakeCloudControllerClient) UpdateApplicationStartReturnsOnCall(i int, result1 resources.Application, result2 ccv3.Warnings, result3 error) { 11104 fake.updateApplicationStartMutex.Lock() 11105 defer fake.updateApplicationStartMutex.Unlock() 11106 fake.UpdateApplicationStartStub = nil 11107 if fake.updateApplicationStartReturnsOnCall == nil { 11108 fake.updateApplicationStartReturnsOnCall = make(map[int]struct { 11109 result1 resources.Application 11110 result2 ccv3.Warnings 11111 result3 error 11112 }) 11113 } 11114 fake.updateApplicationStartReturnsOnCall[i] = struct { 11115 result1 resources.Application 11116 result2 ccv3.Warnings 11117 result3 error 11118 }{result1, result2, result3} 11119 } 11120 11121 func (fake *FakeCloudControllerClient) UpdateApplicationStop(arg1 string) (resources.Application, ccv3.Warnings, error) { 11122 fake.updateApplicationStopMutex.Lock() 11123 ret, specificReturn := fake.updateApplicationStopReturnsOnCall[len(fake.updateApplicationStopArgsForCall)] 11124 fake.updateApplicationStopArgsForCall = append(fake.updateApplicationStopArgsForCall, struct { 11125 arg1 string 11126 }{arg1}) 11127 fake.recordInvocation("UpdateApplicationStop", []interface{}{arg1}) 11128 fake.updateApplicationStopMutex.Unlock() 11129 if fake.UpdateApplicationStopStub != nil { 11130 return fake.UpdateApplicationStopStub(arg1) 11131 } 11132 if specificReturn { 11133 return ret.result1, ret.result2, ret.result3 11134 } 11135 fakeReturns := fake.updateApplicationStopReturns 11136 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11137 } 11138 11139 func (fake *FakeCloudControllerClient) UpdateApplicationStopCallCount() int { 11140 fake.updateApplicationStopMutex.RLock() 11141 defer fake.updateApplicationStopMutex.RUnlock() 11142 return len(fake.updateApplicationStopArgsForCall) 11143 } 11144 11145 func (fake *FakeCloudControllerClient) UpdateApplicationStopCalls(stub func(string) (resources.Application, ccv3.Warnings, error)) { 11146 fake.updateApplicationStopMutex.Lock() 11147 defer fake.updateApplicationStopMutex.Unlock() 11148 fake.UpdateApplicationStopStub = stub 11149 } 11150 11151 func (fake *FakeCloudControllerClient) UpdateApplicationStopArgsForCall(i int) string { 11152 fake.updateApplicationStopMutex.RLock() 11153 defer fake.updateApplicationStopMutex.RUnlock() 11154 argsForCall := fake.updateApplicationStopArgsForCall[i] 11155 return argsForCall.arg1 11156 } 11157 11158 func (fake *FakeCloudControllerClient) UpdateApplicationStopReturns(result1 resources.Application, result2 ccv3.Warnings, result3 error) { 11159 fake.updateApplicationStopMutex.Lock() 11160 defer fake.updateApplicationStopMutex.Unlock() 11161 fake.UpdateApplicationStopStub = nil 11162 fake.updateApplicationStopReturns = struct { 11163 result1 resources.Application 11164 result2 ccv3.Warnings 11165 result3 error 11166 }{result1, result2, result3} 11167 } 11168 11169 func (fake *FakeCloudControllerClient) UpdateApplicationStopReturnsOnCall(i int, result1 resources.Application, result2 ccv3.Warnings, result3 error) { 11170 fake.updateApplicationStopMutex.Lock() 11171 defer fake.updateApplicationStopMutex.Unlock() 11172 fake.UpdateApplicationStopStub = nil 11173 if fake.updateApplicationStopReturnsOnCall == nil { 11174 fake.updateApplicationStopReturnsOnCall = make(map[int]struct { 11175 result1 resources.Application 11176 result2 ccv3.Warnings 11177 result3 error 11178 }) 11179 } 11180 fake.updateApplicationStopReturnsOnCall[i] = struct { 11181 result1 resources.Application 11182 result2 ccv3.Warnings 11183 result3 error 11184 }{result1, result2, result3} 11185 } 11186 11187 func (fake *FakeCloudControllerClient) UpdateBuildpack(arg1 ccv3.Buildpack) (ccv3.Buildpack, ccv3.Warnings, error) { 11188 fake.updateBuildpackMutex.Lock() 11189 ret, specificReturn := fake.updateBuildpackReturnsOnCall[len(fake.updateBuildpackArgsForCall)] 11190 fake.updateBuildpackArgsForCall = append(fake.updateBuildpackArgsForCall, struct { 11191 arg1 ccv3.Buildpack 11192 }{arg1}) 11193 fake.recordInvocation("UpdateBuildpack", []interface{}{arg1}) 11194 fake.updateBuildpackMutex.Unlock() 11195 if fake.UpdateBuildpackStub != nil { 11196 return fake.UpdateBuildpackStub(arg1) 11197 } 11198 if specificReturn { 11199 return ret.result1, ret.result2, ret.result3 11200 } 11201 fakeReturns := fake.updateBuildpackReturns 11202 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11203 } 11204 11205 func (fake *FakeCloudControllerClient) UpdateBuildpackCallCount() int { 11206 fake.updateBuildpackMutex.RLock() 11207 defer fake.updateBuildpackMutex.RUnlock() 11208 return len(fake.updateBuildpackArgsForCall) 11209 } 11210 11211 func (fake *FakeCloudControllerClient) UpdateBuildpackCalls(stub func(ccv3.Buildpack) (ccv3.Buildpack, ccv3.Warnings, error)) { 11212 fake.updateBuildpackMutex.Lock() 11213 defer fake.updateBuildpackMutex.Unlock() 11214 fake.UpdateBuildpackStub = stub 11215 } 11216 11217 func (fake *FakeCloudControllerClient) UpdateBuildpackArgsForCall(i int) ccv3.Buildpack { 11218 fake.updateBuildpackMutex.RLock() 11219 defer fake.updateBuildpackMutex.RUnlock() 11220 argsForCall := fake.updateBuildpackArgsForCall[i] 11221 return argsForCall.arg1 11222 } 11223 11224 func (fake *FakeCloudControllerClient) UpdateBuildpackReturns(result1 ccv3.Buildpack, result2 ccv3.Warnings, result3 error) { 11225 fake.updateBuildpackMutex.Lock() 11226 defer fake.updateBuildpackMutex.Unlock() 11227 fake.UpdateBuildpackStub = nil 11228 fake.updateBuildpackReturns = struct { 11229 result1 ccv3.Buildpack 11230 result2 ccv3.Warnings 11231 result3 error 11232 }{result1, result2, result3} 11233 } 11234 11235 func (fake *FakeCloudControllerClient) UpdateBuildpackReturnsOnCall(i int, result1 ccv3.Buildpack, result2 ccv3.Warnings, result3 error) { 11236 fake.updateBuildpackMutex.Lock() 11237 defer fake.updateBuildpackMutex.Unlock() 11238 fake.UpdateBuildpackStub = nil 11239 if fake.updateBuildpackReturnsOnCall == nil { 11240 fake.updateBuildpackReturnsOnCall = make(map[int]struct { 11241 result1 ccv3.Buildpack 11242 result2 ccv3.Warnings 11243 result3 error 11244 }) 11245 } 11246 fake.updateBuildpackReturnsOnCall[i] = struct { 11247 result1 ccv3.Buildpack 11248 result2 ccv3.Warnings 11249 result3 error 11250 }{result1, result2, result3} 11251 } 11252 11253 func (fake *FakeCloudControllerClient) UpdateEnvironmentVariableGroup(arg1 constant.EnvironmentVariableGroupName, arg2 ccv3.EnvironmentVariables) (ccv3.EnvironmentVariables, ccv3.Warnings, error) { 11254 fake.updateEnvironmentVariableGroupMutex.Lock() 11255 ret, specificReturn := fake.updateEnvironmentVariableGroupReturnsOnCall[len(fake.updateEnvironmentVariableGroupArgsForCall)] 11256 fake.updateEnvironmentVariableGroupArgsForCall = append(fake.updateEnvironmentVariableGroupArgsForCall, struct { 11257 arg1 constant.EnvironmentVariableGroupName 11258 arg2 ccv3.EnvironmentVariables 11259 }{arg1, arg2}) 11260 fake.recordInvocation("UpdateEnvironmentVariableGroup", []interface{}{arg1, arg2}) 11261 fake.updateEnvironmentVariableGroupMutex.Unlock() 11262 if fake.UpdateEnvironmentVariableGroupStub != nil { 11263 return fake.UpdateEnvironmentVariableGroupStub(arg1, arg2) 11264 } 11265 if specificReturn { 11266 return ret.result1, ret.result2, ret.result3 11267 } 11268 fakeReturns := fake.updateEnvironmentVariableGroupReturns 11269 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11270 } 11271 11272 func (fake *FakeCloudControllerClient) UpdateEnvironmentVariableGroupCallCount() int { 11273 fake.updateEnvironmentVariableGroupMutex.RLock() 11274 defer fake.updateEnvironmentVariableGroupMutex.RUnlock() 11275 return len(fake.updateEnvironmentVariableGroupArgsForCall) 11276 } 11277 11278 func (fake *FakeCloudControllerClient) UpdateEnvironmentVariableGroupCalls(stub func(constant.EnvironmentVariableGroupName, ccv3.EnvironmentVariables) (ccv3.EnvironmentVariables, ccv3.Warnings, error)) { 11279 fake.updateEnvironmentVariableGroupMutex.Lock() 11280 defer fake.updateEnvironmentVariableGroupMutex.Unlock() 11281 fake.UpdateEnvironmentVariableGroupStub = stub 11282 } 11283 11284 func (fake *FakeCloudControllerClient) UpdateEnvironmentVariableGroupArgsForCall(i int) (constant.EnvironmentVariableGroupName, ccv3.EnvironmentVariables) { 11285 fake.updateEnvironmentVariableGroupMutex.RLock() 11286 defer fake.updateEnvironmentVariableGroupMutex.RUnlock() 11287 argsForCall := fake.updateEnvironmentVariableGroupArgsForCall[i] 11288 return argsForCall.arg1, argsForCall.arg2 11289 } 11290 11291 func (fake *FakeCloudControllerClient) UpdateEnvironmentVariableGroupReturns(result1 ccv3.EnvironmentVariables, result2 ccv3.Warnings, result3 error) { 11292 fake.updateEnvironmentVariableGroupMutex.Lock() 11293 defer fake.updateEnvironmentVariableGroupMutex.Unlock() 11294 fake.UpdateEnvironmentVariableGroupStub = nil 11295 fake.updateEnvironmentVariableGroupReturns = struct { 11296 result1 ccv3.EnvironmentVariables 11297 result2 ccv3.Warnings 11298 result3 error 11299 }{result1, result2, result3} 11300 } 11301 11302 func (fake *FakeCloudControllerClient) UpdateEnvironmentVariableGroupReturnsOnCall(i int, result1 ccv3.EnvironmentVariables, result2 ccv3.Warnings, result3 error) { 11303 fake.updateEnvironmentVariableGroupMutex.Lock() 11304 defer fake.updateEnvironmentVariableGroupMutex.Unlock() 11305 fake.UpdateEnvironmentVariableGroupStub = nil 11306 if fake.updateEnvironmentVariableGroupReturnsOnCall == nil { 11307 fake.updateEnvironmentVariableGroupReturnsOnCall = make(map[int]struct { 11308 result1 ccv3.EnvironmentVariables 11309 result2 ccv3.Warnings 11310 result3 error 11311 }) 11312 } 11313 fake.updateEnvironmentVariableGroupReturnsOnCall[i] = struct { 11314 result1 ccv3.EnvironmentVariables 11315 result2 ccv3.Warnings 11316 result3 error 11317 }{result1, result2, result3} 11318 } 11319 11320 func (fake *FakeCloudControllerClient) UpdateFeatureFlag(arg1 ccv3.FeatureFlag) (ccv3.FeatureFlag, ccv3.Warnings, error) { 11321 fake.updateFeatureFlagMutex.Lock() 11322 ret, specificReturn := fake.updateFeatureFlagReturnsOnCall[len(fake.updateFeatureFlagArgsForCall)] 11323 fake.updateFeatureFlagArgsForCall = append(fake.updateFeatureFlagArgsForCall, struct { 11324 arg1 ccv3.FeatureFlag 11325 }{arg1}) 11326 fake.recordInvocation("UpdateFeatureFlag", []interface{}{arg1}) 11327 fake.updateFeatureFlagMutex.Unlock() 11328 if fake.UpdateFeatureFlagStub != nil { 11329 return fake.UpdateFeatureFlagStub(arg1) 11330 } 11331 if specificReturn { 11332 return ret.result1, ret.result2, ret.result3 11333 } 11334 fakeReturns := fake.updateFeatureFlagReturns 11335 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11336 } 11337 11338 func (fake *FakeCloudControllerClient) UpdateFeatureFlagCallCount() int { 11339 fake.updateFeatureFlagMutex.RLock() 11340 defer fake.updateFeatureFlagMutex.RUnlock() 11341 return len(fake.updateFeatureFlagArgsForCall) 11342 } 11343 11344 func (fake *FakeCloudControllerClient) UpdateFeatureFlagCalls(stub func(ccv3.FeatureFlag) (ccv3.FeatureFlag, ccv3.Warnings, error)) { 11345 fake.updateFeatureFlagMutex.Lock() 11346 defer fake.updateFeatureFlagMutex.Unlock() 11347 fake.UpdateFeatureFlagStub = stub 11348 } 11349 11350 func (fake *FakeCloudControllerClient) UpdateFeatureFlagArgsForCall(i int) ccv3.FeatureFlag { 11351 fake.updateFeatureFlagMutex.RLock() 11352 defer fake.updateFeatureFlagMutex.RUnlock() 11353 argsForCall := fake.updateFeatureFlagArgsForCall[i] 11354 return argsForCall.arg1 11355 } 11356 11357 func (fake *FakeCloudControllerClient) UpdateFeatureFlagReturns(result1 ccv3.FeatureFlag, result2 ccv3.Warnings, result3 error) { 11358 fake.updateFeatureFlagMutex.Lock() 11359 defer fake.updateFeatureFlagMutex.Unlock() 11360 fake.UpdateFeatureFlagStub = nil 11361 fake.updateFeatureFlagReturns = struct { 11362 result1 ccv3.FeatureFlag 11363 result2 ccv3.Warnings 11364 result3 error 11365 }{result1, result2, result3} 11366 } 11367 11368 func (fake *FakeCloudControllerClient) UpdateFeatureFlagReturnsOnCall(i int, result1 ccv3.FeatureFlag, result2 ccv3.Warnings, result3 error) { 11369 fake.updateFeatureFlagMutex.Lock() 11370 defer fake.updateFeatureFlagMutex.Unlock() 11371 fake.UpdateFeatureFlagStub = nil 11372 if fake.updateFeatureFlagReturnsOnCall == nil { 11373 fake.updateFeatureFlagReturnsOnCall = make(map[int]struct { 11374 result1 ccv3.FeatureFlag 11375 result2 ccv3.Warnings 11376 result3 error 11377 }) 11378 } 11379 fake.updateFeatureFlagReturnsOnCall[i] = struct { 11380 result1 ccv3.FeatureFlag 11381 result2 ccv3.Warnings 11382 result3 error 11383 }{result1, result2, result3} 11384 } 11385 11386 func (fake *FakeCloudControllerClient) UpdateOrganization(arg1 resources.Organization) (resources.Organization, ccv3.Warnings, error) { 11387 fake.updateOrganizationMutex.Lock() 11388 ret, specificReturn := fake.updateOrganizationReturnsOnCall[len(fake.updateOrganizationArgsForCall)] 11389 fake.updateOrganizationArgsForCall = append(fake.updateOrganizationArgsForCall, struct { 11390 arg1 resources.Organization 11391 }{arg1}) 11392 fake.recordInvocation("UpdateOrganization", []interface{}{arg1}) 11393 fake.updateOrganizationMutex.Unlock() 11394 if fake.UpdateOrganizationStub != nil { 11395 return fake.UpdateOrganizationStub(arg1) 11396 } 11397 if specificReturn { 11398 return ret.result1, ret.result2, ret.result3 11399 } 11400 fakeReturns := fake.updateOrganizationReturns 11401 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11402 } 11403 11404 func (fake *FakeCloudControllerClient) UpdateOrganizationCallCount() int { 11405 fake.updateOrganizationMutex.RLock() 11406 defer fake.updateOrganizationMutex.RUnlock() 11407 return len(fake.updateOrganizationArgsForCall) 11408 } 11409 11410 func (fake *FakeCloudControllerClient) UpdateOrganizationCalls(stub func(resources.Organization) (resources.Organization, ccv3.Warnings, error)) { 11411 fake.updateOrganizationMutex.Lock() 11412 defer fake.updateOrganizationMutex.Unlock() 11413 fake.UpdateOrganizationStub = stub 11414 } 11415 11416 func (fake *FakeCloudControllerClient) UpdateOrganizationArgsForCall(i int) resources.Organization { 11417 fake.updateOrganizationMutex.RLock() 11418 defer fake.updateOrganizationMutex.RUnlock() 11419 argsForCall := fake.updateOrganizationArgsForCall[i] 11420 return argsForCall.arg1 11421 } 11422 11423 func (fake *FakeCloudControllerClient) UpdateOrganizationReturns(result1 resources.Organization, result2 ccv3.Warnings, result3 error) { 11424 fake.updateOrganizationMutex.Lock() 11425 defer fake.updateOrganizationMutex.Unlock() 11426 fake.UpdateOrganizationStub = nil 11427 fake.updateOrganizationReturns = struct { 11428 result1 resources.Organization 11429 result2 ccv3.Warnings 11430 result3 error 11431 }{result1, result2, result3} 11432 } 11433 11434 func (fake *FakeCloudControllerClient) UpdateOrganizationReturnsOnCall(i int, result1 resources.Organization, result2 ccv3.Warnings, result3 error) { 11435 fake.updateOrganizationMutex.Lock() 11436 defer fake.updateOrganizationMutex.Unlock() 11437 fake.UpdateOrganizationStub = nil 11438 if fake.updateOrganizationReturnsOnCall == nil { 11439 fake.updateOrganizationReturnsOnCall = make(map[int]struct { 11440 result1 resources.Organization 11441 result2 ccv3.Warnings 11442 result3 error 11443 }) 11444 } 11445 fake.updateOrganizationReturnsOnCall[i] = struct { 11446 result1 resources.Organization 11447 result2 ccv3.Warnings 11448 result3 error 11449 }{result1, result2, result3} 11450 } 11451 11452 func (fake *FakeCloudControllerClient) UpdateOrganizationDefaultIsolationSegmentRelationship(arg1 string, arg2 string) (resources.Relationship, ccv3.Warnings, error) { 11453 fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.Lock() 11454 ret, specificReturn := fake.updateOrganizationDefaultIsolationSegmentRelationshipReturnsOnCall[len(fake.updateOrganizationDefaultIsolationSegmentRelationshipArgsForCall)] 11455 fake.updateOrganizationDefaultIsolationSegmentRelationshipArgsForCall = append(fake.updateOrganizationDefaultIsolationSegmentRelationshipArgsForCall, struct { 11456 arg1 string 11457 arg2 string 11458 }{arg1, arg2}) 11459 fake.recordInvocation("UpdateOrganizationDefaultIsolationSegmentRelationship", []interface{}{arg1, arg2}) 11460 fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.Unlock() 11461 if fake.UpdateOrganizationDefaultIsolationSegmentRelationshipStub != nil { 11462 return fake.UpdateOrganizationDefaultIsolationSegmentRelationshipStub(arg1, arg2) 11463 } 11464 if specificReturn { 11465 return ret.result1, ret.result2, ret.result3 11466 } 11467 fakeReturns := fake.updateOrganizationDefaultIsolationSegmentRelationshipReturns 11468 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11469 } 11470 11471 func (fake *FakeCloudControllerClient) UpdateOrganizationDefaultIsolationSegmentRelationshipCallCount() int { 11472 fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.RLock() 11473 defer fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.RUnlock() 11474 return len(fake.updateOrganizationDefaultIsolationSegmentRelationshipArgsForCall) 11475 } 11476 11477 func (fake *FakeCloudControllerClient) UpdateOrganizationDefaultIsolationSegmentRelationshipCalls(stub func(string, string) (resources.Relationship, ccv3.Warnings, error)) { 11478 fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.Lock() 11479 defer fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.Unlock() 11480 fake.UpdateOrganizationDefaultIsolationSegmentRelationshipStub = stub 11481 } 11482 11483 func (fake *FakeCloudControllerClient) UpdateOrganizationDefaultIsolationSegmentRelationshipArgsForCall(i int) (string, string) { 11484 fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.RLock() 11485 defer fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.RUnlock() 11486 argsForCall := fake.updateOrganizationDefaultIsolationSegmentRelationshipArgsForCall[i] 11487 return argsForCall.arg1, argsForCall.arg2 11488 } 11489 11490 func (fake *FakeCloudControllerClient) UpdateOrganizationDefaultIsolationSegmentRelationshipReturns(result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 11491 fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.Lock() 11492 defer fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.Unlock() 11493 fake.UpdateOrganizationDefaultIsolationSegmentRelationshipStub = nil 11494 fake.updateOrganizationDefaultIsolationSegmentRelationshipReturns = struct { 11495 result1 resources.Relationship 11496 result2 ccv3.Warnings 11497 result3 error 11498 }{result1, result2, result3} 11499 } 11500 11501 func (fake *FakeCloudControllerClient) UpdateOrganizationDefaultIsolationSegmentRelationshipReturnsOnCall(i int, result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 11502 fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.Lock() 11503 defer fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.Unlock() 11504 fake.UpdateOrganizationDefaultIsolationSegmentRelationshipStub = nil 11505 if fake.updateOrganizationDefaultIsolationSegmentRelationshipReturnsOnCall == nil { 11506 fake.updateOrganizationDefaultIsolationSegmentRelationshipReturnsOnCall = make(map[int]struct { 11507 result1 resources.Relationship 11508 result2 ccv3.Warnings 11509 result3 error 11510 }) 11511 } 11512 fake.updateOrganizationDefaultIsolationSegmentRelationshipReturnsOnCall[i] = struct { 11513 result1 resources.Relationship 11514 result2 ccv3.Warnings 11515 result3 error 11516 }{result1, result2, result3} 11517 } 11518 11519 func (fake *FakeCloudControllerClient) UpdateOrganizationQuota(arg1 resources.OrganizationQuota) (resources.OrganizationQuota, ccv3.Warnings, error) { 11520 fake.updateOrganizationQuotaMutex.Lock() 11521 ret, specificReturn := fake.updateOrganizationQuotaReturnsOnCall[len(fake.updateOrganizationQuotaArgsForCall)] 11522 fake.updateOrganizationQuotaArgsForCall = append(fake.updateOrganizationQuotaArgsForCall, struct { 11523 arg1 resources.OrganizationQuota 11524 }{arg1}) 11525 fake.recordInvocation("UpdateOrganizationQuota", []interface{}{arg1}) 11526 fake.updateOrganizationQuotaMutex.Unlock() 11527 if fake.UpdateOrganizationQuotaStub != nil { 11528 return fake.UpdateOrganizationQuotaStub(arg1) 11529 } 11530 if specificReturn { 11531 return ret.result1, ret.result2, ret.result3 11532 } 11533 fakeReturns := fake.updateOrganizationQuotaReturns 11534 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11535 } 11536 11537 func (fake *FakeCloudControllerClient) UpdateOrganizationQuotaCallCount() int { 11538 fake.updateOrganizationQuotaMutex.RLock() 11539 defer fake.updateOrganizationQuotaMutex.RUnlock() 11540 return len(fake.updateOrganizationQuotaArgsForCall) 11541 } 11542 11543 func (fake *FakeCloudControllerClient) UpdateOrganizationQuotaCalls(stub func(resources.OrganizationQuota) (resources.OrganizationQuota, ccv3.Warnings, error)) { 11544 fake.updateOrganizationQuotaMutex.Lock() 11545 defer fake.updateOrganizationQuotaMutex.Unlock() 11546 fake.UpdateOrganizationQuotaStub = stub 11547 } 11548 11549 func (fake *FakeCloudControllerClient) UpdateOrganizationQuotaArgsForCall(i int) resources.OrganizationQuota { 11550 fake.updateOrganizationQuotaMutex.RLock() 11551 defer fake.updateOrganizationQuotaMutex.RUnlock() 11552 argsForCall := fake.updateOrganizationQuotaArgsForCall[i] 11553 return argsForCall.arg1 11554 } 11555 11556 func (fake *FakeCloudControllerClient) UpdateOrganizationQuotaReturns(result1 resources.OrganizationQuota, result2 ccv3.Warnings, result3 error) { 11557 fake.updateOrganizationQuotaMutex.Lock() 11558 defer fake.updateOrganizationQuotaMutex.Unlock() 11559 fake.UpdateOrganizationQuotaStub = nil 11560 fake.updateOrganizationQuotaReturns = struct { 11561 result1 resources.OrganizationQuota 11562 result2 ccv3.Warnings 11563 result3 error 11564 }{result1, result2, result3} 11565 } 11566 11567 func (fake *FakeCloudControllerClient) UpdateOrganizationQuotaReturnsOnCall(i int, result1 resources.OrganizationQuota, result2 ccv3.Warnings, result3 error) { 11568 fake.updateOrganizationQuotaMutex.Lock() 11569 defer fake.updateOrganizationQuotaMutex.Unlock() 11570 fake.UpdateOrganizationQuotaStub = nil 11571 if fake.updateOrganizationQuotaReturnsOnCall == nil { 11572 fake.updateOrganizationQuotaReturnsOnCall = make(map[int]struct { 11573 result1 resources.OrganizationQuota 11574 result2 ccv3.Warnings 11575 result3 error 11576 }) 11577 } 11578 fake.updateOrganizationQuotaReturnsOnCall[i] = struct { 11579 result1 resources.OrganizationQuota 11580 result2 ccv3.Warnings 11581 result3 error 11582 }{result1, result2, result3} 11583 } 11584 11585 func (fake *FakeCloudControllerClient) UpdateProcess(arg1 ccv3.Process) (ccv3.Process, ccv3.Warnings, error) { 11586 fake.updateProcessMutex.Lock() 11587 ret, specificReturn := fake.updateProcessReturnsOnCall[len(fake.updateProcessArgsForCall)] 11588 fake.updateProcessArgsForCall = append(fake.updateProcessArgsForCall, struct { 11589 arg1 ccv3.Process 11590 }{arg1}) 11591 fake.recordInvocation("UpdateProcess", []interface{}{arg1}) 11592 fake.updateProcessMutex.Unlock() 11593 if fake.UpdateProcessStub != nil { 11594 return fake.UpdateProcessStub(arg1) 11595 } 11596 if specificReturn { 11597 return ret.result1, ret.result2, ret.result3 11598 } 11599 fakeReturns := fake.updateProcessReturns 11600 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11601 } 11602 11603 func (fake *FakeCloudControllerClient) UpdateProcessCallCount() int { 11604 fake.updateProcessMutex.RLock() 11605 defer fake.updateProcessMutex.RUnlock() 11606 return len(fake.updateProcessArgsForCall) 11607 } 11608 11609 func (fake *FakeCloudControllerClient) UpdateProcessCalls(stub func(ccv3.Process) (ccv3.Process, ccv3.Warnings, error)) { 11610 fake.updateProcessMutex.Lock() 11611 defer fake.updateProcessMutex.Unlock() 11612 fake.UpdateProcessStub = stub 11613 } 11614 11615 func (fake *FakeCloudControllerClient) UpdateProcessArgsForCall(i int) ccv3.Process { 11616 fake.updateProcessMutex.RLock() 11617 defer fake.updateProcessMutex.RUnlock() 11618 argsForCall := fake.updateProcessArgsForCall[i] 11619 return argsForCall.arg1 11620 } 11621 11622 func (fake *FakeCloudControllerClient) UpdateProcessReturns(result1 ccv3.Process, result2 ccv3.Warnings, result3 error) { 11623 fake.updateProcessMutex.Lock() 11624 defer fake.updateProcessMutex.Unlock() 11625 fake.UpdateProcessStub = nil 11626 fake.updateProcessReturns = struct { 11627 result1 ccv3.Process 11628 result2 ccv3.Warnings 11629 result3 error 11630 }{result1, result2, result3} 11631 } 11632 11633 func (fake *FakeCloudControllerClient) UpdateProcessReturnsOnCall(i int, result1 ccv3.Process, result2 ccv3.Warnings, result3 error) { 11634 fake.updateProcessMutex.Lock() 11635 defer fake.updateProcessMutex.Unlock() 11636 fake.UpdateProcessStub = nil 11637 if fake.updateProcessReturnsOnCall == nil { 11638 fake.updateProcessReturnsOnCall = make(map[int]struct { 11639 result1 ccv3.Process 11640 result2 ccv3.Warnings 11641 result3 error 11642 }) 11643 } 11644 fake.updateProcessReturnsOnCall[i] = struct { 11645 result1 ccv3.Process 11646 result2 ccv3.Warnings 11647 result3 error 11648 }{result1, result2, result3} 11649 } 11650 11651 func (fake *FakeCloudControllerClient) UpdateResourceMetadata(arg1 string, arg2 string, arg3 resources.Metadata) (ccv3.JobURL, ccv3.Warnings, error) { 11652 fake.updateResourceMetadataMutex.Lock() 11653 ret, specificReturn := fake.updateResourceMetadataReturnsOnCall[len(fake.updateResourceMetadataArgsForCall)] 11654 fake.updateResourceMetadataArgsForCall = append(fake.updateResourceMetadataArgsForCall, struct { 11655 arg1 string 11656 arg2 string 11657 arg3 resources.Metadata 11658 }{arg1, arg2, arg3}) 11659 fake.recordInvocation("UpdateResourceMetadata", []interface{}{arg1, arg2, arg3}) 11660 fake.updateResourceMetadataMutex.Unlock() 11661 if fake.UpdateResourceMetadataStub != nil { 11662 return fake.UpdateResourceMetadataStub(arg1, arg2, arg3) 11663 } 11664 if specificReturn { 11665 return ret.result1, ret.result2, ret.result3 11666 } 11667 fakeReturns := fake.updateResourceMetadataReturns 11668 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11669 } 11670 11671 func (fake *FakeCloudControllerClient) UpdateResourceMetadataCallCount() int { 11672 fake.updateResourceMetadataMutex.RLock() 11673 defer fake.updateResourceMetadataMutex.RUnlock() 11674 return len(fake.updateResourceMetadataArgsForCall) 11675 } 11676 11677 func (fake *FakeCloudControllerClient) UpdateResourceMetadataCalls(stub func(string, string, resources.Metadata) (ccv3.JobURL, ccv3.Warnings, error)) { 11678 fake.updateResourceMetadataMutex.Lock() 11679 defer fake.updateResourceMetadataMutex.Unlock() 11680 fake.UpdateResourceMetadataStub = stub 11681 } 11682 11683 func (fake *FakeCloudControllerClient) UpdateResourceMetadataArgsForCall(i int) (string, string, resources.Metadata) { 11684 fake.updateResourceMetadataMutex.RLock() 11685 defer fake.updateResourceMetadataMutex.RUnlock() 11686 argsForCall := fake.updateResourceMetadataArgsForCall[i] 11687 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3 11688 } 11689 11690 func (fake *FakeCloudControllerClient) UpdateResourceMetadataReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 11691 fake.updateResourceMetadataMutex.Lock() 11692 defer fake.updateResourceMetadataMutex.Unlock() 11693 fake.UpdateResourceMetadataStub = nil 11694 fake.updateResourceMetadataReturns = struct { 11695 result1 ccv3.JobURL 11696 result2 ccv3.Warnings 11697 result3 error 11698 }{result1, result2, result3} 11699 } 11700 11701 func (fake *FakeCloudControllerClient) UpdateResourceMetadataReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 11702 fake.updateResourceMetadataMutex.Lock() 11703 defer fake.updateResourceMetadataMutex.Unlock() 11704 fake.UpdateResourceMetadataStub = nil 11705 if fake.updateResourceMetadataReturnsOnCall == nil { 11706 fake.updateResourceMetadataReturnsOnCall = make(map[int]struct { 11707 result1 ccv3.JobURL 11708 result2 ccv3.Warnings 11709 result3 error 11710 }) 11711 } 11712 fake.updateResourceMetadataReturnsOnCall[i] = struct { 11713 result1 ccv3.JobURL 11714 result2 ccv3.Warnings 11715 result3 error 11716 }{result1, result2, result3} 11717 } 11718 11719 func (fake *FakeCloudControllerClient) UpdateSecurityGroup(arg1 resources.SecurityGroup) (resources.SecurityGroup, ccv3.Warnings, error) { 11720 fake.updateSecurityGroupMutex.Lock() 11721 ret, specificReturn := fake.updateSecurityGroupReturnsOnCall[len(fake.updateSecurityGroupArgsForCall)] 11722 fake.updateSecurityGroupArgsForCall = append(fake.updateSecurityGroupArgsForCall, struct { 11723 arg1 resources.SecurityGroup 11724 }{arg1}) 11725 fake.recordInvocation("UpdateSecurityGroup", []interface{}{arg1}) 11726 fake.updateSecurityGroupMutex.Unlock() 11727 if fake.UpdateSecurityGroupStub != nil { 11728 return fake.UpdateSecurityGroupStub(arg1) 11729 } 11730 if specificReturn { 11731 return ret.result1, ret.result2, ret.result3 11732 } 11733 fakeReturns := fake.updateSecurityGroupReturns 11734 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11735 } 11736 11737 func (fake *FakeCloudControllerClient) UpdateSecurityGroupCallCount() int { 11738 fake.updateSecurityGroupMutex.RLock() 11739 defer fake.updateSecurityGroupMutex.RUnlock() 11740 return len(fake.updateSecurityGroupArgsForCall) 11741 } 11742 11743 func (fake *FakeCloudControllerClient) UpdateSecurityGroupCalls(stub func(resources.SecurityGroup) (resources.SecurityGroup, ccv3.Warnings, error)) { 11744 fake.updateSecurityGroupMutex.Lock() 11745 defer fake.updateSecurityGroupMutex.Unlock() 11746 fake.UpdateSecurityGroupStub = stub 11747 } 11748 11749 func (fake *FakeCloudControllerClient) UpdateSecurityGroupArgsForCall(i int) resources.SecurityGroup { 11750 fake.updateSecurityGroupMutex.RLock() 11751 defer fake.updateSecurityGroupMutex.RUnlock() 11752 argsForCall := fake.updateSecurityGroupArgsForCall[i] 11753 return argsForCall.arg1 11754 } 11755 11756 func (fake *FakeCloudControllerClient) UpdateSecurityGroupReturns(result1 resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 11757 fake.updateSecurityGroupMutex.Lock() 11758 defer fake.updateSecurityGroupMutex.Unlock() 11759 fake.UpdateSecurityGroupStub = nil 11760 fake.updateSecurityGroupReturns = struct { 11761 result1 resources.SecurityGroup 11762 result2 ccv3.Warnings 11763 result3 error 11764 }{result1, result2, result3} 11765 } 11766 11767 func (fake *FakeCloudControllerClient) UpdateSecurityGroupReturnsOnCall(i int, result1 resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 11768 fake.updateSecurityGroupMutex.Lock() 11769 defer fake.updateSecurityGroupMutex.Unlock() 11770 fake.UpdateSecurityGroupStub = nil 11771 if fake.updateSecurityGroupReturnsOnCall == nil { 11772 fake.updateSecurityGroupReturnsOnCall = make(map[int]struct { 11773 result1 resources.SecurityGroup 11774 result2 ccv3.Warnings 11775 result3 error 11776 }) 11777 } 11778 fake.updateSecurityGroupReturnsOnCall[i] = struct { 11779 result1 resources.SecurityGroup 11780 result2 ccv3.Warnings 11781 result3 error 11782 }{result1, result2, result3} 11783 } 11784 11785 func (fake *FakeCloudControllerClient) UpdateSecurityGroupRunningSpace(arg1 string, arg2 []string) (ccv3.Warnings, error) { 11786 var arg2Copy []string 11787 if arg2 != nil { 11788 arg2Copy = make([]string, len(arg2)) 11789 copy(arg2Copy, arg2) 11790 } 11791 fake.updateSecurityGroupRunningSpaceMutex.Lock() 11792 ret, specificReturn := fake.updateSecurityGroupRunningSpaceReturnsOnCall[len(fake.updateSecurityGroupRunningSpaceArgsForCall)] 11793 fake.updateSecurityGroupRunningSpaceArgsForCall = append(fake.updateSecurityGroupRunningSpaceArgsForCall, struct { 11794 arg1 string 11795 arg2 []string 11796 }{arg1, arg2Copy}) 11797 fake.recordInvocation("UpdateSecurityGroupRunningSpace", []interface{}{arg1, arg2Copy}) 11798 fake.updateSecurityGroupRunningSpaceMutex.Unlock() 11799 if fake.UpdateSecurityGroupRunningSpaceStub != nil { 11800 return fake.UpdateSecurityGroupRunningSpaceStub(arg1, arg2) 11801 } 11802 if specificReturn { 11803 return ret.result1, ret.result2 11804 } 11805 fakeReturns := fake.updateSecurityGroupRunningSpaceReturns 11806 return fakeReturns.result1, fakeReturns.result2 11807 } 11808 11809 func (fake *FakeCloudControllerClient) UpdateSecurityGroupRunningSpaceCallCount() int { 11810 fake.updateSecurityGroupRunningSpaceMutex.RLock() 11811 defer fake.updateSecurityGroupRunningSpaceMutex.RUnlock() 11812 return len(fake.updateSecurityGroupRunningSpaceArgsForCall) 11813 } 11814 11815 func (fake *FakeCloudControllerClient) UpdateSecurityGroupRunningSpaceCalls(stub func(string, []string) (ccv3.Warnings, error)) { 11816 fake.updateSecurityGroupRunningSpaceMutex.Lock() 11817 defer fake.updateSecurityGroupRunningSpaceMutex.Unlock() 11818 fake.UpdateSecurityGroupRunningSpaceStub = stub 11819 } 11820 11821 func (fake *FakeCloudControllerClient) UpdateSecurityGroupRunningSpaceArgsForCall(i int) (string, []string) { 11822 fake.updateSecurityGroupRunningSpaceMutex.RLock() 11823 defer fake.updateSecurityGroupRunningSpaceMutex.RUnlock() 11824 argsForCall := fake.updateSecurityGroupRunningSpaceArgsForCall[i] 11825 return argsForCall.arg1, argsForCall.arg2 11826 } 11827 11828 func (fake *FakeCloudControllerClient) UpdateSecurityGroupRunningSpaceReturns(result1 ccv3.Warnings, result2 error) { 11829 fake.updateSecurityGroupRunningSpaceMutex.Lock() 11830 defer fake.updateSecurityGroupRunningSpaceMutex.Unlock() 11831 fake.UpdateSecurityGroupRunningSpaceStub = nil 11832 fake.updateSecurityGroupRunningSpaceReturns = struct { 11833 result1 ccv3.Warnings 11834 result2 error 11835 }{result1, result2} 11836 } 11837 11838 func (fake *FakeCloudControllerClient) UpdateSecurityGroupRunningSpaceReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 11839 fake.updateSecurityGroupRunningSpaceMutex.Lock() 11840 defer fake.updateSecurityGroupRunningSpaceMutex.Unlock() 11841 fake.UpdateSecurityGroupRunningSpaceStub = nil 11842 if fake.updateSecurityGroupRunningSpaceReturnsOnCall == nil { 11843 fake.updateSecurityGroupRunningSpaceReturnsOnCall = make(map[int]struct { 11844 result1 ccv3.Warnings 11845 result2 error 11846 }) 11847 } 11848 fake.updateSecurityGroupRunningSpaceReturnsOnCall[i] = struct { 11849 result1 ccv3.Warnings 11850 result2 error 11851 }{result1, result2} 11852 } 11853 11854 func (fake *FakeCloudControllerClient) UpdateSecurityGroupStagingSpace(arg1 string, arg2 []string) (ccv3.Warnings, error) { 11855 var arg2Copy []string 11856 if arg2 != nil { 11857 arg2Copy = make([]string, len(arg2)) 11858 copy(arg2Copy, arg2) 11859 } 11860 fake.updateSecurityGroupStagingSpaceMutex.Lock() 11861 ret, specificReturn := fake.updateSecurityGroupStagingSpaceReturnsOnCall[len(fake.updateSecurityGroupStagingSpaceArgsForCall)] 11862 fake.updateSecurityGroupStagingSpaceArgsForCall = append(fake.updateSecurityGroupStagingSpaceArgsForCall, struct { 11863 arg1 string 11864 arg2 []string 11865 }{arg1, arg2Copy}) 11866 fake.recordInvocation("UpdateSecurityGroupStagingSpace", []interface{}{arg1, arg2Copy}) 11867 fake.updateSecurityGroupStagingSpaceMutex.Unlock() 11868 if fake.UpdateSecurityGroupStagingSpaceStub != nil { 11869 return fake.UpdateSecurityGroupStagingSpaceStub(arg1, arg2) 11870 } 11871 if specificReturn { 11872 return ret.result1, ret.result2 11873 } 11874 fakeReturns := fake.updateSecurityGroupStagingSpaceReturns 11875 return fakeReturns.result1, fakeReturns.result2 11876 } 11877 11878 func (fake *FakeCloudControllerClient) UpdateSecurityGroupStagingSpaceCallCount() int { 11879 fake.updateSecurityGroupStagingSpaceMutex.RLock() 11880 defer fake.updateSecurityGroupStagingSpaceMutex.RUnlock() 11881 return len(fake.updateSecurityGroupStagingSpaceArgsForCall) 11882 } 11883 11884 func (fake *FakeCloudControllerClient) UpdateSecurityGroupStagingSpaceCalls(stub func(string, []string) (ccv3.Warnings, error)) { 11885 fake.updateSecurityGroupStagingSpaceMutex.Lock() 11886 defer fake.updateSecurityGroupStagingSpaceMutex.Unlock() 11887 fake.UpdateSecurityGroupStagingSpaceStub = stub 11888 } 11889 11890 func (fake *FakeCloudControllerClient) UpdateSecurityGroupStagingSpaceArgsForCall(i int) (string, []string) { 11891 fake.updateSecurityGroupStagingSpaceMutex.RLock() 11892 defer fake.updateSecurityGroupStagingSpaceMutex.RUnlock() 11893 argsForCall := fake.updateSecurityGroupStagingSpaceArgsForCall[i] 11894 return argsForCall.arg1, argsForCall.arg2 11895 } 11896 11897 func (fake *FakeCloudControllerClient) UpdateSecurityGroupStagingSpaceReturns(result1 ccv3.Warnings, result2 error) { 11898 fake.updateSecurityGroupStagingSpaceMutex.Lock() 11899 defer fake.updateSecurityGroupStagingSpaceMutex.Unlock() 11900 fake.UpdateSecurityGroupStagingSpaceStub = nil 11901 fake.updateSecurityGroupStagingSpaceReturns = struct { 11902 result1 ccv3.Warnings 11903 result2 error 11904 }{result1, result2} 11905 } 11906 11907 func (fake *FakeCloudControllerClient) UpdateSecurityGroupStagingSpaceReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 11908 fake.updateSecurityGroupStagingSpaceMutex.Lock() 11909 defer fake.updateSecurityGroupStagingSpaceMutex.Unlock() 11910 fake.UpdateSecurityGroupStagingSpaceStub = nil 11911 if fake.updateSecurityGroupStagingSpaceReturnsOnCall == nil { 11912 fake.updateSecurityGroupStagingSpaceReturnsOnCall = make(map[int]struct { 11913 result1 ccv3.Warnings 11914 result2 error 11915 }) 11916 } 11917 fake.updateSecurityGroupStagingSpaceReturnsOnCall[i] = struct { 11918 result1 ccv3.Warnings 11919 result2 error 11920 }{result1, result2} 11921 } 11922 11923 func (fake *FakeCloudControllerClient) UpdateServiceBroker(arg1 string, arg2 resources.ServiceBroker) (ccv3.JobURL, ccv3.Warnings, error) { 11924 fake.updateServiceBrokerMutex.Lock() 11925 ret, specificReturn := fake.updateServiceBrokerReturnsOnCall[len(fake.updateServiceBrokerArgsForCall)] 11926 fake.updateServiceBrokerArgsForCall = append(fake.updateServiceBrokerArgsForCall, struct { 11927 arg1 string 11928 arg2 resources.ServiceBroker 11929 }{arg1, arg2}) 11930 fake.recordInvocation("UpdateServiceBroker", []interface{}{arg1, arg2}) 11931 fake.updateServiceBrokerMutex.Unlock() 11932 if fake.UpdateServiceBrokerStub != nil { 11933 return fake.UpdateServiceBrokerStub(arg1, arg2) 11934 } 11935 if specificReturn { 11936 return ret.result1, ret.result2, ret.result3 11937 } 11938 fakeReturns := fake.updateServiceBrokerReturns 11939 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11940 } 11941 11942 func (fake *FakeCloudControllerClient) UpdateServiceBrokerCallCount() int { 11943 fake.updateServiceBrokerMutex.RLock() 11944 defer fake.updateServiceBrokerMutex.RUnlock() 11945 return len(fake.updateServiceBrokerArgsForCall) 11946 } 11947 11948 func (fake *FakeCloudControllerClient) UpdateServiceBrokerCalls(stub func(string, resources.ServiceBroker) (ccv3.JobURL, ccv3.Warnings, error)) { 11949 fake.updateServiceBrokerMutex.Lock() 11950 defer fake.updateServiceBrokerMutex.Unlock() 11951 fake.UpdateServiceBrokerStub = stub 11952 } 11953 11954 func (fake *FakeCloudControllerClient) UpdateServiceBrokerArgsForCall(i int) (string, resources.ServiceBroker) { 11955 fake.updateServiceBrokerMutex.RLock() 11956 defer fake.updateServiceBrokerMutex.RUnlock() 11957 argsForCall := fake.updateServiceBrokerArgsForCall[i] 11958 return argsForCall.arg1, argsForCall.arg2 11959 } 11960 11961 func (fake *FakeCloudControllerClient) UpdateServiceBrokerReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 11962 fake.updateServiceBrokerMutex.Lock() 11963 defer fake.updateServiceBrokerMutex.Unlock() 11964 fake.UpdateServiceBrokerStub = nil 11965 fake.updateServiceBrokerReturns = struct { 11966 result1 ccv3.JobURL 11967 result2 ccv3.Warnings 11968 result3 error 11969 }{result1, result2, result3} 11970 } 11971 11972 func (fake *FakeCloudControllerClient) UpdateServiceBrokerReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 11973 fake.updateServiceBrokerMutex.Lock() 11974 defer fake.updateServiceBrokerMutex.Unlock() 11975 fake.UpdateServiceBrokerStub = nil 11976 if fake.updateServiceBrokerReturnsOnCall == nil { 11977 fake.updateServiceBrokerReturnsOnCall = make(map[int]struct { 11978 result1 ccv3.JobURL 11979 result2 ccv3.Warnings 11980 result3 error 11981 }) 11982 } 11983 fake.updateServiceBrokerReturnsOnCall[i] = struct { 11984 result1 ccv3.JobURL 11985 result2 ccv3.Warnings 11986 result3 error 11987 }{result1, result2, result3} 11988 } 11989 11990 func (fake *FakeCloudControllerClient) UpdateServicePlanVisibility(arg1 string, arg2 resources.ServicePlanVisibility) (resources.ServicePlanVisibility, ccv3.Warnings, error) { 11991 fake.updateServicePlanVisibilityMutex.Lock() 11992 ret, specificReturn := fake.updateServicePlanVisibilityReturnsOnCall[len(fake.updateServicePlanVisibilityArgsForCall)] 11993 fake.updateServicePlanVisibilityArgsForCall = append(fake.updateServicePlanVisibilityArgsForCall, struct { 11994 arg1 string 11995 arg2 resources.ServicePlanVisibility 11996 }{arg1, arg2}) 11997 fake.recordInvocation("UpdateServicePlanVisibility", []interface{}{arg1, arg2}) 11998 fake.updateServicePlanVisibilityMutex.Unlock() 11999 if fake.UpdateServicePlanVisibilityStub != nil { 12000 return fake.UpdateServicePlanVisibilityStub(arg1, arg2) 12001 } 12002 if specificReturn { 12003 return ret.result1, ret.result2, ret.result3 12004 } 12005 fakeReturns := fake.updateServicePlanVisibilityReturns 12006 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 12007 } 12008 12009 func (fake *FakeCloudControllerClient) UpdateServicePlanVisibilityCallCount() int { 12010 fake.updateServicePlanVisibilityMutex.RLock() 12011 defer fake.updateServicePlanVisibilityMutex.RUnlock() 12012 return len(fake.updateServicePlanVisibilityArgsForCall) 12013 } 12014 12015 func (fake *FakeCloudControllerClient) UpdateServicePlanVisibilityCalls(stub func(string, resources.ServicePlanVisibility) (resources.ServicePlanVisibility, ccv3.Warnings, error)) { 12016 fake.updateServicePlanVisibilityMutex.Lock() 12017 defer fake.updateServicePlanVisibilityMutex.Unlock() 12018 fake.UpdateServicePlanVisibilityStub = stub 12019 } 12020 12021 func (fake *FakeCloudControllerClient) UpdateServicePlanVisibilityArgsForCall(i int) (string, resources.ServicePlanVisibility) { 12022 fake.updateServicePlanVisibilityMutex.RLock() 12023 defer fake.updateServicePlanVisibilityMutex.RUnlock() 12024 argsForCall := fake.updateServicePlanVisibilityArgsForCall[i] 12025 return argsForCall.arg1, argsForCall.arg2 12026 } 12027 12028 func (fake *FakeCloudControllerClient) UpdateServicePlanVisibilityReturns(result1 resources.ServicePlanVisibility, result2 ccv3.Warnings, result3 error) { 12029 fake.updateServicePlanVisibilityMutex.Lock() 12030 defer fake.updateServicePlanVisibilityMutex.Unlock() 12031 fake.UpdateServicePlanVisibilityStub = nil 12032 fake.updateServicePlanVisibilityReturns = struct { 12033 result1 resources.ServicePlanVisibility 12034 result2 ccv3.Warnings 12035 result3 error 12036 }{result1, result2, result3} 12037 } 12038 12039 func (fake *FakeCloudControllerClient) UpdateServicePlanVisibilityReturnsOnCall(i int, result1 resources.ServicePlanVisibility, result2 ccv3.Warnings, result3 error) { 12040 fake.updateServicePlanVisibilityMutex.Lock() 12041 defer fake.updateServicePlanVisibilityMutex.Unlock() 12042 fake.UpdateServicePlanVisibilityStub = nil 12043 if fake.updateServicePlanVisibilityReturnsOnCall == nil { 12044 fake.updateServicePlanVisibilityReturnsOnCall = make(map[int]struct { 12045 result1 resources.ServicePlanVisibility 12046 result2 ccv3.Warnings 12047 result3 error 12048 }) 12049 } 12050 fake.updateServicePlanVisibilityReturnsOnCall[i] = struct { 12051 result1 resources.ServicePlanVisibility 12052 result2 ccv3.Warnings 12053 result3 error 12054 }{result1, result2, result3} 12055 } 12056 12057 func (fake *FakeCloudControllerClient) UpdateSpace(arg1 resources.Space) (resources.Space, ccv3.Warnings, error) { 12058 fake.updateSpaceMutex.Lock() 12059 ret, specificReturn := fake.updateSpaceReturnsOnCall[len(fake.updateSpaceArgsForCall)] 12060 fake.updateSpaceArgsForCall = append(fake.updateSpaceArgsForCall, struct { 12061 arg1 resources.Space 12062 }{arg1}) 12063 fake.recordInvocation("UpdateSpace", []interface{}{arg1}) 12064 fake.updateSpaceMutex.Unlock() 12065 if fake.UpdateSpaceStub != nil { 12066 return fake.UpdateSpaceStub(arg1) 12067 } 12068 if specificReturn { 12069 return ret.result1, ret.result2, ret.result3 12070 } 12071 fakeReturns := fake.updateSpaceReturns 12072 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 12073 } 12074 12075 func (fake *FakeCloudControllerClient) UpdateSpaceCallCount() int { 12076 fake.updateSpaceMutex.RLock() 12077 defer fake.updateSpaceMutex.RUnlock() 12078 return len(fake.updateSpaceArgsForCall) 12079 } 12080 12081 func (fake *FakeCloudControllerClient) UpdateSpaceCalls(stub func(resources.Space) (resources.Space, ccv3.Warnings, error)) { 12082 fake.updateSpaceMutex.Lock() 12083 defer fake.updateSpaceMutex.Unlock() 12084 fake.UpdateSpaceStub = stub 12085 } 12086 12087 func (fake *FakeCloudControllerClient) UpdateSpaceArgsForCall(i int) resources.Space { 12088 fake.updateSpaceMutex.RLock() 12089 defer fake.updateSpaceMutex.RUnlock() 12090 argsForCall := fake.updateSpaceArgsForCall[i] 12091 return argsForCall.arg1 12092 } 12093 12094 func (fake *FakeCloudControllerClient) UpdateSpaceReturns(result1 resources.Space, result2 ccv3.Warnings, result3 error) { 12095 fake.updateSpaceMutex.Lock() 12096 defer fake.updateSpaceMutex.Unlock() 12097 fake.UpdateSpaceStub = nil 12098 fake.updateSpaceReturns = struct { 12099 result1 resources.Space 12100 result2 ccv3.Warnings 12101 result3 error 12102 }{result1, result2, result3} 12103 } 12104 12105 func (fake *FakeCloudControllerClient) UpdateSpaceReturnsOnCall(i int, result1 resources.Space, result2 ccv3.Warnings, result3 error) { 12106 fake.updateSpaceMutex.Lock() 12107 defer fake.updateSpaceMutex.Unlock() 12108 fake.UpdateSpaceStub = nil 12109 if fake.updateSpaceReturnsOnCall == nil { 12110 fake.updateSpaceReturnsOnCall = make(map[int]struct { 12111 result1 resources.Space 12112 result2 ccv3.Warnings 12113 result3 error 12114 }) 12115 } 12116 fake.updateSpaceReturnsOnCall[i] = struct { 12117 result1 resources.Space 12118 result2 ccv3.Warnings 12119 result3 error 12120 }{result1, result2, result3} 12121 } 12122 12123 func (fake *FakeCloudControllerClient) UpdateSpaceApplyManifest(arg1 string, arg2 []byte) (ccv3.JobURL, ccv3.Warnings, error) { 12124 var arg2Copy []byte 12125 if arg2 != nil { 12126 arg2Copy = make([]byte, len(arg2)) 12127 copy(arg2Copy, arg2) 12128 } 12129 fake.updateSpaceApplyManifestMutex.Lock() 12130 ret, specificReturn := fake.updateSpaceApplyManifestReturnsOnCall[len(fake.updateSpaceApplyManifestArgsForCall)] 12131 fake.updateSpaceApplyManifestArgsForCall = append(fake.updateSpaceApplyManifestArgsForCall, struct { 12132 arg1 string 12133 arg2 []byte 12134 }{arg1, arg2Copy}) 12135 fake.recordInvocation("UpdateSpaceApplyManifest", []interface{}{arg1, arg2Copy}) 12136 fake.updateSpaceApplyManifestMutex.Unlock() 12137 if fake.UpdateSpaceApplyManifestStub != nil { 12138 return fake.UpdateSpaceApplyManifestStub(arg1, arg2) 12139 } 12140 if specificReturn { 12141 return ret.result1, ret.result2, ret.result3 12142 } 12143 fakeReturns := fake.updateSpaceApplyManifestReturns 12144 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 12145 } 12146 12147 func (fake *FakeCloudControllerClient) UpdateSpaceApplyManifestCallCount() int { 12148 fake.updateSpaceApplyManifestMutex.RLock() 12149 defer fake.updateSpaceApplyManifestMutex.RUnlock() 12150 return len(fake.updateSpaceApplyManifestArgsForCall) 12151 } 12152 12153 func (fake *FakeCloudControllerClient) UpdateSpaceApplyManifestCalls(stub func(string, []byte) (ccv3.JobURL, ccv3.Warnings, error)) { 12154 fake.updateSpaceApplyManifestMutex.Lock() 12155 defer fake.updateSpaceApplyManifestMutex.Unlock() 12156 fake.UpdateSpaceApplyManifestStub = stub 12157 } 12158 12159 func (fake *FakeCloudControllerClient) UpdateSpaceApplyManifestArgsForCall(i int) (string, []byte) { 12160 fake.updateSpaceApplyManifestMutex.RLock() 12161 defer fake.updateSpaceApplyManifestMutex.RUnlock() 12162 argsForCall := fake.updateSpaceApplyManifestArgsForCall[i] 12163 return argsForCall.arg1, argsForCall.arg2 12164 } 12165 12166 func (fake *FakeCloudControllerClient) UpdateSpaceApplyManifestReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 12167 fake.updateSpaceApplyManifestMutex.Lock() 12168 defer fake.updateSpaceApplyManifestMutex.Unlock() 12169 fake.UpdateSpaceApplyManifestStub = nil 12170 fake.updateSpaceApplyManifestReturns = struct { 12171 result1 ccv3.JobURL 12172 result2 ccv3.Warnings 12173 result3 error 12174 }{result1, result2, result3} 12175 } 12176 12177 func (fake *FakeCloudControllerClient) UpdateSpaceApplyManifestReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 12178 fake.updateSpaceApplyManifestMutex.Lock() 12179 defer fake.updateSpaceApplyManifestMutex.Unlock() 12180 fake.UpdateSpaceApplyManifestStub = nil 12181 if fake.updateSpaceApplyManifestReturnsOnCall == nil { 12182 fake.updateSpaceApplyManifestReturnsOnCall = make(map[int]struct { 12183 result1 ccv3.JobURL 12184 result2 ccv3.Warnings 12185 result3 error 12186 }) 12187 } 12188 fake.updateSpaceApplyManifestReturnsOnCall[i] = struct { 12189 result1 ccv3.JobURL 12190 result2 ccv3.Warnings 12191 result3 error 12192 }{result1, result2, result3} 12193 } 12194 12195 func (fake *FakeCloudControllerClient) UpdateSpaceFeature(arg1 string, arg2 bool, arg3 string) (ccv3.Warnings, error) { 12196 fake.updateSpaceFeatureMutex.Lock() 12197 ret, specificReturn := fake.updateSpaceFeatureReturnsOnCall[len(fake.updateSpaceFeatureArgsForCall)] 12198 fake.updateSpaceFeatureArgsForCall = append(fake.updateSpaceFeatureArgsForCall, struct { 12199 arg1 string 12200 arg2 bool 12201 arg3 string 12202 }{arg1, arg2, arg3}) 12203 fake.recordInvocation("UpdateSpaceFeature", []interface{}{arg1, arg2, arg3}) 12204 fake.updateSpaceFeatureMutex.Unlock() 12205 if fake.UpdateSpaceFeatureStub != nil { 12206 return fake.UpdateSpaceFeatureStub(arg1, arg2, arg3) 12207 } 12208 if specificReturn { 12209 return ret.result1, ret.result2 12210 } 12211 fakeReturns := fake.updateSpaceFeatureReturns 12212 return fakeReturns.result1, fakeReturns.result2 12213 } 12214 12215 func (fake *FakeCloudControllerClient) UpdateSpaceFeatureCallCount() int { 12216 fake.updateSpaceFeatureMutex.RLock() 12217 defer fake.updateSpaceFeatureMutex.RUnlock() 12218 return len(fake.updateSpaceFeatureArgsForCall) 12219 } 12220 12221 func (fake *FakeCloudControllerClient) UpdateSpaceFeatureCalls(stub func(string, bool, string) (ccv3.Warnings, error)) { 12222 fake.updateSpaceFeatureMutex.Lock() 12223 defer fake.updateSpaceFeatureMutex.Unlock() 12224 fake.UpdateSpaceFeatureStub = stub 12225 } 12226 12227 func (fake *FakeCloudControllerClient) UpdateSpaceFeatureArgsForCall(i int) (string, bool, string) { 12228 fake.updateSpaceFeatureMutex.RLock() 12229 defer fake.updateSpaceFeatureMutex.RUnlock() 12230 argsForCall := fake.updateSpaceFeatureArgsForCall[i] 12231 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3 12232 } 12233 12234 func (fake *FakeCloudControllerClient) UpdateSpaceFeatureReturns(result1 ccv3.Warnings, result2 error) { 12235 fake.updateSpaceFeatureMutex.Lock() 12236 defer fake.updateSpaceFeatureMutex.Unlock() 12237 fake.UpdateSpaceFeatureStub = nil 12238 fake.updateSpaceFeatureReturns = struct { 12239 result1 ccv3.Warnings 12240 result2 error 12241 }{result1, result2} 12242 } 12243 12244 func (fake *FakeCloudControllerClient) UpdateSpaceFeatureReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 12245 fake.updateSpaceFeatureMutex.Lock() 12246 defer fake.updateSpaceFeatureMutex.Unlock() 12247 fake.UpdateSpaceFeatureStub = nil 12248 if fake.updateSpaceFeatureReturnsOnCall == nil { 12249 fake.updateSpaceFeatureReturnsOnCall = make(map[int]struct { 12250 result1 ccv3.Warnings 12251 result2 error 12252 }) 12253 } 12254 fake.updateSpaceFeatureReturnsOnCall[i] = struct { 12255 result1 ccv3.Warnings 12256 result2 error 12257 }{result1, result2} 12258 } 12259 12260 func (fake *FakeCloudControllerClient) UpdateSpaceIsolationSegmentRelationship(arg1 string, arg2 string) (resources.Relationship, ccv3.Warnings, error) { 12261 fake.updateSpaceIsolationSegmentRelationshipMutex.Lock() 12262 ret, specificReturn := fake.updateSpaceIsolationSegmentRelationshipReturnsOnCall[len(fake.updateSpaceIsolationSegmentRelationshipArgsForCall)] 12263 fake.updateSpaceIsolationSegmentRelationshipArgsForCall = append(fake.updateSpaceIsolationSegmentRelationshipArgsForCall, struct { 12264 arg1 string 12265 arg2 string 12266 }{arg1, arg2}) 12267 fake.recordInvocation("UpdateSpaceIsolationSegmentRelationship", []interface{}{arg1, arg2}) 12268 fake.updateSpaceIsolationSegmentRelationshipMutex.Unlock() 12269 if fake.UpdateSpaceIsolationSegmentRelationshipStub != nil { 12270 return fake.UpdateSpaceIsolationSegmentRelationshipStub(arg1, arg2) 12271 } 12272 if specificReturn { 12273 return ret.result1, ret.result2, ret.result3 12274 } 12275 fakeReturns := fake.updateSpaceIsolationSegmentRelationshipReturns 12276 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 12277 } 12278 12279 func (fake *FakeCloudControllerClient) UpdateSpaceIsolationSegmentRelationshipCallCount() int { 12280 fake.updateSpaceIsolationSegmentRelationshipMutex.RLock() 12281 defer fake.updateSpaceIsolationSegmentRelationshipMutex.RUnlock() 12282 return len(fake.updateSpaceIsolationSegmentRelationshipArgsForCall) 12283 } 12284 12285 func (fake *FakeCloudControllerClient) UpdateSpaceIsolationSegmentRelationshipCalls(stub func(string, string) (resources.Relationship, ccv3.Warnings, error)) { 12286 fake.updateSpaceIsolationSegmentRelationshipMutex.Lock() 12287 defer fake.updateSpaceIsolationSegmentRelationshipMutex.Unlock() 12288 fake.UpdateSpaceIsolationSegmentRelationshipStub = stub 12289 } 12290 12291 func (fake *FakeCloudControllerClient) UpdateSpaceIsolationSegmentRelationshipArgsForCall(i int) (string, string) { 12292 fake.updateSpaceIsolationSegmentRelationshipMutex.RLock() 12293 defer fake.updateSpaceIsolationSegmentRelationshipMutex.RUnlock() 12294 argsForCall := fake.updateSpaceIsolationSegmentRelationshipArgsForCall[i] 12295 return argsForCall.arg1, argsForCall.arg2 12296 } 12297 12298 func (fake *FakeCloudControllerClient) UpdateSpaceIsolationSegmentRelationshipReturns(result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 12299 fake.updateSpaceIsolationSegmentRelationshipMutex.Lock() 12300 defer fake.updateSpaceIsolationSegmentRelationshipMutex.Unlock() 12301 fake.UpdateSpaceIsolationSegmentRelationshipStub = nil 12302 fake.updateSpaceIsolationSegmentRelationshipReturns = struct { 12303 result1 resources.Relationship 12304 result2 ccv3.Warnings 12305 result3 error 12306 }{result1, result2, result3} 12307 } 12308 12309 func (fake *FakeCloudControllerClient) UpdateSpaceIsolationSegmentRelationshipReturnsOnCall(i int, result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 12310 fake.updateSpaceIsolationSegmentRelationshipMutex.Lock() 12311 defer fake.updateSpaceIsolationSegmentRelationshipMutex.Unlock() 12312 fake.UpdateSpaceIsolationSegmentRelationshipStub = nil 12313 if fake.updateSpaceIsolationSegmentRelationshipReturnsOnCall == nil { 12314 fake.updateSpaceIsolationSegmentRelationshipReturnsOnCall = make(map[int]struct { 12315 result1 resources.Relationship 12316 result2 ccv3.Warnings 12317 result3 error 12318 }) 12319 } 12320 fake.updateSpaceIsolationSegmentRelationshipReturnsOnCall[i] = struct { 12321 result1 resources.Relationship 12322 result2 ccv3.Warnings 12323 result3 error 12324 }{result1, result2, result3} 12325 } 12326 12327 func (fake *FakeCloudControllerClient) UpdateSpaceQuota(arg1 resources.SpaceQuota) (resources.SpaceQuota, ccv3.Warnings, error) { 12328 fake.updateSpaceQuotaMutex.Lock() 12329 ret, specificReturn := fake.updateSpaceQuotaReturnsOnCall[len(fake.updateSpaceQuotaArgsForCall)] 12330 fake.updateSpaceQuotaArgsForCall = append(fake.updateSpaceQuotaArgsForCall, struct { 12331 arg1 resources.SpaceQuota 12332 }{arg1}) 12333 fake.recordInvocation("UpdateSpaceQuota", []interface{}{arg1}) 12334 fake.updateSpaceQuotaMutex.Unlock() 12335 if fake.UpdateSpaceQuotaStub != nil { 12336 return fake.UpdateSpaceQuotaStub(arg1) 12337 } 12338 if specificReturn { 12339 return ret.result1, ret.result2, ret.result3 12340 } 12341 fakeReturns := fake.updateSpaceQuotaReturns 12342 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 12343 } 12344 12345 func (fake *FakeCloudControllerClient) UpdateSpaceQuotaCallCount() int { 12346 fake.updateSpaceQuotaMutex.RLock() 12347 defer fake.updateSpaceQuotaMutex.RUnlock() 12348 return len(fake.updateSpaceQuotaArgsForCall) 12349 } 12350 12351 func (fake *FakeCloudControllerClient) UpdateSpaceQuotaCalls(stub func(resources.SpaceQuota) (resources.SpaceQuota, ccv3.Warnings, error)) { 12352 fake.updateSpaceQuotaMutex.Lock() 12353 defer fake.updateSpaceQuotaMutex.Unlock() 12354 fake.UpdateSpaceQuotaStub = stub 12355 } 12356 12357 func (fake *FakeCloudControllerClient) UpdateSpaceQuotaArgsForCall(i int) resources.SpaceQuota { 12358 fake.updateSpaceQuotaMutex.RLock() 12359 defer fake.updateSpaceQuotaMutex.RUnlock() 12360 argsForCall := fake.updateSpaceQuotaArgsForCall[i] 12361 return argsForCall.arg1 12362 } 12363 12364 func (fake *FakeCloudControllerClient) UpdateSpaceQuotaReturns(result1 resources.SpaceQuota, result2 ccv3.Warnings, result3 error) { 12365 fake.updateSpaceQuotaMutex.Lock() 12366 defer fake.updateSpaceQuotaMutex.Unlock() 12367 fake.UpdateSpaceQuotaStub = nil 12368 fake.updateSpaceQuotaReturns = struct { 12369 result1 resources.SpaceQuota 12370 result2 ccv3.Warnings 12371 result3 error 12372 }{result1, result2, result3} 12373 } 12374 12375 func (fake *FakeCloudControllerClient) UpdateSpaceQuotaReturnsOnCall(i int, result1 resources.SpaceQuota, result2 ccv3.Warnings, result3 error) { 12376 fake.updateSpaceQuotaMutex.Lock() 12377 defer fake.updateSpaceQuotaMutex.Unlock() 12378 fake.UpdateSpaceQuotaStub = nil 12379 if fake.updateSpaceQuotaReturnsOnCall == nil { 12380 fake.updateSpaceQuotaReturnsOnCall = make(map[int]struct { 12381 result1 resources.SpaceQuota 12382 result2 ccv3.Warnings 12383 result3 error 12384 }) 12385 } 12386 fake.updateSpaceQuotaReturnsOnCall[i] = struct { 12387 result1 resources.SpaceQuota 12388 result2 ccv3.Warnings 12389 result3 error 12390 }{result1, result2, result3} 12391 } 12392 12393 func (fake *FakeCloudControllerClient) UpdateTaskCancel(arg1 string) (ccv3.Task, ccv3.Warnings, error) { 12394 fake.updateTaskCancelMutex.Lock() 12395 ret, specificReturn := fake.updateTaskCancelReturnsOnCall[len(fake.updateTaskCancelArgsForCall)] 12396 fake.updateTaskCancelArgsForCall = append(fake.updateTaskCancelArgsForCall, struct { 12397 arg1 string 12398 }{arg1}) 12399 fake.recordInvocation("UpdateTaskCancel", []interface{}{arg1}) 12400 fake.updateTaskCancelMutex.Unlock() 12401 if fake.UpdateTaskCancelStub != nil { 12402 return fake.UpdateTaskCancelStub(arg1) 12403 } 12404 if specificReturn { 12405 return ret.result1, ret.result2, ret.result3 12406 } 12407 fakeReturns := fake.updateTaskCancelReturns 12408 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 12409 } 12410 12411 func (fake *FakeCloudControllerClient) UpdateTaskCancelCallCount() int { 12412 fake.updateTaskCancelMutex.RLock() 12413 defer fake.updateTaskCancelMutex.RUnlock() 12414 return len(fake.updateTaskCancelArgsForCall) 12415 } 12416 12417 func (fake *FakeCloudControllerClient) UpdateTaskCancelCalls(stub func(string) (ccv3.Task, ccv3.Warnings, error)) { 12418 fake.updateTaskCancelMutex.Lock() 12419 defer fake.updateTaskCancelMutex.Unlock() 12420 fake.UpdateTaskCancelStub = stub 12421 } 12422 12423 func (fake *FakeCloudControllerClient) UpdateTaskCancelArgsForCall(i int) string { 12424 fake.updateTaskCancelMutex.RLock() 12425 defer fake.updateTaskCancelMutex.RUnlock() 12426 argsForCall := fake.updateTaskCancelArgsForCall[i] 12427 return argsForCall.arg1 12428 } 12429 12430 func (fake *FakeCloudControllerClient) UpdateTaskCancelReturns(result1 ccv3.Task, result2 ccv3.Warnings, result3 error) { 12431 fake.updateTaskCancelMutex.Lock() 12432 defer fake.updateTaskCancelMutex.Unlock() 12433 fake.UpdateTaskCancelStub = nil 12434 fake.updateTaskCancelReturns = struct { 12435 result1 ccv3.Task 12436 result2 ccv3.Warnings 12437 result3 error 12438 }{result1, result2, result3} 12439 } 12440 12441 func (fake *FakeCloudControllerClient) UpdateTaskCancelReturnsOnCall(i int, result1 ccv3.Task, result2 ccv3.Warnings, result3 error) { 12442 fake.updateTaskCancelMutex.Lock() 12443 defer fake.updateTaskCancelMutex.Unlock() 12444 fake.UpdateTaskCancelStub = nil 12445 if fake.updateTaskCancelReturnsOnCall == nil { 12446 fake.updateTaskCancelReturnsOnCall = make(map[int]struct { 12447 result1 ccv3.Task 12448 result2 ccv3.Warnings 12449 result3 error 12450 }) 12451 } 12452 fake.updateTaskCancelReturnsOnCall[i] = struct { 12453 result1 ccv3.Task 12454 result2 ccv3.Warnings 12455 result3 error 12456 }{result1, result2, result3} 12457 } 12458 12459 func (fake *FakeCloudControllerClient) UploadBitsPackage(arg1 ccv3.Package, arg2 []ccv3.Resource, arg3 io.Reader, arg4 int64) (ccv3.Package, ccv3.Warnings, error) { 12460 var arg2Copy []ccv3.Resource 12461 if arg2 != nil { 12462 arg2Copy = make([]ccv3.Resource, len(arg2)) 12463 copy(arg2Copy, arg2) 12464 } 12465 fake.uploadBitsPackageMutex.Lock() 12466 ret, specificReturn := fake.uploadBitsPackageReturnsOnCall[len(fake.uploadBitsPackageArgsForCall)] 12467 fake.uploadBitsPackageArgsForCall = append(fake.uploadBitsPackageArgsForCall, struct { 12468 arg1 ccv3.Package 12469 arg2 []ccv3.Resource 12470 arg3 io.Reader 12471 arg4 int64 12472 }{arg1, arg2Copy, arg3, arg4}) 12473 fake.recordInvocation("UploadBitsPackage", []interface{}{arg1, arg2Copy, arg3, arg4}) 12474 fake.uploadBitsPackageMutex.Unlock() 12475 if fake.UploadBitsPackageStub != nil { 12476 return fake.UploadBitsPackageStub(arg1, arg2, arg3, arg4) 12477 } 12478 if specificReturn { 12479 return ret.result1, ret.result2, ret.result3 12480 } 12481 fakeReturns := fake.uploadBitsPackageReturns 12482 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 12483 } 12484 12485 func (fake *FakeCloudControllerClient) UploadBitsPackageCallCount() int { 12486 fake.uploadBitsPackageMutex.RLock() 12487 defer fake.uploadBitsPackageMutex.RUnlock() 12488 return len(fake.uploadBitsPackageArgsForCall) 12489 } 12490 12491 func (fake *FakeCloudControllerClient) UploadBitsPackageCalls(stub func(ccv3.Package, []ccv3.Resource, io.Reader, int64) (ccv3.Package, ccv3.Warnings, error)) { 12492 fake.uploadBitsPackageMutex.Lock() 12493 defer fake.uploadBitsPackageMutex.Unlock() 12494 fake.UploadBitsPackageStub = stub 12495 } 12496 12497 func (fake *FakeCloudControllerClient) UploadBitsPackageArgsForCall(i int) (ccv3.Package, []ccv3.Resource, io.Reader, int64) { 12498 fake.uploadBitsPackageMutex.RLock() 12499 defer fake.uploadBitsPackageMutex.RUnlock() 12500 argsForCall := fake.uploadBitsPackageArgsForCall[i] 12501 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4 12502 } 12503 12504 func (fake *FakeCloudControllerClient) UploadBitsPackageReturns(result1 ccv3.Package, result2 ccv3.Warnings, result3 error) { 12505 fake.uploadBitsPackageMutex.Lock() 12506 defer fake.uploadBitsPackageMutex.Unlock() 12507 fake.UploadBitsPackageStub = nil 12508 fake.uploadBitsPackageReturns = struct { 12509 result1 ccv3.Package 12510 result2 ccv3.Warnings 12511 result3 error 12512 }{result1, result2, result3} 12513 } 12514 12515 func (fake *FakeCloudControllerClient) UploadBitsPackageReturnsOnCall(i int, result1 ccv3.Package, result2 ccv3.Warnings, result3 error) { 12516 fake.uploadBitsPackageMutex.Lock() 12517 defer fake.uploadBitsPackageMutex.Unlock() 12518 fake.UploadBitsPackageStub = nil 12519 if fake.uploadBitsPackageReturnsOnCall == nil { 12520 fake.uploadBitsPackageReturnsOnCall = make(map[int]struct { 12521 result1 ccv3.Package 12522 result2 ccv3.Warnings 12523 result3 error 12524 }) 12525 } 12526 fake.uploadBitsPackageReturnsOnCall[i] = struct { 12527 result1 ccv3.Package 12528 result2 ccv3.Warnings 12529 result3 error 12530 }{result1, result2, result3} 12531 } 12532 12533 func (fake *FakeCloudControllerClient) UploadBuildpack(arg1 string, arg2 string, arg3 io.Reader, arg4 int64) (ccv3.JobURL, ccv3.Warnings, error) { 12534 fake.uploadBuildpackMutex.Lock() 12535 ret, specificReturn := fake.uploadBuildpackReturnsOnCall[len(fake.uploadBuildpackArgsForCall)] 12536 fake.uploadBuildpackArgsForCall = append(fake.uploadBuildpackArgsForCall, struct { 12537 arg1 string 12538 arg2 string 12539 arg3 io.Reader 12540 arg4 int64 12541 }{arg1, arg2, arg3, arg4}) 12542 fake.recordInvocation("UploadBuildpack", []interface{}{arg1, arg2, arg3, arg4}) 12543 fake.uploadBuildpackMutex.Unlock() 12544 if fake.UploadBuildpackStub != nil { 12545 return fake.UploadBuildpackStub(arg1, arg2, arg3, arg4) 12546 } 12547 if specificReturn { 12548 return ret.result1, ret.result2, ret.result3 12549 } 12550 fakeReturns := fake.uploadBuildpackReturns 12551 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 12552 } 12553 12554 func (fake *FakeCloudControllerClient) UploadBuildpackCallCount() int { 12555 fake.uploadBuildpackMutex.RLock() 12556 defer fake.uploadBuildpackMutex.RUnlock() 12557 return len(fake.uploadBuildpackArgsForCall) 12558 } 12559 12560 func (fake *FakeCloudControllerClient) UploadBuildpackCalls(stub func(string, string, io.Reader, int64) (ccv3.JobURL, ccv3.Warnings, error)) { 12561 fake.uploadBuildpackMutex.Lock() 12562 defer fake.uploadBuildpackMutex.Unlock() 12563 fake.UploadBuildpackStub = stub 12564 } 12565 12566 func (fake *FakeCloudControllerClient) UploadBuildpackArgsForCall(i int) (string, string, io.Reader, int64) { 12567 fake.uploadBuildpackMutex.RLock() 12568 defer fake.uploadBuildpackMutex.RUnlock() 12569 argsForCall := fake.uploadBuildpackArgsForCall[i] 12570 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4 12571 } 12572 12573 func (fake *FakeCloudControllerClient) UploadBuildpackReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 12574 fake.uploadBuildpackMutex.Lock() 12575 defer fake.uploadBuildpackMutex.Unlock() 12576 fake.UploadBuildpackStub = nil 12577 fake.uploadBuildpackReturns = struct { 12578 result1 ccv3.JobURL 12579 result2 ccv3.Warnings 12580 result3 error 12581 }{result1, result2, result3} 12582 } 12583 12584 func (fake *FakeCloudControllerClient) UploadBuildpackReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 12585 fake.uploadBuildpackMutex.Lock() 12586 defer fake.uploadBuildpackMutex.Unlock() 12587 fake.UploadBuildpackStub = nil 12588 if fake.uploadBuildpackReturnsOnCall == nil { 12589 fake.uploadBuildpackReturnsOnCall = make(map[int]struct { 12590 result1 ccv3.JobURL 12591 result2 ccv3.Warnings 12592 result3 error 12593 }) 12594 } 12595 fake.uploadBuildpackReturnsOnCall[i] = struct { 12596 result1 ccv3.JobURL 12597 result2 ccv3.Warnings 12598 result3 error 12599 }{result1, result2, result3} 12600 } 12601 12602 func (fake *FakeCloudControllerClient) UploadDropletBits(arg1 string, arg2 string, arg3 io.Reader, arg4 int64) (ccv3.JobURL, ccv3.Warnings, error) { 12603 fake.uploadDropletBitsMutex.Lock() 12604 ret, specificReturn := fake.uploadDropletBitsReturnsOnCall[len(fake.uploadDropletBitsArgsForCall)] 12605 fake.uploadDropletBitsArgsForCall = append(fake.uploadDropletBitsArgsForCall, struct { 12606 arg1 string 12607 arg2 string 12608 arg3 io.Reader 12609 arg4 int64 12610 }{arg1, arg2, arg3, arg4}) 12611 fake.recordInvocation("UploadDropletBits", []interface{}{arg1, arg2, arg3, arg4}) 12612 fake.uploadDropletBitsMutex.Unlock() 12613 if fake.UploadDropletBitsStub != nil { 12614 return fake.UploadDropletBitsStub(arg1, arg2, arg3, arg4) 12615 } 12616 if specificReturn { 12617 return ret.result1, ret.result2, ret.result3 12618 } 12619 fakeReturns := fake.uploadDropletBitsReturns 12620 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 12621 } 12622 12623 func (fake *FakeCloudControllerClient) UploadDropletBitsCallCount() int { 12624 fake.uploadDropletBitsMutex.RLock() 12625 defer fake.uploadDropletBitsMutex.RUnlock() 12626 return len(fake.uploadDropletBitsArgsForCall) 12627 } 12628 12629 func (fake *FakeCloudControllerClient) UploadDropletBitsCalls(stub func(string, string, io.Reader, int64) (ccv3.JobURL, ccv3.Warnings, error)) { 12630 fake.uploadDropletBitsMutex.Lock() 12631 defer fake.uploadDropletBitsMutex.Unlock() 12632 fake.UploadDropletBitsStub = stub 12633 } 12634 12635 func (fake *FakeCloudControllerClient) UploadDropletBitsArgsForCall(i int) (string, string, io.Reader, int64) { 12636 fake.uploadDropletBitsMutex.RLock() 12637 defer fake.uploadDropletBitsMutex.RUnlock() 12638 argsForCall := fake.uploadDropletBitsArgsForCall[i] 12639 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4 12640 } 12641 12642 func (fake *FakeCloudControllerClient) UploadDropletBitsReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 12643 fake.uploadDropletBitsMutex.Lock() 12644 defer fake.uploadDropletBitsMutex.Unlock() 12645 fake.UploadDropletBitsStub = nil 12646 fake.uploadDropletBitsReturns = struct { 12647 result1 ccv3.JobURL 12648 result2 ccv3.Warnings 12649 result3 error 12650 }{result1, result2, result3} 12651 } 12652 12653 func (fake *FakeCloudControllerClient) UploadDropletBitsReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 12654 fake.uploadDropletBitsMutex.Lock() 12655 defer fake.uploadDropletBitsMutex.Unlock() 12656 fake.UploadDropletBitsStub = nil 12657 if fake.uploadDropletBitsReturnsOnCall == nil { 12658 fake.uploadDropletBitsReturnsOnCall = make(map[int]struct { 12659 result1 ccv3.JobURL 12660 result2 ccv3.Warnings 12661 result3 error 12662 }) 12663 } 12664 fake.uploadDropletBitsReturnsOnCall[i] = struct { 12665 result1 ccv3.JobURL 12666 result2 ccv3.Warnings 12667 result3 error 12668 }{result1, result2, result3} 12669 } 12670 12671 func (fake *FakeCloudControllerClient) UploadPackage(arg1 ccv3.Package, arg2 string) (ccv3.Package, ccv3.Warnings, error) { 12672 fake.uploadPackageMutex.Lock() 12673 ret, specificReturn := fake.uploadPackageReturnsOnCall[len(fake.uploadPackageArgsForCall)] 12674 fake.uploadPackageArgsForCall = append(fake.uploadPackageArgsForCall, struct { 12675 arg1 ccv3.Package 12676 arg2 string 12677 }{arg1, arg2}) 12678 fake.recordInvocation("UploadPackage", []interface{}{arg1, arg2}) 12679 fake.uploadPackageMutex.Unlock() 12680 if fake.UploadPackageStub != nil { 12681 return fake.UploadPackageStub(arg1, arg2) 12682 } 12683 if specificReturn { 12684 return ret.result1, ret.result2, ret.result3 12685 } 12686 fakeReturns := fake.uploadPackageReturns 12687 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 12688 } 12689 12690 func (fake *FakeCloudControllerClient) UploadPackageCallCount() int { 12691 fake.uploadPackageMutex.RLock() 12692 defer fake.uploadPackageMutex.RUnlock() 12693 return len(fake.uploadPackageArgsForCall) 12694 } 12695 12696 func (fake *FakeCloudControllerClient) UploadPackageCalls(stub func(ccv3.Package, string) (ccv3.Package, ccv3.Warnings, error)) { 12697 fake.uploadPackageMutex.Lock() 12698 defer fake.uploadPackageMutex.Unlock() 12699 fake.UploadPackageStub = stub 12700 } 12701 12702 func (fake *FakeCloudControllerClient) UploadPackageArgsForCall(i int) (ccv3.Package, string) { 12703 fake.uploadPackageMutex.RLock() 12704 defer fake.uploadPackageMutex.RUnlock() 12705 argsForCall := fake.uploadPackageArgsForCall[i] 12706 return argsForCall.arg1, argsForCall.arg2 12707 } 12708 12709 func (fake *FakeCloudControllerClient) UploadPackageReturns(result1 ccv3.Package, result2 ccv3.Warnings, result3 error) { 12710 fake.uploadPackageMutex.Lock() 12711 defer fake.uploadPackageMutex.Unlock() 12712 fake.UploadPackageStub = nil 12713 fake.uploadPackageReturns = struct { 12714 result1 ccv3.Package 12715 result2 ccv3.Warnings 12716 result3 error 12717 }{result1, result2, result3} 12718 } 12719 12720 func (fake *FakeCloudControllerClient) UploadPackageReturnsOnCall(i int, result1 ccv3.Package, result2 ccv3.Warnings, result3 error) { 12721 fake.uploadPackageMutex.Lock() 12722 defer fake.uploadPackageMutex.Unlock() 12723 fake.UploadPackageStub = nil 12724 if fake.uploadPackageReturnsOnCall == nil { 12725 fake.uploadPackageReturnsOnCall = make(map[int]struct { 12726 result1 ccv3.Package 12727 result2 ccv3.Warnings 12728 result3 error 12729 }) 12730 } 12731 fake.uploadPackageReturnsOnCall[i] = struct { 12732 result1 ccv3.Package 12733 result2 ccv3.Warnings 12734 result3 error 12735 }{result1, result2, result3} 12736 } 12737 12738 func (fake *FakeCloudControllerClient) Invocations() map[string][][]interface{} { 12739 fake.invocationsMutex.RLock() 12740 defer fake.invocationsMutex.RUnlock() 12741 fake.appSSHEndpointMutex.RLock() 12742 defer fake.appSSHEndpointMutex.RUnlock() 12743 fake.appSSHHostKeyFingerprintMutex.RLock() 12744 defer fake.appSSHHostKeyFingerprintMutex.RUnlock() 12745 fake.applyOrganizationQuotaMutex.RLock() 12746 defer fake.applyOrganizationQuotaMutex.RUnlock() 12747 fake.applySpaceQuotaMutex.RLock() 12748 defer fake.applySpaceQuotaMutex.RUnlock() 12749 fake.cancelDeploymentMutex.RLock() 12750 defer fake.cancelDeploymentMutex.RUnlock() 12751 fake.checkRouteMutex.RLock() 12752 defer fake.checkRouteMutex.RUnlock() 12753 fake.cloudControllerAPIVersionMutex.RLock() 12754 defer fake.cloudControllerAPIVersionMutex.RUnlock() 12755 fake.copyPackageMutex.RLock() 12756 defer fake.copyPackageMutex.RUnlock() 12757 fake.createApplicationMutex.RLock() 12758 defer fake.createApplicationMutex.RUnlock() 12759 fake.createApplicationDeploymentMutex.RLock() 12760 defer fake.createApplicationDeploymentMutex.RUnlock() 12761 fake.createApplicationDeploymentByRevisionMutex.RLock() 12762 defer fake.createApplicationDeploymentByRevisionMutex.RUnlock() 12763 fake.createApplicationProcessScaleMutex.RLock() 12764 defer fake.createApplicationProcessScaleMutex.RUnlock() 12765 fake.createApplicationTaskMutex.RLock() 12766 defer fake.createApplicationTaskMutex.RUnlock() 12767 fake.createBuildMutex.RLock() 12768 defer fake.createBuildMutex.RUnlock() 12769 fake.createBuildpackMutex.RLock() 12770 defer fake.createBuildpackMutex.RUnlock() 12771 fake.createDomainMutex.RLock() 12772 defer fake.createDomainMutex.RUnlock() 12773 fake.createDropletMutex.RLock() 12774 defer fake.createDropletMutex.RUnlock() 12775 fake.createIsolationSegmentMutex.RLock() 12776 defer fake.createIsolationSegmentMutex.RUnlock() 12777 fake.createOrganizationMutex.RLock() 12778 defer fake.createOrganizationMutex.RUnlock() 12779 fake.createOrganizationQuotaMutex.RLock() 12780 defer fake.createOrganizationQuotaMutex.RUnlock() 12781 fake.createPackageMutex.RLock() 12782 defer fake.createPackageMutex.RUnlock() 12783 fake.createRoleMutex.RLock() 12784 defer fake.createRoleMutex.RUnlock() 12785 fake.createRouteMutex.RLock() 12786 defer fake.createRouteMutex.RUnlock() 12787 fake.createSecurityGroupMutex.RLock() 12788 defer fake.createSecurityGroupMutex.RUnlock() 12789 fake.createServiceBrokerMutex.RLock() 12790 defer fake.createServiceBrokerMutex.RUnlock() 12791 fake.createSpaceMutex.RLock() 12792 defer fake.createSpaceMutex.RUnlock() 12793 fake.createSpaceQuotaMutex.RLock() 12794 defer fake.createSpaceQuotaMutex.RUnlock() 12795 fake.createUserMutex.RLock() 12796 defer fake.createUserMutex.RUnlock() 12797 fake.deleteApplicationMutex.RLock() 12798 defer fake.deleteApplicationMutex.RUnlock() 12799 fake.deleteApplicationProcessInstanceMutex.RLock() 12800 defer fake.deleteApplicationProcessInstanceMutex.RUnlock() 12801 fake.deleteBuildpackMutex.RLock() 12802 defer fake.deleteBuildpackMutex.RUnlock() 12803 fake.deleteDomainMutex.RLock() 12804 defer fake.deleteDomainMutex.RUnlock() 12805 fake.deleteIsolationSegmentMutex.RLock() 12806 defer fake.deleteIsolationSegmentMutex.RUnlock() 12807 fake.deleteIsolationSegmentOrganizationMutex.RLock() 12808 defer fake.deleteIsolationSegmentOrganizationMutex.RUnlock() 12809 fake.deleteOrganizationMutex.RLock() 12810 defer fake.deleteOrganizationMutex.RUnlock() 12811 fake.deleteOrganizationQuotaMutex.RLock() 12812 defer fake.deleteOrganizationQuotaMutex.RUnlock() 12813 fake.deleteOrphanedRoutesMutex.RLock() 12814 defer fake.deleteOrphanedRoutesMutex.RUnlock() 12815 fake.deleteRoleMutex.RLock() 12816 defer fake.deleteRoleMutex.RUnlock() 12817 fake.deleteRouteMutex.RLock() 12818 defer fake.deleteRouteMutex.RUnlock() 12819 fake.deleteSecurityGroupMutex.RLock() 12820 defer fake.deleteSecurityGroupMutex.RUnlock() 12821 fake.deleteServiceBrokerMutex.RLock() 12822 defer fake.deleteServiceBrokerMutex.RUnlock() 12823 fake.deleteServiceInstanceRelationshipsSharedSpaceMutex.RLock() 12824 defer fake.deleteServiceInstanceRelationshipsSharedSpaceMutex.RUnlock() 12825 fake.deleteServicePlanVisibilityMutex.RLock() 12826 defer fake.deleteServicePlanVisibilityMutex.RUnlock() 12827 fake.deleteSpaceMutex.RLock() 12828 defer fake.deleteSpaceMutex.RUnlock() 12829 fake.deleteSpaceQuotaMutex.RLock() 12830 defer fake.deleteSpaceQuotaMutex.RUnlock() 12831 fake.deleteUserMutex.RLock() 12832 defer fake.deleteUserMutex.RUnlock() 12833 fake.downloadDropletMutex.RLock() 12834 defer fake.downloadDropletMutex.RUnlock() 12835 fake.entitleIsolationSegmentToOrganizationsMutex.RLock() 12836 defer fake.entitleIsolationSegmentToOrganizationsMutex.RUnlock() 12837 fake.getAppFeatureMutex.RLock() 12838 defer fake.getAppFeatureMutex.RUnlock() 12839 fake.getApplicationByNameAndSpaceMutex.RLock() 12840 defer fake.getApplicationByNameAndSpaceMutex.RUnlock() 12841 fake.getApplicationDropletCurrentMutex.RLock() 12842 defer fake.getApplicationDropletCurrentMutex.RUnlock() 12843 fake.getApplicationEnvironmentMutex.RLock() 12844 defer fake.getApplicationEnvironmentMutex.RUnlock() 12845 fake.getApplicationManifestMutex.RLock() 12846 defer fake.getApplicationManifestMutex.RUnlock() 12847 fake.getApplicationProcessByTypeMutex.RLock() 12848 defer fake.getApplicationProcessByTypeMutex.RUnlock() 12849 fake.getApplicationProcessesMutex.RLock() 12850 defer fake.getApplicationProcessesMutex.RUnlock() 12851 fake.getApplicationRevisionsMutex.RLock() 12852 defer fake.getApplicationRevisionsMutex.RUnlock() 12853 fake.getApplicationRoutesMutex.RLock() 12854 defer fake.getApplicationRoutesMutex.RUnlock() 12855 fake.getApplicationTasksMutex.RLock() 12856 defer fake.getApplicationTasksMutex.RUnlock() 12857 fake.getApplicationsMutex.RLock() 12858 defer fake.getApplicationsMutex.RUnlock() 12859 fake.getBuildMutex.RLock() 12860 defer fake.getBuildMutex.RUnlock() 12861 fake.getBuildpacksMutex.RLock() 12862 defer fake.getBuildpacksMutex.RUnlock() 12863 fake.getDefaultDomainMutex.RLock() 12864 defer fake.getDefaultDomainMutex.RUnlock() 12865 fake.getDeploymentMutex.RLock() 12866 defer fake.getDeploymentMutex.RUnlock() 12867 fake.getDeploymentsMutex.RLock() 12868 defer fake.getDeploymentsMutex.RUnlock() 12869 fake.getDomainMutex.RLock() 12870 defer fake.getDomainMutex.RUnlock() 12871 fake.getDomainsMutex.RLock() 12872 defer fake.getDomainsMutex.RUnlock() 12873 fake.getDropletMutex.RLock() 12874 defer fake.getDropletMutex.RUnlock() 12875 fake.getDropletsMutex.RLock() 12876 defer fake.getDropletsMutex.RUnlock() 12877 fake.getEnvironmentVariableGroupMutex.RLock() 12878 defer fake.getEnvironmentVariableGroupMutex.RUnlock() 12879 fake.getEventsMutex.RLock() 12880 defer fake.getEventsMutex.RUnlock() 12881 fake.getFeatureFlagMutex.RLock() 12882 defer fake.getFeatureFlagMutex.RUnlock() 12883 fake.getFeatureFlagsMutex.RLock() 12884 defer fake.getFeatureFlagsMutex.RUnlock() 12885 fake.getInfoMutex.RLock() 12886 defer fake.getInfoMutex.RUnlock() 12887 fake.getIsolationSegmentMutex.RLock() 12888 defer fake.getIsolationSegmentMutex.RUnlock() 12889 fake.getIsolationSegmentOrganizationsMutex.RLock() 12890 defer fake.getIsolationSegmentOrganizationsMutex.RUnlock() 12891 fake.getIsolationSegmentsMutex.RLock() 12892 defer fake.getIsolationSegmentsMutex.RUnlock() 12893 fake.getNewApplicationProcessesMutex.RLock() 12894 defer fake.getNewApplicationProcessesMutex.RUnlock() 12895 fake.getOrganizationMutex.RLock() 12896 defer fake.getOrganizationMutex.RUnlock() 12897 fake.getOrganizationDefaultIsolationSegmentMutex.RLock() 12898 defer fake.getOrganizationDefaultIsolationSegmentMutex.RUnlock() 12899 fake.getOrganizationDomainsMutex.RLock() 12900 defer fake.getOrganizationDomainsMutex.RUnlock() 12901 fake.getOrganizationQuotaMutex.RLock() 12902 defer fake.getOrganizationQuotaMutex.RUnlock() 12903 fake.getOrganizationQuotasMutex.RLock() 12904 defer fake.getOrganizationQuotasMutex.RUnlock() 12905 fake.getOrganizationsMutex.RLock() 12906 defer fake.getOrganizationsMutex.RUnlock() 12907 fake.getPackageMutex.RLock() 12908 defer fake.getPackageMutex.RUnlock() 12909 fake.getPackageDropletsMutex.RLock() 12910 defer fake.getPackageDropletsMutex.RUnlock() 12911 fake.getPackagesMutex.RLock() 12912 defer fake.getPackagesMutex.RUnlock() 12913 fake.getProcessMutex.RLock() 12914 defer fake.getProcessMutex.RUnlock() 12915 fake.getProcessInstancesMutex.RLock() 12916 defer fake.getProcessInstancesMutex.RUnlock() 12917 fake.getProcessSidecarsMutex.RLock() 12918 defer fake.getProcessSidecarsMutex.RUnlock() 12919 fake.getProcessesMutex.RLock() 12920 defer fake.getProcessesMutex.RUnlock() 12921 fake.getRolesMutex.RLock() 12922 defer fake.getRolesMutex.RUnlock() 12923 fake.getRouteDestinationsMutex.RLock() 12924 defer fake.getRouteDestinationsMutex.RUnlock() 12925 fake.getRoutesMutex.RLock() 12926 defer fake.getRoutesMutex.RUnlock() 12927 fake.getRunningSecurityGroupsMutex.RLock() 12928 defer fake.getRunningSecurityGroupsMutex.RUnlock() 12929 fake.getSSHEnabledMutex.RLock() 12930 defer fake.getSSHEnabledMutex.RUnlock() 12931 fake.getSecurityGroupsMutex.RLock() 12932 defer fake.getSecurityGroupsMutex.RUnlock() 12933 fake.getServiceBrokersMutex.RLock() 12934 defer fake.getServiceBrokersMutex.RUnlock() 12935 fake.getServiceInstancesMutex.RLock() 12936 defer fake.getServiceInstancesMutex.RUnlock() 12937 fake.getServiceOfferingByNameAndBrokerMutex.RLock() 12938 defer fake.getServiceOfferingByNameAndBrokerMutex.RUnlock() 12939 fake.getServiceOfferingsMutex.RLock() 12940 defer fake.getServiceOfferingsMutex.RUnlock() 12941 fake.getServicePlanVisibilityMutex.RLock() 12942 defer fake.getServicePlanVisibilityMutex.RUnlock() 12943 fake.getServicePlansMutex.RLock() 12944 defer fake.getServicePlansMutex.RUnlock() 12945 fake.getServicePlansWithOfferingsMutex.RLock() 12946 defer fake.getServicePlansWithOfferingsMutex.RUnlock() 12947 fake.getServicePlansWithSpaceAndOrganizationMutex.RLock() 12948 defer fake.getServicePlansWithSpaceAndOrganizationMutex.RUnlock() 12949 fake.getSpaceFeatureMutex.RLock() 12950 defer fake.getSpaceFeatureMutex.RUnlock() 12951 fake.getSpaceIsolationSegmentMutex.RLock() 12952 defer fake.getSpaceIsolationSegmentMutex.RUnlock() 12953 fake.getSpaceQuotaMutex.RLock() 12954 defer fake.getSpaceQuotaMutex.RUnlock() 12955 fake.getSpaceQuotasMutex.RLock() 12956 defer fake.getSpaceQuotasMutex.RUnlock() 12957 fake.getSpacesMutex.RLock() 12958 defer fake.getSpacesMutex.RUnlock() 12959 fake.getStacksMutex.RLock() 12960 defer fake.getStacksMutex.RUnlock() 12961 fake.getStagingSecurityGroupsMutex.RLock() 12962 defer fake.getStagingSecurityGroupsMutex.RUnlock() 12963 fake.getUserMutex.RLock() 12964 defer fake.getUserMutex.RUnlock() 12965 fake.getUsersMutex.RLock() 12966 defer fake.getUsersMutex.RUnlock() 12967 fake.mapRouteMutex.RLock() 12968 defer fake.mapRouteMutex.RUnlock() 12969 fake.pollJobMutex.RLock() 12970 defer fake.pollJobMutex.RUnlock() 12971 fake.purgeServiceOfferingMutex.RLock() 12972 defer fake.purgeServiceOfferingMutex.RUnlock() 12973 fake.resourceMatchMutex.RLock() 12974 defer fake.resourceMatchMutex.RUnlock() 12975 fake.rootResponseMutex.RLock() 12976 defer fake.rootResponseMutex.RUnlock() 12977 fake.setApplicationDropletMutex.RLock() 12978 defer fake.setApplicationDropletMutex.RUnlock() 12979 fake.sharePrivateDomainToOrgsMutex.RLock() 12980 defer fake.sharePrivateDomainToOrgsMutex.RUnlock() 12981 fake.shareServiceInstanceToSpacesMutex.RLock() 12982 defer fake.shareServiceInstanceToSpacesMutex.RUnlock() 12983 fake.targetCFMutex.RLock() 12984 defer fake.targetCFMutex.RUnlock() 12985 fake.unbindSecurityGroupRunningSpaceMutex.RLock() 12986 defer fake.unbindSecurityGroupRunningSpaceMutex.RUnlock() 12987 fake.unbindSecurityGroupStagingSpaceMutex.RLock() 12988 defer fake.unbindSecurityGroupStagingSpaceMutex.RUnlock() 12989 fake.unmapRouteMutex.RLock() 12990 defer fake.unmapRouteMutex.RUnlock() 12991 fake.unsetSpaceQuotaMutex.RLock() 12992 defer fake.unsetSpaceQuotaMutex.RUnlock() 12993 fake.unsharePrivateDomainFromOrgMutex.RLock() 12994 defer fake.unsharePrivateDomainFromOrgMutex.RUnlock() 12995 fake.updateAppFeatureMutex.RLock() 12996 defer fake.updateAppFeatureMutex.RUnlock() 12997 fake.updateApplicationMutex.RLock() 12998 defer fake.updateApplicationMutex.RUnlock() 12999 fake.updateApplicationApplyManifestMutex.RLock() 13000 defer fake.updateApplicationApplyManifestMutex.RUnlock() 13001 fake.updateApplicationEnvironmentVariablesMutex.RLock() 13002 defer fake.updateApplicationEnvironmentVariablesMutex.RUnlock() 13003 fake.updateApplicationRestartMutex.RLock() 13004 defer fake.updateApplicationRestartMutex.RUnlock() 13005 fake.updateApplicationStartMutex.RLock() 13006 defer fake.updateApplicationStartMutex.RUnlock() 13007 fake.updateApplicationStopMutex.RLock() 13008 defer fake.updateApplicationStopMutex.RUnlock() 13009 fake.updateBuildpackMutex.RLock() 13010 defer fake.updateBuildpackMutex.RUnlock() 13011 fake.updateEnvironmentVariableGroupMutex.RLock() 13012 defer fake.updateEnvironmentVariableGroupMutex.RUnlock() 13013 fake.updateFeatureFlagMutex.RLock() 13014 defer fake.updateFeatureFlagMutex.RUnlock() 13015 fake.updateOrganizationMutex.RLock() 13016 defer fake.updateOrganizationMutex.RUnlock() 13017 fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.RLock() 13018 defer fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.RUnlock() 13019 fake.updateOrganizationQuotaMutex.RLock() 13020 defer fake.updateOrganizationQuotaMutex.RUnlock() 13021 fake.updateProcessMutex.RLock() 13022 defer fake.updateProcessMutex.RUnlock() 13023 fake.updateResourceMetadataMutex.RLock() 13024 defer fake.updateResourceMetadataMutex.RUnlock() 13025 fake.updateSecurityGroupMutex.RLock() 13026 defer fake.updateSecurityGroupMutex.RUnlock() 13027 fake.updateSecurityGroupRunningSpaceMutex.RLock() 13028 defer fake.updateSecurityGroupRunningSpaceMutex.RUnlock() 13029 fake.updateSecurityGroupStagingSpaceMutex.RLock() 13030 defer fake.updateSecurityGroupStagingSpaceMutex.RUnlock() 13031 fake.updateServiceBrokerMutex.RLock() 13032 defer fake.updateServiceBrokerMutex.RUnlock() 13033 fake.updateServicePlanVisibilityMutex.RLock() 13034 defer fake.updateServicePlanVisibilityMutex.RUnlock() 13035 fake.updateSpaceMutex.RLock() 13036 defer fake.updateSpaceMutex.RUnlock() 13037 fake.updateSpaceApplyManifestMutex.RLock() 13038 defer fake.updateSpaceApplyManifestMutex.RUnlock() 13039 fake.updateSpaceFeatureMutex.RLock() 13040 defer fake.updateSpaceFeatureMutex.RUnlock() 13041 fake.updateSpaceIsolationSegmentRelationshipMutex.RLock() 13042 defer fake.updateSpaceIsolationSegmentRelationshipMutex.RUnlock() 13043 fake.updateSpaceQuotaMutex.RLock() 13044 defer fake.updateSpaceQuotaMutex.RUnlock() 13045 fake.updateTaskCancelMutex.RLock() 13046 defer fake.updateTaskCancelMutex.RUnlock() 13047 fake.uploadBitsPackageMutex.RLock() 13048 defer fake.uploadBitsPackageMutex.RUnlock() 13049 fake.uploadBuildpackMutex.RLock() 13050 defer fake.uploadBuildpackMutex.RUnlock() 13051 fake.uploadDropletBitsMutex.RLock() 13052 defer fake.uploadDropletBitsMutex.RUnlock() 13053 fake.uploadPackageMutex.RLock() 13054 defer fake.uploadPackageMutex.RUnlock() 13055 copiedInvocations := map[string][][]interface{}{} 13056 for key, value := range fake.invocations { 13057 copiedInvocations[key] = value 13058 } 13059 return copiedInvocations 13060 } 13061 13062 func (fake *FakeCloudControllerClient) recordInvocation(key string, args []interface{}) { 13063 fake.invocationsMutex.Lock() 13064 defer fake.invocationsMutex.Unlock() 13065 if fake.invocations == nil { 13066 fake.invocations = map[string][][]interface{}{} 13067 } 13068 if fake.invocations[key] == nil { 13069 fake.invocations[key] = [][]interface{}{} 13070 } 13071 fake.invocations[key] = append(fake.invocations[key], args) 13072 } 13073 13074 var _ v7action.CloudControllerClient = new(FakeCloudControllerClient)