github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/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 "net/http" 7 "sync" 8 9 "code.cloudfoundry.org/cli/actor/v7action" 10 "code.cloudfoundry.org/cli/api/cloudcontroller/ccv3" 11 "code.cloudfoundry.org/cli/api/cloudcontroller/ccv3/constant" 12 "code.cloudfoundry.org/cli/resources" 13 "code.cloudfoundry.org/cli/types" 14 ) 15 16 type FakeCloudControllerClient struct { 17 ApplyOrganizationQuotaStub func(string, string) (resources.RelationshipList, ccv3.Warnings, error) 18 applyOrganizationQuotaMutex sync.RWMutex 19 applyOrganizationQuotaArgsForCall []struct { 20 arg1 string 21 arg2 string 22 } 23 applyOrganizationQuotaReturns struct { 24 result1 resources.RelationshipList 25 result2 ccv3.Warnings 26 result3 error 27 } 28 applyOrganizationQuotaReturnsOnCall map[int]struct { 29 result1 resources.RelationshipList 30 result2 ccv3.Warnings 31 result3 error 32 } 33 ApplySpaceQuotaStub func(string, string) (resources.RelationshipList, ccv3.Warnings, error) 34 applySpaceQuotaMutex sync.RWMutex 35 applySpaceQuotaArgsForCall []struct { 36 arg1 string 37 arg2 string 38 } 39 applySpaceQuotaReturns struct { 40 result1 resources.RelationshipList 41 result2 ccv3.Warnings 42 result3 error 43 } 44 applySpaceQuotaReturnsOnCall map[int]struct { 45 result1 resources.RelationshipList 46 result2 ccv3.Warnings 47 result3 error 48 } 49 CancelDeploymentStub func(string) (ccv3.Warnings, error) 50 cancelDeploymentMutex sync.RWMutex 51 cancelDeploymentArgsForCall []struct { 52 arg1 string 53 } 54 cancelDeploymentReturns struct { 55 result1 ccv3.Warnings 56 result2 error 57 } 58 cancelDeploymentReturnsOnCall map[int]struct { 59 result1 ccv3.Warnings 60 result2 error 61 } 62 CheckRouteStub func(string, string, string, int) (bool, ccv3.Warnings, error) 63 checkRouteMutex sync.RWMutex 64 checkRouteArgsForCall []struct { 65 arg1 string 66 arg2 string 67 arg3 string 68 arg4 int 69 } 70 checkRouteReturns struct { 71 result1 bool 72 result2 ccv3.Warnings 73 result3 error 74 } 75 checkRouteReturnsOnCall map[int]struct { 76 result1 bool 77 result2 ccv3.Warnings 78 result3 error 79 } 80 CopyPackageStub func(string, string) (resources.Package, ccv3.Warnings, error) 81 copyPackageMutex sync.RWMutex 82 copyPackageArgsForCall []struct { 83 arg1 string 84 arg2 string 85 } 86 copyPackageReturns struct { 87 result1 resources.Package 88 result2 ccv3.Warnings 89 result3 error 90 } 91 copyPackageReturnsOnCall map[int]struct { 92 result1 resources.Package 93 result2 ccv3.Warnings 94 result3 error 95 } 96 CreateApplicationStub func(resources.Application) (resources.Application, ccv3.Warnings, error) 97 createApplicationMutex sync.RWMutex 98 createApplicationArgsForCall []struct { 99 arg1 resources.Application 100 } 101 createApplicationReturns struct { 102 result1 resources.Application 103 result2 ccv3.Warnings 104 result3 error 105 } 106 createApplicationReturnsOnCall map[int]struct { 107 result1 resources.Application 108 result2 ccv3.Warnings 109 result3 error 110 } 111 CreateApplicationDeploymentStub func(string, string) (string, ccv3.Warnings, error) 112 createApplicationDeploymentMutex sync.RWMutex 113 createApplicationDeploymentArgsForCall []struct { 114 arg1 string 115 arg2 string 116 } 117 createApplicationDeploymentReturns struct { 118 result1 string 119 result2 ccv3.Warnings 120 result3 error 121 } 122 createApplicationDeploymentReturnsOnCall map[int]struct { 123 result1 string 124 result2 ccv3.Warnings 125 result3 error 126 } 127 CreateApplicationDeploymentByRevisionStub func(string, string) (string, ccv3.Warnings, error) 128 createApplicationDeploymentByRevisionMutex sync.RWMutex 129 createApplicationDeploymentByRevisionArgsForCall []struct { 130 arg1 string 131 arg2 string 132 } 133 createApplicationDeploymentByRevisionReturns struct { 134 result1 string 135 result2 ccv3.Warnings 136 result3 error 137 } 138 createApplicationDeploymentByRevisionReturnsOnCall map[int]struct { 139 result1 string 140 result2 ccv3.Warnings 141 result3 error 142 } 143 CreateApplicationProcessScaleStub func(string, resources.Process) (resources.Process, ccv3.Warnings, error) 144 createApplicationProcessScaleMutex sync.RWMutex 145 createApplicationProcessScaleArgsForCall []struct { 146 arg1 string 147 arg2 resources.Process 148 } 149 createApplicationProcessScaleReturns struct { 150 result1 resources.Process 151 result2 ccv3.Warnings 152 result3 error 153 } 154 createApplicationProcessScaleReturnsOnCall map[int]struct { 155 result1 resources.Process 156 result2 ccv3.Warnings 157 result3 error 158 } 159 CreateApplicationTaskStub func(string, resources.Task) (resources.Task, ccv3.Warnings, error) 160 createApplicationTaskMutex sync.RWMutex 161 createApplicationTaskArgsForCall []struct { 162 arg1 string 163 arg2 resources.Task 164 } 165 createApplicationTaskReturns struct { 166 result1 resources.Task 167 result2 ccv3.Warnings 168 result3 error 169 } 170 createApplicationTaskReturnsOnCall map[int]struct { 171 result1 resources.Task 172 result2 ccv3.Warnings 173 result3 error 174 } 175 CreateBuildStub func(resources.Build) (resources.Build, ccv3.Warnings, error) 176 createBuildMutex sync.RWMutex 177 createBuildArgsForCall []struct { 178 arg1 resources.Build 179 } 180 createBuildReturns struct { 181 result1 resources.Build 182 result2 ccv3.Warnings 183 result3 error 184 } 185 createBuildReturnsOnCall map[int]struct { 186 result1 resources.Build 187 result2 ccv3.Warnings 188 result3 error 189 } 190 CreateBuildpackStub func(resources.Buildpack) (resources.Buildpack, ccv3.Warnings, error) 191 createBuildpackMutex sync.RWMutex 192 createBuildpackArgsForCall []struct { 193 arg1 resources.Buildpack 194 } 195 createBuildpackReturns struct { 196 result1 resources.Buildpack 197 result2 ccv3.Warnings 198 result3 error 199 } 200 createBuildpackReturnsOnCall map[int]struct { 201 result1 resources.Buildpack 202 result2 ccv3.Warnings 203 result3 error 204 } 205 CreateDomainStub func(resources.Domain) (resources.Domain, ccv3.Warnings, error) 206 createDomainMutex sync.RWMutex 207 createDomainArgsForCall []struct { 208 arg1 resources.Domain 209 } 210 createDomainReturns struct { 211 result1 resources.Domain 212 result2 ccv3.Warnings 213 result3 error 214 } 215 createDomainReturnsOnCall map[int]struct { 216 result1 resources.Domain 217 result2 ccv3.Warnings 218 result3 error 219 } 220 CreateDropletStub func(string) (resources.Droplet, ccv3.Warnings, error) 221 createDropletMutex sync.RWMutex 222 createDropletArgsForCall []struct { 223 arg1 string 224 } 225 createDropletReturns struct { 226 result1 resources.Droplet 227 result2 ccv3.Warnings 228 result3 error 229 } 230 createDropletReturnsOnCall map[int]struct { 231 result1 resources.Droplet 232 result2 ccv3.Warnings 233 result3 error 234 } 235 CreateIsolationSegmentStub func(resources.IsolationSegment) (resources.IsolationSegment, ccv3.Warnings, error) 236 createIsolationSegmentMutex sync.RWMutex 237 createIsolationSegmentArgsForCall []struct { 238 arg1 resources.IsolationSegment 239 } 240 createIsolationSegmentReturns struct { 241 result1 resources.IsolationSegment 242 result2 ccv3.Warnings 243 result3 error 244 } 245 createIsolationSegmentReturnsOnCall map[int]struct { 246 result1 resources.IsolationSegment 247 result2 ccv3.Warnings 248 result3 error 249 } 250 CreateOrganizationStub func(string) (resources.Organization, ccv3.Warnings, error) 251 createOrganizationMutex sync.RWMutex 252 createOrganizationArgsForCall []struct { 253 arg1 string 254 } 255 createOrganizationReturns struct { 256 result1 resources.Organization 257 result2 ccv3.Warnings 258 result3 error 259 } 260 createOrganizationReturnsOnCall map[int]struct { 261 result1 resources.Organization 262 result2 ccv3.Warnings 263 result3 error 264 } 265 CreateOrganizationQuotaStub func(resources.OrganizationQuota) (resources.OrganizationQuota, ccv3.Warnings, error) 266 createOrganizationQuotaMutex sync.RWMutex 267 createOrganizationQuotaArgsForCall []struct { 268 arg1 resources.OrganizationQuota 269 } 270 createOrganizationQuotaReturns struct { 271 result1 resources.OrganizationQuota 272 result2 ccv3.Warnings 273 result3 error 274 } 275 createOrganizationQuotaReturnsOnCall map[int]struct { 276 result1 resources.OrganizationQuota 277 result2 ccv3.Warnings 278 result3 error 279 } 280 CreatePackageStub func(resources.Package) (resources.Package, ccv3.Warnings, error) 281 createPackageMutex sync.RWMutex 282 createPackageArgsForCall []struct { 283 arg1 resources.Package 284 } 285 createPackageReturns struct { 286 result1 resources.Package 287 result2 ccv3.Warnings 288 result3 error 289 } 290 createPackageReturnsOnCall map[int]struct { 291 result1 resources.Package 292 result2 ccv3.Warnings 293 result3 error 294 } 295 CreateRoleStub func(resources.Role) (resources.Role, ccv3.Warnings, error) 296 createRoleMutex sync.RWMutex 297 createRoleArgsForCall []struct { 298 arg1 resources.Role 299 } 300 createRoleReturns struct { 301 result1 resources.Role 302 result2 ccv3.Warnings 303 result3 error 304 } 305 createRoleReturnsOnCall map[int]struct { 306 result1 resources.Role 307 result2 ccv3.Warnings 308 result3 error 309 } 310 CreateRouteStub func(resources.Route) (resources.Route, ccv3.Warnings, error) 311 createRouteMutex sync.RWMutex 312 createRouteArgsForCall []struct { 313 arg1 resources.Route 314 } 315 createRouteReturns struct { 316 result1 resources.Route 317 result2 ccv3.Warnings 318 result3 error 319 } 320 createRouteReturnsOnCall map[int]struct { 321 result1 resources.Route 322 result2 ccv3.Warnings 323 result3 error 324 } 325 CreateRouteBindingStub func(resources.RouteBinding) (ccv3.JobURL, ccv3.Warnings, error) 326 createRouteBindingMutex sync.RWMutex 327 createRouteBindingArgsForCall []struct { 328 arg1 resources.RouteBinding 329 } 330 createRouteBindingReturns struct { 331 result1 ccv3.JobURL 332 result2 ccv3.Warnings 333 result3 error 334 } 335 createRouteBindingReturnsOnCall map[int]struct { 336 result1 ccv3.JobURL 337 result2 ccv3.Warnings 338 result3 error 339 } 340 CreateSecurityGroupStub func(resources.SecurityGroup) (resources.SecurityGroup, ccv3.Warnings, error) 341 createSecurityGroupMutex sync.RWMutex 342 createSecurityGroupArgsForCall []struct { 343 arg1 resources.SecurityGroup 344 } 345 createSecurityGroupReturns struct { 346 result1 resources.SecurityGroup 347 result2 ccv3.Warnings 348 result3 error 349 } 350 createSecurityGroupReturnsOnCall map[int]struct { 351 result1 resources.SecurityGroup 352 result2 ccv3.Warnings 353 result3 error 354 } 355 CreateServiceBrokerStub func(resources.ServiceBroker) (ccv3.JobURL, ccv3.Warnings, error) 356 createServiceBrokerMutex sync.RWMutex 357 createServiceBrokerArgsForCall []struct { 358 arg1 resources.ServiceBroker 359 } 360 createServiceBrokerReturns struct { 361 result1 ccv3.JobURL 362 result2 ccv3.Warnings 363 result3 error 364 } 365 createServiceBrokerReturnsOnCall map[int]struct { 366 result1 ccv3.JobURL 367 result2 ccv3.Warnings 368 result3 error 369 } 370 CreateServiceCredentialBindingStub func(resources.ServiceCredentialBinding) (ccv3.JobURL, ccv3.Warnings, error) 371 createServiceCredentialBindingMutex sync.RWMutex 372 createServiceCredentialBindingArgsForCall []struct { 373 arg1 resources.ServiceCredentialBinding 374 } 375 createServiceCredentialBindingReturns struct { 376 result1 ccv3.JobURL 377 result2 ccv3.Warnings 378 result3 error 379 } 380 createServiceCredentialBindingReturnsOnCall map[int]struct { 381 result1 ccv3.JobURL 382 result2 ccv3.Warnings 383 result3 error 384 } 385 CreateServiceInstanceStub func(resources.ServiceInstance) (ccv3.JobURL, ccv3.Warnings, error) 386 createServiceInstanceMutex sync.RWMutex 387 createServiceInstanceArgsForCall []struct { 388 arg1 resources.ServiceInstance 389 } 390 createServiceInstanceReturns struct { 391 result1 ccv3.JobURL 392 result2 ccv3.Warnings 393 result3 error 394 } 395 createServiceInstanceReturnsOnCall map[int]struct { 396 result1 ccv3.JobURL 397 result2 ccv3.Warnings 398 result3 error 399 } 400 CreateSpaceStub func(resources.Space) (resources.Space, ccv3.Warnings, error) 401 createSpaceMutex sync.RWMutex 402 createSpaceArgsForCall []struct { 403 arg1 resources.Space 404 } 405 createSpaceReturns struct { 406 result1 resources.Space 407 result2 ccv3.Warnings 408 result3 error 409 } 410 createSpaceReturnsOnCall map[int]struct { 411 result1 resources.Space 412 result2 ccv3.Warnings 413 result3 error 414 } 415 CreateSpaceQuotaStub func(resources.SpaceQuota) (resources.SpaceQuota, ccv3.Warnings, error) 416 createSpaceQuotaMutex sync.RWMutex 417 createSpaceQuotaArgsForCall []struct { 418 arg1 resources.SpaceQuota 419 } 420 createSpaceQuotaReturns struct { 421 result1 resources.SpaceQuota 422 result2 ccv3.Warnings 423 result3 error 424 } 425 createSpaceQuotaReturnsOnCall map[int]struct { 426 result1 resources.SpaceQuota 427 result2 ccv3.Warnings 428 result3 error 429 } 430 CreateUserStub func(string) (resources.User, ccv3.Warnings, error) 431 createUserMutex sync.RWMutex 432 createUserArgsForCall []struct { 433 arg1 string 434 } 435 createUserReturns struct { 436 result1 resources.User 437 result2 ccv3.Warnings 438 result3 error 439 } 440 createUserReturnsOnCall map[int]struct { 441 result1 resources.User 442 result2 ccv3.Warnings 443 result3 error 444 } 445 DeleteApplicationStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 446 deleteApplicationMutex sync.RWMutex 447 deleteApplicationArgsForCall []struct { 448 arg1 string 449 } 450 deleteApplicationReturns struct { 451 result1 ccv3.JobURL 452 result2 ccv3.Warnings 453 result3 error 454 } 455 deleteApplicationReturnsOnCall map[int]struct { 456 result1 ccv3.JobURL 457 result2 ccv3.Warnings 458 result3 error 459 } 460 DeleteApplicationProcessInstanceStub func(string, string, int) (ccv3.Warnings, error) 461 deleteApplicationProcessInstanceMutex sync.RWMutex 462 deleteApplicationProcessInstanceArgsForCall []struct { 463 arg1 string 464 arg2 string 465 arg3 int 466 } 467 deleteApplicationProcessInstanceReturns struct { 468 result1 ccv3.Warnings 469 result2 error 470 } 471 deleteApplicationProcessInstanceReturnsOnCall map[int]struct { 472 result1 ccv3.Warnings 473 result2 error 474 } 475 DeleteBuildpackStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 476 deleteBuildpackMutex sync.RWMutex 477 deleteBuildpackArgsForCall []struct { 478 arg1 string 479 } 480 deleteBuildpackReturns struct { 481 result1 ccv3.JobURL 482 result2 ccv3.Warnings 483 result3 error 484 } 485 deleteBuildpackReturnsOnCall map[int]struct { 486 result1 ccv3.JobURL 487 result2 ccv3.Warnings 488 result3 error 489 } 490 DeleteDomainStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 491 deleteDomainMutex sync.RWMutex 492 deleteDomainArgsForCall []struct { 493 arg1 string 494 } 495 deleteDomainReturns struct { 496 result1 ccv3.JobURL 497 result2 ccv3.Warnings 498 result3 error 499 } 500 deleteDomainReturnsOnCall map[int]struct { 501 result1 ccv3.JobURL 502 result2 ccv3.Warnings 503 result3 error 504 } 505 DeleteIsolationSegmentStub func(string) (ccv3.Warnings, error) 506 deleteIsolationSegmentMutex sync.RWMutex 507 deleteIsolationSegmentArgsForCall []struct { 508 arg1 string 509 } 510 deleteIsolationSegmentReturns struct { 511 result1 ccv3.Warnings 512 result2 error 513 } 514 deleteIsolationSegmentReturnsOnCall map[int]struct { 515 result1 ccv3.Warnings 516 result2 error 517 } 518 DeleteIsolationSegmentOrganizationStub func(string, string) (ccv3.Warnings, error) 519 deleteIsolationSegmentOrganizationMutex sync.RWMutex 520 deleteIsolationSegmentOrganizationArgsForCall []struct { 521 arg1 string 522 arg2 string 523 } 524 deleteIsolationSegmentOrganizationReturns struct { 525 result1 ccv3.Warnings 526 result2 error 527 } 528 deleteIsolationSegmentOrganizationReturnsOnCall map[int]struct { 529 result1 ccv3.Warnings 530 result2 error 531 } 532 DeleteOrganizationStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 533 deleteOrganizationMutex sync.RWMutex 534 deleteOrganizationArgsForCall []struct { 535 arg1 string 536 } 537 deleteOrganizationReturns struct { 538 result1 ccv3.JobURL 539 result2 ccv3.Warnings 540 result3 error 541 } 542 deleteOrganizationReturnsOnCall map[int]struct { 543 result1 ccv3.JobURL 544 result2 ccv3.Warnings 545 result3 error 546 } 547 DeleteOrganizationQuotaStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 548 deleteOrganizationQuotaMutex sync.RWMutex 549 deleteOrganizationQuotaArgsForCall []struct { 550 arg1 string 551 } 552 deleteOrganizationQuotaReturns struct { 553 result1 ccv3.JobURL 554 result2 ccv3.Warnings 555 result3 error 556 } 557 deleteOrganizationQuotaReturnsOnCall map[int]struct { 558 result1 ccv3.JobURL 559 result2 ccv3.Warnings 560 result3 error 561 } 562 DeleteOrphanedRoutesStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 563 deleteOrphanedRoutesMutex sync.RWMutex 564 deleteOrphanedRoutesArgsForCall []struct { 565 arg1 string 566 } 567 deleteOrphanedRoutesReturns struct { 568 result1 ccv3.JobURL 569 result2 ccv3.Warnings 570 result3 error 571 } 572 deleteOrphanedRoutesReturnsOnCall map[int]struct { 573 result1 ccv3.JobURL 574 result2 ccv3.Warnings 575 result3 error 576 } 577 DeleteRoleStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 578 deleteRoleMutex sync.RWMutex 579 deleteRoleArgsForCall []struct { 580 arg1 string 581 } 582 deleteRoleReturns struct { 583 result1 ccv3.JobURL 584 result2 ccv3.Warnings 585 result3 error 586 } 587 deleteRoleReturnsOnCall map[int]struct { 588 result1 ccv3.JobURL 589 result2 ccv3.Warnings 590 result3 error 591 } 592 DeleteRouteStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 593 deleteRouteMutex sync.RWMutex 594 deleteRouteArgsForCall []struct { 595 arg1 string 596 } 597 deleteRouteReturns struct { 598 result1 ccv3.JobURL 599 result2 ccv3.Warnings 600 result3 error 601 } 602 deleteRouteReturnsOnCall map[int]struct { 603 result1 ccv3.JobURL 604 result2 ccv3.Warnings 605 result3 error 606 } 607 DeleteRouteBindingStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 608 deleteRouteBindingMutex sync.RWMutex 609 deleteRouteBindingArgsForCall []struct { 610 arg1 string 611 } 612 deleteRouteBindingReturns struct { 613 result1 ccv3.JobURL 614 result2 ccv3.Warnings 615 result3 error 616 } 617 deleteRouteBindingReturnsOnCall map[int]struct { 618 result1 ccv3.JobURL 619 result2 ccv3.Warnings 620 result3 error 621 } 622 DeleteSecurityGroupStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 623 deleteSecurityGroupMutex sync.RWMutex 624 deleteSecurityGroupArgsForCall []struct { 625 arg1 string 626 } 627 deleteSecurityGroupReturns struct { 628 result1 ccv3.JobURL 629 result2 ccv3.Warnings 630 result3 error 631 } 632 deleteSecurityGroupReturnsOnCall map[int]struct { 633 result1 ccv3.JobURL 634 result2 ccv3.Warnings 635 result3 error 636 } 637 DeleteServiceBrokerStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 638 deleteServiceBrokerMutex sync.RWMutex 639 deleteServiceBrokerArgsForCall []struct { 640 arg1 string 641 } 642 deleteServiceBrokerReturns struct { 643 result1 ccv3.JobURL 644 result2 ccv3.Warnings 645 result3 error 646 } 647 deleteServiceBrokerReturnsOnCall map[int]struct { 648 result1 ccv3.JobURL 649 result2 ccv3.Warnings 650 result3 error 651 } 652 DeleteServiceCredentialBindingStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 653 deleteServiceCredentialBindingMutex sync.RWMutex 654 deleteServiceCredentialBindingArgsForCall []struct { 655 arg1 string 656 } 657 deleteServiceCredentialBindingReturns struct { 658 result1 ccv3.JobURL 659 result2 ccv3.Warnings 660 result3 error 661 } 662 deleteServiceCredentialBindingReturnsOnCall map[int]struct { 663 result1 ccv3.JobURL 664 result2 ccv3.Warnings 665 result3 error 666 } 667 DeleteServiceInstanceStub func(string, ...ccv3.Query) (ccv3.JobURL, ccv3.Warnings, error) 668 deleteServiceInstanceMutex sync.RWMutex 669 deleteServiceInstanceArgsForCall []struct { 670 arg1 string 671 arg2 []ccv3.Query 672 } 673 deleteServiceInstanceReturns struct { 674 result1 ccv3.JobURL 675 result2 ccv3.Warnings 676 result3 error 677 } 678 deleteServiceInstanceReturnsOnCall map[int]struct { 679 result1 ccv3.JobURL 680 result2 ccv3.Warnings 681 result3 error 682 } 683 DeleteServicePlanVisibilityStub func(string, string) (ccv3.Warnings, error) 684 deleteServicePlanVisibilityMutex sync.RWMutex 685 deleteServicePlanVisibilityArgsForCall []struct { 686 arg1 string 687 arg2 string 688 } 689 deleteServicePlanVisibilityReturns struct { 690 result1 ccv3.Warnings 691 result2 error 692 } 693 deleteServicePlanVisibilityReturnsOnCall map[int]struct { 694 result1 ccv3.Warnings 695 result2 error 696 } 697 DeleteSpaceStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 698 deleteSpaceMutex sync.RWMutex 699 deleteSpaceArgsForCall []struct { 700 arg1 string 701 } 702 deleteSpaceReturns struct { 703 result1 ccv3.JobURL 704 result2 ccv3.Warnings 705 result3 error 706 } 707 deleteSpaceReturnsOnCall map[int]struct { 708 result1 ccv3.JobURL 709 result2 ccv3.Warnings 710 result3 error 711 } 712 DeleteSpaceQuotaStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 713 deleteSpaceQuotaMutex sync.RWMutex 714 deleteSpaceQuotaArgsForCall []struct { 715 arg1 string 716 } 717 deleteSpaceQuotaReturns struct { 718 result1 ccv3.JobURL 719 result2 ccv3.Warnings 720 result3 error 721 } 722 deleteSpaceQuotaReturnsOnCall map[int]struct { 723 result1 ccv3.JobURL 724 result2 ccv3.Warnings 725 result3 error 726 } 727 DeleteUserStub func(string) (ccv3.JobURL, ccv3.Warnings, error) 728 deleteUserMutex sync.RWMutex 729 deleteUserArgsForCall []struct { 730 arg1 string 731 } 732 deleteUserReturns struct { 733 result1 ccv3.JobURL 734 result2 ccv3.Warnings 735 result3 error 736 } 737 deleteUserReturnsOnCall map[int]struct { 738 result1 ccv3.JobURL 739 result2 ccv3.Warnings 740 result3 error 741 } 742 DownloadDropletStub func(string) ([]byte, ccv3.Warnings, error) 743 downloadDropletMutex sync.RWMutex 744 downloadDropletArgsForCall []struct { 745 arg1 string 746 } 747 downloadDropletReturns struct { 748 result1 []byte 749 result2 ccv3.Warnings 750 result3 error 751 } 752 downloadDropletReturnsOnCall map[int]struct { 753 result1 []byte 754 result2 ccv3.Warnings 755 result3 error 756 } 757 EntitleIsolationSegmentToOrganizationsStub func(string, []string) (resources.RelationshipList, ccv3.Warnings, error) 758 entitleIsolationSegmentToOrganizationsMutex sync.RWMutex 759 entitleIsolationSegmentToOrganizationsArgsForCall []struct { 760 arg1 string 761 arg2 []string 762 } 763 entitleIsolationSegmentToOrganizationsReturns struct { 764 result1 resources.RelationshipList 765 result2 ccv3.Warnings 766 result3 error 767 } 768 entitleIsolationSegmentToOrganizationsReturnsOnCall map[int]struct { 769 result1 resources.RelationshipList 770 result2 ccv3.Warnings 771 result3 error 772 } 773 GetAppFeatureStub func(string, string) (resources.ApplicationFeature, ccv3.Warnings, error) 774 getAppFeatureMutex sync.RWMutex 775 getAppFeatureArgsForCall []struct { 776 arg1 string 777 arg2 string 778 } 779 getAppFeatureReturns struct { 780 result1 resources.ApplicationFeature 781 result2 ccv3.Warnings 782 result3 error 783 } 784 getAppFeatureReturnsOnCall map[int]struct { 785 result1 resources.ApplicationFeature 786 result2 ccv3.Warnings 787 result3 error 788 } 789 GetApplicationByNameAndSpaceStub func(string, string) (resources.Application, ccv3.Warnings, error) 790 getApplicationByNameAndSpaceMutex sync.RWMutex 791 getApplicationByNameAndSpaceArgsForCall []struct { 792 arg1 string 793 arg2 string 794 } 795 getApplicationByNameAndSpaceReturns struct { 796 result1 resources.Application 797 result2 ccv3.Warnings 798 result3 error 799 } 800 getApplicationByNameAndSpaceReturnsOnCall map[int]struct { 801 result1 resources.Application 802 result2 ccv3.Warnings 803 result3 error 804 } 805 GetApplicationDropletCurrentStub func(string) (resources.Droplet, ccv3.Warnings, error) 806 getApplicationDropletCurrentMutex sync.RWMutex 807 getApplicationDropletCurrentArgsForCall []struct { 808 arg1 string 809 } 810 getApplicationDropletCurrentReturns struct { 811 result1 resources.Droplet 812 result2 ccv3.Warnings 813 result3 error 814 } 815 getApplicationDropletCurrentReturnsOnCall map[int]struct { 816 result1 resources.Droplet 817 result2 ccv3.Warnings 818 result3 error 819 } 820 GetApplicationEnvironmentStub func(string) (ccv3.Environment, ccv3.Warnings, error) 821 getApplicationEnvironmentMutex sync.RWMutex 822 getApplicationEnvironmentArgsForCall []struct { 823 arg1 string 824 } 825 getApplicationEnvironmentReturns struct { 826 result1 ccv3.Environment 827 result2 ccv3.Warnings 828 result3 error 829 } 830 getApplicationEnvironmentReturnsOnCall map[int]struct { 831 result1 ccv3.Environment 832 result2 ccv3.Warnings 833 result3 error 834 } 835 GetApplicationManifestStub func(string) ([]byte, ccv3.Warnings, error) 836 getApplicationManifestMutex sync.RWMutex 837 getApplicationManifestArgsForCall []struct { 838 arg1 string 839 } 840 getApplicationManifestReturns struct { 841 result1 []byte 842 result2 ccv3.Warnings 843 result3 error 844 } 845 getApplicationManifestReturnsOnCall map[int]struct { 846 result1 []byte 847 result2 ccv3.Warnings 848 result3 error 849 } 850 GetApplicationProcessByTypeStub func(string, string) (resources.Process, ccv3.Warnings, error) 851 getApplicationProcessByTypeMutex sync.RWMutex 852 getApplicationProcessByTypeArgsForCall []struct { 853 arg1 string 854 arg2 string 855 } 856 getApplicationProcessByTypeReturns struct { 857 result1 resources.Process 858 result2 ccv3.Warnings 859 result3 error 860 } 861 getApplicationProcessByTypeReturnsOnCall map[int]struct { 862 result1 resources.Process 863 result2 ccv3.Warnings 864 result3 error 865 } 866 GetApplicationProcessesStub func(string) ([]resources.Process, ccv3.Warnings, error) 867 getApplicationProcessesMutex sync.RWMutex 868 getApplicationProcessesArgsForCall []struct { 869 arg1 string 870 } 871 getApplicationProcessesReturns struct { 872 result1 []resources.Process 873 result2 ccv3.Warnings 874 result3 error 875 } 876 getApplicationProcessesReturnsOnCall map[int]struct { 877 result1 []resources.Process 878 result2 ccv3.Warnings 879 result3 error 880 } 881 GetApplicationRevisionsStub func(string, ...ccv3.Query) ([]resources.Revision, ccv3.Warnings, error) 882 getApplicationRevisionsMutex sync.RWMutex 883 getApplicationRevisionsArgsForCall []struct { 884 arg1 string 885 arg2 []ccv3.Query 886 } 887 getApplicationRevisionsReturns struct { 888 result1 []resources.Revision 889 result2 ccv3.Warnings 890 result3 error 891 } 892 getApplicationRevisionsReturnsOnCall map[int]struct { 893 result1 []resources.Revision 894 result2 ccv3.Warnings 895 result3 error 896 } 897 GetApplicationRevisionsDeployedStub func(string) ([]resources.Revision, ccv3.Warnings, error) 898 getApplicationRevisionsDeployedMutex sync.RWMutex 899 getApplicationRevisionsDeployedArgsForCall []struct { 900 arg1 string 901 } 902 getApplicationRevisionsDeployedReturns struct { 903 result1 []resources.Revision 904 result2 ccv3.Warnings 905 result3 error 906 } 907 getApplicationRevisionsDeployedReturnsOnCall map[int]struct { 908 result1 []resources.Revision 909 result2 ccv3.Warnings 910 result3 error 911 } 912 GetApplicationRoutesStub func(string) ([]resources.Route, ccv3.Warnings, error) 913 getApplicationRoutesMutex sync.RWMutex 914 getApplicationRoutesArgsForCall []struct { 915 arg1 string 916 } 917 getApplicationRoutesReturns struct { 918 result1 []resources.Route 919 result2 ccv3.Warnings 920 result3 error 921 } 922 getApplicationRoutesReturnsOnCall map[int]struct { 923 result1 []resources.Route 924 result2 ccv3.Warnings 925 result3 error 926 } 927 GetApplicationTasksStub func(string, ...ccv3.Query) ([]resources.Task, ccv3.Warnings, error) 928 getApplicationTasksMutex sync.RWMutex 929 getApplicationTasksArgsForCall []struct { 930 arg1 string 931 arg2 []ccv3.Query 932 } 933 getApplicationTasksReturns struct { 934 result1 []resources.Task 935 result2 ccv3.Warnings 936 result3 error 937 } 938 getApplicationTasksReturnsOnCall map[int]struct { 939 result1 []resources.Task 940 result2 ccv3.Warnings 941 result3 error 942 } 943 GetApplicationsStub func(...ccv3.Query) ([]resources.Application, ccv3.Warnings, error) 944 getApplicationsMutex sync.RWMutex 945 getApplicationsArgsForCall []struct { 946 arg1 []ccv3.Query 947 } 948 getApplicationsReturns struct { 949 result1 []resources.Application 950 result2 ccv3.Warnings 951 result3 error 952 } 953 getApplicationsReturnsOnCall map[int]struct { 954 result1 []resources.Application 955 result2 ccv3.Warnings 956 result3 error 957 } 958 GetBuildStub func(string) (resources.Build, ccv3.Warnings, error) 959 getBuildMutex sync.RWMutex 960 getBuildArgsForCall []struct { 961 arg1 string 962 } 963 getBuildReturns struct { 964 result1 resources.Build 965 result2 ccv3.Warnings 966 result3 error 967 } 968 getBuildReturnsOnCall map[int]struct { 969 result1 resources.Build 970 result2 ccv3.Warnings 971 result3 error 972 } 973 GetBuildpacksStub func(...ccv3.Query) ([]resources.Buildpack, ccv3.Warnings, error) 974 getBuildpacksMutex sync.RWMutex 975 getBuildpacksArgsForCall []struct { 976 arg1 []ccv3.Query 977 } 978 getBuildpacksReturns struct { 979 result1 []resources.Buildpack 980 result2 ccv3.Warnings 981 result3 error 982 } 983 getBuildpacksReturnsOnCall map[int]struct { 984 result1 []resources.Buildpack 985 result2 ccv3.Warnings 986 result3 error 987 } 988 GetDefaultDomainStub func(string) (resources.Domain, ccv3.Warnings, error) 989 getDefaultDomainMutex sync.RWMutex 990 getDefaultDomainArgsForCall []struct { 991 arg1 string 992 } 993 getDefaultDomainReturns struct { 994 result1 resources.Domain 995 result2 ccv3.Warnings 996 result3 error 997 } 998 getDefaultDomainReturnsOnCall map[int]struct { 999 result1 resources.Domain 1000 result2 ccv3.Warnings 1001 result3 error 1002 } 1003 GetDeploymentStub func(string) (resources.Deployment, ccv3.Warnings, error) 1004 getDeploymentMutex sync.RWMutex 1005 getDeploymentArgsForCall []struct { 1006 arg1 string 1007 } 1008 getDeploymentReturns struct { 1009 result1 resources.Deployment 1010 result2 ccv3.Warnings 1011 result3 error 1012 } 1013 getDeploymentReturnsOnCall map[int]struct { 1014 result1 resources.Deployment 1015 result2 ccv3.Warnings 1016 result3 error 1017 } 1018 GetDeploymentsStub func(...ccv3.Query) ([]resources.Deployment, ccv3.Warnings, error) 1019 getDeploymentsMutex sync.RWMutex 1020 getDeploymentsArgsForCall []struct { 1021 arg1 []ccv3.Query 1022 } 1023 getDeploymentsReturns struct { 1024 result1 []resources.Deployment 1025 result2 ccv3.Warnings 1026 result3 error 1027 } 1028 getDeploymentsReturnsOnCall map[int]struct { 1029 result1 []resources.Deployment 1030 result2 ccv3.Warnings 1031 result3 error 1032 } 1033 GetDomainStub func(string) (resources.Domain, ccv3.Warnings, error) 1034 getDomainMutex sync.RWMutex 1035 getDomainArgsForCall []struct { 1036 arg1 string 1037 } 1038 getDomainReturns struct { 1039 result1 resources.Domain 1040 result2 ccv3.Warnings 1041 result3 error 1042 } 1043 getDomainReturnsOnCall map[int]struct { 1044 result1 resources.Domain 1045 result2 ccv3.Warnings 1046 result3 error 1047 } 1048 GetDomainsStub func(...ccv3.Query) ([]resources.Domain, ccv3.Warnings, error) 1049 getDomainsMutex sync.RWMutex 1050 getDomainsArgsForCall []struct { 1051 arg1 []ccv3.Query 1052 } 1053 getDomainsReturns struct { 1054 result1 []resources.Domain 1055 result2 ccv3.Warnings 1056 result3 error 1057 } 1058 getDomainsReturnsOnCall map[int]struct { 1059 result1 []resources.Domain 1060 result2 ccv3.Warnings 1061 result3 error 1062 } 1063 GetDropletStub func(string) (resources.Droplet, ccv3.Warnings, error) 1064 getDropletMutex sync.RWMutex 1065 getDropletArgsForCall []struct { 1066 arg1 string 1067 } 1068 getDropletReturns struct { 1069 result1 resources.Droplet 1070 result2 ccv3.Warnings 1071 result3 error 1072 } 1073 getDropletReturnsOnCall map[int]struct { 1074 result1 resources.Droplet 1075 result2 ccv3.Warnings 1076 result3 error 1077 } 1078 GetDropletsStub func(...ccv3.Query) ([]resources.Droplet, ccv3.Warnings, error) 1079 getDropletsMutex sync.RWMutex 1080 getDropletsArgsForCall []struct { 1081 arg1 []ccv3.Query 1082 } 1083 getDropletsReturns struct { 1084 result1 []resources.Droplet 1085 result2 ccv3.Warnings 1086 result3 error 1087 } 1088 getDropletsReturnsOnCall map[int]struct { 1089 result1 []resources.Droplet 1090 result2 ccv3.Warnings 1091 result3 error 1092 } 1093 GetEnvironmentVariableGroupStub func(constant.EnvironmentVariableGroupName) (resources.EnvironmentVariables, ccv3.Warnings, error) 1094 getEnvironmentVariableGroupMutex sync.RWMutex 1095 getEnvironmentVariableGroupArgsForCall []struct { 1096 arg1 constant.EnvironmentVariableGroupName 1097 } 1098 getEnvironmentVariableGroupReturns struct { 1099 result1 resources.EnvironmentVariables 1100 result2 ccv3.Warnings 1101 result3 error 1102 } 1103 getEnvironmentVariableGroupReturnsOnCall map[int]struct { 1104 result1 resources.EnvironmentVariables 1105 result2 ccv3.Warnings 1106 result3 error 1107 } 1108 GetEventsStub func(...ccv3.Query) ([]ccv3.Event, ccv3.Warnings, error) 1109 getEventsMutex sync.RWMutex 1110 getEventsArgsForCall []struct { 1111 arg1 []ccv3.Query 1112 } 1113 getEventsReturns struct { 1114 result1 []ccv3.Event 1115 result2 ccv3.Warnings 1116 result3 error 1117 } 1118 getEventsReturnsOnCall map[int]struct { 1119 result1 []ccv3.Event 1120 result2 ccv3.Warnings 1121 result3 error 1122 } 1123 GetFeatureFlagStub func(string) (resources.FeatureFlag, ccv3.Warnings, error) 1124 getFeatureFlagMutex sync.RWMutex 1125 getFeatureFlagArgsForCall []struct { 1126 arg1 string 1127 } 1128 getFeatureFlagReturns struct { 1129 result1 resources.FeatureFlag 1130 result2 ccv3.Warnings 1131 result3 error 1132 } 1133 getFeatureFlagReturnsOnCall map[int]struct { 1134 result1 resources.FeatureFlag 1135 result2 ccv3.Warnings 1136 result3 error 1137 } 1138 GetFeatureFlagsStub func() ([]resources.FeatureFlag, ccv3.Warnings, error) 1139 getFeatureFlagsMutex sync.RWMutex 1140 getFeatureFlagsArgsForCall []struct { 1141 } 1142 getFeatureFlagsReturns struct { 1143 result1 []resources.FeatureFlag 1144 result2 ccv3.Warnings 1145 result3 error 1146 } 1147 getFeatureFlagsReturnsOnCall map[int]struct { 1148 result1 []resources.FeatureFlag 1149 result2 ccv3.Warnings 1150 result3 error 1151 } 1152 GetInfoStub func() (ccv3.Info, ccv3.Warnings, error) 1153 getInfoMutex sync.RWMutex 1154 getInfoArgsForCall []struct { 1155 } 1156 getInfoReturns struct { 1157 result1 ccv3.Info 1158 result2 ccv3.Warnings 1159 result3 error 1160 } 1161 getInfoReturnsOnCall map[int]struct { 1162 result1 ccv3.Info 1163 result2 ccv3.Warnings 1164 result3 error 1165 } 1166 GetIsolationSegmentStub func(string) (resources.IsolationSegment, ccv3.Warnings, error) 1167 getIsolationSegmentMutex sync.RWMutex 1168 getIsolationSegmentArgsForCall []struct { 1169 arg1 string 1170 } 1171 getIsolationSegmentReturns struct { 1172 result1 resources.IsolationSegment 1173 result2 ccv3.Warnings 1174 result3 error 1175 } 1176 getIsolationSegmentReturnsOnCall map[int]struct { 1177 result1 resources.IsolationSegment 1178 result2 ccv3.Warnings 1179 result3 error 1180 } 1181 GetIsolationSegmentOrganizationsStub func(string) ([]resources.Organization, ccv3.Warnings, error) 1182 getIsolationSegmentOrganizationsMutex sync.RWMutex 1183 getIsolationSegmentOrganizationsArgsForCall []struct { 1184 arg1 string 1185 } 1186 getIsolationSegmentOrganizationsReturns struct { 1187 result1 []resources.Organization 1188 result2 ccv3.Warnings 1189 result3 error 1190 } 1191 getIsolationSegmentOrganizationsReturnsOnCall map[int]struct { 1192 result1 []resources.Organization 1193 result2 ccv3.Warnings 1194 result3 error 1195 } 1196 GetIsolationSegmentsStub func(...ccv3.Query) ([]resources.IsolationSegment, ccv3.Warnings, error) 1197 getIsolationSegmentsMutex sync.RWMutex 1198 getIsolationSegmentsArgsForCall []struct { 1199 arg1 []ccv3.Query 1200 } 1201 getIsolationSegmentsReturns struct { 1202 result1 []resources.IsolationSegment 1203 result2 ccv3.Warnings 1204 result3 error 1205 } 1206 getIsolationSegmentsReturnsOnCall map[int]struct { 1207 result1 []resources.IsolationSegment 1208 result2 ccv3.Warnings 1209 result3 error 1210 } 1211 GetNewApplicationProcessesStub func(string, string) ([]resources.Process, ccv3.Warnings, error) 1212 getNewApplicationProcessesMutex sync.RWMutex 1213 getNewApplicationProcessesArgsForCall []struct { 1214 arg1 string 1215 arg2 string 1216 } 1217 getNewApplicationProcessesReturns struct { 1218 result1 []resources.Process 1219 result2 ccv3.Warnings 1220 result3 error 1221 } 1222 getNewApplicationProcessesReturnsOnCall map[int]struct { 1223 result1 []resources.Process 1224 result2 ccv3.Warnings 1225 result3 error 1226 } 1227 GetOrganizationStub func(string) (resources.Organization, ccv3.Warnings, error) 1228 getOrganizationMutex sync.RWMutex 1229 getOrganizationArgsForCall []struct { 1230 arg1 string 1231 } 1232 getOrganizationReturns struct { 1233 result1 resources.Organization 1234 result2 ccv3.Warnings 1235 result3 error 1236 } 1237 getOrganizationReturnsOnCall map[int]struct { 1238 result1 resources.Organization 1239 result2 ccv3.Warnings 1240 result3 error 1241 } 1242 GetOrganizationDefaultIsolationSegmentStub func(string) (resources.Relationship, ccv3.Warnings, error) 1243 getOrganizationDefaultIsolationSegmentMutex sync.RWMutex 1244 getOrganizationDefaultIsolationSegmentArgsForCall []struct { 1245 arg1 string 1246 } 1247 getOrganizationDefaultIsolationSegmentReturns struct { 1248 result1 resources.Relationship 1249 result2 ccv3.Warnings 1250 result3 error 1251 } 1252 getOrganizationDefaultIsolationSegmentReturnsOnCall map[int]struct { 1253 result1 resources.Relationship 1254 result2 ccv3.Warnings 1255 result3 error 1256 } 1257 GetOrganizationDomainsStub func(string, ...ccv3.Query) ([]resources.Domain, ccv3.Warnings, error) 1258 getOrganizationDomainsMutex sync.RWMutex 1259 getOrganizationDomainsArgsForCall []struct { 1260 arg1 string 1261 arg2 []ccv3.Query 1262 } 1263 getOrganizationDomainsReturns struct { 1264 result1 []resources.Domain 1265 result2 ccv3.Warnings 1266 result3 error 1267 } 1268 getOrganizationDomainsReturnsOnCall map[int]struct { 1269 result1 []resources.Domain 1270 result2 ccv3.Warnings 1271 result3 error 1272 } 1273 GetOrganizationQuotaStub func(string) (resources.OrganizationQuota, ccv3.Warnings, error) 1274 getOrganizationQuotaMutex sync.RWMutex 1275 getOrganizationQuotaArgsForCall []struct { 1276 arg1 string 1277 } 1278 getOrganizationQuotaReturns struct { 1279 result1 resources.OrganizationQuota 1280 result2 ccv3.Warnings 1281 result3 error 1282 } 1283 getOrganizationQuotaReturnsOnCall map[int]struct { 1284 result1 resources.OrganizationQuota 1285 result2 ccv3.Warnings 1286 result3 error 1287 } 1288 GetOrganizationQuotasStub func(...ccv3.Query) ([]resources.OrganizationQuota, ccv3.Warnings, error) 1289 getOrganizationQuotasMutex sync.RWMutex 1290 getOrganizationQuotasArgsForCall []struct { 1291 arg1 []ccv3.Query 1292 } 1293 getOrganizationQuotasReturns struct { 1294 result1 []resources.OrganizationQuota 1295 result2 ccv3.Warnings 1296 result3 error 1297 } 1298 getOrganizationQuotasReturnsOnCall map[int]struct { 1299 result1 []resources.OrganizationQuota 1300 result2 ccv3.Warnings 1301 result3 error 1302 } 1303 GetOrganizationsStub func(...ccv3.Query) ([]resources.Organization, ccv3.Warnings, error) 1304 getOrganizationsMutex sync.RWMutex 1305 getOrganizationsArgsForCall []struct { 1306 arg1 []ccv3.Query 1307 } 1308 getOrganizationsReturns struct { 1309 result1 []resources.Organization 1310 result2 ccv3.Warnings 1311 result3 error 1312 } 1313 getOrganizationsReturnsOnCall map[int]struct { 1314 result1 []resources.Organization 1315 result2 ccv3.Warnings 1316 result3 error 1317 } 1318 GetPackageStub func(string) (resources.Package, ccv3.Warnings, error) 1319 getPackageMutex sync.RWMutex 1320 getPackageArgsForCall []struct { 1321 arg1 string 1322 } 1323 getPackageReturns struct { 1324 result1 resources.Package 1325 result2 ccv3.Warnings 1326 result3 error 1327 } 1328 getPackageReturnsOnCall map[int]struct { 1329 result1 resources.Package 1330 result2 ccv3.Warnings 1331 result3 error 1332 } 1333 GetPackageDropletsStub func(string, ...ccv3.Query) ([]resources.Droplet, ccv3.Warnings, error) 1334 getPackageDropletsMutex sync.RWMutex 1335 getPackageDropletsArgsForCall []struct { 1336 arg1 string 1337 arg2 []ccv3.Query 1338 } 1339 getPackageDropletsReturns struct { 1340 result1 []resources.Droplet 1341 result2 ccv3.Warnings 1342 result3 error 1343 } 1344 getPackageDropletsReturnsOnCall map[int]struct { 1345 result1 []resources.Droplet 1346 result2 ccv3.Warnings 1347 result3 error 1348 } 1349 GetPackagesStub func(...ccv3.Query) ([]resources.Package, ccv3.Warnings, error) 1350 getPackagesMutex sync.RWMutex 1351 getPackagesArgsForCall []struct { 1352 arg1 []ccv3.Query 1353 } 1354 getPackagesReturns struct { 1355 result1 []resources.Package 1356 result2 ccv3.Warnings 1357 result3 error 1358 } 1359 getPackagesReturnsOnCall map[int]struct { 1360 result1 []resources.Package 1361 result2 ccv3.Warnings 1362 result3 error 1363 } 1364 GetProcessStub func(string) (resources.Process, ccv3.Warnings, error) 1365 getProcessMutex sync.RWMutex 1366 getProcessArgsForCall []struct { 1367 arg1 string 1368 } 1369 getProcessReturns struct { 1370 result1 resources.Process 1371 result2 ccv3.Warnings 1372 result3 error 1373 } 1374 getProcessReturnsOnCall map[int]struct { 1375 result1 resources.Process 1376 result2 ccv3.Warnings 1377 result3 error 1378 } 1379 GetProcessInstancesStub func(string) ([]ccv3.ProcessInstance, ccv3.Warnings, error) 1380 getProcessInstancesMutex sync.RWMutex 1381 getProcessInstancesArgsForCall []struct { 1382 arg1 string 1383 } 1384 getProcessInstancesReturns struct { 1385 result1 []ccv3.ProcessInstance 1386 result2 ccv3.Warnings 1387 result3 error 1388 } 1389 getProcessInstancesReturnsOnCall map[int]struct { 1390 result1 []ccv3.ProcessInstance 1391 result2 ccv3.Warnings 1392 result3 error 1393 } 1394 GetProcessSidecarsStub func(string) ([]resources.Sidecar, ccv3.Warnings, error) 1395 getProcessSidecarsMutex sync.RWMutex 1396 getProcessSidecarsArgsForCall []struct { 1397 arg1 string 1398 } 1399 getProcessSidecarsReturns struct { 1400 result1 []resources.Sidecar 1401 result2 ccv3.Warnings 1402 result3 error 1403 } 1404 getProcessSidecarsReturnsOnCall map[int]struct { 1405 result1 []resources.Sidecar 1406 result2 ccv3.Warnings 1407 result3 error 1408 } 1409 GetProcessesStub func(...ccv3.Query) ([]resources.Process, ccv3.Warnings, error) 1410 getProcessesMutex sync.RWMutex 1411 getProcessesArgsForCall []struct { 1412 arg1 []ccv3.Query 1413 } 1414 getProcessesReturns struct { 1415 result1 []resources.Process 1416 result2 ccv3.Warnings 1417 result3 error 1418 } 1419 getProcessesReturnsOnCall map[int]struct { 1420 result1 []resources.Process 1421 result2 ccv3.Warnings 1422 result3 error 1423 } 1424 GetRolesStub func(...ccv3.Query) ([]resources.Role, ccv3.IncludedResources, ccv3.Warnings, error) 1425 getRolesMutex sync.RWMutex 1426 getRolesArgsForCall []struct { 1427 arg1 []ccv3.Query 1428 } 1429 getRolesReturns struct { 1430 result1 []resources.Role 1431 result2 ccv3.IncludedResources 1432 result3 ccv3.Warnings 1433 result4 error 1434 } 1435 getRolesReturnsOnCall map[int]struct { 1436 result1 []resources.Role 1437 result2 ccv3.IncludedResources 1438 result3 ccv3.Warnings 1439 result4 error 1440 } 1441 GetRouteBindingsStub func(...ccv3.Query) ([]resources.RouteBinding, ccv3.IncludedResources, ccv3.Warnings, error) 1442 getRouteBindingsMutex sync.RWMutex 1443 getRouteBindingsArgsForCall []struct { 1444 arg1 []ccv3.Query 1445 } 1446 getRouteBindingsReturns struct { 1447 result1 []resources.RouteBinding 1448 result2 ccv3.IncludedResources 1449 result3 ccv3.Warnings 1450 result4 error 1451 } 1452 getRouteBindingsReturnsOnCall map[int]struct { 1453 result1 []resources.RouteBinding 1454 result2 ccv3.IncludedResources 1455 result3 ccv3.Warnings 1456 result4 error 1457 } 1458 GetRouteDestinationsStub func(string) ([]resources.RouteDestination, ccv3.Warnings, error) 1459 getRouteDestinationsMutex sync.RWMutex 1460 getRouteDestinationsArgsForCall []struct { 1461 arg1 string 1462 } 1463 getRouteDestinationsReturns struct { 1464 result1 []resources.RouteDestination 1465 result2 ccv3.Warnings 1466 result3 error 1467 } 1468 getRouteDestinationsReturnsOnCall map[int]struct { 1469 result1 []resources.RouteDestination 1470 result2 ccv3.Warnings 1471 result3 error 1472 } 1473 GetRoutesStub func(...ccv3.Query) ([]resources.Route, ccv3.Warnings, error) 1474 getRoutesMutex sync.RWMutex 1475 getRoutesArgsForCall []struct { 1476 arg1 []ccv3.Query 1477 } 1478 getRoutesReturns struct { 1479 result1 []resources.Route 1480 result2 ccv3.Warnings 1481 result3 error 1482 } 1483 getRoutesReturnsOnCall map[int]struct { 1484 result1 []resources.Route 1485 result2 ccv3.Warnings 1486 result3 error 1487 } 1488 GetRunningSecurityGroupsStub func(string, ...ccv3.Query) ([]resources.SecurityGroup, ccv3.Warnings, error) 1489 getRunningSecurityGroupsMutex sync.RWMutex 1490 getRunningSecurityGroupsArgsForCall []struct { 1491 arg1 string 1492 arg2 []ccv3.Query 1493 } 1494 getRunningSecurityGroupsReturns struct { 1495 result1 []resources.SecurityGroup 1496 result2 ccv3.Warnings 1497 result3 error 1498 } 1499 getRunningSecurityGroupsReturnsOnCall map[int]struct { 1500 result1 []resources.SecurityGroup 1501 result2 ccv3.Warnings 1502 result3 error 1503 } 1504 GetSSHEnabledStub func(string) (ccv3.SSHEnabled, ccv3.Warnings, error) 1505 getSSHEnabledMutex sync.RWMutex 1506 getSSHEnabledArgsForCall []struct { 1507 arg1 string 1508 } 1509 getSSHEnabledReturns struct { 1510 result1 ccv3.SSHEnabled 1511 result2 ccv3.Warnings 1512 result3 error 1513 } 1514 getSSHEnabledReturnsOnCall map[int]struct { 1515 result1 ccv3.SSHEnabled 1516 result2 ccv3.Warnings 1517 result3 error 1518 } 1519 GetSecurityGroupsStub func(...ccv3.Query) ([]resources.SecurityGroup, ccv3.Warnings, error) 1520 getSecurityGroupsMutex sync.RWMutex 1521 getSecurityGroupsArgsForCall []struct { 1522 arg1 []ccv3.Query 1523 } 1524 getSecurityGroupsReturns struct { 1525 result1 []resources.SecurityGroup 1526 result2 ccv3.Warnings 1527 result3 error 1528 } 1529 getSecurityGroupsReturnsOnCall map[int]struct { 1530 result1 []resources.SecurityGroup 1531 result2 ccv3.Warnings 1532 result3 error 1533 } 1534 GetServiceBrokersStub func(...ccv3.Query) ([]resources.ServiceBroker, ccv3.Warnings, error) 1535 getServiceBrokersMutex sync.RWMutex 1536 getServiceBrokersArgsForCall []struct { 1537 arg1 []ccv3.Query 1538 } 1539 getServiceBrokersReturns struct { 1540 result1 []resources.ServiceBroker 1541 result2 ccv3.Warnings 1542 result3 error 1543 } 1544 getServiceBrokersReturnsOnCall map[int]struct { 1545 result1 []resources.ServiceBroker 1546 result2 ccv3.Warnings 1547 result3 error 1548 } 1549 GetServiceCredentialBindingDetailsStub func(string) (resources.ServiceCredentialBindingDetails, ccv3.Warnings, error) 1550 getServiceCredentialBindingDetailsMutex sync.RWMutex 1551 getServiceCredentialBindingDetailsArgsForCall []struct { 1552 arg1 string 1553 } 1554 getServiceCredentialBindingDetailsReturns struct { 1555 result1 resources.ServiceCredentialBindingDetails 1556 result2 ccv3.Warnings 1557 result3 error 1558 } 1559 getServiceCredentialBindingDetailsReturnsOnCall map[int]struct { 1560 result1 resources.ServiceCredentialBindingDetails 1561 result2 ccv3.Warnings 1562 result3 error 1563 } 1564 GetServiceCredentialBindingsStub func(...ccv3.Query) ([]resources.ServiceCredentialBinding, ccv3.Warnings, error) 1565 getServiceCredentialBindingsMutex sync.RWMutex 1566 getServiceCredentialBindingsArgsForCall []struct { 1567 arg1 []ccv3.Query 1568 } 1569 getServiceCredentialBindingsReturns struct { 1570 result1 []resources.ServiceCredentialBinding 1571 result2 ccv3.Warnings 1572 result3 error 1573 } 1574 getServiceCredentialBindingsReturnsOnCall map[int]struct { 1575 result1 []resources.ServiceCredentialBinding 1576 result2 ccv3.Warnings 1577 result3 error 1578 } 1579 GetServiceInstanceByNameAndSpaceStub func(string, string, ...ccv3.Query) (resources.ServiceInstance, ccv3.IncludedResources, ccv3.Warnings, error) 1580 getServiceInstanceByNameAndSpaceMutex sync.RWMutex 1581 getServiceInstanceByNameAndSpaceArgsForCall []struct { 1582 arg1 string 1583 arg2 string 1584 arg3 []ccv3.Query 1585 } 1586 getServiceInstanceByNameAndSpaceReturns struct { 1587 result1 resources.ServiceInstance 1588 result2 ccv3.IncludedResources 1589 result3 ccv3.Warnings 1590 result4 error 1591 } 1592 getServiceInstanceByNameAndSpaceReturnsOnCall map[int]struct { 1593 result1 resources.ServiceInstance 1594 result2 ccv3.IncludedResources 1595 result3 ccv3.Warnings 1596 result4 error 1597 } 1598 GetServiceInstanceParametersStub func(string) (types.JSONObject, ccv3.Warnings, error) 1599 getServiceInstanceParametersMutex sync.RWMutex 1600 getServiceInstanceParametersArgsForCall []struct { 1601 arg1 string 1602 } 1603 getServiceInstanceParametersReturns struct { 1604 result1 types.JSONObject 1605 result2 ccv3.Warnings 1606 result3 error 1607 } 1608 getServiceInstanceParametersReturnsOnCall map[int]struct { 1609 result1 types.JSONObject 1610 result2 ccv3.Warnings 1611 result3 error 1612 } 1613 GetServiceInstanceSharedSpacesStub func(string) ([]ccv3.SpaceWithOrganization, ccv3.Warnings, error) 1614 getServiceInstanceSharedSpacesMutex sync.RWMutex 1615 getServiceInstanceSharedSpacesArgsForCall []struct { 1616 arg1 string 1617 } 1618 getServiceInstanceSharedSpacesReturns struct { 1619 result1 []ccv3.SpaceWithOrganization 1620 result2 ccv3.Warnings 1621 result3 error 1622 } 1623 getServiceInstanceSharedSpacesReturnsOnCall map[int]struct { 1624 result1 []ccv3.SpaceWithOrganization 1625 result2 ccv3.Warnings 1626 result3 error 1627 } 1628 GetServiceInstanceUsageSummaryStub func(string) ([]resources.ServiceInstanceUsageSummary, ccv3.Warnings, error) 1629 getServiceInstanceUsageSummaryMutex sync.RWMutex 1630 getServiceInstanceUsageSummaryArgsForCall []struct { 1631 arg1 string 1632 } 1633 getServiceInstanceUsageSummaryReturns struct { 1634 result1 []resources.ServiceInstanceUsageSummary 1635 result2 ccv3.Warnings 1636 result3 error 1637 } 1638 getServiceInstanceUsageSummaryReturnsOnCall map[int]struct { 1639 result1 []resources.ServiceInstanceUsageSummary 1640 result2 ccv3.Warnings 1641 result3 error 1642 } 1643 GetServiceInstancesStub func(...ccv3.Query) ([]resources.ServiceInstance, ccv3.IncludedResources, ccv3.Warnings, error) 1644 getServiceInstancesMutex sync.RWMutex 1645 getServiceInstancesArgsForCall []struct { 1646 arg1 []ccv3.Query 1647 } 1648 getServiceInstancesReturns struct { 1649 result1 []resources.ServiceInstance 1650 result2 ccv3.IncludedResources 1651 result3 ccv3.Warnings 1652 result4 error 1653 } 1654 getServiceInstancesReturnsOnCall map[int]struct { 1655 result1 []resources.ServiceInstance 1656 result2 ccv3.IncludedResources 1657 result3 ccv3.Warnings 1658 result4 error 1659 } 1660 GetServiceOfferingByGUIDStub func(string) (resources.ServiceOffering, ccv3.Warnings, error) 1661 getServiceOfferingByGUIDMutex sync.RWMutex 1662 getServiceOfferingByGUIDArgsForCall []struct { 1663 arg1 string 1664 } 1665 getServiceOfferingByGUIDReturns struct { 1666 result1 resources.ServiceOffering 1667 result2 ccv3.Warnings 1668 result3 error 1669 } 1670 getServiceOfferingByGUIDReturnsOnCall map[int]struct { 1671 result1 resources.ServiceOffering 1672 result2 ccv3.Warnings 1673 result3 error 1674 } 1675 GetServiceOfferingByNameAndBrokerStub func(string, string) (resources.ServiceOffering, ccv3.Warnings, error) 1676 getServiceOfferingByNameAndBrokerMutex sync.RWMutex 1677 getServiceOfferingByNameAndBrokerArgsForCall []struct { 1678 arg1 string 1679 arg2 string 1680 } 1681 getServiceOfferingByNameAndBrokerReturns struct { 1682 result1 resources.ServiceOffering 1683 result2 ccv3.Warnings 1684 result3 error 1685 } 1686 getServiceOfferingByNameAndBrokerReturnsOnCall map[int]struct { 1687 result1 resources.ServiceOffering 1688 result2 ccv3.Warnings 1689 result3 error 1690 } 1691 GetServiceOfferingsStub func(...ccv3.Query) ([]resources.ServiceOffering, ccv3.Warnings, error) 1692 getServiceOfferingsMutex sync.RWMutex 1693 getServiceOfferingsArgsForCall []struct { 1694 arg1 []ccv3.Query 1695 } 1696 getServiceOfferingsReturns struct { 1697 result1 []resources.ServiceOffering 1698 result2 ccv3.Warnings 1699 result3 error 1700 } 1701 getServiceOfferingsReturnsOnCall map[int]struct { 1702 result1 []resources.ServiceOffering 1703 result2 ccv3.Warnings 1704 result3 error 1705 } 1706 GetServicePlanByGUIDStub func(string) (resources.ServicePlan, ccv3.Warnings, error) 1707 getServicePlanByGUIDMutex sync.RWMutex 1708 getServicePlanByGUIDArgsForCall []struct { 1709 arg1 string 1710 } 1711 getServicePlanByGUIDReturns struct { 1712 result1 resources.ServicePlan 1713 result2 ccv3.Warnings 1714 result3 error 1715 } 1716 getServicePlanByGUIDReturnsOnCall map[int]struct { 1717 result1 resources.ServicePlan 1718 result2 ccv3.Warnings 1719 result3 error 1720 } 1721 GetServicePlanVisibilityStub func(string) (resources.ServicePlanVisibility, ccv3.Warnings, error) 1722 getServicePlanVisibilityMutex sync.RWMutex 1723 getServicePlanVisibilityArgsForCall []struct { 1724 arg1 string 1725 } 1726 getServicePlanVisibilityReturns struct { 1727 result1 resources.ServicePlanVisibility 1728 result2 ccv3.Warnings 1729 result3 error 1730 } 1731 getServicePlanVisibilityReturnsOnCall map[int]struct { 1732 result1 resources.ServicePlanVisibility 1733 result2 ccv3.Warnings 1734 result3 error 1735 } 1736 GetServicePlansStub func(...ccv3.Query) ([]resources.ServicePlan, ccv3.Warnings, error) 1737 getServicePlansMutex sync.RWMutex 1738 getServicePlansArgsForCall []struct { 1739 arg1 []ccv3.Query 1740 } 1741 getServicePlansReturns struct { 1742 result1 []resources.ServicePlan 1743 result2 ccv3.Warnings 1744 result3 error 1745 } 1746 getServicePlansReturnsOnCall map[int]struct { 1747 result1 []resources.ServicePlan 1748 result2 ccv3.Warnings 1749 result3 error 1750 } 1751 GetServicePlansWithOfferingsStub func(...ccv3.Query) ([]ccv3.ServiceOfferingWithPlans, ccv3.Warnings, error) 1752 getServicePlansWithOfferingsMutex sync.RWMutex 1753 getServicePlansWithOfferingsArgsForCall []struct { 1754 arg1 []ccv3.Query 1755 } 1756 getServicePlansWithOfferingsReturns struct { 1757 result1 []ccv3.ServiceOfferingWithPlans 1758 result2 ccv3.Warnings 1759 result3 error 1760 } 1761 getServicePlansWithOfferingsReturnsOnCall map[int]struct { 1762 result1 []ccv3.ServiceOfferingWithPlans 1763 result2 ccv3.Warnings 1764 result3 error 1765 } 1766 GetServicePlansWithSpaceAndOrganizationStub func(...ccv3.Query) ([]ccv3.ServicePlanWithSpaceAndOrganization, ccv3.Warnings, error) 1767 getServicePlansWithSpaceAndOrganizationMutex sync.RWMutex 1768 getServicePlansWithSpaceAndOrganizationArgsForCall []struct { 1769 arg1 []ccv3.Query 1770 } 1771 getServicePlansWithSpaceAndOrganizationReturns struct { 1772 result1 []ccv3.ServicePlanWithSpaceAndOrganization 1773 result2 ccv3.Warnings 1774 result3 error 1775 } 1776 getServicePlansWithSpaceAndOrganizationReturnsOnCall map[int]struct { 1777 result1 []ccv3.ServicePlanWithSpaceAndOrganization 1778 result2 ccv3.Warnings 1779 result3 error 1780 } 1781 GetSpaceFeatureStub func(string, string) (bool, ccv3.Warnings, error) 1782 getSpaceFeatureMutex sync.RWMutex 1783 getSpaceFeatureArgsForCall []struct { 1784 arg1 string 1785 arg2 string 1786 } 1787 getSpaceFeatureReturns struct { 1788 result1 bool 1789 result2 ccv3.Warnings 1790 result3 error 1791 } 1792 getSpaceFeatureReturnsOnCall map[int]struct { 1793 result1 bool 1794 result2 ccv3.Warnings 1795 result3 error 1796 } 1797 GetSpaceIsolationSegmentStub func(string) (resources.Relationship, ccv3.Warnings, error) 1798 getSpaceIsolationSegmentMutex sync.RWMutex 1799 getSpaceIsolationSegmentArgsForCall []struct { 1800 arg1 string 1801 } 1802 getSpaceIsolationSegmentReturns struct { 1803 result1 resources.Relationship 1804 result2 ccv3.Warnings 1805 result3 error 1806 } 1807 getSpaceIsolationSegmentReturnsOnCall map[int]struct { 1808 result1 resources.Relationship 1809 result2 ccv3.Warnings 1810 result3 error 1811 } 1812 GetSpaceManifestDiffStub func(string, []byte) (resources.ManifestDiff, ccv3.Warnings, error) 1813 getSpaceManifestDiffMutex sync.RWMutex 1814 getSpaceManifestDiffArgsForCall []struct { 1815 arg1 string 1816 arg2 []byte 1817 } 1818 getSpaceManifestDiffReturns struct { 1819 result1 resources.ManifestDiff 1820 result2 ccv3.Warnings 1821 result3 error 1822 } 1823 getSpaceManifestDiffReturnsOnCall map[int]struct { 1824 result1 resources.ManifestDiff 1825 result2 ccv3.Warnings 1826 result3 error 1827 } 1828 GetSpaceQuotaStub func(string) (resources.SpaceQuota, ccv3.Warnings, error) 1829 getSpaceQuotaMutex sync.RWMutex 1830 getSpaceQuotaArgsForCall []struct { 1831 arg1 string 1832 } 1833 getSpaceQuotaReturns struct { 1834 result1 resources.SpaceQuota 1835 result2 ccv3.Warnings 1836 result3 error 1837 } 1838 getSpaceQuotaReturnsOnCall map[int]struct { 1839 result1 resources.SpaceQuota 1840 result2 ccv3.Warnings 1841 result3 error 1842 } 1843 GetSpaceQuotasStub func(...ccv3.Query) ([]resources.SpaceQuota, ccv3.Warnings, error) 1844 getSpaceQuotasMutex sync.RWMutex 1845 getSpaceQuotasArgsForCall []struct { 1846 arg1 []ccv3.Query 1847 } 1848 getSpaceQuotasReturns struct { 1849 result1 []resources.SpaceQuota 1850 result2 ccv3.Warnings 1851 result3 error 1852 } 1853 getSpaceQuotasReturnsOnCall map[int]struct { 1854 result1 []resources.SpaceQuota 1855 result2 ccv3.Warnings 1856 result3 error 1857 } 1858 GetSpacesStub func(...ccv3.Query) ([]resources.Space, ccv3.IncludedResources, ccv3.Warnings, error) 1859 getSpacesMutex sync.RWMutex 1860 getSpacesArgsForCall []struct { 1861 arg1 []ccv3.Query 1862 } 1863 getSpacesReturns struct { 1864 result1 []resources.Space 1865 result2 ccv3.IncludedResources 1866 result3 ccv3.Warnings 1867 result4 error 1868 } 1869 getSpacesReturnsOnCall map[int]struct { 1870 result1 []resources.Space 1871 result2 ccv3.IncludedResources 1872 result3 ccv3.Warnings 1873 result4 error 1874 } 1875 GetStacksStub func(...ccv3.Query) ([]resources.Stack, ccv3.Warnings, error) 1876 getStacksMutex sync.RWMutex 1877 getStacksArgsForCall []struct { 1878 arg1 []ccv3.Query 1879 } 1880 getStacksReturns struct { 1881 result1 []resources.Stack 1882 result2 ccv3.Warnings 1883 result3 error 1884 } 1885 getStacksReturnsOnCall map[int]struct { 1886 result1 []resources.Stack 1887 result2 ccv3.Warnings 1888 result3 error 1889 } 1890 GetStagingSecurityGroupsStub func(string, ...ccv3.Query) ([]resources.SecurityGroup, ccv3.Warnings, error) 1891 getStagingSecurityGroupsMutex sync.RWMutex 1892 getStagingSecurityGroupsArgsForCall []struct { 1893 arg1 string 1894 arg2 []ccv3.Query 1895 } 1896 getStagingSecurityGroupsReturns struct { 1897 result1 []resources.SecurityGroup 1898 result2 ccv3.Warnings 1899 result3 error 1900 } 1901 getStagingSecurityGroupsReturnsOnCall map[int]struct { 1902 result1 []resources.SecurityGroup 1903 result2 ccv3.Warnings 1904 result3 error 1905 } 1906 GetTaskStub func(string) (resources.Task, ccv3.Warnings, error) 1907 getTaskMutex sync.RWMutex 1908 getTaskArgsForCall []struct { 1909 arg1 string 1910 } 1911 getTaskReturns struct { 1912 result1 resources.Task 1913 result2 ccv3.Warnings 1914 result3 error 1915 } 1916 getTaskReturnsOnCall map[int]struct { 1917 result1 resources.Task 1918 result2 ccv3.Warnings 1919 result3 error 1920 } 1921 GetUserStub func(string) (resources.User, ccv3.Warnings, error) 1922 getUserMutex sync.RWMutex 1923 getUserArgsForCall []struct { 1924 arg1 string 1925 } 1926 getUserReturns struct { 1927 result1 resources.User 1928 result2 ccv3.Warnings 1929 result3 error 1930 } 1931 getUserReturnsOnCall map[int]struct { 1932 result1 resources.User 1933 result2 ccv3.Warnings 1934 result3 error 1935 } 1936 GetUsersStub func(...ccv3.Query) ([]resources.User, ccv3.Warnings, error) 1937 getUsersMutex sync.RWMutex 1938 getUsersArgsForCall []struct { 1939 arg1 []ccv3.Query 1940 } 1941 getUsersReturns struct { 1942 result1 []resources.User 1943 result2 ccv3.Warnings 1944 result3 error 1945 } 1946 getUsersReturnsOnCall map[int]struct { 1947 result1 []resources.User 1948 result2 ccv3.Warnings 1949 result3 error 1950 } 1951 MakeRequestSendReceiveRawStub func(string, string, http.Header, []byte) ([]byte, *http.Response, error) 1952 makeRequestSendReceiveRawMutex sync.RWMutex 1953 makeRequestSendReceiveRawArgsForCall []struct { 1954 arg1 string 1955 arg2 string 1956 arg3 http.Header 1957 arg4 []byte 1958 } 1959 makeRequestSendReceiveRawReturns struct { 1960 result1 []byte 1961 result2 *http.Response 1962 result3 error 1963 } 1964 makeRequestSendReceiveRawReturnsOnCall map[int]struct { 1965 result1 []byte 1966 result2 *http.Response 1967 result3 error 1968 } 1969 MapRouteStub func(string, string, string) (ccv3.Warnings, error) 1970 mapRouteMutex sync.RWMutex 1971 mapRouteArgsForCall []struct { 1972 arg1 string 1973 arg2 string 1974 arg3 string 1975 } 1976 mapRouteReturns struct { 1977 result1 ccv3.Warnings 1978 result2 error 1979 } 1980 mapRouteReturnsOnCall map[int]struct { 1981 result1 ccv3.Warnings 1982 result2 error 1983 } 1984 MoveRouteStub func(string, string) (ccv3.Warnings, error) 1985 moveRouteMutex sync.RWMutex 1986 moveRouteArgsForCall []struct { 1987 arg1 string 1988 arg2 string 1989 } 1990 moveRouteReturns struct { 1991 result1 ccv3.Warnings 1992 result2 error 1993 } 1994 moveRouteReturnsOnCall map[int]struct { 1995 result1 ccv3.Warnings 1996 result2 error 1997 } 1998 PollJobStub func(ccv3.JobURL) (ccv3.Warnings, error) 1999 pollJobMutex sync.RWMutex 2000 pollJobArgsForCall []struct { 2001 arg1 ccv3.JobURL 2002 } 2003 pollJobReturns struct { 2004 result1 ccv3.Warnings 2005 result2 error 2006 } 2007 pollJobReturnsOnCall map[int]struct { 2008 result1 ccv3.Warnings 2009 result2 error 2010 } 2011 PollJobForStateStub func(ccv3.JobURL, constant.JobState) (ccv3.Warnings, error) 2012 pollJobForStateMutex sync.RWMutex 2013 pollJobForStateArgsForCall []struct { 2014 arg1 ccv3.JobURL 2015 arg2 constant.JobState 2016 } 2017 pollJobForStateReturns struct { 2018 result1 ccv3.Warnings 2019 result2 error 2020 } 2021 pollJobForStateReturnsOnCall map[int]struct { 2022 result1 ccv3.Warnings 2023 result2 error 2024 } 2025 PollJobToEventStreamStub func(ccv3.JobURL) chan ccv3.PollJobEvent 2026 pollJobToEventStreamMutex sync.RWMutex 2027 pollJobToEventStreamArgsForCall []struct { 2028 arg1 ccv3.JobURL 2029 } 2030 pollJobToEventStreamReturns struct { 2031 result1 chan ccv3.PollJobEvent 2032 } 2033 pollJobToEventStreamReturnsOnCall map[int]struct { 2034 result1 chan ccv3.PollJobEvent 2035 } 2036 PurgeServiceOfferingStub func(string) (ccv3.Warnings, error) 2037 purgeServiceOfferingMutex sync.RWMutex 2038 purgeServiceOfferingArgsForCall []struct { 2039 arg1 string 2040 } 2041 purgeServiceOfferingReturns struct { 2042 result1 ccv3.Warnings 2043 result2 error 2044 } 2045 purgeServiceOfferingReturnsOnCall map[int]struct { 2046 result1 ccv3.Warnings 2047 result2 error 2048 } 2049 ResourceMatchStub func([]ccv3.Resource) ([]ccv3.Resource, ccv3.Warnings, error) 2050 resourceMatchMutex sync.RWMutex 2051 resourceMatchArgsForCall []struct { 2052 arg1 []ccv3.Resource 2053 } 2054 resourceMatchReturns struct { 2055 result1 []ccv3.Resource 2056 result2 ccv3.Warnings 2057 result3 error 2058 } 2059 resourceMatchReturnsOnCall map[int]struct { 2060 result1 []ccv3.Resource 2061 result2 ccv3.Warnings 2062 result3 error 2063 } 2064 RootResponseStub func() (ccv3.Info, ccv3.Warnings, error) 2065 rootResponseMutex sync.RWMutex 2066 rootResponseArgsForCall []struct { 2067 } 2068 rootResponseReturns struct { 2069 result1 ccv3.Info 2070 result2 ccv3.Warnings 2071 result3 error 2072 } 2073 rootResponseReturnsOnCall map[int]struct { 2074 result1 ccv3.Info 2075 result2 ccv3.Warnings 2076 result3 error 2077 } 2078 SetApplicationDropletStub func(string, string) (resources.Relationship, ccv3.Warnings, error) 2079 setApplicationDropletMutex sync.RWMutex 2080 setApplicationDropletArgsForCall []struct { 2081 arg1 string 2082 arg2 string 2083 } 2084 setApplicationDropletReturns struct { 2085 result1 resources.Relationship 2086 result2 ccv3.Warnings 2087 result3 error 2088 } 2089 setApplicationDropletReturnsOnCall map[int]struct { 2090 result1 resources.Relationship 2091 result2 ccv3.Warnings 2092 result3 error 2093 } 2094 SharePrivateDomainToOrgsStub func(string, ccv3.SharedOrgs) (ccv3.Warnings, error) 2095 sharePrivateDomainToOrgsMutex sync.RWMutex 2096 sharePrivateDomainToOrgsArgsForCall []struct { 2097 arg1 string 2098 arg2 ccv3.SharedOrgs 2099 } 2100 sharePrivateDomainToOrgsReturns struct { 2101 result1 ccv3.Warnings 2102 result2 error 2103 } 2104 sharePrivateDomainToOrgsReturnsOnCall map[int]struct { 2105 result1 ccv3.Warnings 2106 result2 error 2107 } 2108 ShareRouteStub func(string, string) (ccv3.Warnings, error) 2109 shareRouteMutex sync.RWMutex 2110 shareRouteArgsForCall []struct { 2111 arg1 string 2112 arg2 string 2113 } 2114 shareRouteReturns struct { 2115 result1 ccv3.Warnings 2116 result2 error 2117 } 2118 shareRouteReturnsOnCall map[int]struct { 2119 result1 ccv3.Warnings 2120 result2 error 2121 } 2122 ShareServiceInstanceToSpacesStub func(string, []string) (resources.RelationshipList, ccv3.Warnings, error) 2123 shareServiceInstanceToSpacesMutex sync.RWMutex 2124 shareServiceInstanceToSpacesArgsForCall []struct { 2125 arg1 string 2126 arg2 []string 2127 } 2128 shareServiceInstanceToSpacesReturns struct { 2129 result1 resources.RelationshipList 2130 result2 ccv3.Warnings 2131 result3 error 2132 } 2133 shareServiceInstanceToSpacesReturnsOnCall map[int]struct { 2134 result1 resources.RelationshipList 2135 result2 ccv3.Warnings 2136 result3 error 2137 } 2138 TargetCFStub func(ccv3.TargetSettings) 2139 targetCFMutex sync.RWMutex 2140 targetCFArgsForCall []struct { 2141 arg1 ccv3.TargetSettings 2142 } 2143 UnbindSecurityGroupRunningSpaceStub func(string, string) (ccv3.Warnings, error) 2144 unbindSecurityGroupRunningSpaceMutex sync.RWMutex 2145 unbindSecurityGroupRunningSpaceArgsForCall []struct { 2146 arg1 string 2147 arg2 string 2148 } 2149 unbindSecurityGroupRunningSpaceReturns struct { 2150 result1 ccv3.Warnings 2151 result2 error 2152 } 2153 unbindSecurityGroupRunningSpaceReturnsOnCall map[int]struct { 2154 result1 ccv3.Warnings 2155 result2 error 2156 } 2157 UnbindSecurityGroupStagingSpaceStub func(string, string) (ccv3.Warnings, error) 2158 unbindSecurityGroupStagingSpaceMutex sync.RWMutex 2159 unbindSecurityGroupStagingSpaceArgsForCall []struct { 2160 arg1 string 2161 arg2 string 2162 } 2163 unbindSecurityGroupStagingSpaceReturns struct { 2164 result1 ccv3.Warnings 2165 result2 error 2166 } 2167 unbindSecurityGroupStagingSpaceReturnsOnCall map[int]struct { 2168 result1 ccv3.Warnings 2169 result2 error 2170 } 2171 UnmapRouteStub func(string, string) (ccv3.Warnings, error) 2172 unmapRouteMutex sync.RWMutex 2173 unmapRouteArgsForCall []struct { 2174 arg1 string 2175 arg2 string 2176 } 2177 unmapRouteReturns struct { 2178 result1 ccv3.Warnings 2179 result2 error 2180 } 2181 unmapRouteReturnsOnCall map[int]struct { 2182 result1 ccv3.Warnings 2183 result2 error 2184 } 2185 UnsetSpaceQuotaStub func(string, string) (ccv3.Warnings, error) 2186 unsetSpaceQuotaMutex sync.RWMutex 2187 unsetSpaceQuotaArgsForCall []struct { 2188 arg1 string 2189 arg2 string 2190 } 2191 unsetSpaceQuotaReturns struct { 2192 result1 ccv3.Warnings 2193 result2 error 2194 } 2195 unsetSpaceQuotaReturnsOnCall map[int]struct { 2196 result1 ccv3.Warnings 2197 result2 error 2198 } 2199 UnsharePrivateDomainFromOrgStub func(string, string) (ccv3.Warnings, error) 2200 unsharePrivateDomainFromOrgMutex sync.RWMutex 2201 unsharePrivateDomainFromOrgArgsForCall []struct { 2202 arg1 string 2203 arg2 string 2204 } 2205 unsharePrivateDomainFromOrgReturns struct { 2206 result1 ccv3.Warnings 2207 result2 error 2208 } 2209 unsharePrivateDomainFromOrgReturnsOnCall map[int]struct { 2210 result1 ccv3.Warnings 2211 result2 error 2212 } 2213 UnshareRouteStub func(string, string) (ccv3.Warnings, error) 2214 unshareRouteMutex sync.RWMutex 2215 unshareRouteArgsForCall []struct { 2216 arg1 string 2217 arg2 string 2218 } 2219 unshareRouteReturns struct { 2220 result1 ccv3.Warnings 2221 result2 error 2222 } 2223 unshareRouteReturnsOnCall map[int]struct { 2224 result1 ccv3.Warnings 2225 result2 error 2226 } 2227 UnshareServiceInstanceFromSpaceStub func(string, string) (ccv3.Warnings, error) 2228 unshareServiceInstanceFromSpaceMutex sync.RWMutex 2229 unshareServiceInstanceFromSpaceArgsForCall []struct { 2230 arg1 string 2231 arg2 string 2232 } 2233 unshareServiceInstanceFromSpaceReturns struct { 2234 result1 ccv3.Warnings 2235 result2 error 2236 } 2237 unshareServiceInstanceFromSpaceReturnsOnCall map[int]struct { 2238 result1 ccv3.Warnings 2239 result2 error 2240 } 2241 UpdateAppFeatureStub func(string, bool, string) (ccv3.Warnings, error) 2242 updateAppFeatureMutex sync.RWMutex 2243 updateAppFeatureArgsForCall []struct { 2244 arg1 string 2245 arg2 bool 2246 arg3 string 2247 } 2248 updateAppFeatureReturns struct { 2249 result1 ccv3.Warnings 2250 result2 error 2251 } 2252 updateAppFeatureReturnsOnCall map[int]struct { 2253 result1 ccv3.Warnings 2254 result2 error 2255 } 2256 UpdateApplicationStub func(resources.Application) (resources.Application, ccv3.Warnings, error) 2257 updateApplicationMutex sync.RWMutex 2258 updateApplicationArgsForCall []struct { 2259 arg1 resources.Application 2260 } 2261 updateApplicationReturns struct { 2262 result1 resources.Application 2263 result2 ccv3.Warnings 2264 result3 error 2265 } 2266 updateApplicationReturnsOnCall map[int]struct { 2267 result1 resources.Application 2268 result2 ccv3.Warnings 2269 result3 error 2270 } 2271 UpdateApplicationApplyManifestStub func(string, []byte) (ccv3.JobURL, ccv3.Warnings, error) 2272 updateApplicationApplyManifestMutex sync.RWMutex 2273 updateApplicationApplyManifestArgsForCall []struct { 2274 arg1 string 2275 arg2 []byte 2276 } 2277 updateApplicationApplyManifestReturns struct { 2278 result1 ccv3.JobURL 2279 result2 ccv3.Warnings 2280 result3 error 2281 } 2282 updateApplicationApplyManifestReturnsOnCall map[int]struct { 2283 result1 ccv3.JobURL 2284 result2 ccv3.Warnings 2285 result3 error 2286 } 2287 UpdateApplicationEnvironmentVariablesStub func(string, resources.EnvironmentVariables) (resources.EnvironmentVariables, ccv3.Warnings, error) 2288 updateApplicationEnvironmentVariablesMutex sync.RWMutex 2289 updateApplicationEnvironmentVariablesArgsForCall []struct { 2290 arg1 string 2291 arg2 resources.EnvironmentVariables 2292 } 2293 updateApplicationEnvironmentVariablesReturns struct { 2294 result1 resources.EnvironmentVariables 2295 result2 ccv3.Warnings 2296 result3 error 2297 } 2298 updateApplicationEnvironmentVariablesReturnsOnCall map[int]struct { 2299 result1 resources.EnvironmentVariables 2300 result2 ccv3.Warnings 2301 result3 error 2302 } 2303 UpdateApplicationNameStub func(string, string) (resources.Application, ccv3.Warnings, error) 2304 updateApplicationNameMutex sync.RWMutex 2305 updateApplicationNameArgsForCall []struct { 2306 arg1 string 2307 arg2 string 2308 } 2309 updateApplicationNameReturns struct { 2310 result1 resources.Application 2311 result2 ccv3.Warnings 2312 result3 error 2313 } 2314 updateApplicationNameReturnsOnCall map[int]struct { 2315 result1 resources.Application 2316 result2 ccv3.Warnings 2317 result3 error 2318 } 2319 UpdateApplicationRestartStub func(string) (resources.Application, ccv3.Warnings, error) 2320 updateApplicationRestartMutex sync.RWMutex 2321 updateApplicationRestartArgsForCall []struct { 2322 arg1 string 2323 } 2324 updateApplicationRestartReturns struct { 2325 result1 resources.Application 2326 result2 ccv3.Warnings 2327 result3 error 2328 } 2329 updateApplicationRestartReturnsOnCall map[int]struct { 2330 result1 resources.Application 2331 result2 ccv3.Warnings 2332 result3 error 2333 } 2334 UpdateApplicationStartStub func(string) (resources.Application, ccv3.Warnings, error) 2335 updateApplicationStartMutex sync.RWMutex 2336 updateApplicationStartArgsForCall []struct { 2337 arg1 string 2338 } 2339 updateApplicationStartReturns struct { 2340 result1 resources.Application 2341 result2 ccv3.Warnings 2342 result3 error 2343 } 2344 updateApplicationStartReturnsOnCall map[int]struct { 2345 result1 resources.Application 2346 result2 ccv3.Warnings 2347 result3 error 2348 } 2349 UpdateApplicationStopStub func(string) (resources.Application, ccv3.Warnings, error) 2350 updateApplicationStopMutex sync.RWMutex 2351 updateApplicationStopArgsForCall []struct { 2352 arg1 string 2353 } 2354 updateApplicationStopReturns struct { 2355 result1 resources.Application 2356 result2 ccv3.Warnings 2357 result3 error 2358 } 2359 updateApplicationStopReturnsOnCall map[int]struct { 2360 result1 resources.Application 2361 result2 ccv3.Warnings 2362 result3 error 2363 } 2364 UpdateBuildpackStub func(resources.Buildpack) (resources.Buildpack, ccv3.Warnings, error) 2365 updateBuildpackMutex sync.RWMutex 2366 updateBuildpackArgsForCall []struct { 2367 arg1 resources.Buildpack 2368 } 2369 updateBuildpackReturns struct { 2370 result1 resources.Buildpack 2371 result2 ccv3.Warnings 2372 result3 error 2373 } 2374 updateBuildpackReturnsOnCall map[int]struct { 2375 result1 resources.Buildpack 2376 result2 ccv3.Warnings 2377 result3 error 2378 } 2379 UpdateDestinationStub func(string, string, string) (ccv3.Warnings, error) 2380 updateDestinationMutex sync.RWMutex 2381 updateDestinationArgsForCall []struct { 2382 arg1 string 2383 arg2 string 2384 arg3 string 2385 } 2386 updateDestinationReturns struct { 2387 result1 ccv3.Warnings 2388 result2 error 2389 } 2390 updateDestinationReturnsOnCall map[int]struct { 2391 result1 ccv3.Warnings 2392 result2 error 2393 } 2394 UpdateEnvironmentVariableGroupStub func(constant.EnvironmentVariableGroupName, resources.EnvironmentVariables) (resources.EnvironmentVariables, ccv3.Warnings, error) 2395 updateEnvironmentVariableGroupMutex sync.RWMutex 2396 updateEnvironmentVariableGroupArgsForCall []struct { 2397 arg1 constant.EnvironmentVariableGroupName 2398 arg2 resources.EnvironmentVariables 2399 } 2400 updateEnvironmentVariableGroupReturns struct { 2401 result1 resources.EnvironmentVariables 2402 result2 ccv3.Warnings 2403 result3 error 2404 } 2405 updateEnvironmentVariableGroupReturnsOnCall map[int]struct { 2406 result1 resources.EnvironmentVariables 2407 result2 ccv3.Warnings 2408 result3 error 2409 } 2410 UpdateFeatureFlagStub func(resources.FeatureFlag) (resources.FeatureFlag, ccv3.Warnings, error) 2411 updateFeatureFlagMutex sync.RWMutex 2412 updateFeatureFlagArgsForCall []struct { 2413 arg1 resources.FeatureFlag 2414 } 2415 updateFeatureFlagReturns struct { 2416 result1 resources.FeatureFlag 2417 result2 ccv3.Warnings 2418 result3 error 2419 } 2420 updateFeatureFlagReturnsOnCall map[int]struct { 2421 result1 resources.FeatureFlag 2422 result2 ccv3.Warnings 2423 result3 error 2424 } 2425 UpdateOrganizationStub func(resources.Organization) (resources.Organization, ccv3.Warnings, error) 2426 updateOrganizationMutex sync.RWMutex 2427 updateOrganizationArgsForCall []struct { 2428 arg1 resources.Organization 2429 } 2430 updateOrganizationReturns struct { 2431 result1 resources.Organization 2432 result2 ccv3.Warnings 2433 result3 error 2434 } 2435 updateOrganizationReturnsOnCall map[int]struct { 2436 result1 resources.Organization 2437 result2 ccv3.Warnings 2438 result3 error 2439 } 2440 UpdateOrganizationDefaultIsolationSegmentRelationshipStub func(string, string) (resources.Relationship, ccv3.Warnings, error) 2441 updateOrganizationDefaultIsolationSegmentRelationshipMutex sync.RWMutex 2442 updateOrganizationDefaultIsolationSegmentRelationshipArgsForCall []struct { 2443 arg1 string 2444 arg2 string 2445 } 2446 updateOrganizationDefaultIsolationSegmentRelationshipReturns struct { 2447 result1 resources.Relationship 2448 result2 ccv3.Warnings 2449 result3 error 2450 } 2451 updateOrganizationDefaultIsolationSegmentRelationshipReturnsOnCall map[int]struct { 2452 result1 resources.Relationship 2453 result2 ccv3.Warnings 2454 result3 error 2455 } 2456 UpdateOrganizationQuotaStub func(resources.OrganizationQuota) (resources.OrganizationQuota, ccv3.Warnings, error) 2457 updateOrganizationQuotaMutex sync.RWMutex 2458 updateOrganizationQuotaArgsForCall []struct { 2459 arg1 resources.OrganizationQuota 2460 } 2461 updateOrganizationQuotaReturns struct { 2462 result1 resources.OrganizationQuota 2463 result2 ccv3.Warnings 2464 result3 error 2465 } 2466 updateOrganizationQuotaReturnsOnCall map[int]struct { 2467 result1 resources.OrganizationQuota 2468 result2 ccv3.Warnings 2469 result3 error 2470 } 2471 UpdateProcessStub func(resources.Process) (resources.Process, ccv3.Warnings, error) 2472 updateProcessMutex sync.RWMutex 2473 updateProcessArgsForCall []struct { 2474 arg1 resources.Process 2475 } 2476 updateProcessReturns struct { 2477 result1 resources.Process 2478 result2 ccv3.Warnings 2479 result3 error 2480 } 2481 updateProcessReturnsOnCall map[int]struct { 2482 result1 resources.Process 2483 result2 ccv3.Warnings 2484 result3 error 2485 } 2486 UpdateResourceMetadataStub func(string, string, resources.Metadata) (ccv3.JobURL, ccv3.Warnings, error) 2487 updateResourceMetadataMutex sync.RWMutex 2488 updateResourceMetadataArgsForCall []struct { 2489 arg1 string 2490 arg2 string 2491 arg3 resources.Metadata 2492 } 2493 updateResourceMetadataReturns struct { 2494 result1 ccv3.JobURL 2495 result2 ccv3.Warnings 2496 result3 error 2497 } 2498 updateResourceMetadataReturnsOnCall map[int]struct { 2499 result1 ccv3.JobURL 2500 result2 ccv3.Warnings 2501 result3 error 2502 } 2503 UpdateSecurityGroupStub func(resources.SecurityGroup) (resources.SecurityGroup, ccv3.Warnings, error) 2504 updateSecurityGroupMutex sync.RWMutex 2505 updateSecurityGroupArgsForCall []struct { 2506 arg1 resources.SecurityGroup 2507 } 2508 updateSecurityGroupReturns struct { 2509 result1 resources.SecurityGroup 2510 result2 ccv3.Warnings 2511 result3 error 2512 } 2513 updateSecurityGroupReturnsOnCall map[int]struct { 2514 result1 resources.SecurityGroup 2515 result2 ccv3.Warnings 2516 result3 error 2517 } 2518 UpdateSecurityGroupRunningSpaceStub func(string, []string) (ccv3.Warnings, error) 2519 updateSecurityGroupRunningSpaceMutex sync.RWMutex 2520 updateSecurityGroupRunningSpaceArgsForCall []struct { 2521 arg1 string 2522 arg2 []string 2523 } 2524 updateSecurityGroupRunningSpaceReturns struct { 2525 result1 ccv3.Warnings 2526 result2 error 2527 } 2528 updateSecurityGroupRunningSpaceReturnsOnCall map[int]struct { 2529 result1 ccv3.Warnings 2530 result2 error 2531 } 2532 UpdateSecurityGroupStagingSpaceStub func(string, []string) (ccv3.Warnings, error) 2533 updateSecurityGroupStagingSpaceMutex sync.RWMutex 2534 updateSecurityGroupStagingSpaceArgsForCall []struct { 2535 arg1 string 2536 arg2 []string 2537 } 2538 updateSecurityGroupStagingSpaceReturns struct { 2539 result1 ccv3.Warnings 2540 result2 error 2541 } 2542 updateSecurityGroupStagingSpaceReturnsOnCall map[int]struct { 2543 result1 ccv3.Warnings 2544 result2 error 2545 } 2546 UpdateServiceBrokerStub func(string, resources.ServiceBroker) (ccv3.JobURL, ccv3.Warnings, error) 2547 updateServiceBrokerMutex sync.RWMutex 2548 updateServiceBrokerArgsForCall []struct { 2549 arg1 string 2550 arg2 resources.ServiceBroker 2551 } 2552 updateServiceBrokerReturns struct { 2553 result1 ccv3.JobURL 2554 result2 ccv3.Warnings 2555 result3 error 2556 } 2557 updateServiceBrokerReturnsOnCall map[int]struct { 2558 result1 ccv3.JobURL 2559 result2 ccv3.Warnings 2560 result3 error 2561 } 2562 UpdateServiceInstanceStub func(string, resources.ServiceInstance) (ccv3.JobURL, ccv3.Warnings, error) 2563 updateServiceInstanceMutex sync.RWMutex 2564 updateServiceInstanceArgsForCall []struct { 2565 arg1 string 2566 arg2 resources.ServiceInstance 2567 } 2568 updateServiceInstanceReturns struct { 2569 result1 ccv3.JobURL 2570 result2 ccv3.Warnings 2571 result3 error 2572 } 2573 updateServiceInstanceReturnsOnCall map[int]struct { 2574 result1 ccv3.JobURL 2575 result2 ccv3.Warnings 2576 result3 error 2577 } 2578 UpdateServicePlanVisibilityStub func(string, resources.ServicePlanVisibility) (resources.ServicePlanVisibility, ccv3.Warnings, error) 2579 updateServicePlanVisibilityMutex sync.RWMutex 2580 updateServicePlanVisibilityArgsForCall []struct { 2581 arg1 string 2582 arg2 resources.ServicePlanVisibility 2583 } 2584 updateServicePlanVisibilityReturns struct { 2585 result1 resources.ServicePlanVisibility 2586 result2 ccv3.Warnings 2587 result3 error 2588 } 2589 updateServicePlanVisibilityReturnsOnCall map[int]struct { 2590 result1 resources.ServicePlanVisibility 2591 result2 ccv3.Warnings 2592 result3 error 2593 } 2594 UpdateSpaceStub func(resources.Space) (resources.Space, ccv3.Warnings, error) 2595 updateSpaceMutex sync.RWMutex 2596 updateSpaceArgsForCall []struct { 2597 arg1 resources.Space 2598 } 2599 updateSpaceReturns struct { 2600 result1 resources.Space 2601 result2 ccv3.Warnings 2602 result3 error 2603 } 2604 updateSpaceReturnsOnCall map[int]struct { 2605 result1 resources.Space 2606 result2 ccv3.Warnings 2607 result3 error 2608 } 2609 UpdateSpaceApplyManifestStub func(string, []byte) (ccv3.JobURL, ccv3.Warnings, error) 2610 updateSpaceApplyManifestMutex sync.RWMutex 2611 updateSpaceApplyManifestArgsForCall []struct { 2612 arg1 string 2613 arg2 []byte 2614 } 2615 updateSpaceApplyManifestReturns struct { 2616 result1 ccv3.JobURL 2617 result2 ccv3.Warnings 2618 result3 error 2619 } 2620 updateSpaceApplyManifestReturnsOnCall map[int]struct { 2621 result1 ccv3.JobURL 2622 result2 ccv3.Warnings 2623 result3 error 2624 } 2625 UpdateSpaceFeatureStub func(string, bool, string) (ccv3.Warnings, error) 2626 updateSpaceFeatureMutex sync.RWMutex 2627 updateSpaceFeatureArgsForCall []struct { 2628 arg1 string 2629 arg2 bool 2630 arg3 string 2631 } 2632 updateSpaceFeatureReturns struct { 2633 result1 ccv3.Warnings 2634 result2 error 2635 } 2636 updateSpaceFeatureReturnsOnCall map[int]struct { 2637 result1 ccv3.Warnings 2638 result2 error 2639 } 2640 UpdateSpaceIsolationSegmentRelationshipStub func(string, string) (resources.Relationship, ccv3.Warnings, error) 2641 updateSpaceIsolationSegmentRelationshipMutex sync.RWMutex 2642 updateSpaceIsolationSegmentRelationshipArgsForCall []struct { 2643 arg1 string 2644 arg2 string 2645 } 2646 updateSpaceIsolationSegmentRelationshipReturns struct { 2647 result1 resources.Relationship 2648 result2 ccv3.Warnings 2649 result3 error 2650 } 2651 updateSpaceIsolationSegmentRelationshipReturnsOnCall map[int]struct { 2652 result1 resources.Relationship 2653 result2 ccv3.Warnings 2654 result3 error 2655 } 2656 UpdateSpaceQuotaStub func(resources.SpaceQuota) (resources.SpaceQuota, ccv3.Warnings, error) 2657 updateSpaceQuotaMutex sync.RWMutex 2658 updateSpaceQuotaArgsForCall []struct { 2659 arg1 resources.SpaceQuota 2660 } 2661 updateSpaceQuotaReturns struct { 2662 result1 resources.SpaceQuota 2663 result2 ccv3.Warnings 2664 result3 error 2665 } 2666 updateSpaceQuotaReturnsOnCall map[int]struct { 2667 result1 resources.SpaceQuota 2668 result2 ccv3.Warnings 2669 result3 error 2670 } 2671 UpdateTaskCancelStub func(string) (resources.Task, ccv3.Warnings, error) 2672 updateTaskCancelMutex sync.RWMutex 2673 updateTaskCancelArgsForCall []struct { 2674 arg1 string 2675 } 2676 updateTaskCancelReturns struct { 2677 result1 resources.Task 2678 result2 ccv3.Warnings 2679 result3 error 2680 } 2681 updateTaskCancelReturnsOnCall map[int]struct { 2682 result1 resources.Task 2683 result2 ccv3.Warnings 2684 result3 error 2685 } 2686 UploadBitsPackageStub func(resources.Package, []ccv3.Resource, io.Reader, int64) (resources.Package, ccv3.Warnings, error) 2687 uploadBitsPackageMutex sync.RWMutex 2688 uploadBitsPackageArgsForCall []struct { 2689 arg1 resources.Package 2690 arg2 []ccv3.Resource 2691 arg3 io.Reader 2692 arg4 int64 2693 } 2694 uploadBitsPackageReturns struct { 2695 result1 resources.Package 2696 result2 ccv3.Warnings 2697 result3 error 2698 } 2699 uploadBitsPackageReturnsOnCall map[int]struct { 2700 result1 resources.Package 2701 result2 ccv3.Warnings 2702 result3 error 2703 } 2704 UploadBuildpackStub func(string, string, io.Reader, int64) (ccv3.JobURL, ccv3.Warnings, error) 2705 uploadBuildpackMutex sync.RWMutex 2706 uploadBuildpackArgsForCall []struct { 2707 arg1 string 2708 arg2 string 2709 arg3 io.Reader 2710 arg4 int64 2711 } 2712 uploadBuildpackReturns struct { 2713 result1 ccv3.JobURL 2714 result2 ccv3.Warnings 2715 result3 error 2716 } 2717 uploadBuildpackReturnsOnCall map[int]struct { 2718 result1 ccv3.JobURL 2719 result2 ccv3.Warnings 2720 result3 error 2721 } 2722 UploadDropletBitsStub func(string, string, io.Reader, int64) (ccv3.JobURL, ccv3.Warnings, error) 2723 uploadDropletBitsMutex sync.RWMutex 2724 uploadDropletBitsArgsForCall []struct { 2725 arg1 string 2726 arg2 string 2727 arg3 io.Reader 2728 arg4 int64 2729 } 2730 uploadDropletBitsReturns struct { 2731 result1 ccv3.JobURL 2732 result2 ccv3.Warnings 2733 result3 error 2734 } 2735 uploadDropletBitsReturnsOnCall map[int]struct { 2736 result1 ccv3.JobURL 2737 result2 ccv3.Warnings 2738 result3 error 2739 } 2740 UploadPackageStub func(resources.Package, string) (resources.Package, ccv3.Warnings, error) 2741 uploadPackageMutex sync.RWMutex 2742 uploadPackageArgsForCall []struct { 2743 arg1 resources.Package 2744 arg2 string 2745 } 2746 uploadPackageReturns struct { 2747 result1 resources.Package 2748 result2 ccv3.Warnings 2749 result3 error 2750 } 2751 uploadPackageReturnsOnCall map[int]struct { 2752 result1 resources.Package 2753 result2 ccv3.Warnings 2754 result3 error 2755 } 2756 WhoAmIStub func() (resources.K8sUser, ccv3.Warnings, error) 2757 whoAmIMutex sync.RWMutex 2758 whoAmIArgsForCall []struct { 2759 } 2760 whoAmIReturns struct { 2761 result1 resources.K8sUser 2762 result2 ccv3.Warnings 2763 result3 error 2764 } 2765 whoAmIReturnsOnCall map[int]struct { 2766 result1 resources.K8sUser 2767 result2 ccv3.Warnings 2768 result3 error 2769 } 2770 invocations map[string][][]interface{} 2771 invocationsMutex sync.RWMutex 2772 } 2773 2774 func (fake *FakeCloudControllerClient) ApplyOrganizationQuota(arg1 string, arg2 string) (resources.RelationshipList, ccv3.Warnings, error) { 2775 fake.applyOrganizationQuotaMutex.Lock() 2776 ret, specificReturn := fake.applyOrganizationQuotaReturnsOnCall[len(fake.applyOrganizationQuotaArgsForCall)] 2777 fake.applyOrganizationQuotaArgsForCall = append(fake.applyOrganizationQuotaArgsForCall, struct { 2778 arg1 string 2779 arg2 string 2780 }{arg1, arg2}) 2781 fake.recordInvocation("ApplyOrganizationQuota", []interface{}{arg1, arg2}) 2782 fake.applyOrganizationQuotaMutex.Unlock() 2783 if fake.ApplyOrganizationQuotaStub != nil { 2784 return fake.ApplyOrganizationQuotaStub(arg1, arg2) 2785 } 2786 if specificReturn { 2787 return ret.result1, ret.result2, ret.result3 2788 } 2789 fakeReturns := fake.applyOrganizationQuotaReturns 2790 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 2791 } 2792 2793 func (fake *FakeCloudControllerClient) ApplyOrganizationQuotaCallCount() int { 2794 fake.applyOrganizationQuotaMutex.RLock() 2795 defer fake.applyOrganizationQuotaMutex.RUnlock() 2796 return len(fake.applyOrganizationQuotaArgsForCall) 2797 } 2798 2799 func (fake *FakeCloudControllerClient) ApplyOrganizationQuotaCalls(stub func(string, string) (resources.RelationshipList, ccv3.Warnings, error)) { 2800 fake.applyOrganizationQuotaMutex.Lock() 2801 defer fake.applyOrganizationQuotaMutex.Unlock() 2802 fake.ApplyOrganizationQuotaStub = stub 2803 } 2804 2805 func (fake *FakeCloudControllerClient) ApplyOrganizationQuotaArgsForCall(i int) (string, string) { 2806 fake.applyOrganizationQuotaMutex.RLock() 2807 defer fake.applyOrganizationQuotaMutex.RUnlock() 2808 argsForCall := fake.applyOrganizationQuotaArgsForCall[i] 2809 return argsForCall.arg1, argsForCall.arg2 2810 } 2811 2812 func (fake *FakeCloudControllerClient) ApplyOrganizationQuotaReturns(result1 resources.RelationshipList, result2 ccv3.Warnings, result3 error) { 2813 fake.applyOrganizationQuotaMutex.Lock() 2814 defer fake.applyOrganizationQuotaMutex.Unlock() 2815 fake.ApplyOrganizationQuotaStub = nil 2816 fake.applyOrganizationQuotaReturns = struct { 2817 result1 resources.RelationshipList 2818 result2 ccv3.Warnings 2819 result3 error 2820 }{result1, result2, result3} 2821 } 2822 2823 func (fake *FakeCloudControllerClient) ApplyOrganizationQuotaReturnsOnCall(i int, result1 resources.RelationshipList, result2 ccv3.Warnings, result3 error) { 2824 fake.applyOrganizationQuotaMutex.Lock() 2825 defer fake.applyOrganizationQuotaMutex.Unlock() 2826 fake.ApplyOrganizationQuotaStub = nil 2827 if fake.applyOrganizationQuotaReturnsOnCall == nil { 2828 fake.applyOrganizationQuotaReturnsOnCall = make(map[int]struct { 2829 result1 resources.RelationshipList 2830 result2 ccv3.Warnings 2831 result3 error 2832 }) 2833 } 2834 fake.applyOrganizationQuotaReturnsOnCall[i] = struct { 2835 result1 resources.RelationshipList 2836 result2 ccv3.Warnings 2837 result3 error 2838 }{result1, result2, result3} 2839 } 2840 2841 func (fake *FakeCloudControllerClient) ApplySpaceQuota(arg1 string, arg2 string) (resources.RelationshipList, ccv3.Warnings, error) { 2842 fake.applySpaceQuotaMutex.Lock() 2843 ret, specificReturn := fake.applySpaceQuotaReturnsOnCall[len(fake.applySpaceQuotaArgsForCall)] 2844 fake.applySpaceQuotaArgsForCall = append(fake.applySpaceQuotaArgsForCall, struct { 2845 arg1 string 2846 arg2 string 2847 }{arg1, arg2}) 2848 fake.recordInvocation("ApplySpaceQuota", []interface{}{arg1, arg2}) 2849 fake.applySpaceQuotaMutex.Unlock() 2850 if fake.ApplySpaceQuotaStub != nil { 2851 return fake.ApplySpaceQuotaStub(arg1, arg2) 2852 } 2853 if specificReturn { 2854 return ret.result1, ret.result2, ret.result3 2855 } 2856 fakeReturns := fake.applySpaceQuotaReturns 2857 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 2858 } 2859 2860 func (fake *FakeCloudControllerClient) ApplySpaceQuotaCallCount() int { 2861 fake.applySpaceQuotaMutex.RLock() 2862 defer fake.applySpaceQuotaMutex.RUnlock() 2863 return len(fake.applySpaceQuotaArgsForCall) 2864 } 2865 2866 func (fake *FakeCloudControllerClient) ApplySpaceQuotaCalls(stub func(string, string) (resources.RelationshipList, ccv3.Warnings, error)) { 2867 fake.applySpaceQuotaMutex.Lock() 2868 defer fake.applySpaceQuotaMutex.Unlock() 2869 fake.ApplySpaceQuotaStub = stub 2870 } 2871 2872 func (fake *FakeCloudControllerClient) ApplySpaceQuotaArgsForCall(i int) (string, string) { 2873 fake.applySpaceQuotaMutex.RLock() 2874 defer fake.applySpaceQuotaMutex.RUnlock() 2875 argsForCall := fake.applySpaceQuotaArgsForCall[i] 2876 return argsForCall.arg1, argsForCall.arg2 2877 } 2878 2879 func (fake *FakeCloudControllerClient) ApplySpaceQuotaReturns(result1 resources.RelationshipList, result2 ccv3.Warnings, result3 error) { 2880 fake.applySpaceQuotaMutex.Lock() 2881 defer fake.applySpaceQuotaMutex.Unlock() 2882 fake.ApplySpaceQuotaStub = nil 2883 fake.applySpaceQuotaReturns = struct { 2884 result1 resources.RelationshipList 2885 result2 ccv3.Warnings 2886 result3 error 2887 }{result1, result2, result3} 2888 } 2889 2890 func (fake *FakeCloudControllerClient) ApplySpaceQuotaReturnsOnCall(i int, result1 resources.RelationshipList, result2 ccv3.Warnings, result3 error) { 2891 fake.applySpaceQuotaMutex.Lock() 2892 defer fake.applySpaceQuotaMutex.Unlock() 2893 fake.ApplySpaceQuotaStub = nil 2894 if fake.applySpaceQuotaReturnsOnCall == nil { 2895 fake.applySpaceQuotaReturnsOnCall = make(map[int]struct { 2896 result1 resources.RelationshipList 2897 result2 ccv3.Warnings 2898 result3 error 2899 }) 2900 } 2901 fake.applySpaceQuotaReturnsOnCall[i] = struct { 2902 result1 resources.RelationshipList 2903 result2 ccv3.Warnings 2904 result3 error 2905 }{result1, result2, result3} 2906 } 2907 2908 func (fake *FakeCloudControllerClient) CancelDeployment(arg1 string) (ccv3.Warnings, error) { 2909 fake.cancelDeploymentMutex.Lock() 2910 ret, specificReturn := fake.cancelDeploymentReturnsOnCall[len(fake.cancelDeploymentArgsForCall)] 2911 fake.cancelDeploymentArgsForCall = append(fake.cancelDeploymentArgsForCall, struct { 2912 arg1 string 2913 }{arg1}) 2914 fake.recordInvocation("CancelDeployment", []interface{}{arg1}) 2915 fake.cancelDeploymentMutex.Unlock() 2916 if fake.CancelDeploymentStub != nil { 2917 return fake.CancelDeploymentStub(arg1) 2918 } 2919 if specificReturn { 2920 return ret.result1, ret.result2 2921 } 2922 fakeReturns := fake.cancelDeploymentReturns 2923 return fakeReturns.result1, fakeReturns.result2 2924 } 2925 2926 func (fake *FakeCloudControllerClient) CancelDeploymentCallCount() int { 2927 fake.cancelDeploymentMutex.RLock() 2928 defer fake.cancelDeploymentMutex.RUnlock() 2929 return len(fake.cancelDeploymentArgsForCall) 2930 } 2931 2932 func (fake *FakeCloudControllerClient) CancelDeploymentCalls(stub func(string) (ccv3.Warnings, error)) { 2933 fake.cancelDeploymentMutex.Lock() 2934 defer fake.cancelDeploymentMutex.Unlock() 2935 fake.CancelDeploymentStub = stub 2936 } 2937 2938 func (fake *FakeCloudControllerClient) CancelDeploymentArgsForCall(i int) string { 2939 fake.cancelDeploymentMutex.RLock() 2940 defer fake.cancelDeploymentMutex.RUnlock() 2941 argsForCall := fake.cancelDeploymentArgsForCall[i] 2942 return argsForCall.arg1 2943 } 2944 2945 func (fake *FakeCloudControllerClient) CancelDeploymentReturns(result1 ccv3.Warnings, result2 error) { 2946 fake.cancelDeploymentMutex.Lock() 2947 defer fake.cancelDeploymentMutex.Unlock() 2948 fake.CancelDeploymentStub = nil 2949 fake.cancelDeploymentReturns = struct { 2950 result1 ccv3.Warnings 2951 result2 error 2952 }{result1, result2} 2953 } 2954 2955 func (fake *FakeCloudControllerClient) CancelDeploymentReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 2956 fake.cancelDeploymentMutex.Lock() 2957 defer fake.cancelDeploymentMutex.Unlock() 2958 fake.CancelDeploymentStub = nil 2959 if fake.cancelDeploymentReturnsOnCall == nil { 2960 fake.cancelDeploymentReturnsOnCall = make(map[int]struct { 2961 result1 ccv3.Warnings 2962 result2 error 2963 }) 2964 } 2965 fake.cancelDeploymentReturnsOnCall[i] = struct { 2966 result1 ccv3.Warnings 2967 result2 error 2968 }{result1, result2} 2969 } 2970 2971 func (fake *FakeCloudControllerClient) CheckRoute(arg1 string, arg2 string, arg3 string, arg4 int) (bool, ccv3.Warnings, error) { 2972 fake.checkRouteMutex.Lock() 2973 ret, specificReturn := fake.checkRouteReturnsOnCall[len(fake.checkRouteArgsForCall)] 2974 fake.checkRouteArgsForCall = append(fake.checkRouteArgsForCall, struct { 2975 arg1 string 2976 arg2 string 2977 arg3 string 2978 arg4 int 2979 }{arg1, arg2, arg3, arg4}) 2980 fake.recordInvocation("CheckRoute", []interface{}{arg1, arg2, arg3, arg4}) 2981 fake.checkRouteMutex.Unlock() 2982 if fake.CheckRouteStub != nil { 2983 return fake.CheckRouteStub(arg1, arg2, arg3, arg4) 2984 } 2985 if specificReturn { 2986 return ret.result1, ret.result2, ret.result3 2987 } 2988 fakeReturns := fake.checkRouteReturns 2989 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 2990 } 2991 2992 func (fake *FakeCloudControllerClient) CheckRouteCallCount() int { 2993 fake.checkRouteMutex.RLock() 2994 defer fake.checkRouteMutex.RUnlock() 2995 return len(fake.checkRouteArgsForCall) 2996 } 2997 2998 func (fake *FakeCloudControllerClient) CheckRouteCalls(stub func(string, string, string, int) (bool, ccv3.Warnings, error)) { 2999 fake.checkRouteMutex.Lock() 3000 defer fake.checkRouteMutex.Unlock() 3001 fake.CheckRouteStub = stub 3002 } 3003 3004 func (fake *FakeCloudControllerClient) CheckRouteArgsForCall(i int) (string, string, string, int) { 3005 fake.checkRouteMutex.RLock() 3006 defer fake.checkRouteMutex.RUnlock() 3007 argsForCall := fake.checkRouteArgsForCall[i] 3008 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4 3009 } 3010 3011 func (fake *FakeCloudControllerClient) CheckRouteReturns(result1 bool, result2 ccv3.Warnings, result3 error) { 3012 fake.checkRouteMutex.Lock() 3013 defer fake.checkRouteMutex.Unlock() 3014 fake.CheckRouteStub = nil 3015 fake.checkRouteReturns = struct { 3016 result1 bool 3017 result2 ccv3.Warnings 3018 result3 error 3019 }{result1, result2, result3} 3020 } 3021 3022 func (fake *FakeCloudControllerClient) CheckRouteReturnsOnCall(i int, result1 bool, result2 ccv3.Warnings, result3 error) { 3023 fake.checkRouteMutex.Lock() 3024 defer fake.checkRouteMutex.Unlock() 3025 fake.CheckRouteStub = nil 3026 if fake.checkRouteReturnsOnCall == nil { 3027 fake.checkRouteReturnsOnCall = make(map[int]struct { 3028 result1 bool 3029 result2 ccv3.Warnings 3030 result3 error 3031 }) 3032 } 3033 fake.checkRouteReturnsOnCall[i] = struct { 3034 result1 bool 3035 result2 ccv3.Warnings 3036 result3 error 3037 }{result1, result2, result3} 3038 } 3039 3040 func (fake *FakeCloudControllerClient) CopyPackage(arg1 string, arg2 string) (resources.Package, ccv3.Warnings, error) { 3041 fake.copyPackageMutex.Lock() 3042 ret, specificReturn := fake.copyPackageReturnsOnCall[len(fake.copyPackageArgsForCall)] 3043 fake.copyPackageArgsForCall = append(fake.copyPackageArgsForCall, struct { 3044 arg1 string 3045 arg2 string 3046 }{arg1, arg2}) 3047 fake.recordInvocation("CopyPackage", []interface{}{arg1, arg2}) 3048 fake.copyPackageMutex.Unlock() 3049 if fake.CopyPackageStub != nil { 3050 return fake.CopyPackageStub(arg1, arg2) 3051 } 3052 if specificReturn { 3053 return ret.result1, ret.result2, ret.result3 3054 } 3055 fakeReturns := fake.copyPackageReturns 3056 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3057 } 3058 3059 func (fake *FakeCloudControllerClient) CopyPackageCallCount() int { 3060 fake.copyPackageMutex.RLock() 3061 defer fake.copyPackageMutex.RUnlock() 3062 return len(fake.copyPackageArgsForCall) 3063 } 3064 3065 func (fake *FakeCloudControllerClient) CopyPackageCalls(stub func(string, string) (resources.Package, ccv3.Warnings, error)) { 3066 fake.copyPackageMutex.Lock() 3067 defer fake.copyPackageMutex.Unlock() 3068 fake.CopyPackageStub = stub 3069 } 3070 3071 func (fake *FakeCloudControllerClient) CopyPackageArgsForCall(i int) (string, string) { 3072 fake.copyPackageMutex.RLock() 3073 defer fake.copyPackageMutex.RUnlock() 3074 argsForCall := fake.copyPackageArgsForCall[i] 3075 return argsForCall.arg1, argsForCall.arg2 3076 } 3077 3078 func (fake *FakeCloudControllerClient) CopyPackageReturns(result1 resources.Package, result2 ccv3.Warnings, result3 error) { 3079 fake.copyPackageMutex.Lock() 3080 defer fake.copyPackageMutex.Unlock() 3081 fake.CopyPackageStub = nil 3082 fake.copyPackageReturns = struct { 3083 result1 resources.Package 3084 result2 ccv3.Warnings 3085 result3 error 3086 }{result1, result2, result3} 3087 } 3088 3089 func (fake *FakeCloudControllerClient) CopyPackageReturnsOnCall(i int, result1 resources.Package, result2 ccv3.Warnings, result3 error) { 3090 fake.copyPackageMutex.Lock() 3091 defer fake.copyPackageMutex.Unlock() 3092 fake.CopyPackageStub = nil 3093 if fake.copyPackageReturnsOnCall == nil { 3094 fake.copyPackageReturnsOnCall = make(map[int]struct { 3095 result1 resources.Package 3096 result2 ccv3.Warnings 3097 result3 error 3098 }) 3099 } 3100 fake.copyPackageReturnsOnCall[i] = struct { 3101 result1 resources.Package 3102 result2 ccv3.Warnings 3103 result3 error 3104 }{result1, result2, result3} 3105 } 3106 3107 func (fake *FakeCloudControllerClient) CreateApplication(arg1 resources.Application) (resources.Application, ccv3.Warnings, error) { 3108 fake.createApplicationMutex.Lock() 3109 ret, specificReturn := fake.createApplicationReturnsOnCall[len(fake.createApplicationArgsForCall)] 3110 fake.createApplicationArgsForCall = append(fake.createApplicationArgsForCall, struct { 3111 arg1 resources.Application 3112 }{arg1}) 3113 fake.recordInvocation("CreateApplication", []interface{}{arg1}) 3114 fake.createApplicationMutex.Unlock() 3115 if fake.CreateApplicationStub != nil { 3116 return fake.CreateApplicationStub(arg1) 3117 } 3118 if specificReturn { 3119 return ret.result1, ret.result2, ret.result3 3120 } 3121 fakeReturns := fake.createApplicationReturns 3122 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3123 } 3124 3125 func (fake *FakeCloudControllerClient) CreateApplicationCallCount() int { 3126 fake.createApplicationMutex.RLock() 3127 defer fake.createApplicationMutex.RUnlock() 3128 return len(fake.createApplicationArgsForCall) 3129 } 3130 3131 func (fake *FakeCloudControllerClient) CreateApplicationCalls(stub func(resources.Application) (resources.Application, ccv3.Warnings, error)) { 3132 fake.createApplicationMutex.Lock() 3133 defer fake.createApplicationMutex.Unlock() 3134 fake.CreateApplicationStub = stub 3135 } 3136 3137 func (fake *FakeCloudControllerClient) CreateApplicationArgsForCall(i int) resources.Application { 3138 fake.createApplicationMutex.RLock() 3139 defer fake.createApplicationMutex.RUnlock() 3140 argsForCall := fake.createApplicationArgsForCall[i] 3141 return argsForCall.arg1 3142 } 3143 3144 func (fake *FakeCloudControllerClient) CreateApplicationReturns(result1 resources.Application, result2 ccv3.Warnings, result3 error) { 3145 fake.createApplicationMutex.Lock() 3146 defer fake.createApplicationMutex.Unlock() 3147 fake.CreateApplicationStub = nil 3148 fake.createApplicationReturns = struct { 3149 result1 resources.Application 3150 result2 ccv3.Warnings 3151 result3 error 3152 }{result1, result2, result3} 3153 } 3154 3155 func (fake *FakeCloudControllerClient) CreateApplicationReturnsOnCall(i int, result1 resources.Application, result2 ccv3.Warnings, result3 error) { 3156 fake.createApplicationMutex.Lock() 3157 defer fake.createApplicationMutex.Unlock() 3158 fake.CreateApplicationStub = nil 3159 if fake.createApplicationReturnsOnCall == nil { 3160 fake.createApplicationReturnsOnCall = make(map[int]struct { 3161 result1 resources.Application 3162 result2 ccv3.Warnings 3163 result3 error 3164 }) 3165 } 3166 fake.createApplicationReturnsOnCall[i] = struct { 3167 result1 resources.Application 3168 result2 ccv3.Warnings 3169 result3 error 3170 }{result1, result2, result3} 3171 } 3172 3173 func (fake *FakeCloudControllerClient) CreateApplicationDeployment(arg1 string, arg2 string) (string, ccv3.Warnings, error) { 3174 fake.createApplicationDeploymentMutex.Lock() 3175 ret, specificReturn := fake.createApplicationDeploymentReturnsOnCall[len(fake.createApplicationDeploymentArgsForCall)] 3176 fake.createApplicationDeploymentArgsForCall = append(fake.createApplicationDeploymentArgsForCall, struct { 3177 arg1 string 3178 arg2 string 3179 }{arg1, arg2}) 3180 fake.recordInvocation("CreateApplicationDeployment", []interface{}{arg1, arg2}) 3181 fake.createApplicationDeploymentMutex.Unlock() 3182 if fake.CreateApplicationDeploymentStub != nil { 3183 return fake.CreateApplicationDeploymentStub(arg1, arg2) 3184 } 3185 if specificReturn { 3186 return ret.result1, ret.result2, ret.result3 3187 } 3188 fakeReturns := fake.createApplicationDeploymentReturns 3189 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3190 } 3191 3192 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentCallCount() int { 3193 fake.createApplicationDeploymentMutex.RLock() 3194 defer fake.createApplicationDeploymentMutex.RUnlock() 3195 return len(fake.createApplicationDeploymentArgsForCall) 3196 } 3197 3198 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentCalls(stub func(string, string) (string, ccv3.Warnings, error)) { 3199 fake.createApplicationDeploymentMutex.Lock() 3200 defer fake.createApplicationDeploymentMutex.Unlock() 3201 fake.CreateApplicationDeploymentStub = stub 3202 } 3203 3204 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentArgsForCall(i int) (string, string) { 3205 fake.createApplicationDeploymentMutex.RLock() 3206 defer fake.createApplicationDeploymentMutex.RUnlock() 3207 argsForCall := fake.createApplicationDeploymentArgsForCall[i] 3208 return argsForCall.arg1, argsForCall.arg2 3209 } 3210 3211 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentReturns(result1 string, result2 ccv3.Warnings, result3 error) { 3212 fake.createApplicationDeploymentMutex.Lock() 3213 defer fake.createApplicationDeploymentMutex.Unlock() 3214 fake.CreateApplicationDeploymentStub = nil 3215 fake.createApplicationDeploymentReturns = struct { 3216 result1 string 3217 result2 ccv3.Warnings 3218 result3 error 3219 }{result1, result2, result3} 3220 } 3221 3222 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentReturnsOnCall(i int, result1 string, result2 ccv3.Warnings, result3 error) { 3223 fake.createApplicationDeploymentMutex.Lock() 3224 defer fake.createApplicationDeploymentMutex.Unlock() 3225 fake.CreateApplicationDeploymentStub = nil 3226 if fake.createApplicationDeploymentReturnsOnCall == nil { 3227 fake.createApplicationDeploymentReturnsOnCall = make(map[int]struct { 3228 result1 string 3229 result2 ccv3.Warnings 3230 result3 error 3231 }) 3232 } 3233 fake.createApplicationDeploymentReturnsOnCall[i] = struct { 3234 result1 string 3235 result2 ccv3.Warnings 3236 result3 error 3237 }{result1, result2, result3} 3238 } 3239 3240 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentByRevision(arg1 string, arg2 string) (string, ccv3.Warnings, error) { 3241 fake.createApplicationDeploymentByRevisionMutex.Lock() 3242 ret, specificReturn := fake.createApplicationDeploymentByRevisionReturnsOnCall[len(fake.createApplicationDeploymentByRevisionArgsForCall)] 3243 fake.createApplicationDeploymentByRevisionArgsForCall = append(fake.createApplicationDeploymentByRevisionArgsForCall, struct { 3244 arg1 string 3245 arg2 string 3246 }{arg1, arg2}) 3247 fake.recordInvocation("CreateApplicationDeploymentByRevision", []interface{}{arg1, arg2}) 3248 fake.createApplicationDeploymentByRevisionMutex.Unlock() 3249 if fake.CreateApplicationDeploymentByRevisionStub != nil { 3250 return fake.CreateApplicationDeploymentByRevisionStub(arg1, arg2) 3251 } 3252 if specificReturn { 3253 return ret.result1, ret.result2, ret.result3 3254 } 3255 fakeReturns := fake.createApplicationDeploymentByRevisionReturns 3256 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3257 } 3258 3259 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentByRevisionCallCount() int { 3260 fake.createApplicationDeploymentByRevisionMutex.RLock() 3261 defer fake.createApplicationDeploymentByRevisionMutex.RUnlock() 3262 return len(fake.createApplicationDeploymentByRevisionArgsForCall) 3263 } 3264 3265 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentByRevisionCalls(stub func(string, string) (string, ccv3.Warnings, error)) { 3266 fake.createApplicationDeploymentByRevisionMutex.Lock() 3267 defer fake.createApplicationDeploymentByRevisionMutex.Unlock() 3268 fake.CreateApplicationDeploymentByRevisionStub = stub 3269 } 3270 3271 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentByRevisionArgsForCall(i int) (string, string) { 3272 fake.createApplicationDeploymentByRevisionMutex.RLock() 3273 defer fake.createApplicationDeploymentByRevisionMutex.RUnlock() 3274 argsForCall := fake.createApplicationDeploymentByRevisionArgsForCall[i] 3275 return argsForCall.arg1, argsForCall.arg2 3276 } 3277 3278 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentByRevisionReturns(result1 string, result2 ccv3.Warnings, result3 error) { 3279 fake.createApplicationDeploymentByRevisionMutex.Lock() 3280 defer fake.createApplicationDeploymentByRevisionMutex.Unlock() 3281 fake.CreateApplicationDeploymentByRevisionStub = nil 3282 fake.createApplicationDeploymentByRevisionReturns = struct { 3283 result1 string 3284 result2 ccv3.Warnings 3285 result3 error 3286 }{result1, result2, result3} 3287 } 3288 3289 func (fake *FakeCloudControllerClient) CreateApplicationDeploymentByRevisionReturnsOnCall(i int, result1 string, result2 ccv3.Warnings, result3 error) { 3290 fake.createApplicationDeploymentByRevisionMutex.Lock() 3291 defer fake.createApplicationDeploymentByRevisionMutex.Unlock() 3292 fake.CreateApplicationDeploymentByRevisionStub = nil 3293 if fake.createApplicationDeploymentByRevisionReturnsOnCall == nil { 3294 fake.createApplicationDeploymentByRevisionReturnsOnCall = make(map[int]struct { 3295 result1 string 3296 result2 ccv3.Warnings 3297 result3 error 3298 }) 3299 } 3300 fake.createApplicationDeploymentByRevisionReturnsOnCall[i] = struct { 3301 result1 string 3302 result2 ccv3.Warnings 3303 result3 error 3304 }{result1, result2, result3} 3305 } 3306 3307 func (fake *FakeCloudControllerClient) CreateApplicationProcessScale(arg1 string, arg2 resources.Process) (resources.Process, ccv3.Warnings, error) { 3308 fake.createApplicationProcessScaleMutex.Lock() 3309 ret, specificReturn := fake.createApplicationProcessScaleReturnsOnCall[len(fake.createApplicationProcessScaleArgsForCall)] 3310 fake.createApplicationProcessScaleArgsForCall = append(fake.createApplicationProcessScaleArgsForCall, struct { 3311 arg1 string 3312 arg2 resources.Process 3313 }{arg1, arg2}) 3314 fake.recordInvocation("CreateApplicationProcessScale", []interface{}{arg1, arg2}) 3315 fake.createApplicationProcessScaleMutex.Unlock() 3316 if fake.CreateApplicationProcessScaleStub != nil { 3317 return fake.CreateApplicationProcessScaleStub(arg1, arg2) 3318 } 3319 if specificReturn { 3320 return ret.result1, ret.result2, ret.result3 3321 } 3322 fakeReturns := fake.createApplicationProcessScaleReturns 3323 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3324 } 3325 3326 func (fake *FakeCloudControllerClient) CreateApplicationProcessScaleCallCount() int { 3327 fake.createApplicationProcessScaleMutex.RLock() 3328 defer fake.createApplicationProcessScaleMutex.RUnlock() 3329 return len(fake.createApplicationProcessScaleArgsForCall) 3330 } 3331 3332 func (fake *FakeCloudControllerClient) CreateApplicationProcessScaleCalls(stub func(string, resources.Process) (resources.Process, ccv3.Warnings, error)) { 3333 fake.createApplicationProcessScaleMutex.Lock() 3334 defer fake.createApplicationProcessScaleMutex.Unlock() 3335 fake.CreateApplicationProcessScaleStub = stub 3336 } 3337 3338 func (fake *FakeCloudControllerClient) CreateApplicationProcessScaleArgsForCall(i int) (string, resources.Process) { 3339 fake.createApplicationProcessScaleMutex.RLock() 3340 defer fake.createApplicationProcessScaleMutex.RUnlock() 3341 argsForCall := fake.createApplicationProcessScaleArgsForCall[i] 3342 return argsForCall.arg1, argsForCall.arg2 3343 } 3344 3345 func (fake *FakeCloudControllerClient) CreateApplicationProcessScaleReturns(result1 resources.Process, result2 ccv3.Warnings, result3 error) { 3346 fake.createApplicationProcessScaleMutex.Lock() 3347 defer fake.createApplicationProcessScaleMutex.Unlock() 3348 fake.CreateApplicationProcessScaleStub = nil 3349 fake.createApplicationProcessScaleReturns = struct { 3350 result1 resources.Process 3351 result2 ccv3.Warnings 3352 result3 error 3353 }{result1, result2, result3} 3354 } 3355 3356 func (fake *FakeCloudControllerClient) CreateApplicationProcessScaleReturnsOnCall(i int, result1 resources.Process, result2 ccv3.Warnings, result3 error) { 3357 fake.createApplicationProcessScaleMutex.Lock() 3358 defer fake.createApplicationProcessScaleMutex.Unlock() 3359 fake.CreateApplicationProcessScaleStub = nil 3360 if fake.createApplicationProcessScaleReturnsOnCall == nil { 3361 fake.createApplicationProcessScaleReturnsOnCall = make(map[int]struct { 3362 result1 resources.Process 3363 result2 ccv3.Warnings 3364 result3 error 3365 }) 3366 } 3367 fake.createApplicationProcessScaleReturnsOnCall[i] = struct { 3368 result1 resources.Process 3369 result2 ccv3.Warnings 3370 result3 error 3371 }{result1, result2, result3} 3372 } 3373 3374 func (fake *FakeCloudControllerClient) CreateApplicationTask(arg1 string, arg2 resources.Task) (resources.Task, ccv3.Warnings, error) { 3375 fake.createApplicationTaskMutex.Lock() 3376 ret, specificReturn := fake.createApplicationTaskReturnsOnCall[len(fake.createApplicationTaskArgsForCall)] 3377 fake.createApplicationTaskArgsForCall = append(fake.createApplicationTaskArgsForCall, struct { 3378 arg1 string 3379 arg2 resources.Task 3380 }{arg1, arg2}) 3381 fake.recordInvocation("CreateApplicationTask", []interface{}{arg1, arg2}) 3382 fake.createApplicationTaskMutex.Unlock() 3383 if fake.CreateApplicationTaskStub != nil { 3384 return fake.CreateApplicationTaskStub(arg1, arg2) 3385 } 3386 if specificReturn { 3387 return ret.result1, ret.result2, ret.result3 3388 } 3389 fakeReturns := fake.createApplicationTaskReturns 3390 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3391 } 3392 3393 func (fake *FakeCloudControllerClient) CreateApplicationTaskCallCount() int { 3394 fake.createApplicationTaskMutex.RLock() 3395 defer fake.createApplicationTaskMutex.RUnlock() 3396 return len(fake.createApplicationTaskArgsForCall) 3397 } 3398 3399 func (fake *FakeCloudControllerClient) CreateApplicationTaskCalls(stub func(string, resources.Task) (resources.Task, ccv3.Warnings, error)) { 3400 fake.createApplicationTaskMutex.Lock() 3401 defer fake.createApplicationTaskMutex.Unlock() 3402 fake.CreateApplicationTaskStub = stub 3403 } 3404 3405 func (fake *FakeCloudControllerClient) CreateApplicationTaskArgsForCall(i int) (string, resources.Task) { 3406 fake.createApplicationTaskMutex.RLock() 3407 defer fake.createApplicationTaskMutex.RUnlock() 3408 argsForCall := fake.createApplicationTaskArgsForCall[i] 3409 return argsForCall.arg1, argsForCall.arg2 3410 } 3411 3412 func (fake *FakeCloudControllerClient) CreateApplicationTaskReturns(result1 resources.Task, result2 ccv3.Warnings, result3 error) { 3413 fake.createApplicationTaskMutex.Lock() 3414 defer fake.createApplicationTaskMutex.Unlock() 3415 fake.CreateApplicationTaskStub = nil 3416 fake.createApplicationTaskReturns = struct { 3417 result1 resources.Task 3418 result2 ccv3.Warnings 3419 result3 error 3420 }{result1, result2, result3} 3421 } 3422 3423 func (fake *FakeCloudControllerClient) CreateApplicationTaskReturnsOnCall(i int, result1 resources.Task, result2 ccv3.Warnings, result3 error) { 3424 fake.createApplicationTaskMutex.Lock() 3425 defer fake.createApplicationTaskMutex.Unlock() 3426 fake.CreateApplicationTaskStub = nil 3427 if fake.createApplicationTaskReturnsOnCall == nil { 3428 fake.createApplicationTaskReturnsOnCall = make(map[int]struct { 3429 result1 resources.Task 3430 result2 ccv3.Warnings 3431 result3 error 3432 }) 3433 } 3434 fake.createApplicationTaskReturnsOnCall[i] = struct { 3435 result1 resources.Task 3436 result2 ccv3.Warnings 3437 result3 error 3438 }{result1, result2, result3} 3439 } 3440 3441 func (fake *FakeCloudControllerClient) CreateBuild(arg1 resources.Build) (resources.Build, ccv3.Warnings, error) { 3442 fake.createBuildMutex.Lock() 3443 ret, specificReturn := fake.createBuildReturnsOnCall[len(fake.createBuildArgsForCall)] 3444 fake.createBuildArgsForCall = append(fake.createBuildArgsForCall, struct { 3445 arg1 resources.Build 3446 }{arg1}) 3447 fake.recordInvocation("CreateBuild", []interface{}{arg1}) 3448 fake.createBuildMutex.Unlock() 3449 if fake.CreateBuildStub != nil { 3450 return fake.CreateBuildStub(arg1) 3451 } 3452 if specificReturn { 3453 return ret.result1, ret.result2, ret.result3 3454 } 3455 fakeReturns := fake.createBuildReturns 3456 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3457 } 3458 3459 func (fake *FakeCloudControllerClient) CreateBuildCallCount() int { 3460 fake.createBuildMutex.RLock() 3461 defer fake.createBuildMutex.RUnlock() 3462 return len(fake.createBuildArgsForCall) 3463 } 3464 3465 func (fake *FakeCloudControllerClient) CreateBuildCalls(stub func(resources.Build) (resources.Build, ccv3.Warnings, error)) { 3466 fake.createBuildMutex.Lock() 3467 defer fake.createBuildMutex.Unlock() 3468 fake.CreateBuildStub = stub 3469 } 3470 3471 func (fake *FakeCloudControllerClient) CreateBuildArgsForCall(i int) resources.Build { 3472 fake.createBuildMutex.RLock() 3473 defer fake.createBuildMutex.RUnlock() 3474 argsForCall := fake.createBuildArgsForCall[i] 3475 return argsForCall.arg1 3476 } 3477 3478 func (fake *FakeCloudControllerClient) CreateBuildReturns(result1 resources.Build, result2 ccv3.Warnings, result3 error) { 3479 fake.createBuildMutex.Lock() 3480 defer fake.createBuildMutex.Unlock() 3481 fake.CreateBuildStub = nil 3482 fake.createBuildReturns = struct { 3483 result1 resources.Build 3484 result2 ccv3.Warnings 3485 result3 error 3486 }{result1, result2, result3} 3487 } 3488 3489 func (fake *FakeCloudControllerClient) CreateBuildReturnsOnCall(i int, result1 resources.Build, result2 ccv3.Warnings, result3 error) { 3490 fake.createBuildMutex.Lock() 3491 defer fake.createBuildMutex.Unlock() 3492 fake.CreateBuildStub = nil 3493 if fake.createBuildReturnsOnCall == nil { 3494 fake.createBuildReturnsOnCall = make(map[int]struct { 3495 result1 resources.Build 3496 result2 ccv3.Warnings 3497 result3 error 3498 }) 3499 } 3500 fake.createBuildReturnsOnCall[i] = struct { 3501 result1 resources.Build 3502 result2 ccv3.Warnings 3503 result3 error 3504 }{result1, result2, result3} 3505 } 3506 3507 func (fake *FakeCloudControllerClient) CreateBuildpack(arg1 resources.Buildpack) (resources.Buildpack, ccv3.Warnings, error) { 3508 fake.createBuildpackMutex.Lock() 3509 ret, specificReturn := fake.createBuildpackReturnsOnCall[len(fake.createBuildpackArgsForCall)] 3510 fake.createBuildpackArgsForCall = append(fake.createBuildpackArgsForCall, struct { 3511 arg1 resources.Buildpack 3512 }{arg1}) 3513 fake.recordInvocation("CreateBuildpack", []interface{}{arg1}) 3514 fake.createBuildpackMutex.Unlock() 3515 if fake.CreateBuildpackStub != nil { 3516 return fake.CreateBuildpackStub(arg1) 3517 } 3518 if specificReturn { 3519 return ret.result1, ret.result2, ret.result3 3520 } 3521 fakeReturns := fake.createBuildpackReturns 3522 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3523 } 3524 3525 func (fake *FakeCloudControllerClient) CreateBuildpackCallCount() int { 3526 fake.createBuildpackMutex.RLock() 3527 defer fake.createBuildpackMutex.RUnlock() 3528 return len(fake.createBuildpackArgsForCall) 3529 } 3530 3531 func (fake *FakeCloudControllerClient) CreateBuildpackCalls(stub func(resources.Buildpack) (resources.Buildpack, ccv3.Warnings, error)) { 3532 fake.createBuildpackMutex.Lock() 3533 defer fake.createBuildpackMutex.Unlock() 3534 fake.CreateBuildpackStub = stub 3535 } 3536 3537 func (fake *FakeCloudControllerClient) CreateBuildpackArgsForCall(i int) resources.Buildpack { 3538 fake.createBuildpackMutex.RLock() 3539 defer fake.createBuildpackMutex.RUnlock() 3540 argsForCall := fake.createBuildpackArgsForCall[i] 3541 return argsForCall.arg1 3542 } 3543 3544 func (fake *FakeCloudControllerClient) CreateBuildpackReturns(result1 resources.Buildpack, result2 ccv3.Warnings, result3 error) { 3545 fake.createBuildpackMutex.Lock() 3546 defer fake.createBuildpackMutex.Unlock() 3547 fake.CreateBuildpackStub = nil 3548 fake.createBuildpackReturns = struct { 3549 result1 resources.Buildpack 3550 result2 ccv3.Warnings 3551 result3 error 3552 }{result1, result2, result3} 3553 } 3554 3555 func (fake *FakeCloudControllerClient) CreateBuildpackReturnsOnCall(i int, result1 resources.Buildpack, result2 ccv3.Warnings, result3 error) { 3556 fake.createBuildpackMutex.Lock() 3557 defer fake.createBuildpackMutex.Unlock() 3558 fake.CreateBuildpackStub = nil 3559 if fake.createBuildpackReturnsOnCall == nil { 3560 fake.createBuildpackReturnsOnCall = make(map[int]struct { 3561 result1 resources.Buildpack 3562 result2 ccv3.Warnings 3563 result3 error 3564 }) 3565 } 3566 fake.createBuildpackReturnsOnCall[i] = struct { 3567 result1 resources.Buildpack 3568 result2 ccv3.Warnings 3569 result3 error 3570 }{result1, result2, result3} 3571 } 3572 3573 func (fake *FakeCloudControllerClient) CreateDomain(arg1 resources.Domain) (resources.Domain, ccv3.Warnings, error) { 3574 fake.createDomainMutex.Lock() 3575 ret, specificReturn := fake.createDomainReturnsOnCall[len(fake.createDomainArgsForCall)] 3576 fake.createDomainArgsForCall = append(fake.createDomainArgsForCall, struct { 3577 arg1 resources.Domain 3578 }{arg1}) 3579 fake.recordInvocation("CreateDomain", []interface{}{arg1}) 3580 fake.createDomainMutex.Unlock() 3581 if fake.CreateDomainStub != nil { 3582 return fake.CreateDomainStub(arg1) 3583 } 3584 if specificReturn { 3585 return ret.result1, ret.result2, ret.result3 3586 } 3587 fakeReturns := fake.createDomainReturns 3588 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3589 } 3590 3591 func (fake *FakeCloudControllerClient) CreateDomainCallCount() int { 3592 fake.createDomainMutex.RLock() 3593 defer fake.createDomainMutex.RUnlock() 3594 return len(fake.createDomainArgsForCall) 3595 } 3596 3597 func (fake *FakeCloudControllerClient) CreateDomainCalls(stub func(resources.Domain) (resources.Domain, ccv3.Warnings, error)) { 3598 fake.createDomainMutex.Lock() 3599 defer fake.createDomainMutex.Unlock() 3600 fake.CreateDomainStub = stub 3601 } 3602 3603 func (fake *FakeCloudControllerClient) CreateDomainArgsForCall(i int) resources.Domain { 3604 fake.createDomainMutex.RLock() 3605 defer fake.createDomainMutex.RUnlock() 3606 argsForCall := fake.createDomainArgsForCall[i] 3607 return argsForCall.arg1 3608 } 3609 3610 func (fake *FakeCloudControllerClient) CreateDomainReturns(result1 resources.Domain, result2 ccv3.Warnings, result3 error) { 3611 fake.createDomainMutex.Lock() 3612 defer fake.createDomainMutex.Unlock() 3613 fake.CreateDomainStub = nil 3614 fake.createDomainReturns = struct { 3615 result1 resources.Domain 3616 result2 ccv3.Warnings 3617 result3 error 3618 }{result1, result2, result3} 3619 } 3620 3621 func (fake *FakeCloudControllerClient) CreateDomainReturnsOnCall(i int, result1 resources.Domain, result2 ccv3.Warnings, result3 error) { 3622 fake.createDomainMutex.Lock() 3623 defer fake.createDomainMutex.Unlock() 3624 fake.CreateDomainStub = nil 3625 if fake.createDomainReturnsOnCall == nil { 3626 fake.createDomainReturnsOnCall = make(map[int]struct { 3627 result1 resources.Domain 3628 result2 ccv3.Warnings 3629 result3 error 3630 }) 3631 } 3632 fake.createDomainReturnsOnCall[i] = struct { 3633 result1 resources.Domain 3634 result2 ccv3.Warnings 3635 result3 error 3636 }{result1, result2, result3} 3637 } 3638 3639 func (fake *FakeCloudControllerClient) CreateDroplet(arg1 string) (resources.Droplet, ccv3.Warnings, error) { 3640 fake.createDropletMutex.Lock() 3641 ret, specificReturn := fake.createDropletReturnsOnCall[len(fake.createDropletArgsForCall)] 3642 fake.createDropletArgsForCall = append(fake.createDropletArgsForCall, struct { 3643 arg1 string 3644 }{arg1}) 3645 fake.recordInvocation("CreateDroplet", []interface{}{arg1}) 3646 fake.createDropletMutex.Unlock() 3647 if fake.CreateDropletStub != nil { 3648 return fake.CreateDropletStub(arg1) 3649 } 3650 if specificReturn { 3651 return ret.result1, ret.result2, ret.result3 3652 } 3653 fakeReturns := fake.createDropletReturns 3654 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3655 } 3656 3657 func (fake *FakeCloudControllerClient) CreateDropletCallCount() int { 3658 fake.createDropletMutex.RLock() 3659 defer fake.createDropletMutex.RUnlock() 3660 return len(fake.createDropletArgsForCall) 3661 } 3662 3663 func (fake *FakeCloudControllerClient) CreateDropletCalls(stub func(string) (resources.Droplet, ccv3.Warnings, error)) { 3664 fake.createDropletMutex.Lock() 3665 defer fake.createDropletMutex.Unlock() 3666 fake.CreateDropletStub = stub 3667 } 3668 3669 func (fake *FakeCloudControllerClient) CreateDropletArgsForCall(i int) string { 3670 fake.createDropletMutex.RLock() 3671 defer fake.createDropletMutex.RUnlock() 3672 argsForCall := fake.createDropletArgsForCall[i] 3673 return argsForCall.arg1 3674 } 3675 3676 func (fake *FakeCloudControllerClient) CreateDropletReturns(result1 resources.Droplet, result2 ccv3.Warnings, result3 error) { 3677 fake.createDropletMutex.Lock() 3678 defer fake.createDropletMutex.Unlock() 3679 fake.CreateDropletStub = nil 3680 fake.createDropletReturns = struct { 3681 result1 resources.Droplet 3682 result2 ccv3.Warnings 3683 result3 error 3684 }{result1, result2, result3} 3685 } 3686 3687 func (fake *FakeCloudControllerClient) CreateDropletReturnsOnCall(i int, result1 resources.Droplet, result2 ccv3.Warnings, result3 error) { 3688 fake.createDropletMutex.Lock() 3689 defer fake.createDropletMutex.Unlock() 3690 fake.CreateDropletStub = nil 3691 if fake.createDropletReturnsOnCall == nil { 3692 fake.createDropletReturnsOnCall = make(map[int]struct { 3693 result1 resources.Droplet 3694 result2 ccv3.Warnings 3695 result3 error 3696 }) 3697 } 3698 fake.createDropletReturnsOnCall[i] = struct { 3699 result1 resources.Droplet 3700 result2 ccv3.Warnings 3701 result3 error 3702 }{result1, result2, result3} 3703 } 3704 3705 func (fake *FakeCloudControllerClient) CreateIsolationSegment(arg1 resources.IsolationSegment) (resources.IsolationSegment, ccv3.Warnings, error) { 3706 fake.createIsolationSegmentMutex.Lock() 3707 ret, specificReturn := fake.createIsolationSegmentReturnsOnCall[len(fake.createIsolationSegmentArgsForCall)] 3708 fake.createIsolationSegmentArgsForCall = append(fake.createIsolationSegmentArgsForCall, struct { 3709 arg1 resources.IsolationSegment 3710 }{arg1}) 3711 fake.recordInvocation("CreateIsolationSegment", []interface{}{arg1}) 3712 fake.createIsolationSegmentMutex.Unlock() 3713 if fake.CreateIsolationSegmentStub != nil { 3714 return fake.CreateIsolationSegmentStub(arg1) 3715 } 3716 if specificReturn { 3717 return ret.result1, ret.result2, ret.result3 3718 } 3719 fakeReturns := fake.createIsolationSegmentReturns 3720 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3721 } 3722 3723 func (fake *FakeCloudControllerClient) CreateIsolationSegmentCallCount() int { 3724 fake.createIsolationSegmentMutex.RLock() 3725 defer fake.createIsolationSegmentMutex.RUnlock() 3726 return len(fake.createIsolationSegmentArgsForCall) 3727 } 3728 3729 func (fake *FakeCloudControllerClient) CreateIsolationSegmentCalls(stub func(resources.IsolationSegment) (resources.IsolationSegment, ccv3.Warnings, error)) { 3730 fake.createIsolationSegmentMutex.Lock() 3731 defer fake.createIsolationSegmentMutex.Unlock() 3732 fake.CreateIsolationSegmentStub = stub 3733 } 3734 3735 func (fake *FakeCloudControllerClient) CreateIsolationSegmentArgsForCall(i int) resources.IsolationSegment { 3736 fake.createIsolationSegmentMutex.RLock() 3737 defer fake.createIsolationSegmentMutex.RUnlock() 3738 argsForCall := fake.createIsolationSegmentArgsForCall[i] 3739 return argsForCall.arg1 3740 } 3741 3742 func (fake *FakeCloudControllerClient) CreateIsolationSegmentReturns(result1 resources.IsolationSegment, result2 ccv3.Warnings, result3 error) { 3743 fake.createIsolationSegmentMutex.Lock() 3744 defer fake.createIsolationSegmentMutex.Unlock() 3745 fake.CreateIsolationSegmentStub = nil 3746 fake.createIsolationSegmentReturns = struct { 3747 result1 resources.IsolationSegment 3748 result2 ccv3.Warnings 3749 result3 error 3750 }{result1, result2, result3} 3751 } 3752 3753 func (fake *FakeCloudControllerClient) CreateIsolationSegmentReturnsOnCall(i int, result1 resources.IsolationSegment, result2 ccv3.Warnings, result3 error) { 3754 fake.createIsolationSegmentMutex.Lock() 3755 defer fake.createIsolationSegmentMutex.Unlock() 3756 fake.CreateIsolationSegmentStub = nil 3757 if fake.createIsolationSegmentReturnsOnCall == nil { 3758 fake.createIsolationSegmentReturnsOnCall = make(map[int]struct { 3759 result1 resources.IsolationSegment 3760 result2 ccv3.Warnings 3761 result3 error 3762 }) 3763 } 3764 fake.createIsolationSegmentReturnsOnCall[i] = struct { 3765 result1 resources.IsolationSegment 3766 result2 ccv3.Warnings 3767 result3 error 3768 }{result1, result2, result3} 3769 } 3770 3771 func (fake *FakeCloudControllerClient) CreateOrganization(arg1 string) (resources.Organization, ccv3.Warnings, error) { 3772 fake.createOrganizationMutex.Lock() 3773 ret, specificReturn := fake.createOrganizationReturnsOnCall[len(fake.createOrganizationArgsForCall)] 3774 fake.createOrganizationArgsForCall = append(fake.createOrganizationArgsForCall, struct { 3775 arg1 string 3776 }{arg1}) 3777 fake.recordInvocation("CreateOrganization", []interface{}{arg1}) 3778 fake.createOrganizationMutex.Unlock() 3779 if fake.CreateOrganizationStub != nil { 3780 return fake.CreateOrganizationStub(arg1) 3781 } 3782 if specificReturn { 3783 return ret.result1, ret.result2, ret.result3 3784 } 3785 fakeReturns := fake.createOrganizationReturns 3786 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3787 } 3788 3789 func (fake *FakeCloudControllerClient) CreateOrganizationCallCount() int { 3790 fake.createOrganizationMutex.RLock() 3791 defer fake.createOrganizationMutex.RUnlock() 3792 return len(fake.createOrganizationArgsForCall) 3793 } 3794 3795 func (fake *FakeCloudControllerClient) CreateOrganizationCalls(stub func(string) (resources.Organization, ccv3.Warnings, error)) { 3796 fake.createOrganizationMutex.Lock() 3797 defer fake.createOrganizationMutex.Unlock() 3798 fake.CreateOrganizationStub = stub 3799 } 3800 3801 func (fake *FakeCloudControllerClient) CreateOrganizationArgsForCall(i int) string { 3802 fake.createOrganizationMutex.RLock() 3803 defer fake.createOrganizationMutex.RUnlock() 3804 argsForCall := fake.createOrganizationArgsForCall[i] 3805 return argsForCall.arg1 3806 } 3807 3808 func (fake *FakeCloudControllerClient) CreateOrganizationReturns(result1 resources.Organization, result2 ccv3.Warnings, result3 error) { 3809 fake.createOrganizationMutex.Lock() 3810 defer fake.createOrganizationMutex.Unlock() 3811 fake.CreateOrganizationStub = nil 3812 fake.createOrganizationReturns = struct { 3813 result1 resources.Organization 3814 result2 ccv3.Warnings 3815 result3 error 3816 }{result1, result2, result3} 3817 } 3818 3819 func (fake *FakeCloudControllerClient) CreateOrganizationReturnsOnCall(i int, result1 resources.Organization, result2 ccv3.Warnings, result3 error) { 3820 fake.createOrganizationMutex.Lock() 3821 defer fake.createOrganizationMutex.Unlock() 3822 fake.CreateOrganizationStub = nil 3823 if fake.createOrganizationReturnsOnCall == nil { 3824 fake.createOrganizationReturnsOnCall = make(map[int]struct { 3825 result1 resources.Organization 3826 result2 ccv3.Warnings 3827 result3 error 3828 }) 3829 } 3830 fake.createOrganizationReturnsOnCall[i] = struct { 3831 result1 resources.Organization 3832 result2 ccv3.Warnings 3833 result3 error 3834 }{result1, result2, result3} 3835 } 3836 3837 func (fake *FakeCloudControllerClient) CreateOrganizationQuota(arg1 resources.OrganizationQuota) (resources.OrganizationQuota, ccv3.Warnings, error) { 3838 fake.createOrganizationQuotaMutex.Lock() 3839 ret, specificReturn := fake.createOrganizationQuotaReturnsOnCall[len(fake.createOrganizationQuotaArgsForCall)] 3840 fake.createOrganizationQuotaArgsForCall = append(fake.createOrganizationQuotaArgsForCall, struct { 3841 arg1 resources.OrganizationQuota 3842 }{arg1}) 3843 fake.recordInvocation("CreateOrganizationQuota", []interface{}{arg1}) 3844 fake.createOrganizationQuotaMutex.Unlock() 3845 if fake.CreateOrganizationQuotaStub != nil { 3846 return fake.CreateOrganizationQuotaStub(arg1) 3847 } 3848 if specificReturn { 3849 return ret.result1, ret.result2, ret.result3 3850 } 3851 fakeReturns := fake.createOrganizationQuotaReturns 3852 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3853 } 3854 3855 func (fake *FakeCloudControllerClient) CreateOrganizationQuotaCallCount() int { 3856 fake.createOrganizationQuotaMutex.RLock() 3857 defer fake.createOrganizationQuotaMutex.RUnlock() 3858 return len(fake.createOrganizationQuotaArgsForCall) 3859 } 3860 3861 func (fake *FakeCloudControllerClient) CreateOrganizationQuotaCalls(stub func(resources.OrganizationQuota) (resources.OrganizationQuota, ccv3.Warnings, error)) { 3862 fake.createOrganizationQuotaMutex.Lock() 3863 defer fake.createOrganizationQuotaMutex.Unlock() 3864 fake.CreateOrganizationQuotaStub = stub 3865 } 3866 3867 func (fake *FakeCloudControllerClient) CreateOrganizationQuotaArgsForCall(i int) resources.OrganizationQuota { 3868 fake.createOrganizationQuotaMutex.RLock() 3869 defer fake.createOrganizationQuotaMutex.RUnlock() 3870 argsForCall := fake.createOrganizationQuotaArgsForCall[i] 3871 return argsForCall.arg1 3872 } 3873 3874 func (fake *FakeCloudControllerClient) CreateOrganizationQuotaReturns(result1 resources.OrganizationQuota, result2 ccv3.Warnings, result3 error) { 3875 fake.createOrganizationQuotaMutex.Lock() 3876 defer fake.createOrganizationQuotaMutex.Unlock() 3877 fake.CreateOrganizationQuotaStub = nil 3878 fake.createOrganizationQuotaReturns = struct { 3879 result1 resources.OrganizationQuota 3880 result2 ccv3.Warnings 3881 result3 error 3882 }{result1, result2, result3} 3883 } 3884 3885 func (fake *FakeCloudControllerClient) CreateOrganizationQuotaReturnsOnCall(i int, result1 resources.OrganizationQuota, result2 ccv3.Warnings, result3 error) { 3886 fake.createOrganizationQuotaMutex.Lock() 3887 defer fake.createOrganizationQuotaMutex.Unlock() 3888 fake.CreateOrganizationQuotaStub = nil 3889 if fake.createOrganizationQuotaReturnsOnCall == nil { 3890 fake.createOrganizationQuotaReturnsOnCall = make(map[int]struct { 3891 result1 resources.OrganizationQuota 3892 result2 ccv3.Warnings 3893 result3 error 3894 }) 3895 } 3896 fake.createOrganizationQuotaReturnsOnCall[i] = struct { 3897 result1 resources.OrganizationQuota 3898 result2 ccv3.Warnings 3899 result3 error 3900 }{result1, result2, result3} 3901 } 3902 3903 func (fake *FakeCloudControllerClient) CreatePackage(arg1 resources.Package) (resources.Package, ccv3.Warnings, error) { 3904 fake.createPackageMutex.Lock() 3905 ret, specificReturn := fake.createPackageReturnsOnCall[len(fake.createPackageArgsForCall)] 3906 fake.createPackageArgsForCall = append(fake.createPackageArgsForCall, struct { 3907 arg1 resources.Package 3908 }{arg1}) 3909 fake.recordInvocation("CreatePackage", []interface{}{arg1}) 3910 fake.createPackageMutex.Unlock() 3911 if fake.CreatePackageStub != nil { 3912 return fake.CreatePackageStub(arg1) 3913 } 3914 if specificReturn { 3915 return ret.result1, ret.result2, ret.result3 3916 } 3917 fakeReturns := fake.createPackageReturns 3918 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3919 } 3920 3921 func (fake *FakeCloudControllerClient) CreatePackageCallCount() int { 3922 fake.createPackageMutex.RLock() 3923 defer fake.createPackageMutex.RUnlock() 3924 return len(fake.createPackageArgsForCall) 3925 } 3926 3927 func (fake *FakeCloudControllerClient) CreatePackageCalls(stub func(resources.Package) (resources.Package, ccv3.Warnings, error)) { 3928 fake.createPackageMutex.Lock() 3929 defer fake.createPackageMutex.Unlock() 3930 fake.CreatePackageStub = stub 3931 } 3932 3933 func (fake *FakeCloudControllerClient) CreatePackageArgsForCall(i int) resources.Package { 3934 fake.createPackageMutex.RLock() 3935 defer fake.createPackageMutex.RUnlock() 3936 argsForCall := fake.createPackageArgsForCall[i] 3937 return argsForCall.arg1 3938 } 3939 3940 func (fake *FakeCloudControllerClient) CreatePackageReturns(result1 resources.Package, result2 ccv3.Warnings, result3 error) { 3941 fake.createPackageMutex.Lock() 3942 defer fake.createPackageMutex.Unlock() 3943 fake.CreatePackageStub = nil 3944 fake.createPackageReturns = struct { 3945 result1 resources.Package 3946 result2 ccv3.Warnings 3947 result3 error 3948 }{result1, result2, result3} 3949 } 3950 3951 func (fake *FakeCloudControllerClient) CreatePackageReturnsOnCall(i int, result1 resources.Package, result2 ccv3.Warnings, result3 error) { 3952 fake.createPackageMutex.Lock() 3953 defer fake.createPackageMutex.Unlock() 3954 fake.CreatePackageStub = nil 3955 if fake.createPackageReturnsOnCall == nil { 3956 fake.createPackageReturnsOnCall = make(map[int]struct { 3957 result1 resources.Package 3958 result2 ccv3.Warnings 3959 result3 error 3960 }) 3961 } 3962 fake.createPackageReturnsOnCall[i] = struct { 3963 result1 resources.Package 3964 result2 ccv3.Warnings 3965 result3 error 3966 }{result1, result2, result3} 3967 } 3968 3969 func (fake *FakeCloudControllerClient) CreateRole(arg1 resources.Role) (resources.Role, ccv3.Warnings, error) { 3970 fake.createRoleMutex.Lock() 3971 ret, specificReturn := fake.createRoleReturnsOnCall[len(fake.createRoleArgsForCall)] 3972 fake.createRoleArgsForCall = append(fake.createRoleArgsForCall, struct { 3973 arg1 resources.Role 3974 }{arg1}) 3975 fake.recordInvocation("CreateRole", []interface{}{arg1}) 3976 fake.createRoleMutex.Unlock() 3977 if fake.CreateRoleStub != nil { 3978 return fake.CreateRoleStub(arg1) 3979 } 3980 if specificReturn { 3981 return ret.result1, ret.result2, ret.result3 3982 } 3983 fakeReturns := fake.createRoleReturns 3984 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 3985 } 3986 3987 func (fake *FakeCloudControllerClient) CreateRoleCallCount() int { 3988 fake.createRoleMutex.RLock() 3989 defer fake.createRoleMutex.RUnlock() 3990 return len(fake.createRoleArgsForCall) 3991 } 3992 3993 func (fake *FakeCloudControllerClient) CreateRoleCalls(stub func(resources.Role) (resources.Role, ccv3.Warnings, error)) { 3994 fake.createRoleMutex.Lock() 3995 defer fake.createRoleMutex.Unlock() 3996 fake.CreateRoleStub = stub 3997 } 3998 3999 func (fake *FakeCloudControllerClient) CreateRoleArgsForCall(i int) resources.Role { 4000 fake.createRoleMutex.RLock() 4001 defer fake.createRoleMutex.RUnlock() 4002 argsForCall := fake.createRoleArgsForCall[i] 4003 return argsForCall.arg1 4004 } 4005 4006 func (fake *FakeCloudControllerClient) CreateRoleReturns(result1 resources.Role, result2 ccv3.Warnings, result3 error) { 4007 fake.createRoleMutex.Lock() 4008 defer fake.createRoleMutex.Unlock() 4009 fake.CreateRoleStub = nil 4010 fake.createRoleReturns = struct { 4011 result1 resources.Role 4012 result2 ccv3.Warnings 4013 result3 error 4014 }{result1, result2, result3} 4015 } 4016 4017 func (fake *FakeCloudControllerClient) CreateRoleReturnsOnCall(i int, result1 resources.Role, result2 ccv3.Warnings, result3 error) { 4018 fake.createRoleMutex.Lock() 4019 defer fake.createRoleMutex.Unlock() 4020 fake.CreateRoleStub = nil 4021 if fake.createRoleReturnsOnCall == nil { 4022 fake.createRoleReturnsOnCall = make(map[int]struct { 4023 result1 resources.Role 4024 result2 ccv3.Warnings 4025 result3 error 4026 }) 4027 } 4028 fake.createRoleReturnsOnCall[i] = struct { 4029 result1 resources.Role 4030 result2 ccv3.Warnings 4031 result3 error 4032 }{result1, result2, result3} 4033 } 4034 4035 func (fake *FakeCloudControllerClient) CreateRoute(arg1 resources.Route) (resources.Route, ccv3.Warnings, error) { 4036 fake.createRouteMutex.Lock() 4037 ret, specificReturn := fake.createRouteReturnsOnCall[len(fake.createRouteArgsForCall)] 4038 fake.createRouteArgsForCall = append(fake.createRouteArgsForCall, struct { 4039 arg1 resources.Route 4040 }{arg1}) 4041 fake.recordInvocation("CreateRoute", []interface{}{arg1}) 4042 fake.createRouteMutex.Unlock() 4043 if fake.CreateRouteStub != nil { 4044 return fake.CreateRouteStub(arg1) 4045 } 4046 if specificReturn { 4047 return ret.result1, ret.result2, ret.result3 4048 } 4049 fakeReturns := fake.createRouteReturns 4050 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4051 } 4052 4053 func (fake *FakeCloudControllerClient) CreateRouteCallCount() int { 4054 fake.createRouteMutex.RLock() 4055 defer fake.createRouteMutex.RUnlock() 4056 return len(fake.createRouteArgsForCall) 4057 } 4058 4059 func (fake *FakeCloudControllerClient) CreateRouteCalls(stub func(resources.Route) (resources.Route, ccv3.Warnings, error)) { 4060 fake.createRouteMutex.Lock() 4061 defer fake.createRouteMutex.Unlock() 4062 fake.CreateRouteStub = stub 4063 } 4064 4065 func (fake *FakeCloudControllerClient) CreateRouteArgsForCall(i int) resources.Route { 4066 fake.createRouteMutex.RLock() 4067 defer fake.createRouteMutex.RUnlock() 4068 argsForCall := fake.createRouteArgsForCall[i] 4069 return argsForCall.arg1 4070 } 4071 4072 func (fake *FakeCloudControllerClient) CreateRouteReturns(result1 resources.Route, result2 ccv3.Warnings, result3 error) { 4073 fake.createRouteMutex.Lock() 4074 defer fake.createRouteMutex.Unlock() 4075 fake.CreateRouteStub = nil 4076 fake.createRouteReturns = struct { 4077 result1 resources.Route 4078 result2 ccv3.Warnings 4079 result3 error 4080 }{result1, result2, result3} 4081 } 4082 4083 func (fake *FakeCloudControllerClient) CreateRouteReturnsOnCall(i int, result1 resources.Route, result2 ccv3.Warnings, result3 error) { 4084 fake.createRouteMutex.Lock() 4085 defer fake.createRouteMutex.Unlock() 4086 fake.CreateRouteStub = nil 4087 if fake.createRouteReturnsOnCall == nil { 4088 fake.createRouteReturnsOnCall = make(map[int]struct { 4089 result1 resources.Route 4090 result2 ccv3.Warnings 4091 result3 error 4092 }) 4093 } 4094 fake.createRouteReturnsOnCall[i] = struct { 4095 result1 resources.Route 4096 result2 ccv3.Warnings 4097 result3 error 4098 }{result1, result2, result3} 4099 } 4100 4101 func (fake *FakeCloudControllerClient) CreateRouteBinding(arg1 resources.RouteBinding) (ccv3.JobURL, ccv3.Warnings, error) { 4102 fake.createRouteBindingMutex.Lock() 4103 ret, specificReturn := fake.createRouteBindingReturnsOnCall[len(fake.createRouteBindingArgsForCall)] 4104 fake.createRouteBindingArgsForCall = append(fake.createRouteBindingArgsForCall, struct { 4105 arg1 resources.RouteBinding 4106 }{arg1}) 4107 fake.recordInvocation("CreateRouteBinding", []interface{}{arg1}) 4108 fake.createRouteBindingMutex.Unlock() 4109 if fake.CreateRouteBindingStub != nil { 4110 return fake.CreateRouteBindingStub(arg1) 4111 } 4112 if specificReturn { 4113 return ret.result1, ret.result2, ret.result3 4114 } 4115 fakeReturns := fake.createRouteBindingReturns 4116 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4117 } 4118 4119 func (fake *FakeCloudControllerClient) CreateRouteBindingCallCount() int { 4120 fake.createRouteBindingMutex.RLock() 4121 defer fake.createRouteBindingMutex.RUnlock() 4122 return len(fake.createRouteBindingArgsForCall) 4123 } 4124 4125 func (fake *FakeCloudControllerClient) CreateRouteBindingCalls(stub func(resources.RouteBinding) (ccv3.JobURL, ccv3.Warnings, error)) { 4126 fake.createRouteBindingMutex.Lock() 4127 defer fake.createRouteBindingMutex.Unlock() 4128 fake.CreateRouteBindingStub = stub 4129 } 4130 4131 func (fake *FakeCloudControllerClient) CreateRouteBindingArgsForCall(i int) resources.RouteBinding { 4132 fake.createRouteBindingMutex.RLock() 4133 defer fake.createRouteBindingMutex.RUnlock() 4134 argsForCall := fake.createRouteBindingArgsForCall[i] 4135 return argsForCall.arg1 4136 } 4137 4138 func (fake *FakeCloudControllerClient) CreateRouteBindingReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4139 fake.createRouteBindingMutex.Lock() 4140 defer fake.createRouteBindingMutex.Unlock() 4141 fake.CreateRouteBindingStub = nil 4142 fake.createRouteBindingReturns = struct { 4143 result1 ccv3.JobURL 4144 result2 ccv3.Warnings 4145 result3 error 4146 }{result1, result2, result3} 4147 } 4148 4149 func (fake *FakeCloudControllerClient) CreateRouteBindingReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4150 fake.createRouteBindingMutex.Lock() 4151 defer fake.createRouteBindingMutex.Unlock() 4152 fake.CreateRouteBindingStub = nil 4153 if fake.createRouteBindingReturnsOnCall == nil { 4154 fake.createRouteBindingReturnsOnCall = make(map[int]struct { 4155 result1 ccv3.JobURL 4156 result2 ccv3.Warnings 4157 result3 error 4158 }) 4159 } 4160 fake.createRouteBindingReturnsOnCall[i] = struct { 4161 result1 ccv3.JobURL 4162 result2 ccv3.Warnings 4163 result3 error 4164 }{result1, result2, result3} 4165 } 4166 4167 func (fake *FakeCloudControllerClient) CreateSecurityGroup(arg1 resources.SecurityGroup) (resources.SecurityGroup, ccv3.Warnings, error) { 4168 fake.createSecurityGroupMutex.Lock() 4169 ret, specificReturn := fake.createSecurityGroupReturnsOnCall[len(fake.createSecurityGroupArgsForCall)] 4170 fake.createSecurityGroupArgsForCall = append(fake.createSecurityGroupArgsForCall, struct { 4171 arg1 resources.SecurityGroup 4172 }{arg1}) 4173 fake.recordInvocation("CreateSecurityGroup", []interface{}{arg1}) 4174 fake.createSecurityGroupMutex.Unlock() 4175 if fake.CreateSecurityGroupStub != nil { 4176 return fake.CreateSecurityGroupStub(arg1) 4177 } 4178 if specificReturn { 4179 return ret.result1, ret.result2, ret.result3 4180 } 4181 fakeReturns := fake.createSecurityGroupReturns 4182 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4183 } 4184 4185 func (fake *FakeCloudControllerClient) CreateSecurityGroupCallCount() int { 4186 fake.createSecurityGroupMutex.RLock() 4187 defer fake.createSecurityGroupMutex.RUnlock() 4188 return len(fake.createSecurityGroupArgsForCall) 4189 } 4190 4191 func (fake *FakeCloudControllerClient) CreateSecurityGroupCalls(stub func(resources.SecurityGroup) (resources.SecurityGroup, ccv3.Warnings, error)) { 4192 fake.createSecurityGroupMutex.Lock() 4193 defer fake.createSecurityGroupMutex.Unlock() 4194 fake.CreateSecurityGroupStub = stub 4195 } 4196 4197 func (fake *FakeCloudControllerClient) CreateSecurityGroupArgsForCall(i int) resources.SecurityGroup { 4198 fake.createSecurityGroupMutex.RLock() 4199 defer fake.createSecurityGroupMutex.RUnlock() 4200 argsForCall := fake.createSecurityGroupArgsForCall[i] 4201 return argsForCall.arg1 4202 } 4203 4204 func (fake *FakeCloudControllerClient) CreateSecurityGroupReturns(result1 resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 4205 fake.createSecurityGroupMutex.Lock() 4206 defer fake.createSecurityGroupMutex.Unlock() 4207 fake.CreateSecurityGroupStub = nil 4208 fake.createSecurityGroupReturns = struct { 4209 result1 resources.SecurityGroup 4210 result2 ccv3.Warnings 4211 result3 error 4212 }{result1, result2, result3} 4213 } 4214 4215 func (fake *FakeCloudControllerClient) CreateSecurityGroupReturnsOnCall(i int, result1 resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 4216 fake.createSecurityGroupMutex.Lock() 4217 defer fake.createSecurityGroupMutex.Unlock() 4218 fake.CreateSecurityGroupStub = nil 4219 if fake.createSecurityGroupReturnsOnCall == nil { 4220 fake.createSecurityGroupReturnsOnCall = make(map[int]struct { 4221 result1 resources.SecurityGroup 4222 result2 ccv3.Warnings 4223 result3 error 4224 }) 4225 } 4226 fake.createSecurityGroupReturnsOnCall[i] = struct { 4227 result1 resources.SecurityGroup 4228 result2 ccv3.Warnings 4229 result3 error 4230 }{result1, result2, result3} 4231 } 4232 4233 func (fake *FakeCloudControllerClient) CreateServiceBroker(arg1 resources.ServiceBroker) (ccv3.JobURL, ccv3.Warnings, error) { 4234 fake.createServiceBrokerMutex.Lock() 4235 ret, specificReturn := fake.createServiceBrokerReturnsOnCall[len(fake.createServiceBrokerArgsForCall)] 4236 fake.createServiceBrokerArgsForCall = append(fake.createServiceBrokerArgsForCall, struct { 4237 arg1 resources.ServiceBroker 4238 }{arg1}) 4239 fake.recordInvocation("CreateServiceBroker", []interface{}{arg1}) 4240 fake.createServiceBrokerMutex.Unlock() 4241 if fake.CreateServiceBrokerStub != nil { 4242 return fake.CreateServiceBrokerStub(arg1) 4243 } 4244 if specificReturn { 4245 return ret.result1, ret.result2, ret.result3 4246 } 4247 fakeReturns := fake.createServiceBrokerReturns 4248 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4249 } 4250 4251 func (fake *FakeCloudControllerClient) CreateServiceBrokerCallCount() int { 4252 fake.createServiceBrokerMutex.RLock() 4253 defer fake.createServiceBrokerMutex.RUnlock() 4254 return len(fake.createServiceBrokerArgsForCall) 4255 } 4256 4257 func (fake *FakeCloudControllerClient) CreateServiceBrokerCalls(stub func(resources.ServiceBroker) (ccv3.JobURL, ccv3.Warnings, error)) { 4258 fake.createServiceBrokerMutex.Lock() 4259 defer fake.createServiceBrokerMutex.Unlock() 4260 fake.CreateServiceBrokerStub = stub 4261 } 4262 4263 func (fake *FakeCloudControllerClient) CreateServiceBrokerArgsForCall(i int) resources.ServiceBroker { 4264 fake.createServiceBrokerMutex.RLock() 4265 defer fake.createServiceBrokerMutex.RUnlock() 4266 argsForCall := fake.createServiceBrokerArgsForCall[i] 4267 return argsForCall.arg1 4268 } 4269 4270 func (fake *FakeCloudControllerClient) CreateServiceBrokerReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4271 fake.createServiceBrokerMutex.Lock() 4272 defer fake.createServiceBrokerMutex.Unlock() 4273 fake.CreateServiceBrokerStub = nil 4274 fake.createServiceBrokerReturns = struct { 4275 result1 ccv3.JobURL 4276 result2 ccv3.Warnings 4277 result3 error 4278 }{result1, result2, result3} 4279 } 4280 4281 func (fake *FakeCloudControllerClient) CreateServiceBrokerReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4282 fake.createServiceBrokerMutex.Lock() 4283 defer fake.createServiceBrokerMutex.Unlock() 4284 fake.CreateServiceBrokerStub = nil 4285 if fake.createServiceBrokerReturnsOnCall == nil { 4286 fake.createServiceBrokerReturnsOnCall = make(map[int]struct { 4287 result1 ccv3.JobURL 4288 result2 ccv3.Warnings 4289 result3 error 4290 }) 4291 } 4292 fake.createServiceBrokerReturnsOnCall[i] = struct { 4293 result1 ccv3.JobURL 4294 result2 ccv3.Warnings 4295 result3 error 4296 }{result1, result2, result3} 4297 } 4298 4299 func (fake *FakeCloudControllerClient) CreateServiceCredentialBinding(arg1 resources.ServiceCredentialBinding) (ccv3.JobURL, ccv3.Warnings, error) { 4300 fake.createServiceCredentialBindingMutex.Lock() 4301 ret, specificReturn := fake.createServiceCredentialBindingReturnsOnCall[len(fake.createServiceCredentialBindingArgsForCall)] 4302 fake.createServiceCredentialBindingArgsForCall = append(fake.createServiceCredentialBindingArgsForCall, struct { 4303 arg1 resources.ServiceCredentialBinding 4304 }{arg1}) 4305 fake.recordInvocation("CreateServiceCredentialBinding", []interface{}{arg1}) 4306 fake.createServiceCredentialBindingMutex.Unlock() 4307 if fake.CreateServiceCredentialBindingStub != nil { 4308 return fake.CreateServiceCredentialBindingStub(arg1) 4309 } 4310 if specificReturn { 4311 return ret.result1, ret.result2, ret.result3 4312 } 4313 fakeReturns := fake.createServiceCredentialBindingReturns 4314 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4315 } 4316 4317 func (fake *FakeCloudControllerClient) CreateServiceCredentialBindingCallCount() int { 4318 fake.createServiceCredentialBindingMutex.RLock() 4319 defer fake.createServiceCredentialBindingMutex.RUnlock() 4320 return len(fake.createServiceCredentialBindingArgsForCall) 4321 } 4322 4323 func (fake *FakeCloudControllerClient) CreateServiceCredentialBindingCalls(stub func(resources.ServiceCredentialBinding) (ccv3.JobURL, ccv3.Warnings, error)) { 4324 fake.createServiceCredentialBindingMutex.Lock() 4325 defer fake.createServiceCredentialBindingMutex.Unlock() 4326 fake.CreateServiceCredentialBindingStub = stub 4327 } 4328 4329 func (fake *FakeCloudControllerClient) CreateServiceCredentialBindingArgsForCall(i int) resources.ServiceCredentialBinding { 4330 fake.createServiceCredentialBindingMutex.RLock() 4331 defer fake.createServiceCredentialBindingMutex.RUnlock() 4332 argsForCall := fake.createServiceCredentialBindingArgsForCall[i] 4333 return argsForCall.arg1 4334 } 4335 4336 func (fake *FakeCloudControllerClient) CreateServiceCredentialBindingReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4337 fake.createServiceCredentialBindingMutex.Lock() 4338 defer fake.createServiceCredentialBindingMutex.Unlock() 4339 fake.CreateServiceCredentialBindingStub = nil 4340 fake.createServiceCredentialBindingReturns = struct { 4341 result1 ccv3.JobURL 4342 result2 ccv3.Warnings 4343 result3 error 4344 }{result1, result2, result3} 4345 } 4346 4347 func (fake *FakeCloudControllerClient) CreateServiceCredentialBindingReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4348 fake.createServiceCredentialBindingMutex.Lock() 4349 defer fake.createServiceCredentialBindingMutex.Unlock() 4350 fake.CreateServiceCredentialBindingStub = nil 4351 if fake.createServiceCredentialBindingReturnsOnCall == nil { 4352 fake.createServiceCredentialBindingReturnsOnCall = make(map[int]struct { 4353 result1 ccv3.JobURL 4354 result2 ccv3.Warnings 4355 result3 error 4356 }) 4357 } 4358 fake.createServiceCredentialBindingReturnsOnCall[i] = struct { 4359 result1 ccv3.JobURL 4360 result2 ccv3.Warnings 4361 result3 error 4362 }{result1, result2, result3} 4363 } 4364 4365 func (fake *FakeCloudControllerClient) CreateServiceInstance(arg1 resources.ServiceInstance) (ccv3.JobURL, ccv3.Warnings, error) { 4366 fake.createServiceInstanceMutex.Lock() 4367 ret, specificReturn := fake.createServiceInstanceReturnsOnCall[len(fake.createServiceInstanceArgsForCall)] 4368 fake.createServiceInstanceArgsForCall = append(fake.createServiceInstanceArgsForCall, struct { 4369 arg1 resources.ServiceInstance 4370 }{arg1}) 4371 fake.recordInvocation("CreateServiceInstance", []interface{}{arg1}) 4372 fake.createServiceInstanceMutex.Unlock() 4373 if fake.CreateServiceInstanceStub != nil { 4374 return fake.CreateServiceInstanceStub(arg1) 4375 } 4376 if specificReturn { 4377 return ret.result1, ret.result2, ret.result3 4378 } 4379 fakeReturns := fake.createServiceInstanceReturns 4380 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4381 } 4382 4383 func (fake *FakeCloudControllerClient) CreateServiceInstanceCallCount() int { 4384 fake.createServiceInstanceMutex.RLock() 4385 defer fake.createServiceInstanceMutex.RUnlock() 4386 return len(fake.createServiceInstanceArgsForCall) 4387 } 4388 4389 func (fake *FakeCloudControllerClient) CreateServiceInstanceCalls(stub func(resources.ServiceInstance) (ccv3.JobURL, ccv3.Warnings, error)) { 4390 fake.createServiceInstanceMutex.Lock() 4391 defer fake.createServiceInstanceMutex.Unlock() 4392 fake.CreateServiceInstanceStub = stub 4393 } 4394 4395 func (fake *FakeCloudControllerClient) CreateServiceInstanceArgsForCall(i int) resources.ServiceInstance { 4396 fake.createServiceInstanceMutex.RLock() 4397 defer fake.createServiceInstanceMutex.RUnlock() 4398 argsForCall := fake.createServiceInstanceArgsForCall[i] 4399 return argsForCall.arg1 4400 } 4401 4402 func (fake *FakeCloudControllerClient) CreateServiceInstanceReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4403 fake.createServiceInstanceMutex.Lock() 4404 defer fake.createServiceInstanceMutex.Unlock() 4405 fake.CreateServiceInstanceStub = nil 4406 fake.createServiceInstanceReturns = struct { 4407 result1 ccv3.JobURL 4408 result2 ccv3.Warnings 4409 result3 error 4410 }{result1, result2, result3} 4411 } 4412 4413 func (fake *FakeCloudControllerClient) CreateServiceInstanceReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4414 fake.createServiceInstanceMutex.Lock() 4415 defer fake.createServiceInstanceMutex.Unlock() 4416 fake.CreateServiceInstanceStub = nil 4417 if fake.createServiceInstanceReturnsOnCall == nil { 4418 fake.createServiceInstanceReturnsOnCall = make(map[int]struct { 4419 result1 ccv3.JobURL 4420 result2 ccv3.Warnings 4421 result3 error 4422 }) 4423 } 4424 fake.createServiceInstanceReturnsOnCall[i] = struct { 4425 result1 ccv3.JobURL 4426 result2 ccv3.Warnings 4427 result3 error 4428 }{result1, result2, result3} 4429 } 4430 4431 func (fake *FakeCloudControllerClient) CreateSpace(arg1 resources.Space) (resources.Space, ccv3.Warnings, error) { 4432 fake.createSpaceMutex.Lock() 4433 ret, specificReturn := fake.createSpaceReturnsOnCall[len(fake.createSpaceArgsForCall)] 4434 fake.createSpaceArgsForCall = append(fake.createSpaceArgsForCall, struct { 4435 arg1 resources.Space 4436 }{arg1}) 4437 fake.recordInvocation("CreateSpace", []interface{}{arg1}) 4438 fake.createSpaceMutex.Unlock() 4439 if fake.CreateSpaceStub != nil { 4440 return fake.CreateSpaceStub(arg1) 4441 } 4442 if specificReturn { 4443 return ret.result1, ret.result2, ret.result3 4444 } 4445 fakeReturns := fake.createSpaceReturns 4446 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4447 } 4448 4449 func (fake *FakeCloudControllerClient) CreateSpaceCallCount() int { 4450 fake.createSpaceMutex.RLock() 4451 defer fake.createSpaceMutex.RUnlock() 4452 return len(fake.createSpaceArgsForCall) 4453 } 4454 4455 func (fake *FakeCloudControllerClient) CreateSpaceCalls(stub func(resources.Space) (resources.Space, ccv3.Warnings, error)) { 4456 fake.createSpaceMutex.Lock() 4457 defer fake.createSpaceMutex.Unlock() 4458 fake.CreateSpaceStub = stub 4459 } 4460 4461 func (fake *FakeCloudControllerClient) CreateSpaceArgsForCall(i int) resources.Space { 4462 fake.createSpaceMutex.RLock() 4463 defer fake.createSpaceMutex.RUnlock() 4464 argsForCall := fake.createSpaceArgsForCall[i] 4465 return argsForCall.arg1 4466 } 4467 4468 func (fake *FakeCloudControllerClient) CreateSpaceReturns(result1 resources.Space, result2 ccv3.Warnings, result3 error) { 4469 fake.createSpaceMutex.Lock() 4470 defer fake.createSpaceMutex.Unlock() 4471 fake.CreateSpaceStub = nil 4472 fake.createSpaceReturns = struct { 4473 result1 resources.Space 4474 result2 ccv3.Warnings 4475 result3 error 4476 }{result1, result2, result3} 4477 } 4478 4479 func (fake *FakeCloudControllerClient) CreateSpaceReturnsOnCall(i int, result1 resources.Space, result2 ccv3.Warnings, result3 error) { 4480 fake.createSpaceMutex.Lock() 4481 defer fake.createSpaceMutex.Unlock() 4482 fake.CreateSpaceStub = nil 4483 if fake.createSpaceReturnsOnCall == nil { 4484 fake.createSpaceReturnsOnCall = make(map[int]struct { 4485 result1 resources.Space 4486 result2 ccv3.Warnings 4487 result3 error 4488 }) 4489 } 4490 fake.createSpaceReturnsOnCall[i] = struct { 4491 result1 resources.Space 4492 result2 ccv3.Warnings 4493 result3 error 4494 }{result1, result2, result3} 4495 } 4496 4497 func (fake *FakeCloudControllerClient) CreateSpaceQuota(arg1 resources.SpaceQuota) (resources.SpaceQuota, ccv3.Warnings, error) { 4498 fake.createSpaceQuotaMutex.Lock() 4499 ret, specificReturn := fake.createSpaceQuotaReturnsOnCall[len(fake.createSpaceQuotaArgsForCall)] 4500 fake.createSpaceQuotaArgsForCall = append(fake.createSpaceQuotaArgsForCall, struct { 4501 arg1 resources.SpaceQuota 4502 }{arg1}) 4503 fake.recordInvocation("CreateSpaceQuota", []interface{}{arg1}) 4504 fake.createSpaceQuotaMutex.Unlock() 4505 if fake.CreateSpaceQuotaStub != nil { 4506 return fake.CreateSpaceQuotaStub(arg1) 4507 } 4508 if specificReturn { 4509 return ret.result1, ret.result2, ret.result3 4510 } 4511 fakeReturns := fake.createSpaceQuotaReturns 4512 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4513 } 4514 4515 func (fake *FakeCloudControllerClient) CreateSpaceQuotaCallCount() int { 4516 fake.createSpaceQuotaMutex.RLock() 4517 defer fake.createSpaceQuotaMutex.RUnlock() 4518 return len(fake.createSpaceQuotaArgsForCall) 4519 } 4520 4521 func (fake *FakeCloudControllerClient) CreateSpaceQuotaCalls(stub func(resources.SpaceQuota) (resources.SpaceQuota, ccv3.Warnings, error)) { 4522 fake.createSpaceQuotaMutex.Lock() 4523 defer fake.createSpaceQuotaMutex.Unlock() 4524 fake.CreateSpaceQuotaStub = stub 4525 } 4526 4527 func (fake *FakeCloudControllerClient) CreateSpaceQuotaArgsForCall(i int) resources.SpaceQuota { 4528 fake.createSpaceQuotaMutex.RLock() 4529 defer fake.createSpaceQuotaMutex.RUnlock() 4530 argsForCall := fake.createSpaceQuotaArgsForCall[i] 4531 return argsForCall.arg1 4532 } 4533 4534 func (fake *FakeCloudControllerClient) CreateSpaceQuotaReturns(result1 resources.SpaceQuota, result2 ccv3.Warnings, result3 error) { 4535 fake.createSpaceQuotaMutex.Lock() 4536 defer fake.createSpaceQuotaMutex.Unlock() 4537 fake.CreateSpaceQuotaStub = nil 4538 fake.createSpaceQuotaReturns = struct { 4539 result1 resources.SpaceQuota 4540 result2 ccv3.Warnings 4541 result3 error 4542 }{result1, result2, result3} 4543 } 4544 4545 func (fake *FakeCloudControllerClient) CreateSpaceQuotaReturnsOnCall(i int, result1 resources.SpaceQuota, result2 ccv3.Warnings, result3 error) { 4546 fake.createSpaceQuotaMutex.Lock() 4547 defer fake.createSpaceQuotaMutex.Unlock() 4548 fake.CreateSpaceQuotaStub = nil 4549 if fake.createSpaceQuotaReturnsOnCall == nil { 4550 fake.createSpaceQuotaReturnsOnCall = make(map[int]struct { 4551 result1 resources.SpaceQuota 4552 result2 ccv3.Warnings 4553 result3 error 4554 }) 4555 } 4556 fake.createSpaceQuotaReturnsOnCall[i] = struct { 4557 result1 resources.SpaceQuota 4558 result2 ccv3.Warnings 4559 result3 error 4560 }{result1, result2, result3} 4561 } 4562 4563 func (fake *FakeCloudControllerClient) CreateUser(arg1 string) (resources.User, ccv3.Warnings, error) { 4564 fake.createUserMutex.Lock() 4565 ret, specificReturn := fake.createUserReturnsOnCall[len(fake.createUserArgsForCall)] 4566 fake.createUserArgsForCall = append(fake.createUserArgsForCall, struct { 4567 arg1 string 4568 }{arg1}) 4569 fake.recordInvocation("CreateUser", []interface{}{arg1}) 4570 fake.createUserMutex.Unlock() 4571 if fake.CreateUserStub != nil { 4572 return fake.CreateUserStub(arg1) 4573 } 4574 if specificReturn { 4575 return ret.result1, ret.result2, ret.result3 4576 } 4577 fakeReturns := fake.createUserReturns 4578 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4579 } 4580 4581 func (fake *FakeCloudControllerClient) CreateUserCallCount() int { 4582 fake.createUserMutex.RLock() 4583 defer fake.createUserMutex.RUnlock() 4584 return len(fake.createUserArgsForCall) 4585 } 4586 4587 func (fake *FakeCloudControllerClient) CreateUserCalls(stub func(string) (resources.User, ccv3.Warnings, error)) { 4588 fake.createUserMutex.Lock() 4589 defer fake.createUserMutex.Unlock() 4590 fake.CreateUserStub = stub 4591 } 4592 4593 func (fake *FakeCloudControllerClient) CreateUserArgsForCall(i int) string { 4594 fake.createUserMutex.RLock() 4595 defer fake.createUserMutex.RUnlock() 4596 argsForCall := fake.createUserArgsForCall[i] 4597 return argsForCall.arg1 4598 } 4599 4600 func (fake *FakeCloudControllerClient) CreateUserReturns(result1 resources.User, result2 ccv3.Warnings, result3 error) { 4601 fake.createUserMutex.Lock() 4602 defer fake.createUserMutex.Unlock() 4603 fake.CreateUserStub = nil 4604 fake.createUserReturns = struct { 4605 result1 resources.User 4606 result2 ccv3.Warnings 4607 result3 error 4608 }{result1, result2, result3} 4609 } 4610 4611 func (fake *FakeCloudControllerClient) CreateUserReturnsOnCall(i int, result1 resources.User, result2 ccv3.Warnings, result3 error) { 4612 fake.createUserMutex.Lock() 4613 defer fake.createUserMutex.Unlock() 4614 fake.CreateUserStub = nil 4615 if fake.createUserReturnsOnCall == nil { 4616 fake.createUserReturnsOnCall = make(map[int]struct { 4617 result1 resources.User 4618 result2 ccv3.Warnings 4619 result3 error 4620 }) 4621 } 4622 fake.createUserReturnsOnCall[i] = struct { 4623 result1 resources.User 4624 result2 ccv3.Warnings 4625 result3 error 4626 }{result1, result2, result3} 4627 } 4628 4629 func (fake *FakeCloudControllerClient) DeleteApplication(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 4630 fake.deleteApplicationMutex.Lock() 4631 ret, specificReturn := fake.deleteApplicationReturnsOnCall[len(fake.deleteApplicationArgsForCall)] 4632 fake.deleteApplicationArgsForCall = append(fake.deleteApplicationArgsForCall, struct { 4633 arg1 string 4634 }{arg1}) 4635 fake.recordInvocation("DeleteApplication", []interface{}{arg1}) 4636 fake.deleteApplicationMutex.Unlock() 4637 if fake.DeleteApplicationStub != nil { 4638 return fake.DeleteApplicationStub(arg1) 4639 } 4640 if specificReturn { 4641 return ret.result1, ret.result2, ret.result3 4642 } 4643 fakeReturns := fake.deleteApplicationReturns 4644 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4645 } 4646 4647 func (fake *FakeCloudControllerClient) DeleteApplicationCallCount() int { 4648 fake.deleteApplicationMutex.RLock() 4649 defer fake.deleteApplicationMutex.RUnlock() 4650 return len(fake.deleteApplicationArgsForCall) 4651 } 4652 4653 func (fake *FakeCloudControllerClient) DeleteApplicationCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 4654 fake.deleteApplicationMutex.Lock() 4655 defer fake.deleteApplicationMutex.Unlock() 4656 fake.DeleteApplicationStub = stub 4657 } 4658 4659 func (fake *FakeCloudControllerClient) DeleteApplicationArgsForCall(i int) string { 4660 fake.deleteApplicationMutex.RLock() 4661 defer fake.deleteApplicationMutex.RUnlock() 4662 argsForCall := fake.deleteApplicationArgsForCall[i] 4663 return argsForCall.arg1 4664 } 4665 4666 func (fake *FakeCloudControllerClient) DeleteApplicationReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4667 fake.deleteApplicationMutex.Lock() 4668 defer fake.deleteApplicationMutex.Unlock() 4669 fake.DeleteApplicationStub = nil 4670 fake.deleteApplicationReturns = struct { 4671 result1 ccv3.JobURL 4672 result2 ccv3.Warnings 4673 result3 error 4674 }{result1, result2, result3} 4675 } 4676 4677 func (fake *FakeCloudControllerClient) DeleteApplicationReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4678 fake.deleteApplicationMutex.Lock() 4679 defer fake.deleteApplicationMutex.Unlock() 4680 fake.DeleteApplicationStub = nil 4681 if fake.deleteApplicationReturnsOnCall == nil { 4682 fake.deleteApplicationReturnsOnCall = make(map[int]struct { 4683 result1 ccv3.JobURL 4684 result2 ccv3.Warnings 4685 result3 error 4686 }) 4687 } 4688 fake.deleteApplicationReturnsOnCall[i] = struct { 4689 result1 ccv3.JobURL 4690 result2 ccv3.Warnings 4691 result3 error 4692 }{result1, result2, result3} 4693 } 4694 4695 func (fake *FakeCloudControllerClient) DeleteApplicationProcessInstance(arg1 string, arg2 string, arg3 int) (ccv3.Warnings, error) { 4696 fake.deleteApplicationProcessInstanceMutex.Lock() 4697 ret, specificReturn := fake.deleteApplicationProcessInstanceReturnsOnCall[len(fake.deleteApplicationProcessInstanceArgsForCall)] 4698 fake.deleteApplicationProcessInstanceArgsForCall = append(fake.deleteApplicationProcessInstanceArgsForCall, struct { 4699 arg1 string 4700 arg2 string 4701 arg3 int 4702 }{arg1, arg2, arg3}) 4703 fake.recordInvocation("DeleteApplicationProcessInstance", []interface{}{arg1, arg2, arg3}) 4704 fake.deleteApplicationProcessInstanceMutex.Unlock() 4705 if fake.DeleteApplicationProcessInstanceStub != nil { 4706 return fake.DeleteApplicationProcessInstanceStub(arg1, arg2, arg3) 4707 } 4708 if specificReturn { 4709 return ret.result1, ret.result2 4710 } 4711 fakeReturns := fake.deleteApplicationProcessInstanceReturns 4712 return fakeReturns.result1, fakeReturns.result2 4713 } 4714 4715 func (fake *FakeCloudControllerClient) DeleteApplicationProcessInstanceCallCount() int { 4716 fake.deleteApplicationProcessInstanceMutex.RLock() 4717 defer fake.deleteApplicationProcessInstanceMutex.RUnlock() 4718 return len(fake.deleteApplicationProcessInstanceArgsForCall) 4719 } 4720 4721 func (fake *FakeCloudControllerClient) DeleteApplicationProcessInstanceCalls(stub func(string, string, int) (ccv3.Warnings, error)) { 4722 fake.deleteApplicationProcessInstanceMutex.Lock() 4723 defer fake.deleteApplicationProcessInstanceMutex.Unlock() 4724 fake.DeleteApplicationProcessInstanceStub = stub 4725 } 4726 4727 func (fake *FakeCloudControllerClient) DeleteApplicationProcessInstanceArgsForCall(i int) (string, string, int) { 4728 fake.deleteApplicationProcessInstanceMutex.RLock() 4729 defer fake.deleteApplicationProcessInstanceMutex.RUnlock() 4730 argsForCall := fake.deleteApplicationProcessInstanceArgsForCall[i] 4731 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3 4732 } 4733 4734 func (fake *FakeCloudControllerClient) DeleteApplicationProcessInstanceReturns(result1 ccv3.Warnings, result2 error) { 4735 fake.deleteApplicationProcessInstanceMutex.Lock() 4736 defer fake.deleteApplicationProcessInstanceMutex.Unlock() 4737 fake.DeleteApplicationProcessInstanceStub = nil 4738 fake.deleteApplicationProcessInstanceReturns = struct { 4739 result1 ccv3.Warnings 4740 result2 error 4741 }{result1, result2} 4742 } 4743 4744 func (fake *FakeCloudControllerClient) DeleteApplicationProcessInstanceReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 4745 fake.deleteApplicationProcessInstanceMutex.Lock() 4746 defer fake.deleteApplicationProcessInstanceMutex.Unlock() 4747 fake.DeleteApplicationProcessInstanceStub = nil 4748 if fake.deleteApplicationProcessInstanceReturnsOnCall == nil { 4749 fake.deleteApplicationProcessInstanceReturnsOnCall = make(map[int]struct { 4750 result1 ccv3.Warnings 4751 result2 error 4752 }) 4753 } 4754 fake.deleteApplicationProcessInstanceReturnsOnCall[i] = struct { 4755 result1 ccv3.Warnings 4756 result2 error 4757 }{result1, result2} 4758 } 4759 4760 func (fake *FakeCloudControllerClient) DeleteBuildpack(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 4761 fake.deleteBuildpackMutex.Lock() 4762 ret, specificReturn := fake.deleteBuildpackReturnsOnCall[len(fake.deleteBuildpackArgsForCall)] 4763 fake.deleteBuildpackArgsForCall = append(fake.deleteBuildpackArgsForCall, struct { 4764 arg1 string 4765 }{arg1}) 4766 fake.recordInvocation("DeleteBuildpack", []interface{}{arg1}) 4767 fake.deleteBuildpackMutex.Unlock() 4768 if fake.DeleteBuildpackStub != nil { 4769 return fake.DeleteBuildpackStub(arg1) 4770 } 4771 if specificReturn { 4772 return ret.result1, ret.result2, ret.result3 4773 } 4774 fakeReturns := fake.deleteBuildpackReturns 4775 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4776 } 4777 4778 func (fake *FakeCloudControllerClient) DeleteBuildpackCallCount() int { 4779 fake.deleteBuildpackMutex.RLock() 4780 defer fake.deleteBuildpackMutex.RUnlock() 4781 return len(fake.deleteBuildpackArgsForCall) 4782 } 4783 4784 func (fake *FakeCloudControllerClient) DeleteBuildpackCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 4785 fake.deleteBuildpackMutex.Lock() 4786 defer fake.deleteBuildpackMutex.Unlock() 4787 fake.DeleteBuildpackStub = stub 4788 } 4789 4790 func (fake *FakeCloudControllerClient) DeleteBuildpackArgsForCall(i int) string { 4791 fake.deleteBuildpackMutex.RLock() 4792 defer fake.deleteBuildpackMutex.RUnlock() 4793 argsForCall := fake.deleteBuildpackArgsForCall[i] 4794 return argsForCall.arg1 4795 } 4796 4797 func (fake *FakeCloudControllerClient) DeleteBuildpackReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4798 fake.deleteBuildpackMutex.Lock() 4799 defer fake.deleteBuildpackMutex.Unlock() 4800 fake.DeleteBuildpackStub = nil 4801 fake.deleteBuildpackReturns = struct { 4802 result1 ccv3.JobURL 4803 result2 ccv3.Warnings 4804 result3 error 4805 }{result1, result2, result3} 4806 } 4807 4808 func (fake *FakeCloudControllerClient) DeleteBuildpackReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4809 fake.deleteBuildpackMutex.Lock() 4810 defer fake.deleteBuildpackMutex.Unlock() 4811 fake.DeleteBuildpackStub = nil 4812 if fake.deleteBuildpackReturnsOnCall == nil { 4813 fake.deleteBuildpackReturnsOnCall = make(map[int]struct { 4814 result1 ccv3.JobURL 4815 result2 ccv3.Warnings 4816 result3 error 4817 }) 4818 } 4819 fake.deleteBuildpackReturnsOnCall[i] = struct { 4820 result1 ccv3.JobURL 4821 result2 ccv3.Warnings 4822 result3 error 4823 }{result1, result2, result3} 4824 } 4825 4826 func (fake *FakeCloudControllerClient) DeleteDomain(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 4827 fake.deleteDomainMutex.Lock() 4828 ret, specificReturn := fake.deleteDomainReturnsOnCall[len(fake.deleteDomainArgsForCall)] 4829 fake.deleteDomainArgsForCall = append(fake.deleteDomainArgsForCall, struct { 4830 arg1 string 4831 }{arg1}) 4832 fake.recordInvocation("DeleteDomain", []interface{}{arg1}) 4833 fake.deleteDomainMutex.Unlock() 4834 if fake.DeleteDomainStub != nil { 4835 return fake.DeleteDomainStub(arg1) 4836 } 4837 if specificReturn { 4838 return ret.result1, ret.result2, ret.result3 4839 } 4840 fakeReturns := fake.deleteDomainReturns 4841 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 4842 } 4843 4844 func (fake *FakeCloudControllerClient) DeleteDomainCallCount() int { 4845 fake.deleteDomainMutex.RLock() 4846 defer fake.deleteDomainMutex.RUnlock() 4847 return len(fake.deleteDomainArgsForCall) 4848 } 4849 4850 func (fake *FakeCloudControllerClient) DeleteDomainCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 4851 fake.deleteDomainMutex.Lock() 4852 defer fake.deleteDomainMutex.Unlock() 4853 fake.DeleteDomainStub = stub 4854 } 4855 4856 func (fake *FakeCloudControllerClient) DeleteDomainArgsForCall(i int) string { 4857 fake.deleteDomainMutex.RLock() 4858 defer fake.deleteDomainMutex.RUnlock() 4859 argsForCall := fake.deleteDomainArgsForCall[i] 4860 return argsForCall.arg1 4861 } 4862 4863 func (fake *FakeCloudControllerClient) DeleteDomainReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4864 fake.deleteDomainMutex.Lock() 4865 defer fake.deleteDomainMutex.Unlock() 4866 fake.DeleteDomainStub = nil 4867 fake.deleteDomainReturns = struct { 4868 result1 ccv3.JobURL 4869 result2 ccv3.Warnings 4870 result3 error 4871 }{result1, result2, result3} 4872 } 4873 4874 func (fake *FakeCloudControllerClient) DeleteDomainReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 4875 fake.deleteDomainMutex.Lock() 4876 defer fake.deleteDomainMutex.Unlock() 4877 fake.DeleteDomainStub = nil 4878 if fake.deleteDomainReturnsOnCall == nil { 4879 fake.deleteDomainReturnsOnCall = make(map[int]struct { 4880 result1 ccv3.JobURL 4881 result2 ccv3.Warnings 4882 result3 error 4883 }) 4884 } 4885 fake.deleteDomainReturnsOnCall[i] = struct { 4886 result1 ccv3.JobURL 4887 result2 ccv3.Warnings 4888 result3 error 4889 }{result1, result2, result3} 4890 } 4891 4892 func (fake *FakeCloudControllerClient) DeleteIsolationSegment(arg1 string) (ccv3.Warnings, error) { 4893 fake.deleteIsolationSegmentMutex.Lock() 4894 ret, specificReturn := fake.deleteIsolationSegmentReturnsOnCall[len(fake.deleteIsolationSegmentArgsForCall)] 4895 fake.deleteIsolationSegmentArgsForCall = append(fake.deleteIsolationSegmentArgsForCall, struct { 4896 arg1 string 4897 }{arg1}) 4898 fake.recordInvocation("DeleteIsolationSegment", []interface{}{arg1}) 4899 fake.deleteIsolationSegmentMutex.Unlock() 4900 if fake.DeleteIsolationSegmentStub != nil { 4901 return fake.DeleteIsolationSegmentStub(arg1) 4902 } 4903 if specificReturn { 4904 return ret.result1, ret.result2 4905 } 4906 fakeReturns := fake.deleteIsolationSegmentReturns 4907 return fakeReturns.result1, fakeReturns.result2 4908 } 4909 4910 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentCallCount() int { 4911 fake.deleteIsolationSegmentMutex.RLock() 4912 defer fake.deleteIsolationSegmentMutex.RUnlock() 4913 return len(fake.deleteIsolationSegmentArgsForCall) 4914 } 4915 4916 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentCalls(stub func(string) (ccv3.Warnings, error)) { 4917 fake.deleteIsolationSegmentMutex.Lock() 4918 defer fake.deleteIsolationSegmentMutex.Unlock() 4919 fake.DeleteIsolationSegmentStub = stub 4920 } 4921 4922 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentArgsForCall(i int) string { 4923 fake.deleteIsolationSegmentMutex.RLock() 4924 defer fake.deleteIsolationSegmentMutex.RUnlock() 4925 argsForCall := fake.deleteIsolationSegmentArgsForCall[i] 4926 return argsForCall.arg1 4927 } 4928 4929 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentReturns(result1 ccv3.Warnings, result2 error) { 4930 fake.deleteIsolationSegmentMutex.Lock() 4931 defer fake.deleteIsolationSegmentMutex.Unlock() 4932 fake.DeleteIsolationSegmentStub = nil 4933 fake.deleteIsolationSegmentReturns = struct { 4934 result1 ccv3.Warnings 4935 result2 error 4936 }{result1, result2} 4937 } 4938 4939 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 4940 fake.deleteIsolationSegmentMutex.Lock() 4941 defer fake.deleteIsolationSegmentMutex.Unlock() 4942 fake.DeleteIsolationSegmentStub = nil 4943 if fake.deleteIsolationSegmentReturnsOnCall == nil { 4944 fake.deleteIsolationSegmentReturnsOnCall = make(map[int]struct { 4945 result1 ccv3.Warnings 4946 result2 error 4947 }) 4948 } 4949 fake.deleteIsolationSegmentReturnsOnCall[i] = struct { 4950 result1 ccv3.Warnings 4951 result2 error 4952 }{result1, result2} 4953 } 4954 4955 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentOrganization(arg1 string, arg2 string) (ccv3.Warnings, error) { 4956 fake.deleteIsolationSegmentOrganizationMutex.Lock() 4957 ret, specificReturn := fake.deleteIsolationSegmentOrganizationReturnsOnCall[len(fake.deleteIsolationSegmentOrganizationArgsForCall)] 4958 fake.deleteIsolationSegmentOrganizationArgsForCall = append(fake.deleteIsolationSegmentOrganizationArgsForCall, struct { 4959 arg1 string 4960 arg2 string 4961 }{arg1, arg2}) 4962 fake.recordInvocation("DeleteIsolationSegmentOrganization", []interface{}{arg1, arg2}) 4963 fake.deleteIsolationSegmentOrganizationMutex.Unlock() 4964 if fake.DeleteIsolationSegmentOrganizationStub != nil { 4965 return fake.DeleteIsolationSegmentOrganizationStub(arg1, arg2) 4966 } 4967 if specificReturn { 4968 return ret.result1, ret.result2 4969 } 4970 fakeReturns := fake.deleteIsolationSegmentOrganizationReturns 4971 return fakeReturns.result1, fakeReturns.result2 4972 } 4973 4974 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentOrganizationCallCount() int { 4975 fake.deleteIsolationSegmentOrganizationMutex.RLock() 4976 defer fake.deleteIsolationSegmentOrganizationMutex.RUnlock() 4977 return len(fake.deleteIsolationSegmentOrganizationArgsForCall) 4978 } 4979 4980 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentOrganizationCalls(stub func(string, string) (ccv3.Warnings, error)) { 4981 fake.deleteIsolationSegmentOrganizationMutex.Lock() 4982 defer fake.deleteIsolationSegmentOrganizationMutex.Unlock() 4983 fake.DeleteIsolationSegmentOrganizationStub = stub 4984 } 4985 4986 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentOrganizationArgsForCall(i int) (string, string) { 4987 fake.deleteIsolationSegmentOrganizationMutex.RLock() 4988 defer fake.deleteIsolationSegmentOrganizationMutex.RUnlock() 4989 argsForCall := fake.deleteIsolationSegmentOrganizationArgsForCall[i] 4990 return argsForCall.arg1, argsForCall.arg2 4991 } 4992 4993 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentOrganizationReturns(result1 ccv3.Warnings, result2 error) { 4994 fake.deleteIsolationSegmentOrganizationMutex.Lock() 4995 defer fake.deleteIsolationSegmentOrganizationMutex.Unlock() 4996 fake.DeleteIsolationSegmentOrganizationStub = nil 4997 fake.deleteIsolationSegmentOrganizationReturns = struct { 4998 result1 ccv3.Warnings 4999 result2 error 5000 }{result1, result2} 5001 } 5002 5003 func (fake *FakeCloudControllerClient) DeleteIsolationSegmentOrganizationReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 5004 fake.deleteIsolationSegmentOrganizationMutex.Lock() 5005 defer fake.deleteIsolationSegmentOrganizationMutex.Unlock() 5006 fake.DeleteIsolationSegmentOrganizationStub = nil 5007 if fake.deleteIsolationSegmentOrganizationReturnsOnCall == nil { 5008 fake.deleteIsolationSegmentOrganizationReturnsOnCall = make(map[int]struct { 5009 result1 ccv3.Warnings 5010 result2 error 5011 }) 5012 } 5013 fake.deleteIsolationSegmentOrganizationReturnsOnCall[i] = struct { 5014 result1 ccv3.Warnings 5015 result2 error 5016 }{result1, result2} 5017 } 5018 5019 func (fake *FakeCloudControllerClient) DeleteOrganization(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 5020 fake.deleteOrganizationMutex.Lock() 5021 ret, specificReturn := fake.deleteOrganizationReturnsOnCall[len(fake.deleteOrganizationArgsForCall)] 5022 fake.deleteOrganizationArgsForCall = append(fake.deleteOrganizationArgsForCall, struct { 5023 arg1 string 5024 }{arg1}) 5025 fake.recordInvocation("DeleteOrganization", []interface{}{arg1}) 5026 fake.deleteOrganizationMutex.Unlock() 5027 if fake.DeleteOrganizationStub != nil { 5028 return fake.DeleteOrganizationStub(arg1) 5029 } 5030 if specificReturn { 5031 return ret.result1, ret.result2, ret.result3 5032 } 5033 fakeReturns := fake.deleteOrganizationReturns 5034 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5035 } 5036 5037 func (fake *FakeCloudControllerClient) DeleteOrganizationCallCount() int { 5038 fake.deleteOrganizationMutex.RLock() 5039 defer fake.deleteOrganizationMutex.RUnlock() 5040 return len(fake.deleteOrganizationArgsForCall) 5041 } 5042 5043 func (fake *FakeCloudControllerClient) DeleteOrganizationCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 5044 fake.deleteOrganizationMutex.Lock() 5045 defer fake.deleteOrganizationMutex.Unlock() 5046 fake.DeleteOrganizationStub = stub 5047 } 5048 5049 func (fake *FakeCloudControllerClient) DeleteOrganizationArgsForCall(i int) string { 5050 fake.deleteOrganizationMutex.RLock() 5051 defer fake.deleteOrganizationMutex.RUnlock() 5052 argsForCall := fake.deleteOrganizationArgsForCall[i] 5053 return argsForCall.arg1 5054 } 5055 5056 func (fake *FakeCloudControllerClient) DeleteOrganizationReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5057 fake.deleteOrganizationMutex.Lock() 5058 defer fake.deleteOrganizationMutex.Unlock() 5059 fake.DeleteOrganizationStub = nil 5060 fake.deleteOrganizationReturns = struct { 5061 result1 ccv3.JobURL 5062 result2 ccv3.Warnings 5063 result3 error 5064 }{result1, result2, result3} 5065 } 5066 5067 func (fake *FakeCloudControllerClient) DeleteOrganizationReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5068 fake.deleteOrganizationMutex.Lock() 5069 defer fake.deleteOrganizationMutex.Unlock() 5070 fake.DeleteOrganizationStub = nil 5071 if fake.deleteOrganizationReturnsOnCall == nil { 5072 fake.deleteOrganizationReturnsOnCall = make(map[int]struct { 5073 result1 ccv3.JobURL 5074 result2 ccv3.Warnings 5075 result3 error 5076 }) 5077 } 5078 fake.deleteOrganizationReturnsOnCall[i] = struct { 5079 result1 ccv3.JobURL 5080 result2 ccv3.Warnings 5081 result3 error 5082 }{result1, result2, result3} 5083 } 5084 5085 func (fake *FakeCloudControllerClient) DeleteOrganizationQuota(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 5086 fake.deleteOrganizationQuotaMutex.Lock() 5087 ret, specificReturn := fake.deleteOrganizationQuotaReturnsOnCall[len(fake.deleteOrganizationQuotaArgsForCall)] 5088 fake.deleteOrganizationQuotaArgsForCall = append(fake.deleteOrganizationQuotaArgsForCall, struct { 5089 arg1 string 5090 }{arg1}) 5091 fake.recordInvocation("DeleteOrganizationQuota", []interface{}{arg1}) 5092 fake.deleteOrganizationQuotaMutex.Unlock() 5093 if fake.DeleteOrganizationQuotaStub != nil { 5094 return fake.DeleteOrganizationQuotaStub(arg1) 5095 } 5096 if specificReturn { 5097 return ret.result1, ret.result2, ret.result3 5098 } 5099 fakeReturns := fake.deleteOrganizationQuotaReturns 5100 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5101 } 5102 5103 func (fake *FakeCloudControllerClient) DeleteOrganizationQuotaCallCount() int { 5104 fake.deleteOrganizationQuotaMutex.RLock() 5105 defer fake.deleteOrganizationQuotaMutex.RUnlock() 5106 return len(fake.deleteOrganizationQuotaArgsForCall) 5107 } 5108 5109 func (fake *FakeCloudControllerClient) DeleteOrganizationQuotaCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 5110 fake.deleteOrganizationQuotaMutex.Lock() 5111 defer fake.deleteOrganizationQuotaMutex.Unlock() 5112 fake.DeleteOrganizationQuotaStub = stub 5113 } 5114 5115 func (fake *FakeCloudControllerClient) DeleteOrganizationQuotaArgsForCall(i int) string { 5116 fake.deleteOrganizationQuotaMutex.RLock() 5117 defer fake.deleteOrganizationQuotaMutex.RUnlock() 5118 argsForCall := fake.deleteOrganizationQuotaArgsForCall[i] 5119 return argsForCall.arg1 5120 } 5121 5122 func (fake *FakeCloudControllerClient) DeleteOrganizationQuotaReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5123 fake.deleteOrganizationQuotaMutex.Lock() 5124 defer fake.deleteOrganizationQuotaMutex.Unlock() 5125 fake.DeleteOrganizationQuotaStub = nil 5126 fake.deleteOrganizationQuotaReturns = struct { 5127 result1 ccv3.JobURL 5128 result2 ccv3.Warnings 5129 result3 error 5130 }{result1, result2, result3} 5131 } 5132 5133 func (fake *FakeCloudControllerClient) DeleteOrganizationQuotaReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5134 fake.deleteOrganizationQuotaMutex.Lock() 5135 defer fake.deleteOrganizationQuotaMutex.Unlock() 5136 fake.DeleteOrganizationQuotaStub = nil 5137 if fake.deleteOrganizationQuotaReturnsOnCall == nil { 5138 fake.deleteOrganizationQuotaReturnsOnCall = make(map[int]struct { 5139 result1 ccv3.JobURL 5140 result2 ccv3.Warnings 5141 result3 error 5142 }) 5143 } 5144 fake.deleteOrganizationQuotaReturnsOnCall[i] = struct { 5145 result1 ccv3.JobURL 5146 result2 ccv3.Warnings 5147 result3 error 5148 }{result1, result2, result3} 5149 } 5150 5151 func (fake *FakeCloudControllerClient) DeleteOrphanedRoutes(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 5152 fake.deleteOrphanedRoutesMutex.Lock() 5153 ret, specificReturn := fake.deleteOrphanedRoutesReturnsOnCall[len(fake.deleteOrphanedRoutesArgsForCall)] 5154 fake.deleteOrphanedRoutesArgsForCall = append(fake.deleteOrphanedRoutesArgsForCall, struct { 5155 arg1 string 5156 }{arg1}) 5157 fake.recordInvocation("DeleteOrphanedRoutes", []interface{}{arg1}) 5158 fake.deleteOrphanedRoutesMutex.Unlock() 5159 if fake.DeleteOrphanedRoutesStub != nil { 5160 return fake.DeleteOrphanedRoutesStub(arg1) 5161 } 5162 if specificReturn { 5163 return ret.result1, ret.result2, ret.result3 5164 } 5165 fakeReturns := fake.deleteOrphanedRoutesReturns 5166 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5167 } 5168 5169 func (fake *FakeCloudControllerClient) DeleteOrphanedRoutesCallCount() int { 5170 fake.deleteOrphanedRoutesMutex.RLock() 5171 defer fake.deleteOrphanedRoutesMutex.RUnlock() 5172 return len(fake.deleteOrphanedRoutesArgsForCall) 5173 } 5174 5175 func (fake *FakeCloudControllerClient) DeleteOrphanedRoutesCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 5176 fake.deleteOrphanedRoutesMutex.Lock() 5177 defer fake.deleteOrphanedRoutesMutex.Unlock() 5178 fake.DeleteOrphanedRoutesStub = stub 5179 } 5180 5181 func (fake *FakeCloudControllerClient) DeleteOrphanedRoutesArgsForCall(i int) string { 5182 fake.deleteOrphanedRoutesMutex.RLock() 5183 defer fake.deleteOrphanedRoutesMutex.RUnlock() 5184 argsForCall := fake.deleteOrphanedRoutesArgsForCall[i] 5185 return argsForCall.arg1 5186 } 5187 5188 func (fake *FakeCloudControllerClient) DeleteOrphanedRoutesReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5189 fake.deleteOrphanedRoutesMutex.Lock() 5190 defer fake.deleteOrphanedRoutesMutex.Unlock() 5191 fake.DeleteOrphanedRoutesStub = nil 5192 fake.deleteOrphanedRoutesReturns = struct { 5193 result1 ccv3.JobURL 5194 result2 ccv3.Warnings 5195 result3 error 5196 }{result1, result2, result3} 5197 } 5198 5199 func (fake *FakeCloudControllerClient) DeleteOrphanedRoutesReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5200 fake.deleteOrphanedRoutesMutex.Lock() 5201 defer fake.deleteOrphanedRoutesMutex.Unlock() 5202 fake.DeleteOrphanedRoutesStub = nil 5203 if fake.deleteOrphanedRoutesReturnsOnCall == nil { 5204 fake.deleteOrphanedRoutesReturnsOnCall = make(map[int]struct { 5205 result1 ccv3.JobURL 5206 result2 ccv3.Warnings 5207 result3 error 5208 }) 5209 } 5210 fake.deleteOrphanedRoutesReturnsOnCall[i] = struct { 5211 result1 ccv3.JobURL 5212 result2 ccv3.Warnings 5213 result3 error 5214 }{result1, result2, result3} 5215 } 5216 5217 func (fake *FakeCloudControllerClient) DeleteRole(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 5218 fake.deleteRoleMutex.Lock() 5219 ret, specificReturn := fake.deleteRoleReturnsOnCall[len(fake.deleteRoleArgsForCall)] 5220 fake.deleteRoleArgsForCall = append(fake.deleteRoleArgsForCall, struct { 5221 arg1 string 5222 }{arg1}) 5223 fake.recordInvocation("DeleteRole", []interface{}{arg1}) 5224 fake.deleteRoleMutex.Unlock() 5225 if fake.DeleteRoleStub != nil { 5226 return fake.DeleteRoleStub(arg1) 5227 } 5228 if specificReturn { 5229 return ret.result1, ret.result2, ret.result3 5230 } 5231 fakeReturns := fake.deleteRoleReturns 5232 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5233 } 5234 5235 func (fake *FakeCloudControllerClient) DeleteRoleCallCount() int { 5236 fake.deleteRoleMutex.RLock() 5237 defer fake.deleteRoleMutex.RUnlock() 5238 return len(fake.deleteRoleArgsForCall) 5239 } 5240 5241 func (fake *FakeCloudControllerClient) DeleteRoleCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 5242 fake.deleteRoleMutex.Lock() 5243 defer fake.deleteRoleMutex.Unlock() 5244 fake.DeleteRoleStub = stub 5245 } 5246 5247 func (fake *FakeCloudControllerClient) DeleteRoleArgsForCall(i int) string { 5248 fake.deleteRoleMutex.RLock() 5249 defer fake.deleteRoleMutex.RUnlock() 5250 argsForCall := fake.deleteRoleArgsForCall[i] 5251 return argsForCall.arg1 5252 } 5253 5254 func (fake *FakeCloudControllerClient) DeleteRoleReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5255 fake.deleteRoleMutex.Lock() 5256 defer fake.deleteRoleMutex.Unlock() 5257 fake.DeleteRoleStub = nil 5258 fake.deleteRoleReturns = struct { 5259 result1 ccv3.JobURL 5260 result2 ccv3.Warnings 5261 result3 error 5262 }{result1, result2, result3} 5263 } 5264 5265 func (fake *FakeCloudControllerClient) DeleteRoleReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5266 fake.deleteRoleMutex.Lock() 5267 defer fake.deleteRoleMutex.Unlock() 5268 fake.DeleteRoleStub = nil 5269 if fake.deleteRoleReturnsOnCall == nil { 5270 fake.deleteRoleReturnsOnCall = make(map[int]struct { 5271 result1 ccv3.JobURL 5272 result2 ccv3.Warnings 5273 result3 error 5274 }) 5275 } 5276 fake.deleteRoleReturnsOnCall[i] = struct { 5277 result1 ccv3.JobURL 5278 result2 ccv3.Warnings 5279 result3 error 5280 }{result1, result2, result3} 5281 } 5282 5283 func (fake *FakeCloudControllerClient) DeleteRoute(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 5284 fake.deleteRouteMutex.Lock() 5285 ret, specificReturn := fake.deleteRouteReturnsOnCall[len(fake.deleteRouteArgsForCall)] 5286 fake.deleteRouteArgsForCall = append(fake.deleteRouteArgsForCall, struct { 5287 arg1 string 5288 }{arg1}) 5289 fake.recordInvocation("DeleteRoute", []interface{}{arg1}) 5290 fake.deleteRouteMutex.Unlock() 5291 if fake.DeleteRouteStub != nil { 5292 return fake.DeleteRouteStub(arg1) 5293 } 5294 if specificReturn { 5295 return ret.result1, ret.result2, ret.result3 5296 } 5297 fakeReturns := fake.deleteRouteReturns 5298 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5299 } 5300 5301 func (fake *FakeCloudControllerClient) DeleteRouteCallCount() int { 5302 fake.deleteRouteMutex.RLock() 5303 defer fake.deleteRouteMutex.RUnlock() 5304 return len(fake.deleteRouteArgsForCall) 5305 } 5306 5307 func (fake *FakeCloudControllerClient) DeleteRouteCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 5308 fake.deleteRouteMutex.Lock() 5309 defer fake.deleteRouteMutex.Unlock() 5310 fake.DeleteRouteStub = stub 5311 } 5312 5313 func (fake *FakeCloudControllerClient) DeleteRouteArgsForCall(i int) string { 5314 fake.deleteRouteMutex.RLock() 5315 defer fake.deleteRouteMutex.RUnlock() 5316 argsForCall := fake.deleteRouteArgsForCall[i] 5317 return argsForCall.arg1 5318 } 5319 5320 func (fake *FakeCloudControllerClient) DeleteRouteReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5321 fake.deleteRouteMutex.Lock() 5322 defer fake.deleteRouteMutex.Unlock() 5323 fake.DeleteRouteStub = nil 5324 fake.deleteRouteReturns = struct { 5325 result1 ccv3.JobURL 5326 result2 ccv3.Warnings 5327 result3 error 5328 }{result1, result2, result3} 5329 } 5330 5331 func (fake *FakeCloudControllerClient) DeleteRouteReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5332 fake.deleteRouteMutex.Lock() 5333 defer fake.deleteRouteMutex.Unlock() 5334 fake.DeleteRouteStub = nil 5335 if fake.deleteRouteReturnsOnCall == nil { 5336 fake.deleteRouteReturnsOnCall = make(map[int]struct { 5337 result1 ccv3.JobURL 5338 result2 ccv3.Warnings 5339 result3 error 5340 }) 5341 } 5342 fake.deleteRouteReturnsOnCall[i] = struct { 5343 result1 ccv3.JobURL 5344 result2 ccv3.Warnings 5345 result3 error 5346 }{result1, result2, result3} 5347 } 5348 5349 func (fake *FakeCloudControllerClient) DeleteRouteBinding(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 5350 fake.deleteRouteBindingMutex.Lock() 5351 ret, specificReturn := fake.deleteRouteBindingReturnsOnCall[len(fake.deleteRouteBindingArgsForCall)] 5352 fake.deleteRouteBindingArgsForCall = append(fake.deleteRouteBindingArgsForCall, struct { 5353 arg1 string 5354 }{arg1}) 5355 fake.recordInvocation("DeleteRouteBinding", []interface{}{arg1}) 5356 fake.deleteRouteBindingMutex.Unlock() 5357 if fake.DeleteRouteBindingStub != nil { 5358 return fake.DeleteRouteBindingStub(arg1) 5359 } 5360 if specificReturn { 5361 return ret.result1, ret.result2, ret.result3 5362 } 5363 fakeReturns := fake.deleteRouteBindingReturns 5364 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5365 } 5366 5367 func (fake *FakeCloudControllerClient) DeleteRouteBindingCallCount() int { 5368 fake.deleteRouteBindingMutex.RLock() 5369 defer fake.deleteRouteBindingMutex.RUnlock() 5370 return len(fake.deleteRouteBindingArgsForCall) 5371 } 5372 5373 func (fake *FakeCloudControllerClient) DeleteRouteBindingCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 5374 fake.deleteRouteBindingMutex.Lock() 5375 defer fake.deleteRouteBindingMutex.Unlock() 5376 fake.DeleteRouteBindingStub = stub 5377 } 5378 5379 func (fake *FakeCloudControllerClient) DeleteRouteBindingArgsForCall(i int) string { 5380 fake.deleteRouteBindingMutex.RLock() 5381 defer fake.deleteRouteBindingMutex.RUnlock() 5382 argsForCall := fake.deleteRouteBindingArgsForCall[i] 5383 return argsForCall.arg1 5384 } 5385 5386 func (fake *FakeCloudControllerClient) DeleteRouteBindingReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5387 fake.deleteRouteBindingMutex.Lock() 5388 defer fake.deleteRouteBindingMutex.Unlock() 5389 fake.DeleteRouteBindingStub = nil 5390 fake.deleteRouteBindingReturns = struct { 5391 result1 ccv3.JobURL 5392 result2 ccv3.Warnings 5393 result3 error 5394 }{result1, result2, result3} 5395 } 5396 5397 func (fake *FakeCloudControllerClient) DeleteRouteBindingReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5398 fake.deleteRouteBindingMutex.Lock() 5399 defer fake.deleteRouteBindingMutex.Unlock() 5400 fake.DeleteRouteBindingStub = nil 5401 if fake.deleteRouteBindingReturnsOnCall == nil { 5402 fake.deleteRouteBindingReturnsOnCall = make(map[int]struct { 5403 result1 ccv3.JobURL 5404 result2 ccv3.Warnings 5405 result3 error 5406 }) 5407 } 5408 fake.deleteRouteBindingReturnsOnCall[i] = struct { 5409 result1 ccv3.JobURL 5410 result2 ccv3.Warnings 5411 result3 error 5412 }{result1, result2, result3} 5413 } 5414 5415 func (fake *FakeCloudControllerClient) DeleteSecurityGroup(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 5416 fake.deleteSecurityGroupMutex.Lock() 5417 ret, specificReturn := fake.deleteSecurityGroupReturnsOnCall[len(fake.deleteSecurityGroupArgsForCall)] 5418 fake.deleteSecurityGroupArgsForCall = append(fake.deleteSecurityGroupArgsForCall, struct { 5419 arg1 string 5420 }{arg1}) 5421 fake.recordInvocation("DeleteSecurityGroup", []interface{}{arg1}) 5422 fake.deleteSecurityGroupMutex.Unlock() 5423 if fake.DeleteSecurityGroupStub != nil { 5424 return fake.DeleteSecurityGroupStub(arg1) 5425 } 5426 if specificReturn { 5427 return ret.result1, ret.result2, ret.result3 5428 } 5429 fakeReturns := fake.deleteSecurityGroupReturns 5430 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5431 } 5432 5433 func (fake *FakeCloudControllerClient) DeleteSecurityGroupCallCount() int { 5434 fake.deleteSecurityGroupMutex.RLock() 5435 defer fake.deleteSecurityGroupMutex.RUnlock() 5436 return len(fake.deleteSecurityGroupArgsForCall) 5437 } 5438 5439 func (fake *FakeCloudControllerClient) DeleteSecurityGroupCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 5440 fake.deleteSecurityGroupMutex.Lock() 5441 defer fake.deleteSecurityGroupMutex.Unlock() 5442 fake.DeleteSecurityGroupStub = stub 5443 } 5444 5445 func (fake *FakeCloudControllerClient) DeleteSecurityGroupArgsForCall(i int) string { 5446 fake.deleteSecurityGroupMutex.RLock() 5447 defer fake.deleteSecurityGroupMutex.RUnlock() 5448 argsForCall := fake.deleteSecurityGroupArgsForCall[i] 5449 return argsForCall.arg1 5450 } 5451 5452 func (fake *FakeCloudControllerClient) DeleteSecurityGroupReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5453 fake.deleteSecurityGroupMutex.Lock() 5454 defer fake.deleteSecurityGroupMutex.Unlock() 5455 fake.DeleteSecurityGroupStub = nil 5456 fake.deleteSecurityGroupReturns = struct { 5457 result1 ccv3.JobURL 5458 result2 ccv3.Warnings 5459 result3 error 5460 }{result1, result2, result3} 5461 } 5462 5463 func (fake *FakeCloudControllerClient) DeleteSecurityGroupReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5464 fake.deleteSecurityGroupMutex.Lock() 5465 defer fake.deleteSecurityGroupMutex.Unlock() 5466 fake.DeleteSecurityGroupStub = nil 5467 if fake.deleteSecurityGroupReturnsOnCall == nil { 5468 fake.deleteSecurityGroupReturnsOnCall = make(map[int]struct { 5469 result1 ccv3.JobURL 5470 result2 ccv3.Warnings 5471 result3 error 5472 }) 5473 } 5474 fake.deleteSecurityGroupReturnsOnCall[i] = struct { 5475 result1 ccv3.JobURL 5476 result2 ccv3.Warnings 5477 result3 error 5478 }{result1, result2, result3} 5479 } 5480 5481 func (fake *FakeCloudControllerClient) DeleteServiceBroker(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 5482 fake.deleteServiceBrokerMutex.Lock() 5483 ret, specificReturn := fake.deleteServiceBrokerReturnsOnCall[len(fake.deleteServiceBrokerArgsForCall)] 5484 fake.deleteServiceBrokerArgsForCall = append(fake.deleteServiceBrokerArgsForCall, struct { 5485 arg1 string 5486 }{arg1}) 5487 fake.recordInvocation("DeleteServiceBroker", []interface{}{arg1}) 5488 fake.deleteServiceBrokerMutex.Unlock() 5489 if fake.DeleteServiceBrokerStub != nil { 5490 return fake.DeleteServiceBrokerStub(arg1) 5491 } 5492 if specificReturn { 5493 return ret.result1, ret.result2, ret.result3 5494 } 5495 fakeReturns := fake.deleteServiceBrokerReturns 5496 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5497 } 5498 5499 func (fake *FakeCloudControllerClient) DeleteServiceBrokerCallCount() int { 5500 fake.deleteServiceBrokerMutex.RLock() 5501 defer fake.deleteServiceBrokerMutex.RUnlock() 5502 return len(fake.deleteServiceBrokerArgsForCall) 5503 } 5504 5505 func (fake *FakeCloudControllerClient) DeleteServiceBrokerCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 5506 fake.deleteServiceBrokerMutex.Lock() 5507 defer fake.deleteServiceBrokerMutex.Unlock() 5508 fake.DeleteServiceBrokerStub = stub 5509 } 5510 5511 func (fake *FakeCloudControllerClient) DeleteServiceBrokerArgsForCall(i int) string { 5512 fake.deleteServiceBrokerMutex.RLock() 5513 defer fake.deleteServiceBrokerMutex.RUnlock() 5514 argsForCall := fake.deleteServiceBrokerArgsForCall[i] 5515 return argsForCall.arg1 5516 } 5517 5518 func (fake *FakeCloudControllerClient) DeleteServiceBrokerReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5519 fake.deleteServiceBrokerMutex.Lock() 5520 defer fake.deleteServiceBrokerMutex.Unlock() 5521 fake.DeleteServiceBrokerStub = nil 5522 fake.deleteServiceBrokerReturns = struct { 5523 result1 ccv3.JobURL 5524 result2 ccv3.Warnings 5525 result3 error 5526 }{result1, result2, result3} 5527 } 5528 5529 func (fake *FakeCloudControllerClient) DeleteServiceBrokerReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5530 fake.deleteServiceBrokerMutex.Lock() 5531 defer fake.deleteServiceBrokerMutex.Unlock() 5532 fake.DeleteServiceBrokerStub = nil 5533 if fake.deleteServiceBrokerReturnsOnCall == nil { 5534 fake.deleteServiceBrokerReturnsOnCall = make(map[int]struct { 5535 result1 ccv3.JobURL 5536 result2 ccv3.Warnings 5537 result3 error 5538 }) 5539 } 5540 fake.deleteServiceBrokerReturnsOnCall[i] = struct { 5541 result1 ccv3.JobURL 5542 result2 ccv3.Warnings 5543 result3 error 5544 }{result1, result2, result3} 5545 } 5546 5547 func (fake *FakeCloudControllerClient) DeleteServiceCredentialBinding(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 5548 fake.deleteServiceCredentialBindingMutex.Lock() 5549 ret, specificReturn := fake.deleteServiceCredentialBindingReturnsOnCall[len(fake.deleteServiceCredentialBindingArgsForCall)] 5550 fake.deleteServiceCredentialBindingArgsForCall = append(fake.deleteServiceCredentialBindingArgsForCall, struct { 5551 arg1 string 5552 }{arg1}) 5553 fake.recordInvocation("DeleteServiceCredentialBinding", []interface{}{arg1}) 5554 fake.deleteServiceCredentialBindingMutex.Unlock() 5555 if fake.DeleteServiceCredentialBindingStub != nil { 5556 return fake.DeleteServiceCredentialBindingStub(arg1) 5557 } 5558 if specificReturn { 5559 return ret.result1, ret.result2, ret.result3 5560 } 5561 fakeReturns := fake.deleteServiceCredentialBindingReturns 5562 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5563 } 5564 5565 func (fake *FakeCloudControllerClient) DeleteServiceCredentialBindingCallCount() int { 5566 fake.deleteServiceCredentialBindingMutex.RLock() 5567 defer fake.deleteServiceCredentialBindingMutex.RUnlock() 5568 return len(fake.deleteServiceCredentialBindingArgsForCall) 5569 } 5570 5571 func (fake *FakeCloudControllerClient) DeleteServiceCredentialBindingCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 5572 fake.deleteServiceCredentialBindingMutex.Lock() 5573 defer fake.deleteServiceCredentialBindingMutex.Unlock() 5574 fake.DeleteServiceCredentialBindingStub = stub 5575 } 5576 5577 func (fake *FakeCloudControllerClient) DeleteServiceCredentialBindingArgsForCall(i int) string { 5578 fake.deleteServiceCredentialBindingMutex.RLock() 5579 defer fake.deleteServiceCredentialBindingMutex.RUnlock() 5580 argsForCall := fake.deleteServiceCredentialBindingArgsForCall[i] 5581 return argsForCall.arg1 5582 } 5583 5584 func (fake *FakeCloudControllerClient) DeleteServiceCredentialBindingReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5585 fake.deleteServiceCredentialBindingMutex.Lock() 5586 defer fake.deleteServiceCredentialBindingMutex.Unlock() 5587 fake.DeleteServiceCredentialBindingStub = nil 5588 fake.deleteServiceCredentialBindingReturns = struct { 5589 result1 ccv3.JobURL 5590 result2 ccv3.Warnings 5591 result3 error 5592 }{result1, result2, result3} 5593 } 5594 5595 func (fake *FakeCloudControllerClient) DeleteServiceCredentialBindingReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5596 fake.deleteServiceCredentialBindingMutex.Lock() 5597 defer fake.deleteServiceCredentialBindingMutex.Unlock() 5598 fake.DeleteServiceCredentialBindingStub = nil 5599 if fake.deleteServiceCredentialBindingReturnsOnCall == nil { 5600 fake.deleteServiceCredentialBindingReturnsOnCall = make(map[int]struct { 5601 result1 ccv3.JobURL 5602 result2 ccv3.Warnings 5603 result3 error 5604 }) 5605 } 5606 fake.deleteServiceCredentialBindingReturnsOnCall[i] = struct { 5607 result1 ccv3.JobURL 5608 result2 ccv3.Warnings 5609 result3 error 5610 }{result1, result2, result3} 5611 } 5612 5613 func (fake *FakeCloudControllerClient) DeleteServiceInstance(arg1 string, arg2 ...ccv3.Query) (ccv3.JobURL, ccv3.Warnings, error) { 5614 fake.deleteServiceInstanceMutex.Lock() 5615 ret, specificReturn := fake.deleteServiceInstanceReturnsOnCall[len(fake.deleteServiceInstanceArgsForCall)] 5616 fake.deleteServiceInstanceArgsForCall = append(fake.deleteServiceInstanceArgsForCall, struct { 5617 arg1 string 5618 arg2 []ccv3.Query 5619 }{arg1, arg2}) 5620 fake.recordInvocation("DeleteServiceInstance", []interface{}{arg1, arg2}) 5621 fake.deleteServiceInstanceMutex.Unlock() 5622 if fake.DeleteServiceInstanceStub != nil { 5623 return fake.DeleteServiceInstanceStub(arg1, arg2...) 5624 } 5625 if specificReturn { 5626 return ret.result1, ret.result2, ret.result3 5627 } 5628 fakeReturns := fake.deleteServiceInstanceReturns 5629 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5630 } 5631 5632 func (fake *FakeCloudControllerClient) DeleteServiceInstanceCallCount() int { 5633 fake.deleteServiceInstanceMutex.RLock() 5634 defer fake.deleteServiceInstanceMutex.RUnlock() 5635 return len(fake.deleteServiceInstanceArgsForCall) 5636 } 5637 5638 func (fake *FakeCloudControllerClient) DeleteServiceInstanceCalls(stub func(string, ...ccv3.Query) (ccv3.JobURL, ccv3.Warnings, error)) { 5639 fake.deleteServiceInstanceMutex.Lock() 5640 defer fake.deleteServiceInstanceMutex.Unlock() 5641 fake.DeleteServiceInstanceStub = stub 5642 } 5643 5644 func (fake *FakeCloudControllerClient) DeleteServiceInstanceArgsForCall(i int) (string, []ccv3.Query) { 5645 fake.deleteServiceInstanceMutex.RLock() 5646 defer fake.deleteServiceInstanceMutex.RUnlock() 5647 argsForCall := fake.deleteServiceInstanceArgsForCall[i] 5648 return argsForCall.arg1, argsForCall.arg2 5649 } 5650 5651 func (fake *FakeCloudControllerClient) DeleteServiceInstanceReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5652 fake.deleteServiceInstanceMutex.Lock() 5653 defer fake.deleteServiceInstanceMutex.Unlock() 5654 fake.DeleteServiceInstanceStub = nil 5655 fake.deleteServiceInstanceReturns = struct { 5656 result1 ccv3.JobURL 5657 result2 ccv3.Warnings 5658 result3 error 5659 }{result1, result2, result3} 5660 } 5661 5662 func (fake *FakeCloudControllerClient) DeleteServiceInstanceReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5663 fake.deleteServiceInstanceMutex.Lock() 5664 defer fake.deleteServiceInstanceMutex.Unlock() 5665 fake.DeleteServiceInstanceStub = nil 5666 if fake.deleteServiceInstanceReturnsOnCall == nil { 5667 fake.deleteServiceInstanceReturnsOnCall = make(map[int]struct { 5668 result1 ccv3.JobURL 5669 result2 ccv3.Warnings 5670 result3 error 5671 }) 5672 } 5673 fake.deleteServiceInstanceReturnsOnCall[i] = struct { 5674 result1 ccv3.JobURL 5675 result2 ccv3.Warnings 5676 result3 error 5677 }{result1, result2, result3} 5678 } 5679 5680 func (fake *FakeCloudControllerClient) DeleteServicePlanVisibility(arg1 string, arg2 string) (ccv3.Warnings, error) { 5681 fake.deleteServicePlanVisibilityMutex.Lock() 5682 ret, specificReturn := fake.deleteServicePlanVisibilityReturnsOnCall[len(fake.deleteServicePlanVisibilityArgsForCall)] 5683 fake.deleteServicePlanVisibilityArgsForCall = append(fake.deleteServicePlanVisibilityArgsForCall, struct { 5684 arg1 string 5685 arg2 string 5686 }{arg1, arg2}) 5687 fake.recordInvocation("DeleteServicePlanVisibility", []interface{}{arg1, arg2}) 5688 fake.deleteServicePlanVisibilityMutex.Unlock() 5689 if fake.DeleteServicePlanVisibilityStub != nil { 5690 return fake.DeleteServicePlanVisibilityStub(arg1, arg2) 5691 } 5692 if specificReturn { 5693 return ret.result1, ret.result2 5694 } 5695 fakeReturns := fake.deleteServicePlanVisibilityReturns 5696 return fakeReturns.result1, fakeReturns.result2 5697 } 5698 5699 func (fake *FakeCloudControllerClient) DeleteServicePlanVisibilityCallCount() int { 5700 fake.deleteServicePlanVisibilityMutex.RLock() 5701 defer fake.deleteServicePlanVisibilityMutex.RUnlock() 5702 return len(fake.deleteServicePlanVisibilityArgsForCall) 5703 } 5704 5705 func (fake *FakeCloudControllerClient) DeleteServicePlanVisibilityCalls(stub func(string, string) (ccv3.Warnings, error)) { 5706 fake.deleteServicePlanVisibilityMutex.Lock() 5707 defer fake.deleteServicePlanVisibilityMutex.Unlock() 5708 fake.DeleteServicePlanVisibilityStub = stub 5709 } 5710 5711 func (fake *FakeCloudControllerClient) DeleteServicePlanVisibilityArgsForCall(i int) (string, string) { 5712 fake.deleteServicePlanVisibilityMutex.RLock() 5713 defer fake.deleteServicePlanVisibilityMutex.RUnlock() 5714 argsForCall := fake.deleteServicePlanVisibilityArgsForCall[i] 5715 return argsForCall.arg1, argsForCall.arg2 5716 } 5717 5718 func (fake *FakeCloudControllerClient) DeleteServicePlanVisibilityReturns(result1 ccv3.Warnings, result2 error) { 5719 fake.deleteServicePlanVisibilityMutex.Lock() 5720 defer fake.deleteServicePlanVisibilityMutex.Unlock() 5721 fake.DeleteServicePlanVisibilityStub = nil 5722 fake.deleteServicePlanVisibilityReturns = struct { 5723 result1 ccv3.Warnings 5724 result2 error 5725 }{result1, result2} 5726 } 5727 5728 func (fake *FakeCloudControllerClient) DeleteServicePlanVisibilityReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 5729 fake.deleteServicePlanVisibilityMutex.Lock() 5730 defer fake.deleteServicePlanVisibilityMutex.Unlock() 5731 fake.DeleteServicePlanVisibilityStub = nil 5732 if fake.deleteServicePlanVisibilityReturnsOnCall == nil { 5733 fake.deleteServicePlanVisibilityReturnsOnCall = make(map[int]struct { 5734 result1 ccv3.Warnings 5735 result2 error 5736 }) 5737 } 5738 fake.deleteServicePlanVisibilityReturnsOnCall[i] = struct { 5739 result1 ccv3.Warnings 5740 result2 error 5741 }{result1, result2} 5742 } 5743 5744 func (fake *FakeCloudControllerClient) DeleteSpace(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 5745 fake.deleteSpaceMutex.Lock() 5746 ret, specificReturn := fake.deleteSpaceReturnsOnCall[len(fake.deleteSpaceArgsForCall)] 5747 fake.deleteSpaceArgsForCall = append(fake.deleteSpaceArgsForCall, struct { 5748 arg1 string 5749 }{arg1}) 5750 fake.recordInvocation("DeleteSpace", []interface{}{arg1}) 5751 fake.deleteSpaceMutex.Unlock() 5752 if fake.DeleteSpaceStub != nil { 5753 return fake.DeleteSpaceStub(arg1) 5754 } 5755 if specificReturn { 5756 return ret.result1, ret.result2, ret.result3 5757 } 5758 fakeReturns := fake.deleteSpaceReturns 5759 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5760 } 5761 5762 func (fake *FakeCloudControllerClient) DeleteSpaceCallCount() int { 5763 fake.deleteSpaceMutex.RLock() 5764 defer fake.deleteSpaceMutex.RUnlock() 5765 return len(fake.deleteSpaceArgsForCall) 5766 } 5767 5768 func (fake *FakeCloudControllerClient) DeleteSpaceCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 5769 fake.deleteSpaceMutex.Lock() 5770 defer fake.deleteSpaceMutex.Unlock() 5771 fake.DeleteSpaceStub = stub 5772 } 5773 5774 func (fake *FakeCloudControllerClient) DeleteSpaceArgsForCall(i int) string { 5775 fake.deleteSpaceMutex.RLock() 5776 defer fake.deleteSpaceMutex.RUnlock() 5777 argsForCall := fake.deleteSpaceArgsForCall[i] 5778 return argsForCall.arg1 5779 } 5780 5781 func (fake *FakeCloudControllerClient) DeleteSpaceReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5782 fake.deleteSpaceMutex.Lock() 5783 defer fake.deleteSpaceMutex.Unlock() 5784 fake.DeleteSpaceStub = nil 5785 fake.deleteSpaceReturns = struct { 5786 result1 ccv3.JobURL 5787 result2 ccv3.Warnings 5788 result3 error 5789 }{result1, result2, result3} 5790 } 5791 5792 func (fake *FakeCloudControllerClient) DeleteSpaceReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5793 fake.deleteSpaceMutex.Lock() 5794 defer fake.deleteSpaceMutex.Unlock() 5795 fake.DeleteSpaceStub = nil 5796 if fake.deleteSpaceReturnsOnCall == nil { 5797 fake.deleteSpaceReturnsOnCall = make(map[int]struct { 5798 result1 ccv3.JobURL 5799 result2 ccv3.Warnings 5800 result3 error 5801 }) 5802 } 5803 fake.deleteSpaceReturnsOnCall[i] = struct { 5804 result1 ccv3.JobURL 5805 result2 ccv3.Warnings 5806 result3 error 5807 }{result1, result2, result3} 5808 } 5809 5810 func (fake *FakeCloudControllerClient) DeleteSpaceQuota(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 5811 fake.deleteSpaceQuotaMutex.Lock() 5812 ret, specificReturn := fake.deleteSpaceQuotaReturnsOnCall[len(fake.deleteSpaceQuotaArgsForCall)] 5813 fake.deleteSpaceQuotaArgsForCall = append(fake.deleteSpaceQuotaArgsForCall, struct { 5814 arg1 string 5815 }{arg1}) 5816 fake.recordInvocation("DeleteSpaceQuota", []interface{}{arg1}) 5817 fake.deleteSpaceQuotaMutex.Unlock() 5818 if fake.DeleteSpaceQuotaStub != nil { 5819 return fake.DeleteSpaceQuotaStub(arg1) 5820 } 5821 if specificReturn { 5822 return ret.result1, ret.result2, ret.result3 5823 } 5824 fakeReturns := fake.deleteSpaceQuotaReturns 5825 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5826 } 5827 5828 func (fake *FakeCloudControllerClient) DeleteSpaceQuotaCallCount() int { 5829 fake.deleteSpaceQuotaMutex.RLock() 5830 defer fake.deleteSpaceQuotaMutex.RUnlock() 5831 return len(fake.deleteSpaceQuotaArgsForCall) 5832 } 5833 5834 func (fake *FakeCloudControllerClient) DeleteSpaceQuotaCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 5835 fake.deleteSpaceQuotaMutex.Lock() 5836 defer fake.deleteSpaceQuotaMutex.Unlock() 5837 fake.DeleteSpaceQuotaStub = stub 5838 } 5839 5840 func (fake *FakeCloudControllerClient) DeleteSpaceQuotaArgsForCall(i int) string { 5841 fake.deleteSpaceQuotaMutex.RLock() 5842 defer fake.deleteSpaceQuotaMutex.RUnlock() 5843 argsForCall := fake.deleteSpaceQuotaArgsForCall[i] 5844 return argsForCall.arg1 5845 } 5846 5847 func (fake *FakeCloudControllerClient) DeleteSpaceQuotaReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5848 fake.deleteSpaceQuotaMutex.Lock() 5849 defer fake.deleteSpaceQuotaMutex.Unlock() 5850 fake.DeleteSpaceQuotaStub = nil 5851 fake.deleteSpaceQuotaReturns = struct { 5852 result1 ccv3.JobURL 5853 result2 ccv3.Warnings 5854 result3 error 5855 }{result1, result2, result3} 5856 } 5857 5858 func (fake *FakeCloudControllerClient) DeleteSpaceQuotaReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5859 fake.deleteSpaceQuotaMutex.Lock() 5860 defer fake.deleteSpaceQuotaMutex.Unlock() 5861 fake.DeleteSpaceQuotaStub = nil 5862 if fake.deleteSpaceQuotaReturnsOnCall == nil { 5863 fake.deleteSpaceQuotaReturnsOnCall = make(map[int]struct { 5864 result1 ccv3.JobURL 5865 result2 ccv3.Warnings 5866 result3 error 5867 }) 5868 } 5869 fake.deleteSpaceQuotaReturnsOnCall[i] = struct { 5870 result1 ccv3.JobURL 5871 result2 ccv3.Warnings 5872 result3 error 5873 }{result1, result2, result3} 5874 } 5875 5876 func (fake *FakeCloudControllerClient) DeleteUser(arg1 string) (ccv3.JobURL, ccv3.Warnings, error) { 5877 fake.deleteUserMutex.Lock() 5878 ret, specificReturn := fake.deleteUserReturnsOnCall[len(fake.deleteUserArgsForCall)] 5879 fake.deleteUserArgsForCall = append(fake.deleteUserArgsForCall, struct { 5880 arg1 string 5881 }{arg1}) 5882 fake.recordInvocation("DeleteUser", []interface{}{arg1}) 5883 fake.deleteUserMutex.Unlock() 5884 if fake.DeleteUserStub != nil { 5885 return fake.DeleteUserStub(arg1) 5886 } 5887 if specificReturn { 5888 return ret.result1, ret.result2, ret.result3 5889 } 5890 fakeReturns := fake.deleteUserReturns 5891 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5892 } 5893 5894 func (fake *FakeCloudControllerClient) DeleteUserCallCount() int { 5895 fake.deleteUserMutex.RLock() 5896 defer fake.deleteUserMutex.RUnlock() 5897 return len(fake.deleteUserArgsForCall) 5898 } 5899 5900 func (fake *FakeCloudControllerClient) DeleteUserCalls(stub func(string) (ccv3.JobURL, ccv3.Warnings, error)) { 5901 fake.deleteUserMutex.Lock() 5902 defer fake.deleteUserMutex.Unlock() 5903 fake.DeleteUserStub = stub 5904 } 5905 5906 func (fake *FakeCloudControllerClient) DeleteUserArgsForCall(i int) string { 5907 fake.deleteUserMutex.RLock() 5908 defer fake.deleteUserMutex.RUnlock() 5909 argsForCall := fake.deleteUserArgsForCall[i] 5910 return argsForCall.arg1 5911 } 5912 5913 func (fake *FakeCloudControllerClient) DeleteUserReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5914 fake.deleteUserMutex.Lock() 5915 defer fake.deleteUserMutex.Unlock() 5916 fake.DeleteUserStub = nil 5917 fake.deleteUserReturns = struct { 5918 result1 ccv3.JobURL 5919 result2 ccv3.Warnings 5920 result3 error 5921 }{result1, result2, result3} 5922 } 5923 5924 func (fake *FakeCloudControllerClient) DeleteUserReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 5925 fake.deleteUserMutex.Lock() 5926 defer fake.deleteUserMutex.Unlock() 5927 fake.DeleteUserStub = nil 5928 if fake.deleteUserReturnsOnCall == nil { 5929 fake.deleteUserReturnsOnCall = make(map[int]struct { 5930 result1 ccv3.JobURL 5931 result2 ccv3.Warnings 5932 result3 error 5933 }) 5934 } 5935 fake.deleteUserReturnsOnCall[i] = struct { 5936 result1 ccv3.JobURL 5937 result2 ccv3.Warnings 5938 result3 error 5939 }{result1, result2, result3} 5940 } 5941 5942 func (fake *FakeCloudControllerClient) DownloadDroplet(arg1 string) ([]byte, ccv3.Warnings, error) { 5943 fake.downloadDropletMutex.Lock() 5944 ret, specificReturn := fake.downloadDropletReturnsOnCall[len(fake.downloadDropletArgsForCall)] 5945 fake.downloadDropletArgsForCall = append(fake.downloadDropletArgsForCall, struct { 5946 arg1 string 5947 }{arg1}) 5948 fake.recordInvocation("DownloadDroplet", []interface{}{arg1}) 5949 fake.downloadDropletMutex.Unlock() 5950 if fake.DownloadDropletStub != nil { 5951 return fake.DownloadDropletStub(arg1) 5952 } 5953 if specificReturn { 5954 return ret.result1, ret.result2, ret.result3 5955 } 5956 fakeReturns := fake.downloadDropletReturns 5957 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 5958 } 5959 5960 func (fake *FakeCloudControllerClient) DownloadDropletCallCount() int { 5961 fake.downloadDropletMutex.RLock() 5962 defer fake.downloadDropletMutex.RUnlock() 5963 return len(fake.downloadDropletArgsForCall) 5964 } 5965 5966 func (fake *FakeCloudControllerClient) DownloadDropletCalls(stub func(string) ([]byte, ccv3.Warnings, error)) { 5967 fake.downloadDropletMutex.Lock() 5968 defer fake.downloadDropletMutex.Unlock() 5969 fake.DownloadDropletStub = stub 5970 } 5971 5972 func (fake *FakeCloudControllerClient) DownloadDropletArgsForCall(i int) string { 5973 fake.downloadDropletMutex.RLock() 5974 defer fake.downloadDropletMutex.RUnlock() 5975 argsForCall := fake.downloadDropletArgsForCall[i] 5976 return argsForCall.arg1 5977 } 5978 5979 func (fake *FakeCloudControllerClient) DownloadDropletReturns(result1 []byte, result2 ccv3.Warnings, result3 error) { 5980 fake.downloadDropletMutex.Lock() 5981 defer fake.downloadDropletMutex.Unlock() 5982 fake.DownloadDropletStub = nil 5983 fake.downloadDropletReturns = struct { 5984 result1 []byte 5985 result2 ccv3.Warnings 5986 result3 error 5987 }{result1, result2, result3} 5988 } 5989 5990 func (fake *FakeCloudControllerClient) DownloadDropletReturnsOnCall(i int, result1 []byte, result2 ccv3.Warnings, result3 error) { 5991 fake.downloadDropletMutex.Lock() 5992 defer fake.downloadDropletMutex.Unlock() 5993 fake.DownloadDropletStub = nil 5994 if fake.downloadDropletReturnsOnCall == nil { 5995 fake.downloadDropletReturnsOnCall = make(map[int]struct { 5996 result1 []byte 5997 result2 ccv3.Warnings 5998 result3 error 5999 }) 6000 } 6001 fake.downloadDropletReturnsOnCall[i] = struct { 6002 result1 []byte 6003 result2 ccv3.Warnings 6004 result3 error 6005 }{result1, result2, result3} 6006 } 6007 6008 func (fake *FakeCloudControllerClient) EntitleIsolationSegmentToOrganizations(arg1 string, arg2 []string) (resources.RelationshipList, ccv3.Warnings, error) { 6009 var arg2Copy []string 6010 if arg2 != nil { 6011 arg2Copy = make([]string, len(arg2)) 6012 copy(arg2Copy, arg2) 6013 } 6014 fake.entitleIsolationSegmentToOrganizationsMutex.Lock() 6015 ret, specificReturn := fake.entitleIsolationSegmentToOrganizationsReturnsOnCall[len(fake.entitleIsolationSegmentToOrganizationsArgsForCall)] 6016 fake.entitleIsolationSegmentToOrganizationsArgsForCall = append(fake.entitleIsolationSegmentToOrganizationsArgsForCall, struct { 6017 arg1 string 6018 arg2 []string 6019 }{arg1, arg2Copy}) 6020 fake.recordInvocation("EntitleIsolationSegmentToOrganizations", []interface{}{arg1, arg2Copy}) 6021 fake.entitleIsolationSegmentToOrganizationsMutex.Unlock() 6022 if fake.EntitleIsolationSegmentToOrganizationsStub != nil { 6023 return fake.EntitleIsolationSegmentToOrganizationsStub(arg1, arg2) 6024 } 6025 if specificReturn { 6026 return ret.result1, ret.result2, ret.result3 6027 } 6028 fakeReturns := fake.entitleIsolationSegmentToOrganizationsReturns 6029 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6030 } 6031 6032 func (fake *FakeCloudControllerClient) EntitleIsolationSegmentToOrganizationsCallCount() int { 6033 fake.entitleIsolationSegmentToOrganizationsMutex.RLock() 6034 defer fake.entitleIsolationSegmentToOrganizationsMutex.RUnlock() 6035 return len(fake.entitleIsolationSegmentToOrganizationsArgsForCall) 6036 } 6037 6038 func (fake *FakeCloudControllerClient) EntitleIsolationSegmentToOrganizationsCalls(stub func(string, []string) (resources.RelationshipList, ccv3.Warnings, error)) { 6039 fake.entitleIsolationSegmentToOrganizationsMutex.Lock() 6040 defer fake.entitleIsolationSegmentToOrganizationsMutex.Unlock() 6041 fake.EntitleIsolationSegmentToOrganizationsStub = stub 6042 } 6043 6044 func (fake *FakeCloudControllerClient) EntitleIsolationSegmentToOrganizationsArgsForCall(i int) (string, []string) { 6045 fake.entitleIsolationSegmentToOrganizationsMutex.RLock() 6046 defer fake.entitleIsolationSegmentToOrganizationsMutex.RUnlock() 6047 argsForCall := fake.entitleIsolationSegmentToOrganizationsArgsForCall[i] 6048 return argsForCall.arg1, argsForCall.arg2 6049 } 6050 6051 func (fake *FakeCloudControllerClient) EntitleIsolationSegmentToOrganizationsReturns(result1 resources.RelationshipList, result2 ccv3.Warnings, result3 error) { 6052 fake.entitleIsolationSegmentToOrganizationsMutex.Lock() 6053 defer fake.entitleIsolationSegmentToOrganizationsMutex.Unlock() 6054 fake.EntitleIsolationSegmentToOrganizationsStub = nil 6055 fake.entitleIsolationSegmentToOrganizationsReturns = struct { 6056 result1 resources.RelationshipList 6057 result2 ccv3.Warnings 6058 result3 error 6059 }{result1, result2, result3} 6060 } 6061 6062 func (fake *FakeCloudControllerClient) EntitleIsolationSegmentToOrganizationsReturnsOnCall(i int, result1 resources.RelationshipList, result2 ccv3.Warnings, result3 error) { 6063 fake.entitleIsolationSegmentToOrganizationsMutex.Lock() 6064 defer fake.entitleIsolationSegmentToOrganizationsMutex.Unlock() 6065 fake.EntitleIsolationSegmentToOrganizationsStub = nil 6066 if fake.entitleIsolationSegmentToOrganizationsReturnsOnCall == nil { 6067 fake.entitleIsolationSegmentToOrganizationsReturnsOnCall = make(map[int]struct { 6068 result1 resources.RelationshipList 6069 result2 ccv3.Warnings 6070 result3 error 6071 }) 6072 } 6073 fake.entitleIsolationSegmentToOrganizationsReturnsOnCall[i] = struct { 6074 result1 resources.RelationshipList 6075 result2 ccv3.Warnings 6076 result3 error 6077 }{result1, result2, result3} 6078 } 6079 6080 func (fake *FakeCloudControllerClient) GetAppFeature(arg1 string, arg2 string) (resources.ApplicationFeature, ccv3.Warnings, error) { 6081 fake.getAppFeatureMutex.Lock() 6082 ret, specificReturn := fake.getAppFeatureReturnsOnCall[len(fake.getAppFeatureArgsForCall)] 6083 fake.getAppFeatureArgsForCall = append(fake.getAppFeatureArgsForCall, struct { 6084 arg1 string 6085 arg2 string 6086 }{arg1, arg2}) 6087 fake.recordInvocation("GetAppFeature", []interface{}{arg1, arg2}) 6088 fake.getAppFeatureMutex.Unlock() 6089 if fake.GetAppFeatureStub != nil { 6090 return fake.GetAppFeatureStub(arg1, arg2) 6091 } 6092 if specificReturn { 6093 return ret.result1, ret.result2, ret.result3 6094 } 6095 fakeReturns := fake.getAppFeatureReturns 6096 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6097 } 6098 6099 func (fake *FakeCloudControllerClient) GetAppFeatureCallCount() int { 6100 fake.getAppFeatureMutex.RLock() 6101 defer fake.getAppFeatureMutex.RUnlock() 6102 return len(fake.getAppFeatureArgsForCall) 6103 } 6104 6105 func (fake *FakeCloudControllerClient) GetAppFeatureCalls(stub func(string, string) (resources.ApplicationFeature, ccv3.Warnings, error)) { 6106 fake.getAppFeatureMutex.Lock() 6107 defer fake.getAppFeatureMutex.Unlock() 6108 fake.GetAppFeatureStub = stub 6109 } 6110 6111 func (fake *FakeCloudControllerClient) GetAppFeatureArgsForCall(i int) (string, string) { 6112 fake.getAppFeatureMutex.RLock() 6113 defer fake.getAppFeatureMutex.RUnlock() 6114 argsForCall := fake.getAppFeatureArgsForCall[i] 6115 return argsForCall.arg1, argsForCall.arg2 6116 } 6117 6118 func (fake *FakeCloudControllerClient) GetAppFeatureReturns(result1 resources.ApplicationFeature, result2 ccv3.Warnings, result3 error) { 6119 fake.getAppFeatureMutex.Lock() 6120 defer fake.getAppFeatureMutex.Unlock() 6121 fake.GetAppFeatureStub = nil 6122 fake.getAppFeatureReturns = struct { 6123 result1 resources.ApplicationFeature 6124 result2 ccv3.Warnings 6125 result3 error 6126 }{result1, result2, result3} 6127 } 6128 6129 func (fake *FakeCloudControllerClient) GetAppFeatureReturnsOnCall(i int, result1 resources.ApplicationFeature, result2 ccv3.Warnings, result3 error) { 6130 fake.getAppFeatureMutex.Lock() 6131 defer fake.getAppFeatureMutex.Unlock() 6132 fake.GetAppFeatureStub = nil 6133 if fake.getAppFeatureReturnsOnCall == nil { 6134 fake.getAppFeatureReturnsOnCall = make(map[int]struct { 6135 result1 resources.ApplicationFeature 6136 result2 ccv3.Warnings 6137 result3 error 6138 }) 6139 } 6140 fake.getAppFeatureReturnsOnCall[i] = struct { 6141 result1 resources.ApplicationFeature 6142 result2 ccv3.Warnings 6143 result3 error 6144 }{result1, result2, result3} 6145 } 6146 6147 func (fake *FakeCloudControllerClient) GetApplicationByNameAndSpace(arg1 string, arg2 string) (resources.Application, ccv3.Warnings, error) { 6148 fake.getApplicationByNameAndSpaceMutex.Lock() 6149 ret, specificReturn := fake.getApplicationByNameAndSpaceReturnsOnCall[len(fake.getApplicationByNameAndSpaceArgsForCall)] 6150 fake.getApplicationByNameAndSpaceArgsForCall = append(fake.getApplicationByNameAndSpaceArgsForCall, struct { 6151 arg1 string 6152 arg2 string 6153 }{arg1, arg2}) 6154 fake.recordInvocation("GetApplicationByNameAndSpace", []interface{}{arg1, arg2}) 6155 fake.getApplicationByNameAndSpaceMutex.Unlock() 6156 if fake.GetApplicationByNameAndSpaceStub != nil { 6157 return fake.GetApplicationByNameAndSpaceStub(arg1, arg2) 6158 } 6159 if specificReturn { 6160 return ret.result1, ret.result2, ret.result3 6161 } 6162 fakeReturns := fake.getApplicationByNameAndSpaceReturns 6163 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6164 } 6165 6166 func (fake *FakeCloudControllerClient) GetApplicationByNameAndSpaceCallCount() int { 6167 fake.getApplicationByNameAndSpaceMutex.RLock() 6168 defer fake.getApplicationByNameAndSpaceMutex.RUnlock() 6169 return len(fake.getApplicationByNameAndSpaceArgsForCall) 6170 } 6171 6172 func (fake *FakeCloudControllerClient) GetApplicationByNameAndSpaceCalls(stub func(string, string) (resources.Application, ccv3.Warnings, error)) { 6173 fake.getApplicationByNameAndSpaceMutex.Lock() 6174 defer fake.getApplicationByNameAndSpaceMutex.Unlock() 6175 fake.GetApplicationByNameAndSpaceStub = stub 6176 } 6177 6178 func (fake *FakeCloudControllerClient) GetApplicationByNameAndSpaceArgsForCall(i int) (string, string) { 6179 fake.getApplicationByNameAndSpaceMutex.RLock() 6180 defer fake.getApplicationByNameAndSpaceMutex.RUnlock() 6181 argsForCall := fake.getApplicationByNameAndSpaceArgsForCall[i] 6182 return argsForCall.arg1, argsForCall.arg2 6183 } 6184 6185 func (fake *FakeCloudControllerClient) GetApplicationByNameAndSpaceReturns(result1 resources.Application, result2 ccv3.Warnings, result3 error) { 6186 fake.getApplicationByNameAndSpaceMutex.Lock() 6187 defer fake.getApplicationByNameAndSpaceMutex.Unlock() 6188 fake.GetApplicationByNameAndSpaceStub = nil 6189 fake.getApplicationByNameAndSpaceReturns = struct { 6190 result1 resources.Application 6191 result2 ccv3.Warnings 6192 result3 error 6193 }{result1, result2, result3} 6194 } 6195 6196 func (fake *FakeCloudControllerClient) GetApplicationByNameAndSpaceReturnsOnCall(i int, result1 resources.Application, result2 ccv3.Warnings, result3 error) { 6197 fake.getApplicationByNameAndSpaceMutex.Lock() 6198 defer fake.getApplicationByNameAndSpaceMutex.Unlock() 6199 fake.GetApplicationByNameAndSpaceStub = nil 6200 if fake.getApplicationByNameAndSpaceReturnsOnCall == nil { 6201 fake.getApplicationByNameAndSpaceReturnsOnCall = make(map[int]struct { 6202 result1 resources.Application 6203 result2 ccv3.Warnings 6204 result3 error 6205 }) 6206 } 6207 fake.getApplicationByNameAndSpaceReturnsOnCall[i] = struct { 6208 result1 resources.Application 6209 result2 ccv3.Warnings 6210 result3 error 6211 }{result1, result2, result3} 6212 } 6213 6214 func (fake *FakeCloudControllerClient) GetApplicationDropletCurrent(arg1 string) (resources.Droplet, ccv3.Warnings, error) { 6215 fake.getApplicationDropletCurrentMutex.Lock() 6216 ret, specificReturn := fake.getApplicationDropletCurrentReturnsOnCall[len(fake.getApplicationDropletCurrentArgsForCall)] 6217 fake.getApplicationDropletCurrentArgsForCall = append(fake.getApplicationDropletCurrentArgsForCall, struct { 6218 arg1 string 6219 }{arg1}) 6220 fake.recordInvocation("GetApplicationDropletCurrent", []interface{}{arg1}) 6221 fake.getApplicationDropletCurrentMutex.Unlock() 6222 if fake.GetApplicationDropletCurrentStub != nil { 6223 return fake.GetApplicationDropletCurrentStub(arg1) 6224 } 6225 if specificReturn { 6226 return ret.result1, ret.result2, ret.result3 6227 } 6228 fakeReturns := fake.getApplicationDropletCurrentReturns 6229 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6230 } 6231 6232 func (fake *FakeCloudControllerClient) GetApplicationDropletCurrentCallCount() int { 6233 fake.getApplicationDropletCurrentMutex.RLock() 6234 defer fake.getApplicationDropletCurrentMutex.RUnlock() 6235 return len(fake.getApplicationDropletCurrentArgsForCall) 6236 } 6237 6238 func (fake *FakeCloudControllerClient) GetApplicationDropletCurrentCalls(stub func(string) (resources.Droplet, ccv3.Warnings, error)) { 6239 fake.getApplicationDropletCurrentMutex.Lock() 6240 defer fake.getApplicationDropletCurrentMutex.Unlock() 6241 fake.GetApplicationDropletCurrentStub = stub 6242 } 6243 6244 func (fake *FakeCloudControllerClient) GetApplicationDropletCurrentArgsForCall(i int) string { 6245 fake.getApplicationDropletCurrentMutex.RLock() 6246 defer fake.getApplicationDropletCurrentMutex.RUnlock() 6247 argsForCall := fake.getApplicationDropletCurrentArgsForCall[i] 6248 return argsForCall.arg1 6249 } 6250 6251 func (fake *FakeCloudControllerClient) GetApplicationDropletCurrentReturns(result1 resources.Droplet, result2 ccv3.Warnings, result3 error) { 6252 fake.getApplicationDropletCurrentMutex.Lock() 6253 defer fake.getApplicationDropletCurrentMutex.Unlock() 6254 fake.GetApplicationDropletCurrentStub = nil 6255 fake.getApplicationDropletCurrentReturns = struct { 6256 result1 resources.Droplet 6257 result2 ccv3.Warnings 6258 result3 error 6259 }{result1, result2, result3} 6260 } 6261 6262 func (fake *FakeCloudControllerClient) GetApplicationDropletCurrentReturnsOnCall(i int, result1 resources.Droplet, result2 ccv3.Warnings, result3 error) { 6263 fake.getApplicationDropletCurrentMutex.Lock() 6264 defer fake.getApplicationDropletCurrentMutex.Unlock() 6265 fake.GetApplicationDropletCurrentStub = nil 6266 if fake.getApplicationDropletCurrentReturnsOnCall == nil { 6267 fake.getApplicationDropletCurrentReturnsOnCall = make(map[int]struct { 6268 result1 resources.Droplet 6269 result2 ccv3.Warnings 6270 result3 error 6271 }) 6272 } 6273 fake.getApplicationDropletCurrentReturnsOnCall[i] = struct { 6274 result1 resources.Droplet 6275 result2 ccv3.Warnings 6276 result3 error 6277 }{result1, result2, result3} 6278 } 6279 6280 func (fake *FakeCloudControllerClient) GetApplicationEnvironment(arg1 string) (ccv3.Environment, ccv3.Warnings, error) { 6281 fake.getApplicationEnvironmentMutex.Lock() 6282 ret, specificReturn := fake.getApplicationEnvironmentReturnsOnCall[len(fake.getApplicationEnvironmentArgsForCall)] 6283 fake.getApplicationEnvironmentArgsForCall = append(fake.getApplicationEnvironmentArgsForCall, struct { 6284 arg1 string 6285 }{arg1}) 6286 fake.recordInvocation("GetApplicationEnvironment", []interface{}{arg1}) 6287 fake.getApplicationEnvironmentMutex.Unlock() 6288 if fake.GetApplicationEnvironmentStub != nil { 6289 return fake.GetApplicationEnvironmentStub(arg1) 6290 } 6291 if specificReturn { 6292 return ret.result1, ret.result2, ret.result3 6293 } 6294 fakeReturns := fake.getApplicationEnvironmentReturns 6295 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6296 } 6297 6298 func (fake *FakeCloudControllerClient) GetApplicationEnvironmentCallCount() int { 6299 fake.getApplicationEnvironmentMutex.RLock() 6300 defer fake.getApplicationEnvironmentMutex.RUnlock() 6301 return len(fake.getApplicationEnvironmentArgsForCall) 6302 } 6303 6304 func (fake *FakeCloudControllerClient) GetApplicationEnvironmentCalls(stub func(string) (ccv3.Environment, ccv3.Warnings, error)) { 6305 fake.getApplicationEnvironmentMutex.Lock() 6306 defer fake.getApplicationEnvironmentMutex.Unlock() 6307 fake.GetApplicationEnvironmentStub = stub 6308 } 6309 6310 func (fake *FakeCloudControllerClient) GetApplicationEnvironmentArgsForCall(i int) string { 6311 fake.getApplicationEnvironmentMutex.RLock() 6312 defer fake.getApplicationEnvironmentMutex.RUnlock() 6313 argsForCall := fake.getApplicationEnvironmentArgsForCall[i] 6314 return argsForCall.arg1 6315 } 6316 6317 func (fake *FakeCloudControllerClient) GetApplicationEnvironmentReturns(result1 ccv3.Environment, result2 ccv3.Warnings, result3 error) { 6318 fake.getApplicationEnvironmentMutex.Lock() 6319 defer fake.getApplicationEnvironmentMutex.Unlock() 6320 fake.GetApplicationEnvironmentStub = nil 6321 fake.getApplicationEnvironmentReturns = struct { 6322 result1 ccv3.Environment 6323 result2 ccv3.Warnings 6324 result3 error 6325 }{result1, result2, result3} 6326 } 6327 6328 func (fake *FakeCloudControllerClient) GetApplicationEnvironmentReturnsOnCall(i int, result1 ccv3.Environment, result2 ccv3.Warnings, result3 error) { 6329 fake.getApplicationEnvironmentMutex.Lock() 6330 defer fake.getApplicationEnvironmentMutex.Unlock() 6331 fake.GetApplicationEnvironmentStub = nil 6332 if fake.getApplicationEnvironmentReturnsOnCall == nil { 6333 fake.getApplicationEnvironmentReturnsOnCall = make(map[int]struct { 6334 result1 ccv3.Environment 6335 result2 ccv3.Warnings 6336 result3 error 6337 }) 6338 } 6339 fake.getApplicationEnvironmentReturnsOnCall[i] = struct { 6340 result1 ccv3.Environment 6341 result2 ccv3.Warnings 6342 result3 error 6343 }{result1, result2, result3} 6344 } 6345 6346 func (fake *FakeCloudControllerClient) GetApplicationManifest(arg1 string) ([]byte, ccv3.Warnings, error) { 6347 fake.getApplicationManifestMutex.Lock() 6348 ret, specificReturn := fake.getApplicationManifestReturnsOnCall[len(fake.getApplicationManifestArgsForCall)] 6349 fake.getApplicationManifestArgsForCall = append(fake.getApplicationManifestArgsForCall, struct { 6350 arg1 string 6351 }{arg1}) 6352 fake.recordInvocation("GetApplicationManifest", []interface{}{arg1}) 6353 fake.getApplicationManifestMutex.Unlock() 6354 if fake.GetApplicationManifestStub != nil { 6355 return fake.GetApplicationManifestStub(arg1) 6356 } 6357 if specificReturn { 6358 return ret.result1, ret.result2, ret.result3 6359 } 6360 fakeReturns := fake.getApplicationManifestReturns 6361 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6362 } 6363 6364 func (fake *FakeCloudControllerClient) GetApplicationManifestCallCount() int { 6365 fake.getApplicationManifestMutex.RLock() 6366 defer fake.getApplicationManifestMutex.RUnlock() 6367 return len(fake.getApplicationManifestArgsForCall) 6368 } 6369 6370 func (fake *FakeCloudControllerClient) GetApplicationManifestCalls(stub func(string) ([]byte, ccv3.Warnings, error)) { 6371 fake.getApplicationManifestMutex.Lock() 6372 defer fake.getApplicationManifestMutex.Unlock() 6373 fake.GetApplicationManifestStub = stub 6374 } 6375 6376 func (fake *FakeCloudControllerClient) GetApplicationManifestArgsForCall(i int) string { 6377 fake.getApplicationManifestMutex.RLock() 6378 defer fake.getApplicationManifestMutex.RUnlock() 6379 argsForCall := fake.getApplicationManifestArgsForCall[i] 6380 return argsForCall.arg1 6381 } 6382 6383 func (fake *FakeCloudControllerClient) GetApplicationManifestReturns(result1 []byte, result2 ccv3.Warnings, result3 error) { 6384 fake.getApplicationManifestMutex.Lock() 6385 defer fake.getApplicationManifestMutex.Unlock() 6386 fake.GetApplicationManifestStub = nil 6387 fake.getApplicationManifestReturns = struct { 6388 result1 []byte 6389 result2 ccv3.Warnings 6390 result3 error 6391 }{result1, result2, result3} 6392 } 6393 6394 func (fake *FakeCloudControllerClient) GetApplicationManifestReturnsOnCall(i int, result1 []byte, result2 ccv3.Warnings, result3 error) { 6395 fake.getApplicationManifestMutex.Lock() 6396 defer fake.getApplicationManifestMutex.Unlock() 6397 fake.GetApplicationManifestStub = nil 6398 if fake.getApplicationManifestReturnsOnCall == nil { 6399 fake.getApplicationManifestReturnsOnCall = make(map[int]struct { 6400 result1 []byte 6401 result2 ccv3.Warnings 6402 result3 error 6403 }) 6404 } 6405 fake.getApplicationManifestReturnsOnCall[i] = struct { 6406 result1 []byte 6407 result2 ccv3.Warnings 6408 result3 error 6409 }{result1, result2, result3} 6410 } 6411 6412 func (fake *FakeCloudControllerClient) GetApplicationProcessByType(arg1 string, arg2 string) (resources.Process, ccv3.Warnings, error) { 6413 fake.getApplicationProcessByTypeMutex.Lock() 6414 ret, specificReturn := fake.getApplicationProcessByTypeReturnsOnCall[len(fake.getApplicationProcessByTypeArgsForCall)] 6415 fake.getApplicationProcessByTypeArgsForCall = append(fake.getApplicationProcessByTypeArgsForCall, struct { 6416 arg1 string 6417 arg2 string 6418 }{arg1, arg2}) 6419 fake.recordInvocation("GetApplicationProcessByType", []interface{}{arg1, arg2}) 6420 fake.getApplicationProcessByTypeMutex.Unlock() 6421 if fake.GetApplicationProcessByTypeStub != nil { 6422 return fake.GetApplicationProcessByTypeStub(arg1, arg2) 6423 } 6424 if specificReturn { 6425 return ret.result1, ret.result2, ret.result3 6426 } 6427 fakeReturns := fake.getApplicationProcessByTypeReturns 6428 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6429 } 6430 6431 func (fake *FakeCloudControllerClient) GetApplicationProcessByTypeCallCount() int { 6432 fake.getApplicationProcessByTypeMutex.RLock() 6433 defer fake.getApplicationProcessByTypeMutex.RUnlock() 6434 return len(fake.getApplicationProcessByTypeArgsForCall) 6435 } 6436 6437 func (fake *FakeCloudControllerClient) GetApplicationProcessByTypeCalls(stub func(string, string) (resources.Process, ccv3.Warnings, error)) { 6438 fake.getApplicationProcessByTypeMutex.Lock() 6439 defer fake.getApplicationProcessByTypeMutex.Unlock() 6440 fake.GetApplicationProcessByTypeStub = stub 6441 } 6442 6443 func (fake *FakeCloudControllerClient) GetApplicationProcessByTypeArgsForCall(i int) (string, string) { 6444 fake.getApplicationProcessByTypeMutex.RLock() 6445 defer fake.getApplicationProcessByTypeMutex.RUnlock() 6446 argsForCall := fake.getApplicationProcessByTypeArgsForCall[i] 6447 return argsForCall.arg1, argsForCall.arg2 6448 } 6449 6450 func (fake *FakeCloudControllerClient) GetApplicationProcessByTypeReturns(result1 resources.Process, result2 ccv3.Warnings, result3 error) { 6451 fake.getApplicationProcessByTypeMutex.Lock() 6452 defer fake.getApplicationProcessByTypeMutex.Unlock() 6453 fake.GetApplicationProcessByTypeStub = nil 6454 fake.getApplicationProcessByTypeReturns = struct { 6455 result1 resources.Process 6456 result2 ccv3.Warnings 6457 result3 error 6458 }{result1, result2, result3} 6459 } 6460 6461 func (fake *FakeCloudControllerClient) GetApplicationProcessByTypeReturnsOnCall(i int, result1 resources.Process, result2 ccv3.Warnings, result3 error) { 6462 fake.getApplicationProcessByTypeMutex.Lock() 6463 defer fake.getApplicationProcessByTypeMutex.Unlock() 6464 fake.GetApplicationProcessByTypeStub = nil 6465 if fake.getApplicationProcessByTypeReturnsOnCall == nil { 6466 fake.getApplicationProcessByTypeReturnsOnCall = make(map[int]struct { 6467 result1 resources.Process 6468 result2 ccv3.Warnings 6469 result3 error 6470 }) 6471 } 6472 fake.getApplicationProcessByTypeReturnsOnCall[i] = struct { 6473 result1 resources.Process 6474 result2 ccv3.Warnings 6475 result3 error 6476 }{result1, result2, result3} 6477 } 6478 6479 func (fake *FakeCloudControllerClient) GetApplicationProcesses(arg1 string) ([]resources.Process, ccv3.Warnings, error) { 6480 fake.getApplicationProcessesMutex.Lock() 6481 ret, specificReturn := fake.getApplicationProcessesReturnsOnCall[len(fake.getApplicationProcessesArgsForCall)] 6482 fake.getApplicationProcessesArgsForCall = append(fake.getApplicationProcessesArgsForCall, struct { 6483 arg1 string 6484 }{arg1}) 6485 fake.recordInvocation("GetApplicationProcesses", []interface{}{arg1}) 6486 fake.getApplicationProcessesMutex.Unlock() 6487 if fake.GetApplicationProcessesStub != nil { 6488 return fake.GetApplicationProcessesStub(arg1) 6489 } 6490 if specificReturn { 6491 return ret.result1, ret.result2, ret.result3 6492 } 6493 fakeReturns := fake.getApplicationProcessesReturns 6494 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6495 } 6496 6497 func (fake *FakeCloudControllerClient) GetApplicationProcessesCallCount() int { 6498 fake.getApplicationProcessesMutex.RLock() 6499 defer fake.getApplicationProcessesMutex.RUnlock() 6500 return len(fake.getApplicationProcessesArgsForCall) 6501 } 6502 6503 func (fake *FakeCloudControllerClient) GetApplicationProcessesCalls(stub func(string) ([]resources.Process, ccv3.Warnings, error)) { 6504 fake.getApplicationProcessesMutex.Lock() 6505 defer fake.getApplicationProcessesMutex.Unlock() 6506 fake.GetApplicationProcessesStub = stub 6507 } 6508 6509 func (fake *FakeCloudControllerClient) GetApplicationProcessesArgsForCall(i int) string { 6510 fake.getApplicationProcessesMutex.RLock() 6511 defer fake.getApplicationProcessesMutex.RUnlock() 6512 argsForCall := fake.getApplicationProcessesArgsForCall[i] 6513 return argsForCall.arg1 6514 } 6515 6516 func (fake *FakeCloudControllerClient) GetApplicationProcessesReturns(result1 []resources.Process, result2 ccv3.Warnings, result3 error) { 6517 fake.getApplicationProcessesMutex.Lock() 6518 defer fake.getApplicationProcessesMutex.Unlock() 6519 fake.GetApplicationProcessesStub = nil 6520 fake.getApplicationProcessesReturns = struct { 6521 result1 []resources.Process 6522 result2 ccv3.Warnings 6523 result3 error 6524 }{result1, result2, result3} 6525 } 6526 6527 func (fake *FakeCloudControllerClient) GetApplicationProcessesReturnsOnCall(i int, result1 []resources.Process, result2 ccv3.Warnings, result3 error) { 6528 fake.getApplicationProcessesMutex.Lock() 6529 defer fake.getApplicationProcessesMutex.Unlock() 6530 fake.GetApplicationProcessesStub = nil 6531 if fake.getApplicationProcessesReturnsOnCall == nil { 6532 fake.getApplicationProcessesReturnsOnCall = make(map[int]struct { 6533 result1 []resources.Process 6534 result2 ccv3.Warnings 6535 result3 error 6536 }) 6537 } 6538 fake.getApplicationProcessesReturnsOnCall[i] = struct { 6539 result1 []resources.Process 6540 result2 ccv3.Warnings 6541 result3 error 6542 }{result1, result2, result3} 6543 } 6544 6545 func (fake *FakeCloudControllerClient) GetApplicationRevisions(arg1 string, arg2 ...ccv3.Query) ([]resources.Revision, ccv3.Warnings, error) { 6546 fake.getApplicationRevisionsMutex.Lock() 6547 ret, specificReturn := fake.getApplicationRevisionsReturnsOnCall[len(fake.getApplicationRevisionsArgsForCall)] 6548 fake.getApplicationRevisionsArgsForCall = append(fake.getApplicationRevisionsArgsForCall, struct { 6549 arg1 string 6550 arg2 []ccv3.Query 6551 }{arg1, arg2}) 6552 fake.recordInvocation("GetApplicationRevisions", []interface{}{arg1, arg2}) 6553 fake.getApplicationRevisionsMutex.Unlock() 6554 if fake.GetApplicationRevisionsStub != nil { 6555 return fake.GetApplicationRevisionsStub(arg1, arg2...) 6556 } 6557 if specificReturn { 6558 return ret.result1, ret.result2, ret.result3 6559 } 6560 fakeReturns := fake.getApplicationRevisionsReturns 6561 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6562 } 6563 6564 func (fake *FakeCloudControllerClient) GetApplicationRevisionsCallCount() int { 6565 fake.getApplicationRevisionsMutex.RLock() 6566 defer fake.getApplicationRevisionsMutex.RUnlock() 6567 return len(fake.getApplicationRevisionsArgsForCall) 6568 } 6569 6570 func (fake *FakeCloudControllerClient) GetApplicationRevisionsCalls(stub func(string, ...ccv3.Query) ([]resources.Revision, ccv3.Warnings, error)) { 6571 fake.getApplicationRevisionsMutex.Lock() 6572 defer fake.getApplicationRevisionsMutex.Unlock() 6573 fake.GetApplicationRevisionsStub = stub 6574 } 6575 6576 func (fake *FakeCloudControllerClient) GetApplicationRevisionsArgsForCall(i int) (string, []ccv3.Query) { 6577 fake.getApplicationRevisionsMutex.RLock() 6578 defer fake.getApplicationRevisionsMutex.RUnlock() 6579 argsForCall := fake.getApplicationRevisionsArgsForCall[i] 6580 return argsForCall.arg1, argsForCall.arg2 6581 } 6582 6583 func (fake *FakeCloudControllerClient) GetApplicationRevisionsReturns(result1 []resources.Revision, result2 ccv3.Warnings, result3 error) { 6584 fake.getApplicationRevisionsMutex.Lock() 6585 defer fake.getApplicationRevisionsMutex.Unlock() 6586 fake.GetApplicationRevisionsStub = nil 6587 fake.getApplicationRevisionsReturns = struct { 6588 result1 []resources.Revision 6589 result2 ccv3.Warnings 6590 result3 error 6591 }{result1, result2, result3} 6592 } 6593 6594 func (fake *FakeCloudControllerClient) GetApplicationRevisionsReturnsOnCall(i int, result1 []resources.Revision, result2 ccv3.Warnings, result3 error) { 6595 fake.getApplicationRevisionsMutex.Lock() 6596 defer fake.getApplicationRevisionsMutex.Unlock() 6597 fake.GetApplicationRevisionsStub = nil 6598 if fake.getApplicationRevisionsReturnsOnCall == nil { 6599 fake.getApplicationRevisionsReturnsOnCall = make(map[int]struct { 6600 result1 []resources.Revision 6601 result2 ccv3.Warnings 6602 result3 error 6603 }) 6604 } 6605 fake.getApplicationRevisionsReturnsOnCall[i] = struct { 6606 result1 []resources.Revision 6607 result2 ccv3.Warnings 6608 result3 error 6609 }{result1, result2, result3} 6610 } 6611 6612 func (fake *FakeCloudControllerClient) GetApplicationRevisionsDeployed(arg1 string) ([]resources.Revision, ccv3.Warnings, error) { 6613 fake.getApplicationRevisionsDeployedMutex.Lock() 6614 ret, specificReturn := fake.getApplicationRevisionsDeployedReturnsOnCall[len(fake.getApplicationRevisionsDeployedArgsForCall)] 6615 fake.getApplicationRevisionsDeployedArgsForCall = append(fake.getApplicationRevisionsDeployedArgsForCall, struct { 6616 arg1 string 6617 }{arg1}) 6618 fake.recordInvocation("GetApplicationRevisionsDeployed", []interface{}{arg1}) 6619 fake.getApplicationRevisionsDeployedMutex.Unlock() 6620 if fake.GetApplicationRevisionsDeployedStub != nil { 6621 return fake.GetApplicationRevisionsDeployedStub(arg1) 6622 } 6623 if specificReturn { 6624 return ret.result1, ret.result2, ret.result3 6625 } 6626 fakeReturns := fake.getApplicationRevisionsDeployedReturns 6627 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6628 } 6629 6630 func (fake *FakeCloudControllerClient) GetApplicationRevisionsDeployedCallCount() int { 6631 fake.getApplicationRevisionsDeployedMutex.RLock() 6632 defer fake.getApplicationRevisionsDeployedMutex.RUnlock() 6633 return len(fake.getApplicationRevisionsDeployedArgsForCall) 6634 } 6635 6636 func (fake *FakeCloudControllerClient) GetApplicationRevisionsDeployedCalls(stub func(string) ([]resources.Revision, ccv3.Warnings, error)) { 6637 fake.getApplicationRevisionsDeployedMutex.Lock() 6638 defer fake.getApplicationRevisionsDeployedMutex.Unlock() 6639 fake.GetApplicationRevisionsDeployedStub = stub 6640 } 6641 6642 func (fake *FakeCloudControllerClient) GetApplicationRevisionsDeployedArgsForCall(i int) string { 6643 fake.getApplicationRevisionsDeployedMutex.RLock() 6644 defer fake.getApplicationRevisionsDeployedMutex.RUnlock() 6645 argsForCall := fake.getApplicationRevisionsDeployedArgsForCall[i] 6646 return argsForCall.arg1 6647 } 6648 6649 func (fake *FakeCloudControllerClient) GetApplicationRevisionsDeployedReturns(result1 []resources.Revision, result2 ccv3.Warnings, result3 error) { 6650 fake.getApplicationRevisionsDeployedMutex.Lock() 6651 defer fake.getApplicationRevisionsDeployedMutex.Unlock() 6652 fake.GetApplicationRevisionsDeployedStub = nil 6653 fake.getApplicationRevisionsDeployedReturns = struct { 6654 result1 []resources.Revision 6655 result2 ccv3.Warnings 6656 result3 error 6657 }{result1, result2, result3} 6658 } 6659 6660 func (fake *FakeCloudControllerClient) GetApplicationRevisionsDeployedReturnsOnCall(i int, result1 []resources.Revision, result2 ccv3.Warnings, result3 error) { 6661 fake.getApplicationRevisionsDeployedMutex.Lock() 6662 defer fake.getApplicationRevisionsDeployedMutex.Unlock() 6663 fake.GetApplicationRevisionsDeployedStub = nil 6664 if fake.getApplicationRevisionsDeployedReturnsOnCall == nil { 6665 fake.getApplicationRevisionsDeployedReturnsOnCall = make(map[int]struct { 6666 result1 []resources.Revision 6667 result2 ccv3.Warnings 6668 result3 error 6669 }) 6670 } 6671 fake.getApplicationRevisionsDeployedReturnsOnCall[i] = struct { 6672 result1 []resources.Revision 6673 result2 ccv3.Warnings 6674 result3 error 6675 }{result1, result2, result3} 6676 } 6677 6678 func (fake *FakeCloudControllerClient) GetApplicationRoutes(arg1 string) ([]resources.Route, ccv3.Warnings, error) { 6679 fake.getApplicationRoutesMutex.Lock() 6680 ret, specificReturn := fake.getApplicationRoutesReturnsOnCall[len(fake.getApplicationRoutesArgsForCall)] 6681 fake.getApplicationRoutesArgsForCall = append(fake.getApplicationRoutesArgsForCall, struct { 6682 arg1 string 6683 }{arg1}) 6684 fake.recordInvocation("GetApplicationRoutes", []interface{}{arg1}) 6685 fake.getApplicationRoutesMutex.Unlock() 6686 if fake.GetApplicationRoutesStub != nil { 6687 return fake.GetApplicationRoutesStub(arg1) 6688 } 6689 if specificReturn { 6690 return ret.result1, ret.result2, ret.result3 6691 } 6692 fakeReturns := fake.getApplicationRoutesReturns 6693 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6694 } 6695 6696 func (fake *FakeCloudControllerClient) GetApplicationRoutesCallCount() int { 6697 fake.getApplicationRoutesMutex.RLock() 6698 defer fake.getApplicationRoutesMutex.RUnlock() 6699 return len(fake.getApplicationRoutesArgsForCall) 6700 } 6701 6702 func (fake *FakeCloudControllerClient) GetApplicationRoutesCalls(stub func(string) ([]resources.Route, ccv3.Warnings, error)) { 6703 fake.getApplicationRoutesMutex.Lock() 6704 defer fake.getApplicationRoutesMutex.Unlock() 6705 fake.GetApplicationRoutesStub = stub 6706 } 6707 6708 func (fake *FakeCloudControllerClient) GetApplicationRoutesArgsForCall(i int) string { 6709 fake.getApplicationRoutesMutex.RLock() 6710 defer fake.getApplicationRoutesMutex.RUnlock() 6711 argsForCall := fake.getApplicationRoutesArgsForCall[i] 6712 return argsForCall.arg1 6713 } 6714 6715 func (fake *FakeCloudControllerClient) GetApplicationRoutesReturns(result1 []resources.Route, result2 ccv3.Warnings, result3 error) { 6716 fake.getApplicationRoutesMutex.Lock() 6717 defer fake.getApplicationRoutesMutex.Unlock() 6718 fake.GetApplicationRoutesStub = nil 6719 fake.getApplicationRoutesReturns = struct { 6720 result1 []resources.Route 6721 result2 ccv3.Warnings 6722 result3 error 6723 }{result1, result2, result3} 6724 } 6725 6726 func (fake *FakeCloudControllerClient) GetApplicationRoutesReturnsOnCall(i int, result1 []resources.Route, result2 ccv3.Warnings, result3 error) { 6727 fake.getApplicationRoutesMutex.Lock() 6728 defer fake.getApplicationRoutesMutex.Unlock() 6729 fake.GetApplicationRoutesStub = nil 6730 if fake.getApplicationRoutesReturnsOnCall == nil { 6731 fake.getApplicationRoutesReturnsOnCall = make(map[int]struct { 6732 result1 []resources.Route 6733 result2 ccv3.Warnings 6734 result3 error 6735 }) 6736 } 6737 fake.getApplicationRoutesReturnsOnCall[i] = struct { 6738 result1 []resources.Route 6739 result2 ccv3.Warnings 6740 result3 error 6741 }{result1, result2, result3} 6742 } 6743 6744 func (fake *FakeCloudControllerClient) GetApplicationTasks(arg1 string, arg2 ...ccv3.Query) ([]resources.Task, ccv3.Warnings, error) { 6745 fake.getApplicationTasksMutex.Lock() 6746 ret, specificReturn := fake.getApplicationTasksReturnsOnCall[len(fake.getApplicationTasksArgsForCall)] 6747 fake.getApplicationTasksArgsForCall = append(fake.getApplicationTasksArgsForCall, struct { 6748 arg1 string 6749 arg2 []ccv3.Query 6750 }{arg1, arg2}) 6751 fake.recordInvocation("GetApplicationTasks", []interface{}{arg1, arg2}) 6752 fake.getApplicationTasksMutex.Unlock() 6753 if fake.GetApplicationTasksStub != nil { 6754 return fake.GetApplicationTasksStub(arg1, arg2...) 6755 } 6756 if specificReturn { 6757 return ret.result1, ret.result2, ret.result3 6758 } 6759 fakeReturns := fake.getApplicationTasksReturns 6760 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6761 } 6762 6763 func (fake *FakeCloudControllerClient) GetApplicationTasksCallCount() int { 6764 fake.getApplicationTasksMutex.RLock() 6765 defer fake.getApplicationTasksMutex.RUnlock() 6766 return len(fake.getApplicationTasksArgsForCall) 6767 } 6768 6769 func (fake *FakeCloudControllerClient) GetApplicationTasksCalls(stub func(string, ...ccv3.Query) ([]resources.Task, ccv3.Warnings, error)) { 6770 fake.getApplicationTasksMutex.Lock() 6771 defer fake.getApplicationTasksMutex.Unlock() 6772 fake.GetApplicationTasksStub = stub 6773 } 6774 6775 func (fake *FakeCloudControllerClient) GetApplicationTasksArgsForCall(i int) (string, []ccv3.Query) { 6776 fake.getApplicationTasksMutex.RLock() 6777 defer fake.getApplicationTasksMutex.RUnlock() 6778 argsForCall := fake.getApplicationTasksArgsForCall[i] 6779 return argsForCall.arg1, argsForCall.arg2 6780 } 6781 6782 func (fake *FakeCloudControllerClient) GetApplicationTasksReturns(result1 []resources.Task, result2 ccv3.Warnings, result3 error) { 6783 fake.getApplicationTasksMutex.Lock() 6784 defer fake.getApplicationTasksMutex.Unlock() 6785 fake.GetApplicationTasksStub = nil 6786 fake.getApplicationTasksReturns = struct { 6787 result1 []resources.Task 6788 result2 ccv3.Warnings 6789 result3 error 6790 }{result1, result2, result3} 6791 } 6792 6793 func (fake *FakeCloudControllerClient) GetApplicationTasksReturnsOnCall(i int, result1 []resources.Task, result2 ccv3.Warnings, result3 error) { 6794 fake.getApplicationTasksMutex.Lock() 6795 defer fake.getApplicationTasksMutex.Unlock() 6796 fake.GetApplicationTasksStub = nil 6797 if fake.getApplicationTasksReturnsOnCall == nil { 6798 fake.getApplicationTasksReturnsOnCall = make(map[int]struct { 6799 result1 []resources.Task 6800 result2 ccv3.Warnings 6801 result3 error 6802 }) 6803 } 6804 fake.getApplicationTasksReturnsOnCall[i] = struct { 6805 result1 []resources.Task 6806 result2 ccv3.Warnings 6807 result3 error 6808 }{result1, result2, result3} 6809 } 6810 6811 func (fake *FakeCloudControllerClient) GetApplications(arg1 ...ccv3.Query) ([]resources.Application, ccv3.Warnings, error) { 6812 fake.getApplicationsMutex.Lock() 6813 ret, specificReturn := fake.getApplicationsReturnsOnCall[len(fake.getApplicationsArgsForCall)] 6814 fake.getApplicationsArgsForCall = append(fake.getApplicationsArgsForCall, struct { 6815 arg1 []ccv3.Query 6816 }{arg1}) 6817 fake.recordInvocation("GetApplications", []interface{}{arg1}) 6818 fake.getApplicationsMutex.Unlock() 6819 if fake.GetApplicationsStub != nil { 6820 return fake.GetApplicationsStub(arg1...) 6821 } 6822 if specificReturn { 6823 return ret.result1, ret.result2, ret.result3 6824 } 6825 fakeReturns := fake.getApplicationsReturns 6826 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6827 } 6828 6829 func (fake *FakeCloudControllerClient) GetApplicationsCallCount() int { 6830 fake.getApplicationsMutex.RLock() 6831 defer fake.getApplicationsMutex.RUnlock() 6832 return len(fake.getApplicationsArgsForCall) 6833 } 6834 6835 func (fake *FakeCloudControllerClient) GetApplicationsCalls(stub func(...ccv3.Query) ([]resources.Application, ccv3.Warnings, error)) { 6836 fake.getApplicationsMutex.Lock() 6837 defer fake.getApplicationsMutex.Unlock() 6838 fake.GetApplicationsStub = stub 6839 } 6840 6841 func (fake *FakeCloudControllerClient) GetApplicationsArgsForCall(i int) []ccv3.Query { 6842 fake.getApplicationsMutex.RLock() 6843 defer fake.getApplicationsMutex.RUnlock() 6844 argsForCall := fake.getApplicationsArgsForCall[i] 6845 return argsForCall.arg1 6846 } 6847 6848 func (fake *FakeCloudControllerClient) GetApplicationsReturns(result1 []resources.Application, result2 ccv3.Warnings, result3 error) { 6849 fake.getApplicationsMutex.Lock() 6850 defer fake.getApplicationsMutex.Unlock() 6851 fake.GetApplicationsStub = nil 6852 fake.getApplicationsReturns = struct { 6853 result1 []resources.Application 6854 result2 ccv3.Warnings 6855 result3 error 6856 }{result1, result2, result3} 6857 } 6858 6859 func (fake *FakeCloudControllerClient) GetApplicationsReturnsOnCall(i int, result1 []resources.Application, result2 ccv3.Warnings, result3 error) { 6860 fake.getApplicationsMutex.Lock() 6861 defer fake.getApplicationsMutex.Unlock() 6862 fake.GetApplicationsStub = nil 6863 if fake.getApplicationsReturnsOnCall == nil { 6864 fake.getApplicationsReturnsOnCall = make(map[int]struct { 6865 result1 []resources.Application 6866 result2 ccv3.Warnings 6867 result3 error 6868 }) 6869 } 6870 fake.getApplicationsReturnsOnCall[i] = struct { 6871 result1 []resources.Application 6872 result2 ccv3.Warnings 6873 result3 error 6874 }{result1, result2, result3} 6875 } 6876 6877 func (fake *FakeCloudControllerClient) GetBuild(arg1 string) (resources.Build, ccv3.Warnings, error) { 6878 fake.getBuildMutex.Lock() 6879 ret, specificReturn := fake.getBuildReturnsOnCall[len(fake.getBuildArgsForCall)] 6880 fake.getBuildArgsForCall = append(fake.getBuildArgsForCall, struct { 6881 arg1 string 6882 }{arg1}) 6883 fake.recordInvocation("GetBuild", []interface{}{arg1}) 6884 fake.getBuildMutex.Unlock() 6885 if fake.GetBuildStub != nil { 6886 return fake.GetBuildStub(arg1) 6887 } 6888 if specificReturn { 6889 return ret.result1, ret.result2, ret.result3 6890 } 6891 fakeReturns := fake.getBuildReturns 6892 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6893 } 6894 6895 func (fake *FakeCloudControllerClient) GetBuildCallCount() int { 6896 fake.getBuildMutex.RLock() 6897 defer fake.getBuildMutex.RUnlock() 6898 return len(fake.getBuildArgsForCall) 6899 } 6900 6901 func (fake *FakeCloudControllerClient) GetBuildCalls(stub func(string) (resources.Build, ccv3.Warnings, error)) { 6902 fake.getBuildMutex.Lock() 6903 defer fake.getBuildMutex.Unlock() 6904 fake.GetBuildStub = stub 6905 } 6906 6907 func (fake *FakeCloudControllerClient) GetBuildArgsForCall(i int) string { 6908 fake.getBuildMutex.RLock() 6909 defer fake.getBuildMutex.RUnlock() 6910 argsForCall := fake.getBuildArgsForCall[i] 6911 return argsForCall.arg1 6912 } 6913 6914 func (fake *FakeCloudControllerClient) GetBuildReturns(result1 resources.Build, result2 ccv3.Warnings, result3 error) { 6915 fake.getBuildMutex.Lock() 6916 defer fake.getBuildMutex.Unlock() 6917 fake.GetBuildStub = nil 6918 fake.getBuildReturns = struct { 6919 result1 resources.Build 6920 result2 ccv3.Warnings 6921 result3 error 6922 }{result1, result2, result3} 6923 } 6924 6925 func (fake *FakeCloudControllerClient) GetBuildReturnsOnCall(i int, result1 resources.Build, result2 ccv3.Warnings, result3 error) { 6926 fake.getBuildMutex.Lock() 6927 defer fake.getBuildMutex.Unlock() 6928 fake.GetBuildStub = nil 6929 if fake.getBuildReturnsOnCall == nil { 6930 fake.getBuildReturnsOnCall = make(map[int]struct { 6931 result1 resources.Build 6932 result2 ccv3.Warnings 6933 result3 error 6934 }) 6935 } 6936 fake.getBuildReturnsOnCall[i] = struct { 6937 result1 resources.Build 6938 result2 ccv3.Warnings 6939 result3 error 6940 }{result1, result2, result3} 6941 } 6942 6943 func (fake *FakeCloudControllerClient) GetBuildpacks(arg1 ...ccv3.Query) ([]resources.Buildpack, ccv3.Warnings, error) { 6944 fake.getBuildpacksMutex.Lock() 6945 ret, specificReturn := fake.getBuildpacksReturnsOnCall[len(fake.getBuildpacksArgsForCall)] 6946 fake.getBuildpacksArgsForCall = append(fake.getBuildpacksArgsForCall, struct { 6947 arg1 []ccv3.Query 6948 }{arg1}) 6949 fake.recordInvocation("GetBuildpacks", []interface{}{arg1}) 6950 fake.getBuildpacksMutex.Unlock() 6951 if fake.GetBuildpacksStub != nil { 6952 return fake.GetBuildpacksStub(arg1...) 6953 } 6954 if specificReturn { 6955 return ret.result1, ret.result2, ret.result3 6956 } 6957 fakeReturns := fake.getBuildpacksReturns 6958 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 6959 } 6960 6961 func (fake *FakeCloudControllerClient) GetBuildpacksCallCount() int { 6962 fake.getBuildpacksMutex.RLock() 6963 defer fake.getBuildpacksMutex.RUnlock() 6964 return len(fake.getBuildpacksArgsForCall) 6965 } 6966 6967 func (fake *FakeCloudControllerClient) GetBuildpacksCalls(stub func(...ccv3.Query) ([]resources.Buildpack, ccv3.Warnings, error)) { 6968 fake.getBuildpacksMutex.Lock() 6969 defer fake.getBuildpacksMutex.Unlock() 6970 fake.GetBuildpacksStub = stub 6971 } 6972 6973 func (fake *FakeCloudControllerClient) GetBuildpacksArgsForCall(i int) []ccv3.Query { 6974 fake.getBuildpacksMutex.RLock() 6975 defer fake.getBuildpacksMutex.RUnlock() 6976 argsForCall := fake.getBuildpacksArgsForCall[i] 6977 return argsForCall.arg1 6978 } 6979 6980 func (fake *FakeCloudControllerClient) GetBuildpacksReturns(result1 []resources.Buildpack, result2 ccv3.Warnings, result3 error) { 6981 fake.getBuildpacksMutex.Lock() 6982 defer fake.getBuildpacksMutex.Unlock() 6983 fake.GetBuildpacksStub = nil 6984 fake.getBuildpacksReturns = struct { 6985 result1 []resources.Buildpack 6986 result2 ccv3.Warnings 6987 result3 error 6988 }{result1, result2, result3} 6989 } 6990 6991 func (fake *FakeCloudControllerClient) GetBuildpacksReturnsOnCall(i int, result1 []resources.Buildpack, result2 ccv3.Warnings, result3 error) { 6992 fake.getBuildpacksMutex.Lock() 6993 defer fake.getBuildpacksMutex.Unlock() 6994 fake.GetBuildpacksStub = nil 6995 if fake.getBuildpacksReturnsOnCall == nil { 6996 fake.getBuildpacksReturnsOnCall = make(map[int]struct { 6997 result1 []resources.Buildpack 6998 result2 ccv3.Warnings 6999 result3 error 7000 }) 7001 } 7002 fake.getBuildpacksReturnsOnCall[i] = struct { 7003 result1 []resources.Buildpack 7004 result2 ccv3.Warnings 7005 result3 error 7006 }{result1, result2, result3} 7007 } 7008 7009 func (fake *FakeCloudControllerClient) GetDefaultDomain(arg1 string) (resources.Domain, ccv3.Warnings, error) { 7010 fake.getDefaultDomainMutex.Lock() 7011 ret, specificReturn := fake.getDefaultDomainReturnsOnCall[len(fake.getDefaultDomainArgsForCall)] 7012 fake.getDefaultDomainArgsForCall = append(fake.getDefaultDomainArgsForCall, struct { 7013 arg1 string 7014 }{arg1}) 7015 fake.recordInvocation("GetDefaultDomain", []interface{}{arg1}) 7016 fake.getDefaultDomainMutex.Unlock() 7017 if fake.GetDefaultDomainStub != nil { 7018 return fake.GetDefaultDomainStub(arg1) 7019 } 7020 if specificReturn { 7021 return ret.result1, ret.result2, ret.result3 7022 } 7023 fakeReturns := fake.getDefaultDomainReturns 7024 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7025 } 7026 7027 func (fake *FakeCloudControllerClient) GetDefaultDomainCallCount() int { 7028 fake.getDefaultDomainMutex.RLock() 7029 defer fake.getDefaultDomainMutex.RUnlock() 7030 return len(fake.getDefaultDomainArgsForCall) 7031 } 7032 7033 func (fake *FakeCloudControllerClient) GetDefaultDomainCalls(stub func(string) (resources.Domain, ccv3.Warnings, error)) { 7034 fake.getDefaultDomainMutex.Lock() 7035 defer fake.getDefaultDomainMutex.Unlock() 7036 fake.GetDefaultDomainStub = stub 7037 } 7038 7039 func (fake *FakeCloudControllerClient) GetDefaultDomainArgsForCall(i int) string { 7040 fake.getDefaultDomainMutex.RLock() 7041 defer fake.getDefaultDomainMutex.RUnlock() 7042 argsForCall := fake.getDefaultDomainArgsForCall[i] 7043 return argsForCall.arg1 7044 } 7045 7046 func (fake *FakeCloudControllerClient) GetDefaultDomainReturns(result1 resources.Domain, result2 ccv3.Warnings, result3 error) { 7047 fake.getDefaultDomainMutex.Lock() 7048 defer fake.getDefaultDomainMutex.Unlock() 7049 fake.GetDefaultDomainStub = nil 7050 fake.getDefaultDomainReturns = struct { 7051 result1 resources.Domain 7052 result2 ccv3.Warnings 7053 result3 error 7054 }{result1, result2, result3} 7055 } 7056 7057 func (fake *FakeCloudControllerClient) GetDefaultDomainReturnsOnCall(i int, result1 resources.Domain, result2 ccv3.Warnings, result3 error) { 7058 fake.getDefaultDomainMutex.Lock() 7059 defer fake.getDefaultDomainMutex.Unlock() 7060 fake.GetDefaultDomainStub = nil 7061 if fake.getDefaultDomainReturnsOnCall == nil { 7062 fake.getDefaultDomainReturnsOnCall = make(map[int]struct { 7063 result1 resources.Domain 7064 result2 ccv3.Warnings 7065 result3 error 7066 }) 7067 } 7068 fake.getDefaultDomainReturnsOnCall[i] = struct { 7069 result1 resources.Domain 7070 result2 ccv3.Warnings 7071 result3 error 7072 }{result1, result2, result3} 7073 } 7074 7075 func (fake *FakeCloudControllerClient) GetDeployment(arg1 string) (resources.Deployment, ccv3.Warnings, error) { 7076 fake.getDeploymentMutex.Lock() 7077 ret, specificReturn := fake.getDeploymentReturnsOnCall[len(fake.getDeploymentArgsForCall)] 7078 fake.getDeploymentArgsForCall = append(fake.getDeploymentArgsForCall, struct { 7079 arg1 string 7080 }{arg1}) 7081 fake.recordInvocation("GetDeployment", []interface{}{arg1}) 7082 fake.getDeploymentMutex.Unlock() 7083 if fake.GetDeploymentStub != nil { 7084 return fake.GetDeploymentStub(arg1) 7085 } 7086 if specificReturn { 7087 return ret.result1, ret.result2, ret.result3 7088 } 7089 fakeReturns := fake.getDeploymentReturns 7090 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7091 } 7092 7093 func (fake *FakeCloudControllerClient) GetDeploymentCallCount() int { 7094 fake.getDeploymentMutex.RLock() 7095 defer fake.getDeploymentMutex.RUnlock() 7096 return len(fake.getDeploymentArgsForCall) 7097 } 7098 7099 func (fake *FakeCloudControllerClient) GetDeploymentCalls(stub func(string) (resources.Deployment, ccv3.Warnings, error)) { 7100 fake.getDeploymentMutex.Lock() 7101 defer fake.getDeploymentMutex.Unlock() 7102 fake.GetDeploymentStub = stub 7103 } 7104 7105 func (fake *FakeCloudControllerClient) GetDeploymentArgsForCall(i int) string { 7106 fake.getDeploymentMutex.RLock() 7107 defer fake.getDeploymentMutex.RUnlock() 7108 argsForCall := fake.getDeploymentArgsForCall[i] 7109 return argsForCall.arg1 7110 } 7111 7112 func (fake *FakeCloudControllerClient) GetDeploymentReturns(result1 resources.Deployment, result2 ccv3.Warnings, result3 error) { 7113 fake.getDeploymentMutex.Lock() 7114 defer fake.getDeploymentMutex.Unlock() 7115 fake.GetDeploymentStub = nil 7116 fake.getDeploymentReturns = struct { 7117 result1 resources.Deployment 7118 result2 ccv3.Warnings 7119 result3 error 7120 }{result1, result2, result3} 7121 } 7122 7123 func (fake *FakeCloudControllerClient) GetDeploymentReturnsOnCall(i int, result1 resources.Deployment, result2 ccv3.Warnings, result3 error) { 7124 fake.getDeploymentMutex.Lock() 7125 defer fake.getDeploymentMutex.Unlock() 7126 fake.GetDeploymentStub = nil 7127 if fake.getDeploymentReturnsOnCall == nil { 7128 fake.getDeploymentReturnsOnCall = make(map[int]struct { 7129 result1 resources.Deployment 7130 result2 ccv3.Warnings 7131 result3 error 7132 }) 7133 } 7134 fake.getDeploymentReturnsOnCall[i] = struct { 7135 result1 resources.Deployment 7136 result2 ccv3.Warnings 7137 result3 error 7138 }{result1, result2, result3} 7139 } 7140 7141 func (fake *FakeCloudControllerClient) GetDeployments(arg1 ...ccv3.Query) ([]resources.Deployment, ccv3.Warnings, error) { 7142 fake.getDeploymentsMutex.Lock() 7143 ret, specificReturn := fake.getDeploymentsReturnsOnCall[len(fake.getDeploymentsArgsForCall)] 7144 fake.getDeploymentsArgsForCall = append(fake.getDeploymentsArgsForCall, struct { 7145 arg1 []ccv3.Query 7146 }{arg1}) 7147 fake.recordInvocation("GetDeployments", []interface{}{arg1}) 7148 fake.getDeploymentsMutex.Unlock() 7149 if fake.GetDeploymentsStub != nil { 7150 return fake.GetDeploymentsStub(arg1...) 7151 } 7152 if specificReturn { 7153 return ret.result1, ret.result2, ret.result3 7154 } 7155 fakeReturns := fake.getDeploymentsReturns 7156 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7157 } 7158 7159 func (fake *FakeCloudControllerClient) GetDeploymentsCallCount() int { 7160 fake.getDeploymentsMutex.RLock() 7161 defer fake.getDeploymentsMutex.RUnlock() 7162 return len(fake.getDeploymentsArgsForCall) 7163 } 7164 7165 func (fake *FakeCloudControllerClient) GetDeploymentsCalls(stub func(...ccv3.Query) ([]resources.Deployment, ccv3.Warnings, error)) { 7166 fake.getDeploymentsMutex.Lock() 7167 defer fake.getDeploymentsMutex.Unlock() 7168 fake.GetDeploymentsStub = stub 7169 } 7170 7171 func (fake *FakeCloudControllerClient) GetDeploymentsArgsForCall(i int) []ccv3.Query { 7172 fake.getDeploymentsMutex.RLock() 7173 defer fake.getDeploymentsMutex.RUnlock() 7174 argsForCall := fake.getDeploymentsArgsForCall[i] 7175 return argsForCall.arg1 7176 } 7177 7178 func (fake *FakeCloudControllerClient) GetDeploymentsReturns(result1 []resources.Deployment, result2 ccv3.Warnings, result3 error) { 7179 fake.getDeploymentsMutex.Lock() 7180 defer fake.getDeploymentsMutex.Unlock() 7181 fake.GetDeploymentsStub = nil 7182 fake.getDeploymentsReturns = struct { 7183 result1 []resources.Deployment 7184 result2 ccv3.Warnings 7185 result3 error 7186 }{result1, result2, result3} 7187 } 7188 7189 func (fake *FakeCloudControllerClient) GetDeploymentsReturnsOnCall(i int, result1 []resources.Deployment, result2 ccv3.Warnings, result3 error) { 7190 fake.getDeploymentsMutex.Lock() 7191 defer fake.getDeploymentsMutex.Unlock() 7192 fake.GetDeploymentsStub = nil 7193 if fake.getDeploymentsReturnsOnCall == nil { 7194 fake.getDeploymentsReturnsOnCall = make(map[int]struct { 7195 result1 []resources.Deployment 7196 result2 ccv3.Warnings 7197 result3 error 7198 }) 7199 } 7200 fake.getDeploymentsReturnsOnCall[i] = struct { 7201 result1 []resources.Deployment 7202 result2 ccv3.Warnings 7203 result3 error 7204 }{result1, result2, result3} 7205 } 7206 7207 func (fake *FakeCloudControllerClient) GetDomain(arg1 string) (resources.Domain, ccv3.Warnings, error) { 7208 fake.getDomainMutex.Lock() 7209 ret, specificReturn := fake.getDomainReturnsOnCall[len(fake.getDomainArgsForCall)] 7210 fake.getDomainArgsForCall = append(fake.getDomainArgsForCall, struct { 7211 arg1 string 7212 }{arg1}) 7213 fake.recordInvocation("GetDomain", []interface{}{arg1}) 7214 fake.getDomainMutex.Unlock() 7215 if fake.GetDomainStub != nil { 7216 return fake.GetDomainStub(arg1) 7217 } 7218 if specificReturn { 7219 return ret.result1, ret.result2, ret.result3 7220 } 7221 fakeReturns := fake.getDomainReturns 7222 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7223 } 7224 7225 func (fake *FakeCloudControllerClient) GetDomainCallCount() int { 7226 fake.getDomainMutex.RLock() 7227 defer fake.getDomainMutex.RUnlock() 7228 return len(fake.getDomainArgsForCall) 7229 } 7230 7231 func (fake *FakeCloudControllerClient) GetDomainCalls(stub func(string) (resources.Domain, ccv3.Warnings, error)) { 7232 fake.getDomainMutex.Lock() 7233 defer fake.getDomainMutex.Unlock() 7234 fake.GetDomainStub = stub 7235 } 7236 7237 func (fake *FakeCloudControllerClient) GetDomainArgsForCall(i int) string { 7238 fake.getDomainMutex.RLock() 7239 defer fake.getDomainMutex.RUnlock() 7240 argsForCall := fake.getDomainArgsForCall[i] 7241 return argsForCall.arg1 7242 } 7243 7244 func (fake *FakeCloudControllerClient) GetDomainReturns(result1 resources.Domain, result2 ccv3.Warnings, result3 error) { 7245 fake.getDomainMutex.Lock() 7246 defer fake.getDomainMutex.Unlock() 7247 fake.GetDomainStub = nil 7248 fake.getDomainReturns = struct { 7249 result1 resources.Domain 7250 result2 ccv3.Warnings 7251 result3 error 7252 }{result1, result2, result3} 7253 } 7254 7255 func (fake *FakeCloudControllerClient) GetDomainReturnsOnCall(i int, result1 resources.Domain, result2 ccv3.Warnings, result3 error) { 7256 fake.getDomainMutex.Lock() 7257 defer fake.getDomainMutex.Unlock() 7258 fake.GetDomainStub = nil 7259 if fake.getDomainReturnsOnCall == nil { 7260 fake.getDomainReturnsOnCall = make(map[int]struct { 7261 result1 resources.Domain 7262 result2 ccv3.Warnings 7263 result3 error 7264 }) 7265 } 7266 fake.getDomainReturnsOnCall[i] = struct { 7267 result1 resources.Domain 7268 result2 ccv3.Warnings 7269 result3 error 7270 }{result1, result2, result3} 7271 } 7272 7273 func (fake *FakeCloudControllerClient) GetDomains(arg1 ...ccv3.Query) ([]resources.Domain, ccv3.Warnings, error) { 7274 fake.getDomainsMutex.Lock() 7275 ret, specificReturn := fake.getDomainsReturnsOnCall[len(fake.getDomainsArgsForCall)] 7276 fake.getDomainsArgsForCall = append(fake.getDomainsArgsForCall, struct { 7277 arg1 []ccv3.Query 7278 }{arg1}) 7279 fake.recordInvocation("GetDomains", []interface{}{arg1}) 7280 fake.getDomainsMutex.Unlock() 7281 if fake.GetDomainsStub != nil { 7282 return fake.GetDomainsStub(arg1...) 7283 } 7284 if specificReturn { 7285 return ret.result1, ret.result2, ret.result3 7286 } 7287 fakeReturns := fake.getDomainsReturns 7288 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7289 } 7290 7291 func (fake *FakeCloudControllerClient) GetDomainsCallCount() int { 7292 fake.getDomainsMutex.RLock() 7293 defer fake.getDomainsMutex.RUnlock() 7294 return len(fake.getDomainsArgsForCall) 7295 } 7296 7297 func (fake *FakeCloudControllerClient) GetDomainsCalls(stub func(...ccv3.Query) ([]resources.Domain, ccv3.Warnings, error)) { 7298 fake.getDomainsMutex.Lock() 7299 defer fake.getDomainsMutex.Unlock() 7300 fake.GetDomainsStub = stub 7301 } 7302 7303 func (fake *FakeCloudControllerClient) GetDomainsArgsForCall(i int) []ccv3.Query { 7304 fake.getDomainsMutex.RLock() 7305 defer fake.getDomainsMutex.RUnlock() 7306 argsForCall := fake.getDomainsArgsForCall[i] 7307 return argsForCall.arg1 7308 } 7309 7310 func (fake *FakeCloudControllerClient) GetDomainsReturns(result1 []resources.Domain, result2 ccv3.Warnings, result3 error) { 7311 fake.getDomainsMutex.Lock() 7312 defer fake.getDomainsMutex.Unlock() 7313 fake.GetDomainsStub = nil 7314 fake.getDomainsReturns = struct { 7315 result1 []resources.Domain 7316 result2 ccv3.Warnings 7317 result3 error 7318 }{result1, result2, result3} 7319 } 7320 7321 func (fake *FakeCloudControllerClient) GetDomainsReturnsOnCall(i int, result1 []resources.Domain, result2 ccv3.Warnings, result3 error) { 7322 fake.getDomainsMutex.Lock() 7323 defer fake.getDomainsMutex.Unlock() 7324 fake.GetDomainsStub = nil 7325 if fake.getDomainsReturnsOnCall == nil { 7326 fake.getDomainsReturnsOnCall = make(map[int]struct { 7327 result1 []resources.Domain 7328 result2 ccv3.Warnings 7329 result3 error 7330 }) 7331 } 7332 fake.getDomainsReturnsOnCall[i] = struct { 7333 result1 []resources.Domain 7334 result2 ccv3.Warnings 7335 result3 error 7336 }{result1, result2, result3} 7337 } 7338 7339 func (fake *FakeCloudControllerClient) GetDroplet(arg1 string) (resources.Droplet, ccv3.Warnings, error) { 7340 fake.getDropletMutex.Lock() 7341 ret, specificReturn := fake.getDropletReturnsOnCall[len(fake.getDropletArgsForCall)] 7342 fake.getDropletArgsForCall = append(fake.getDropletArgsForCall, struct { 7343 arg1 string 7344 }{arg1}) 7345 fake.recordInvocation("GetDroplet", []interface{}{arg1}) 7346 fake.getDropletMutex.Unlock() 7347 if fake.GetDropletStub != nil { 7348 return fake.GetDropletStub(arg1) 7349 } 7350 if specificReturn { 7351 return ret.result1, ret.result2, ret.result3 7352 } 7353 fakeReturns := fake.getDropletReturns 7354 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7355 } 7356 7357 func (fake *FakeCloudControllerClient) GetDropletCallCount() int { 7358 fake.getDropletMutex.RLock() 7359 defer fake.getDropletMutex.RUnlock() 7360 return len(fake.getDropletArgsForCall) 7361 } 7362 7363 func (fake *FakeCloudControllerClient) GetDropletCalls(stub func(string) (resources.Droplet, ccv3.Warnings, error)) { 7364 fake.getDropletMutex.Lock() 7365 defer fake.getDropletMutex.Unlock() 7366 fake.GetDropletStub = stub 7367 } 7368 7369 func (fake *FakeCloudControllerClient) GetDropletArgsForCall(i int) string { 7370 fake.getDropletMutex.RLock() 7371 defer fake.getDropletMutex.RUnlock() 7372 argsForCall := fake.getDropletArgsForCall[i] 7373 return argsForCall.arg1 7374 } 7375 7376 func (fake *FakeCloudControllerClient) GetDropletReturns(result1 resources.Droplet, result2 ccv3.Warnings, result3 error) { 7377 fake.getDropletMutex.Lock() 7378 defer fake.getDropletMutex.Unlock() 7379 fake.GetDropletStub = nil 7380 fake.getDropletReturns = struct { 7381 result1 resources.Droplet 7382 result2 ccv3.Warnings 7383 result3 error 7384 }{result1, result2, result3} 7385 } 7386 7387 func (fake *FakeCloudControllerClient) GetDropletReturnsOnCall(i int, result1 resources.Droplet, result2 ccv3.Warnings, result3 error) { 7388 fake.getDropletMutex.Lock() 7389 defer fake.getDropletMutex.Unlock() 7390 fake.GetDropletStub = nil 7391 if fake.getDropletReturnsOnCall == nil { 7392 fake.getDropletReturnsOnCall = make(map[int]struct { 7393 result1 resources.Droplet 7394 result2 ccv3.Warnings 7395 result3 error 7396 }) 7397 } 7398 fake.getDropletReturnsOnCall[i] = struct { 7399 result1 resources.Droplet 7400 result2 ccv3.Warnings 7401 result3 error 7402 }{result1, result2, result3} 7403 } 7404 7405 func (fake *FakeCloudControllerClient) GetDroplets(arg1 ...ccv3.Query) ([]resources.Droplet, ccv3.Warnings, error) { 7406 fake.getDropletsMutex.Lock() 7407 ret, specificReturn := fake.getDropletsReturnsOnCall[len(fake.getDropletsArgsForCall)] 7408 fake.getDropletsArgsForCall = append(fake.getDropletsArgsForCall, struct { 7409 arg1 []ccv3.Query 7410 }{arg1}) 7411 fake.recordInvocation("GetDroplets", []interface{}{arg1}) 7412 fake.getDropletsMutex.Unlock() 7413 if fake.GetDropletsStub != nil { 7414 return fake.GetDropletsStub(arg1...) 7415 } 7416 if specificReturn { 7417 return ret.result1, ret.result2, ret.result3 7418 } 7419 fakeReturns := fake.getDropletsReturns 7420 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7421 } 7422 7423 func (fake *FakeCloudControllerClient) GetDropletsCallCount() int { 7424 fake.getDropletsMutex.RLock() 7425 defer fake.getDropletsMutex.RUnlock() 7426 return len(fake.getDropletsArgsForCall) 7427 } 7428 7429 func (fake *FakeCloudControllerClient) GetDropletsCalls(stub func(...ccv3.Query) ([]resources.Droplet, ccv3.Warnings, error)) { 7430 fake.getDropletsMutex.Lock() 7431 defer fake.getDropletsMutex.Unlock() 7432 fake.GetDropletsStub = stub 7433 } 7434 7435 func (fake *FakeCloudControllerClient) GetDropletsArgsForCall(i int) []ccv3.Query { 7436 fake.getDropletsMutex.RLock() 7437 defer fake.getDropletsMutex.RUnlock() 7438 argsForCall := fake.getDropletsArgsForCall[i] 7439 return argsForCall.arg1 7440 } 7441 7442 func (fake *FakeCloudControllerClient) GetDropletsReturns(result1 []resources.Droplet, result2 ccv3.Warnings, result3 error) { 7443 fake.getDropletsMutex.Lock() 7444 defer fake.getDropletsMutex.Unlock() 7445 fake.GetDropletsStub = nil 7446 fake.getDropletsReturns = struct { 7447 result1 []resources.Droplet 7448 result2 ccv3.Warnings 7449 result3 error 7450 }{result1, result2, result3} 7451 } 7452 7453 func (fake *FakeCloudControllerClient) GetDropletsReturnsOnCall(i int, result1 []resources.Droplet, result2 ccv3.Warnings, result3 error) { 7454 fake.getDropletsMutex.Lock() 7455 defer fake.getDropletsMutex.Unlock() 7456 fake.GetDropletsStub = nil 7457 if fake.getDropletsReturnsOnCall == nil { 7458 fake.getDropletsReturnsOnCall = make(map[int]struct { 7459 result1 []resources.Droplet 7460 result2 ccv3.Warnings 7461 result3 error 7462 }) 7463 } 7464 fake.getDropletsReturnsOnCall[i] = struct { 7465 result1 []resources.Droplet 7466 result2 ccv3.Warnings 7467 result3 error 7468 }{result1, result2, result3} 7469 } 7470 7471 func (fake *FakeCloudControllerClient) GetEnvironmentVariableGroup(arg1 constant.EnvironmentVariableGroupName) (resources.EnvironmentVariables, ccv3.Warnings, error) { 7472 fake.getEnvironmentVariableGroupMutex.Lock() 7473 ret, specificReturn := fake.getEnvironmentVariableGroupReturnsOnCall[len(fake.getEnvironmentVariableGroupArgsForCall)] 7474 fake.getEnvironmentVariableGroupArgsForCall = append(fake.getEnvironmentVariableGroupArgsForCall, struct { 7475 arg1 constant.EnvironmentVariableGroupName 7476 }{arg1}) 7477 fake.recordInvocation("GetEnvironmentVariableGroup", []interface{}{arg1}) 7478 fake.getEnvironmentVariableGroupMutex.Unlock() 7479 if fake.GetEnvironmentVariableGroupStub != nil { 7480 return fake.GetEnvironmentVariableGroupStub(arg1) 7481 } 7482 if specificReturn { 7483 return ret.result1, ret.result2, ret.result3 7484 } 7485 fakeReturns := fake.getEnvironmentVariableGroupReturns 7486 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7487 } 7488 7489 func (fake *FakeCloudControllerClient) GetEnvironmentVariableGroupCallCount() int { 7490 fake.getEnvironmentVariableGroupMutex.RLock() 7491 defer fake.getEnvironmentVariableGroupMutex.RUnlock() 7492 return len(fake.getEnvironmentVariableGroupArgsForCall) 7493 } 7494 7495 func (fake *FakeCloudControllerClient) GetEnvironmentVariableGroupCalls(stub func(constant.EnvironmentVariableGroupName) (resources.EnvironmentVariables, ccv3.Warnings, error)) { 7496 fake.getEnvironmentVariableGroupMutex.Lock() 7497 defer fake.getEnvironmentVariableGroupMutex.Unlock() 7498 fake.GetEnvironmentVariableGroupStub = stub 7499 } 7500 7501 func (fake *FakeCloudControllerClient) GetEnvironmentVariableGroupArgsForCall(i int) constant.EnvironmentVariableGroupName { 7502 fake.getEnvironmentVariableGroupMutex.RLock() 7503 defer fake.getEnvironmentVariableGroupMutex.RUnlock() 7504 argsForCall := fake.getEnvironmentVariableGroupArgsForCall[i] 7505 return argsForCall.arg1 7506 } 7507 7508 func (fake *FakeCloudControllerClient) GetEnvironmentVariableGroupReturns(result1 resources.EnvironmentVariables, result2 ccv3.Warnings, result3 error) { 7509 fake.getEnvironmentVariableGroupMutex.Lock() 7510 defer fake.getEnvironmentVariableGroupMutex.Unlock() 7511 fake.GetEnvironmentVariableGroupStub = nil 7512 fake.getEnvironmentVariableGroupReturns = struct { 7513 result1 resources.EnvironmentVariables 7514 result2 ccv3.Warnings 7515 result3 error 7516 }{result1, result2, result3} 7517 } 7518 7519 func (fake *FakeCloudControllerClient) GetEnvironmentVariableGroupReturnsOnCall(i int, result1 resources.EnvironmentVariables, result2 ccv3.Warnings, result3 error) { 7520 fake.getEnvironmentVariableGroupMutex.Lock() 7521 defer fake.getEnvironmentVariableGroupMutex.Unlock() 7522 fake.GetEnvironmentVariableGroupStub = nil 7523 if fake.getEnvironmentVariableGroupReturnsOnCall == nil { 7524 fake.getEnvironmentVariableGroupReturnsOnCall = make(map[int]struct { 7525 result1 resources.EnvironmentVariables 7526 result2 ccv3.Warnings 7527 result3 error 7528 }) 7529 } 7530 fake.getEnvironmentVariableGroupReturnsOnCall[i] = struct { 7531 result1 resources.EnvironmentVariables 7532 result2 ccv3.Warnings 7533 result3 error 7534 }{result1, result2, result3} 7535 } 7536 7537 func (fake *FakeCloudControllerClient) GetEvents(arg1 ...ccv3.Query) ([]ccv3.Event, ccv3.Warnings, error) { 7538 fake.getEventsMutex.Lock() 7539 ret, specificReturn := fake.getEventsReturnsOnCall[len(fake.getEventsArgsForCall)] 7540 fake.getEventsArgsForCall = append(fake.getEventsArgsForCall, struct { 7541 arg1 []ccv3.Query 7542 }{arg1}) 7543 fake.recordInvocation("GetEvents", []interface{}{arg1}) 7544 fake.getEventsMutex.Unlock() 7545 if fake.GetEventsStub != nil { 7546 return fake.GetEventsStub(arg1...) 7547 } 7548 if specificReturn { 7549 return ret.result1, ret.result2, ret.result3 7550 } 7551 fakeReturns := fake.getEventsReturns 7552 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7553 } 7554 7555 func (fake *FakeCloudControllerClient) GetEventsCallCount() int { 7556 fake.getEventsMutex.RLock() 7557 defer fake.getEventsMutex.RUnlock() 7558 return len(fake.getEventsArgsForCall) 7559 } 7560 7561 func (fake *FakeCloudControllerClient) GetEventsCalls(stub func(...ccv3.Query) ([]ccv3.Event, ccv3.Warnings, error)) { 7562 fake.getEventsMutex.Lock() 7563 defer fake.getEventsMutex.Unlock() 7564 fake.GetEventsStub = stub 7565 } 7566 7567 func (fake *FakeCloudControllerClient) GetEventsArgsForCall(i int) []ccv3.Query { 7568 fake.getEventsMutex.RLock() 7569 defer fake.getEventsMutex.RUnlock() 7570 argsForCall := fake.getEventsArgsForCall[i] 7571 return argsForCall.arg1 7572 } 7573 7574 func (fake *FakeCloudControllerClient) GetEventsReturns(result1 []ccv3.Event, result2 ccv3.Warnings, result3 error) { 7575 fake.getEventsMutex.Lock() 7576 defer fake.getEventsMutex.Unlock() 7577 fake.GetEventsStub = nil 7578 fake.getEventsReturns = struct { 7579 result1 []ccv3.Event 7580 result2 ccv3.Warnings 7581 result3 error 7582 }{result1, result2, result3} 7583 } 7584 7585 func (fake *FakeCloudControllerClient) GetEventsReturnsOnCall(i int, result1 []ccv3.Event, result2 ccv3.Warnings, result3 error) { 7586 fake.getEventsMutex.Lock() 7587 defer fake.getEventsMutex.Unlock() 7588 fake.GetEventsStub = nil 7589 if fake.getEventsReturnsOnCall == nil { 7590 fake.getEventsReturnsOnCall = make(map[int]struct { 7591 result1 []ccv3.Event 7592 result2 ccv3.Warnings 7593 result3 error 7594 }) 7595 } 7596 fake.getEventsReturnsOnCall[i] = struct { 7597 result1 []ccv3.Event 7598 result2 ccv3.Warnings 7599 result3 error 7600 }{result1, result2, result3} 7601 } 7602 7603 func (fake *FakeCloudControllerClient) GetFeatureFlag(arg1 string) (resources.FeatureFlag, ccv3.Warnings, error) { 7604 fake.getFeatureFlagMutex.Lock() 7605 ret, specificReturn := fake.getFeatureFlagReturnsOnCall[len(fake.getFeatureFlagArgsForCall)] 7606 fake.getFeatureFlagArgsForCall = append(fake.getFeatureFlagArgsForCall, struct { 7607 arg1 string 7608 }{arg1}) 7609 fake.recordInvocation("GetFeatureFlag", []interface{}{arg1}) 7610 fake.getFeatureFlagMutex.Unlock() 7611 if fake.GetFeatureFlagStub != nil { 7612 return fake.GetFeatureFlagStub(arg1) 7613 } 7614 if specificReturn { 7615 return ret.result1, ret.result2, ret.result3 7616 } 7617 fakeReturns := fake.getFeatureFlagReturns 7618 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7619 } 7620 7621 func (fake *FakeCloudControllerClient) GetFeatureFlagCallCount() int { 7622 fake.getFeatureFlagMutex.RLock() 7623 defer fake.getFeatureFlagMutex.RUnlock() 7624 return len(fake.getFeatureFlagArgsForCall) 7625 } 7626 7627 func (fake *FakeCloudControllerClient) GetFeatureFlagCalls(stub func(string) (resources.FeatureFlag, ccv3.Warnings, error)) { 7628 fake.getFeatureFlagMutex.Lock() 7629 defer fake.getFeatureFlagMutex.Unlock() 7630 fake.GetFeatureFlagStub = stub 7631 } 7632 7633 func (fake *FakeCloudControllerClient) GetFeatureFlagArgsForCall(i int) string { 7634 fake.getFeatureFlagMutex.RLock() 7635 defer fake.getFeatureFlagMutex.RUnlock() 7636 argsForCall := fake.getFeatureFlagArgsForCall[i] 7637 return argsForCall.arg1 7638 } 7639 7640 func (fake *FakeCloudControllerClient) GetFeatureFlagReturns(result1 resources.FeatureFlag, result2 ccv3.Warnings, result3 error) { 7641 fake.getFeatureFlagMutex.Lock() 7642 defer fake.getFeatureFlagMutex.Unlock() 7643 fake.GetFeatureFlagStub = nil 7644 fake.getFeatureFlagReturns = struct { 7645 result1 resources.FeatureFlag 7646 result2 ccv3.Warnings 7647 result3 error 7648 }{result1, result2, result3} 7649 } 7650 7651 func (fake *FakeCloudControllerClient) GetFeatureFlagReturnsOnCall(i int, result1 resources.FeatureFlag, result2 ccv3.Warnings, result3 error) { 7652 fake.getFeatureFlagMutex.Lock() 7653 defer fake.getFeatureFlagMutex.Unlock() 7654 fake.GetFeatureFlagStub = nil 7655 if fake.getFeatureFlagReturnsOnCall == nil { 7656 fake.getFeatureFlagReturnsOnCall = make(map[int]struct { 7657 result1 resources.FeatureFlag 7658 result2 ccv3.Warnings 7659 result3 error 7660 }) 7661 } 7662 fake.getFeatureFlagReturnsOnCall[i] = struct { 7663 result1 resources.FeatureFlag 7664 result2 ccv3.Warnings 7665 result3 error 7666 }{result1, result2, result3} 7667 } 7668 7669 func (fake *FakeCloudControllerClient) GetFeatureFlags() ([]resources.FeatureFlag, ccv3.Warnings, error) { 7670 fake.getFeatureFlagsMutex.Lock() 7671 ret, specificReturn := fake.getFeatureFlagsReturnsOnCall[len(fake.getFeatureFlagsArgsForCall)] 7672 fake.getFeatureFlagsArgsForCall = append(fake.getFeatureFlagsArgsForCall, struct { 7673 }{}) 7674 fake.recordInvocation("GetFeatureFlags", []interface{}{}) 7675 fake.getFeatureFlagsMutex.Unlock() 7676 if fake.GetFeatureFlagsStub != nil { 7677 return fake.GetFeatureFlagsStub() 7678 } 7679 if specificReturn { 7680 return ret.result1, ret.result2, ret.result3 7681 } 7682 fakeReturns := fake.getFeatureFlagsReturns 7683 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7684 } 7685 7686 func (fake *FakeCloudControllerClient) GetFeatureFlagsCallCount() int { 7687 fake.getFeatureFlagsMutex.RLock() 7688 defer fake.getFeatureFlagsMutex.RUnlock() 7689 return len(fake.getFeatureFlagsArgsForCall) 7690 } 7691 7692 func (fake *FakeCloudControllerClient) GetFeatureFlagsCalls(stub func() ([]resources.FeatureFlag, ccv3.Warnings, error)) { 7693 fake.getFeatureFlagsMutex.Lock() 7694 defer fake.getFeatureFlagsMutex.Unlock() 7695 fake.GetFeatureFlagsStub = stub 7696 } 7697 7698 func (fake *FakeCloudControllerClient) GetFeatureFlagsReturns(result1 []resources.FeatureFlag, result2 ccv3.Warnings, result3 error) { 7699 fake.getFeatureFlagsMutex.Lock() 7700 defer fake.getFeatureFlagsMutex.Unlock() 7701 fake.GetFeatureFlagsStub = nil 7702 fake.getFeatureFlagsReturns = struct { 7703 result1 []resources.FeatureFlag 7704 result2 ccv3.Warnings 7705 result3 error 7706 }{result1, result2, result3} 7707 } 7708 7709 func (fake *FakeCloudControllerClient) GetFeatureFlagsReturnsOnCall(i int, result1 []resources.FeatureFlag, result2 ccv3.Warnings, result3 error) { 7710 fake.getFeatureFlagsMutex.Lock() 7711 defer fake.getFeatureFlagsMutex.Unlock() 7712 fake.GetFeatureFlagsStub = nil 7713 if fake.getFeatureFlagsReturnsOnCall == nil { 7714 fake.getFeatureFlagsReturnsOnCall = make(map[int]struct { 7715 result1 []resources.FeatureFlag 7716 result2 ccv3.Warnings 7717 result3 error 7718 }) 7719 } 7720 fake.getFeatureFlagsReturnsOnCall[i] = struct { 7721 result1 []resources.FeatureFlag 7722 result2 ccv3.Warnings 7723 result3 error 7724 }{result1, result2, result3} 7725 } 7726 7727 func (fake *FakeCloudControllerClient) GetInfo() (ccv3.Info, ccv3.Warnings, error) { 7728 fake.getInfoMutex.Lock() 7729 ret, specificReturn := fake.getInfoReturnsOnCall[len(fake.getInfoArgsForCall)] 7730 fake.getInfoArgsForCall = append(fake.getInfoArgsForCall, struct { 7731 }{}) 7732 fake.recordInvocation("GetInfo", []interface{}{}) 7733 fake.getInfoMutex.Unlock() 7734 if fake.GetInfoStub != nil { 7735 return fake.GetInfoStub() 7736 } 7737 if specificReturn { 7738 return ret.result1, ret.result2, ret.result3 7739 } 7740 fakeReturns := fake.getInfoReturns 7741 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7742 } 7743 7744 func (fake *FakeCloudControllerClient) GetInfoCallCount() int { 7745 fake.getInfoMutex.RLock() 7746 defer fake.getInfoMutex.RUnlock() 7747 return len(fake.getInfoArgsForCall) 7748 } 7749 7750 func (fake *FakeCloudControllerClient) GetInfoCalls(stub func() (ccv3.Info, ccv3.Warnings, error)) { 7751 fake.getInfoMutex.Lock() 7752 defer fake.getInfoMutex.Unlock() 7753 fake.GetInfoStub = stub 7754 } 7755 7756 func (fake *FakeCloudControllerClient) GetInfoReturns(result1 ccv3.Info, result2 ccv3.Warnings, result3 error) { 7757 fake.getInfoMutex.Lock() 7758 defer fake.getInfoMutex.Unlock() 7759 fake.GetInfoStub = nil 7760 fake.getInfoReturns = struct { 7761 result1 ccv3.Info 7762 result2 ccv3.Warnings 7763 result3 error 7764 }{result1, result2, result3} 7765 } 7766 7767 func (fake *FakeCloudControllerClient) GetInfoReturnsOnCall(i int, result1 ccv3.Info, result2 ccv3.Warnings, result3 error) { 7768 fake.getInfoMutex.Lock() 7769 defer fake.getInfoMutex.Unlock() 7770 fake.GetInfoStub = nil 7771 if fake.getInfoReturnsOnCall == nil { 7772 fake.getInfoReturnsOnCall = make(map[int]struct { 7773 result1 ccv3.Info 7774 result2 ccv3.Warnings 7775 result3 error 7776 }) 7777 } 7778 fake.getInfoReturnsOnCall[i] = struct { 7779 result1 ccv3.Info 7780 result2 ccv3.Warnings 7781 result3 error 7782 }{result1, result2, result3} 7783 } 7784 7785 func (fake *FakeCloudControllerClient) GetIsolationSegment(arg1 string) (resources.IsolationSegment, ccv3.Warnings, error) { 7786 fake.getIsolationSegmentMutex.Lock() 7787 ret, specificReturn := fake.getIsolationSegmentReturnsOnCall[len(fake.getIsolationSegmentArgsForCall)] 7788 fake.getIsolationSegmentArgsForCall = append(fake.getIsolationSegmentArgsForCall, struct { 7789 arg1 string 7790 }{arg1}) 7791 fake.recordInvocation("GetIsolationSegment", []interface{}{arg1}) 7792 fake.getIsolationSegmentMutex.Unlock() 7793 if fake.GetIsolationSegmentStub != nil { 7794 return fake.GetIsolationSegmentStub(arg1) 7795 } 7796 if specificReturn { 7797 return ret.result1, ret.result2, ret.result3 7798 } 7799 fakeReturns := fake.getIsolationSegmentReturns 7800 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7801 } 7802 7803 func (fake *FakeCloudControllerClient) GetIsolationSegmentCallCount() int { 7804 fake.getIsolationSegmentMutex.RLock() 7805 defer fake.getIsolationSegmentMutex.RUnlock() 7806 return len(fake.getIsolationSegmentArgsForCall) 7807 } 7808 7809 func (fake *FakeCloudControllerClient) GetIsolationSegmentCalls(stub func(string) (resources.IsolationSegment, ccv3.Warnings, error)) { 7810 fake.getIsolationSegmentMutex.Lock() 7811 defer fake.getIsolationSegmentMutex.Unlock() 7812 fake.GetIsolationSegmentStub = stub 7813 } 7814 7815 func (fake *FakeCloudControllerClient) GetIsolationSegmentArgsForCall(i int) string { 7816 fake.getIsolationSegmentMutex.RLock() 7817 defer fake.getIsolationSegmentMutex.RUnlock() 7818 argsForCall := fake.getIsolationSegmentArgsForCall[i] 7819 return argsForCall.arg1 7820 } 7821 7822 func (fake *FakeCloudControllerClient) GetIsolationSegmentReturns(result1 resources.IsolationSegment, result2 ccv3.Warnings, result3 error) { 7823 fake.getIsolationSegmentMutex.Lock() 7824 defer fake.getIsolationSegmentMutex.Unlock() 7825 fake.GetIsolationSegmentStub = nil 7826 fake.getIsolationSegmentReturns = struct { 7827 result1 resources.IsolationSegment 7828 result2 ccv3.Warnings 7829 result3 error 7830 }{result1, result2, result3} 7831 } 7832 7833 func (fake *FakeCloudControllerClient) GetIsolationSegmentReturnsOnCall(i int, result1 resources.IsolationSegment, result2 ccv3.Warnings, result3 error) { 7834 fake.getIsolationSegmentMutex.Lock() 7835 defer fake.getIsolationSegmentMutex.Unlock() 7836 fake.GetIsolationSegmentStub = nil 7837 if fake.getIsolationSegmentReturnsOnCall == nil { 7838 fake.getIsolationSegmentReturnsOnCall = make(map[int]struct { 7839 result1 resources.IsolationSegment 7840 result2 ccv3.Warnings 7841 result3 error 7842 }) 7843 } 7844 fake.getIsolationSegmentReturnsOnCall[i] = struct { 7845 result1 resources.IsolationSegment 7846 result2 ccv3.Warnings 7847 result3 error 7848 }{result1, result2, result3} 7849 } 7850 7851 func (fake *FakeCloudControllerClient) GetIsolationSegmentOrganizations(arg1 string) ([]resources.Organization, ccv3.Warnings, error) { 7852 fake.getIsolationSegmentOrganizationsMutex.Lock() 7853 ret, specificReturn := fake.getIsolationSegmentOrganizationsReturnsOnCall[len(fake.getIsolationSegmentOrganizationsArgsForCall)] 7854 fake.getIsolationSegmentOrganizationsArgsForCall = append(fake.getIsolationSegmentOrganizationsArgsForCall, struct { 7855 arg1 string 7856 }{arg1}) 7857 fake.recordInvocation("GetIsolationSegmentOrganizations", []interface{}{arg1}) 7858 fake.getIsolationSegmentOrganizationsMutex.Unlock() 7859 if fake.GetIsolationSegmentOrganizationsStub != nil { 7860 return fake.GetIsolationSegmentOrganizationsStub(arg1) 7861 } 7862 if specificReturn { 7863 return ret.result1, ret.result2, ret.result3 7864 } 7865 fakeReturns := fake.getIsolationSegmentOrganizationsReturns 7866 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7867 } 7868 7869 func (fake *FakeCloudControllerClient) GetIsolationSegmentOrganizationsCallCount() int { 7870 fake.getIsolationSegmentOrganizationsMutex.RLock() 7871 defer fake.getIsolationSegmentOrganizationsMutex.RUnlock() 7872 return len(fake.getIsolationSegmentOrganizationsArgsForCall) 7873 } 7874 7875 func (fake *FakeCloudControllerClient) GetIsolationSegmentOrganizationsCalls(stub func(string) ([]resources.Organization, ccv3.Warnings, error)) { 7876 fake.getIsolationSegmentOrganizationsMutex.Lock() 7877 defer fake.getIsolationSegmentOrganizationsMutex.Unlock() 7878 fake.GetIsolationSegmentOrganizationsStub = stub 7879 } 7880 7881 func (fake *FakeCloudControllerClient) GetIsolationSegmentOrganizationsArgsForCall(i int) string { 7882 fake.getIsolationSegmentOrganizationsMutex.RLock() 7883 defer fake.getIsolationSegmentOrganizationsMutex.RUnlock() 7884 argsForCall := fake.getIsolationSegmentOrganizationsArgsForCall[i] 7885 return argsForCall.arg1 7886 } 7887 7888 func (fake *FakeCloudControllerClient) GetIsolationSegmentOrganizationsReturns(result1 []resources.Organization, result2 ccv3.Warnings, result3 error) { 7889 fake.getIsolationSegmentOrganizationsMutex.Lock() 7890 defer fake.getIsolationSegmentOrganizationsMutex.Unlock() 7891 fake.GetIsolationSegmentOrganizationsStub = nil 7892 fake.getIsolationSegmentOrganizationsReturns = struct { 7893 result1 []resources.Organization 7894 result2 ccv3.Warnings 7895 result3 error 7896 }{result1, result2, result3} 7897 } 7898 7899 func (fake *FakeCloudControllerClient) GetIsolationSegmentOrganizationsReturnsOnCall(i int, result1 []resources.Organization, result2 ccv3.Warnings, result3 error) { 7900 fake.getIsolationSegmentOrganizationsMutex.Lock() 7901 defer fake.getIsolationSegmentOrganizationsMutex.Unlock() 7902 fake.GetIsolationSegmentOrganizationsStub = nil 7903 if fake.getIsolationSegmentOrganizationsReturnsOnCall == nil { 7904 fake.getIsolationSegmentOrganizationsReturnsOnCall = make(map[int]struct { 7905 result1 []resources.Organization 7906 result2 ccv3.Warnings 7907 result3 error 7908 }) 7909 } 7910 fake.getIsolationSegmentOrganizationsReturnsOnCall[i] = struct { 7911 result1 []resources.Organization 7912 result2 ccv3.Warnings 7913 result3 error 7914 }{result1, result2, result3} 7915 } 7916 7917 func (fake *FakeCloudControllerClient) GetIsolationSegments(arg1 ...ccv3.Query) ([]resources.IsolationSegment, ccv3.Warnings, error) { 7918 fake.getIsolationSegmentsMutex.Lock() 7919 ret, specificReturn := fake.getIsolationSegmentsReturnsOnCall[len(fake.getIsolationSegmentsArgsForCall)] 7920 fake.getIsolationSegmentsArgsForCall = append(fake.getIsolationSegmentsArgsForCall, struct { 7921 arg1 []ccv3.Query 7922 }{arg1}) 7923 fake.recordInvocation("GetIsolationSegments", []interface{}{arg1}) 7924 fake.getIsolationSegmentsMutex.Unlock() 7925 if fake.GetIsolationSegmentsStub != nil { 7926 return fake.GetIsolationSegmentsStub(arg1...) 7927 } 7928 if specificReturn { 7929 return ret.result1, ret.result2, ret.result3 7930 } 7931 fakeReturns := fake.getIsolationSegmentsReturns 7932 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 7933 } 7934 7935 func (fake *FakeCloudControllerClient) GetIsolationSegmentsCallCount() int { 7936 fake.getIsolationSegmentsMutex.RLock() 7937 defer fake.getIsolationSegmentsMutex.RUnlock() 7938 return len(fake.getIsolationSegmentsArgsForCall) 7939 } 7940 7941 func (fake *FakeCloudControllerClient) GetIsolationSegmentsCalls(stub func(...ccv3.Query) ([]resources.IsolationSegment, ccv3.Warnings, error)) { 7942 fake.getIsolationSegmentsMutex.Lock() 7943 defer fake.getIsolationSegmentsMutex.Unlock() 7944 fake.GetIsolationSegmentsStub = stub 7945 } 7946 7947 func (fake *FakeCloudControllerClient) GetIsolationSegmentsArgsForCall(i int) []ccv3.Query { 7948 fake.getIsolationSegmentsMutex.RLock() 7949 defer fake.getIsolationSegmentsMutex.RUnlock() 7950 argsForCall := fake.getIsolationSegmentsArgsForCall[i] 7951 return argsForCall.arg1 7952 } 7953 7954 func (fake *FakeCloudControllerClient) GetIsolationSegmentsReturns(result1 []resources.IsolationSegment, result2 ccv3.Warnings, result3 error) { 7955 fake.getIsolationSegmentsMutex.Lock() 7956 defer fake.getIsolationSegmentsMutex.Unlock() 7957 fake.GetIsolationSegmentsStub = nil 7958 fake.getIsolationSegmentsReturns = struct { 7959 result1 []resources.IsolationSegment 7960 result2 ccv3.Warnings 7961 result3 error 7962 }{result1, result2, result3} 7963 } 7964 7965 func (fake *FakeCloudControllerClient) GetIsolationSegmentsReturnsOnCall(i int, result1 []resources.IsolationSegment, result2 ccv3.Warnings, result3 error) { 7966 fake.getIsolationSegmentsMutex.Lock() 7967 defer fake.getIsolationSegmentsMutex.Unlock() 7968 fake.GetIsolationSegmentsStub = nil 7969 if fake.getIsolationSegmentsReturnsOnCall == nil { 7970 fake.getIsolationSegmentsReturnsOnCall = make(map[int]struct { 7971 result1 []resources.IsolationSegment 7972 result2 ccv3.Warnings 7973 result3 error 7974 }) 7975 } 7976 fake.getIsolationSegmentsReturnsOnCall[i] = struct { 7977 result1 []resources.IsolationSegment 7978 result2 ccv3.Warnings 7979 result3 error 7980 }{result1, result2, result3} 7981 } 7982 7983 func (fake *FakeCloudControllerClient) GetNewApplicationProcesses(arg1 string, arg2 string) ([]resources.Process, ccv3.Warnings, error) { 7984 fake.getNewApplicationProcessesMutex.Lock() 7985 ret, specificReturn := fake.getNewApplicationProcessesReturnsOnCall[len(fake.getNewApplicationProcessesArgsForCall)] 7986 fake.getNewApplicationProcessesArgsForCall = append(fake.getNewApplicationProcessesArgsForCall, struct { 7987 arg1 string 7988 arg2 string 7989 }{arg1, arg2}) 7990 fake.recordInvocation("GetNewApplicationProcesses", []interface{}{arg1, arg2}) 7991 fake.getNewApplicationProcessesMutex.Unlock() 7992 if fake.GetNewApplicationProcessesStub != nil { 7993 return fake.GetNewApplicationProcessesStub(arg1, arg2) 7994 } 7995 if specificReturn { 7996 return ret.result1, ret.result2, ret.result3 7997 } 7998 fakeReturns := fake.getNewApplicationProcessesReturns 7999 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8000 } 8001 8002 func (fake *FakeCloudControllerClient) GetNewApplicationProcessesCallCount() int { 8003 fake.getNewApplicationProcessesMutex.RLock() 8004 defer fake.getNewApplicationProcessesMutex.RUnlock() 8005 return len(fake.getNewApplicationProcessesArgsForCall) 8006 } 8007 8008 func (fake *FakeCloudControllerClient) GetNewApplicationProcessesCalls(stub func(string, string) ([]resources.Process, ccv3.Warnings, error)) { 8009 fake.getNewApplicationProcessesMutex.Lock() 8010 defer fake.getNewApplicationProcessesMutex.Unlock() 8011 fake.GetNewApplicationProcessesStub = stub 8012 } 8013 8014 func (fake *FakeCloudControllerClient) GetNewApplicationProcessesArgsForCall(i int) (string, string) { 8015 fake.getNewApplicationProcessesMutex.RLock() 8016 defer fake.getNewApplicationProcessesMutex.RUnlock() 8017 argsForCall := fake.getNewApplicationProcessesArgsForCall[i] 8018 return argsForCall.arg1, argsForCall.arg2 8019 } 8020 8021 func (fake *FakeCloudControllerClient) GetNewApplicationProcessesReturns(result1 []resources.Process, result2 ccv3.Warnings, result3 error) { 8022 fake.getNewApplicationProcessesMutex.Lock() 8023 defer fake.getNewApplicationProcessesMutex.Unlock() 8024 fake.GetNewApplicationProcessesStub = nil 8025 fake.getNewApplicationProcessesReturns = struct { 8026 result1 []resources.Process 8027 result2 ccv3.Warnings 8028 result3 error 8029 }{result1, result2, result3} 8030 } 8031 8032 func (fake *FakeCloudControllerClient) GetNewApplicationProcessesReturnsOnCall(i int, result1 []resources.Process, result2 ccv3.Warnings, result3 error) { 8033 fake.getNewApplicationProcessesMutex.Lock() 8034 defer fake.getNewApplicationProcessesMutex.Unlock() 8035 fake.GetNewApplicationProcessesStub = nil 8036 if fake.getNewApplicationProcessesReturnsOnCall == nil { 8037 fake.getNewApplicationProcessesReturnsOnCall = make(map[int]struct { 8038 result1 []resources.Process 8039 result2 ccv3.Warnings 8040 result3 error 8041 }) 8042 } 8043 fake.getNewApplicationProcessesReturnsOnCall[i] = struct { 8044 result1 []resources.Process 8045 result2 ccv3.Warnings 8046 result3 error 8047 }{result1, result2, result3} 8048 } 8049 8050 func (fake *FakeCloudControllerClient) GetOrganization(arg1 string) (resources.Organization, ccv3.Warnings, error) { 8051 fake.getOrganizationMutex.Lock() 8052 ret, specificReturn := fake.getOrganizationReturnsOnCall[len(fake.getOrganizationArgsForCall)] 8053 fake.getOrganizationArgsForCall = append(fake.getOrganizationArgsForCall, struct { 8054 arg1 string 8055 }{arg1}) 8056 fake.recordInvocation("GetOrganization", []interface{}{arg1}) 8057 fake.getOrganizationMutex.Unlock() 8058 if fake.GetOrganizationStub != nil { 8059 return fake.GetOrganizationStub(arg1) 8060 } 8061 if specificReturn { 8062 return ret.result1, ret.result2, ret.result3 8063 } 8064 fakeReturns := fake.getOrganizationReturns 8065 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8066 } 8067 8068 func (fake *FakeCloudControllerClient) GetOrganizationCallCount() int { 8069 fake.getOrganizationMutex.RLock() 8070 defer fake.getOrganizationMutex.RUnlock() 8071 return len(fake.getOrganizationArgsForCall) 8072 } 8073 8074 func (fake *FakeCloudControllerClient) GetOrganizationCalls(stub func(string) (resources.Organization, ccv3.Warnings, error)) { 8075 fake.getOrganizationMutex.Lock() 8076 defer fake.getOrganizationMutex.Unlock() 8077 fake.GetOrganizationStub = stub 8078 } 8079 8080 func (fake *FakeCloudControllerClient) GetOrganizationArgsForCall(i int) string { 8081 fake.getOrganizationMutex.RLock() 8082 defer fake.getOrganizationMutex.RUnlock() 8083 argsForCall := fake.getOrganizationArgsForCall[i] 8084 return argsForCall.arg1 8085 } 8086 8087 func (fake *FakeCloudControllerClient) GetOrganizationReturns(result1 resources.Organization, result2 ccv3.Warnings, result3 error) { 8088 fake.getOrganizationMutex.Lock() 8089 defer fake.getOrganizationMutex.Unlock() 8090 fake.GetOrganizationStub = nil 8091 fake.getOrganizationReturns = struct { 8092 result1 resources.Organization 8093 result2 ccv3.Warnings 8094 result3 error 8095 }{result1, result2, result3} 8096 } 8097 8098 func (fake *FakeCloudControllerClient) GetOrganizationReturnsOnCall(i int, result1 resources.Organization, result2 ccv3.Warnings, result3 error) { 8099 fake.getOrganizationMutex.Lock() 8100 defer fake.getOrganizationMutex.Unlock() 8101 fake.GetOrganizationStub = nil 8102 if fake.getOrganizationReturnsOnCall == nil { 8103 fake.getOrganizationReturnsOnCall = make(map[int]struct { 8104 result1 resources.Organization 8105 result2 ccv3.Warnings 8106 result3 error 8107 }) 8108 } 8109 fake.getOrganizationReturnsOnCall[i] = struct { 8110 result1 resources.Organization 8111 result2 ccv3.Warnings 8112 result3 error 8113 }{result1, result2, result3} 8114 } 8115 8116 func (fake *FakeCloudControllerClient) GetOrganizationDefaultIsolationSegment(arg1 string) (resources.Relationship, ccv3.Warnings, error) { 8117 fake.getOrganizationDefaultIsolationSegmentMutex.Lock() 8118 ret, specificReturn := fake.getOrganizationDefaultIsolationSegmentReturnsOnCall[len(fake.getOrganizationDefaultIsolationSegmentArgsForCall)] 8119 fake.getOrganizationDefaultIsolationSegmentArgsForCall = append(fake.getOrganizationDefaultIsolationSegmentArgsForCall, struct { 8120 arg1 string 8121 }{arg1}) 8122 fake.recordInvocation("GetOrganizationDefaultIsolationSegment", []interface{}{arg1}) 8123 fake.getOrganizationDefaultIsolationSegmentMutex.Unlock() 8124 if fake.GetOrganizationDefaultIsolationSegmentStub != nil { 8125 return fake.GetOrganizationDefaultIsolationSegmentStub(arg1) 8126 } 8127 if specificReturn { 8128 return ret.result1, ret.result2, ret.result3 8129 } 8130 fakeReturns := fake.getOrganizationDefaultIsolationSegmentReturns 8131 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8132 } 8133 8134 func (fake *FakeCloudControllerClient) GetOrganizationDefaultIsolationSegmentCallCount() int { 8135 fake.getOrganizationDefaultIsolationSegmentMutex.RLock() 8136 defer fake.getOrganizationDefaultIsolationSegmentMutex.RUnlock() 8137 return len(fake.getOrganizationDefaultIsolationSegmentArgsForCall) 8138 } 8139 8140 func (fake *FakeCloudControllerClient) GetOrganizationDefaultIsolationSegmentCalls(stub func(string) (resources.Relationship, ccv3.Warnings, error)) { 8141 fake.getOrganizationDefaultIsolationSegmentMutex.Lock() 8142 defer fake.getOrganizationDefaultIsolationSegmentMutex.Unlock() 8143 fake.GetOrganizationDefaultIsolationSegmentStub = stub 8144 } 8145 8146 func (fake *FakeCloudControllerClient) GetOrganizationDefaultIsolationSegmentArgsForCall(i int) string { 8147 fake.getOrganizationDefaultIsolationSegmentMutex.RLock() 8148 defer fake.getOrganizationDefaultIsolationSegmentMutex.RUnlock() 8149 argsForCall := fake.getOrganizationDefaultIsolationSegmentArgsForCall[i] 8150 return argsForCall.arg1 8151 } 8152 8153 func (fake *FakeCloudControllerClient) GetOrganizationDefaultIsolationSegmentReturns(result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 8154 fake.getOrganizationDefaultIsolationSegmentMutex.Lock() 8155 defer fake.getOrganizationDefaultIsolationSegmentMutex.Unlock() 8156 fake.GetOrganizationDefaultIsolationSegmentStub = nil 8157 fake.getOrganizationDefaultIsolationSegmentReturns = struct { 8158 result1 resources.Relationship 8159 result2 ccv3.Warnings 8160 result3 error 8161 }{result1, result2, result3} 8162 } 8163 8164 func (fake *FakeCloudControllerClient) GetOrganizationDefaultIsolationSegmentReturnsOnCall(i int, result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 8165 fake.getOrganizationDefaultIsolationSegmentMutex.Lock() 8166 defer fake.getOrganizationDefaultIsolationSegmentMutex.Unlock() 8167 fake.GetOrganizationDefaultIsolationSegmentStub = nil 8168 if fake.getOrganizationDefaultIsolationSegmentReturnsOnCall == nil { 8169 fake.getOrganizationDefaultIsolationSegmentReturnsOnCall = make(map[int]struct { 8170 result1 resources.Relationship 8171 result2 ccv3.Warnings 8172 result3 error 8173 }) 8174 } 8175 fake.getOrganizationDefaultIsolationSegmentReturnsOnCall[i] = struct { 8176 result1 resources.Relationship 8177 result2 ccv3.Warnings 8178 result3 error 8179 }{result1, result2, result3} 8180 } 8181 8182 func (fake *FakeCloudControllerClient) GetOrganizationDomains(arg1 string, arg2 ...ccv3.Query) ([]resources.Domain, ccv3.Warnings, error) { 8183 fake.getOrganizationDomainsMutex.Lock() 8184 ret, specificReturn := fake.getOrganizationDomainsReturnsOnCall[len(fake.getOrganizationDomainsArgsForCall)] 8185 fake.getOrganizationDomainsArgsForCall = append(fake.getOrganizationDomainsArgsForCall, struct { 8186 arg1 string 8187 arg2 []ccv3.Query 8188 }{arg1, arg2}) 8189 fake.recordInvocation("GetOrganizationDomains", []interface{}{arg1, arg2}) 8190 fake.getOrganizationDomainsMutex.Unlock() 8191 if fake.GetOrganizationDomainsStub != nil { 8192 return fake.GetOrganizationDomainsStub(arg1, arg2...) 8193 } 8194 if specificReturn { 8195 return ret.result1, ret.result2, ret.result3 8196 } 8197 fakeReturns := fake.getOrganizationDomainsReturns 8198 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8199 } 8200 8201 func (fake *FakeCloudControllerClient) GetOrganizationDomainsCallCount() int { 8202 fake.getOrganizationDomainsMutex.RLock() 8203 defer fake.getOrganizationDomainsMutex.RUnlock() 8204 return len(fake.getOrganizationDomainsArgsForCall) 8205 } 8206 8207 func (fake *FakeCloudControllerClient) GetOrganizationDomainsCalls(stub func(string, ...ccv3.Query) ([]resources.Domain, ccv3.Warnings, error)) { 8208 fake.getOrganizationDomainsMutex.Lock() 8209 defer fake.getOrganizationDomainsMutex.Unlock() 8210 fake.GetOrganizationDomainsStub = stub 8211 } 8212 8213 func (fake *FakeCloudControllerClient) GetOrganizationDomainsArgsForCall(i int) (string, []ccv3.Query) { 8214 fake.getOrganizationDomainsMutex.RLock() 8215 defer fake.getOrganizationDomainsMutex.RUnlock() 8216 argsForCall := fake.getOrganizationDomainsArgsForCall[i] 8217 return argsForCall.arg1, argsForCall.arg2 8218 } 8219 8220 func (fake *FakeCloudControllerClient) GetOrganizationDomainsReturns(result1 []resources.Domain, result2 ccv3.Warnings, result3 error) { 8221 fake.getOrganizationDomainsMutex.Lock() 8222 defer fake.getOrganizationDomainsMutex.Unlock() 8223 fake.GetOrganizationDomainsStub = nil 8224 fake.getOrganizationDomainsReturns = struct { 8225 result1 []resources.Domain 8226 result2 ccv3.Warnings 8227 result3 error 8228 }{result1, result2, result3} 8229 } 8230 8231 func (fake *FakeCloudControllerClient) GetOrganizationDomainsReturnsOnCall(i int, result1 []resources.Domain, result2 ccv3.Warnings, result3 error) { 8232 fake.getOrganizationDomainsMutex.Lock() 8233 defer fake.getOrganizationDomainsMutex.Unlock() 8234 fake.GetOrganizationDomainsStub = nil 8235 if fake.getOrganizationDomainsReturnsOnCall == nil { 8236 fake.getOrganizationDomainsReturnsOnCall = make(map[int]struct { 8237 result1 []resources.Domain 8238 result2 ccv3.Warnings 8239 result3 error 8240 }) 8241 } 8242 fake.getOrganizationDomainsReturnsOnCall[i] = struct { 8243 result1 []resources.Domain 8244 result2 ccv3.Warnings 8245 result3 error 8246 }{result1, result2, result3} 8247 } 8248 8249 func (fake *FakeCloudControllerClient) GetOrganizationQuota(arg1 string) (resources.OrganizationQuota, ccv3.Warnings, error) { 8250 fake.getOrganizationQuotaMutex.Lock() 8251 ret, specificReturn := fake.getOrganizationQuotaReturnsOnCall[len(fake.getOrganizationQuotaArgsForCall)] 8252 fake.getOrganizationQuotaArgsForCall = append(fake.getOrganizationQuotaArgsForCall, struct { 8253 arg1 string 8254 }{arg1}) 8255 fake.recordInvocation("GetOrganizationQuota", []interface{}{arg1}) 8256 fake.getOrganizationQuotaMutex.Unlock() 8257 if fake.GetOrganizationQuotaStub != nil { 8258 return fake.GetOrganizationQuotaStub(arg1) 8259 } 8260 if specificReturn { 8261 return ret.result1, ret.result2, ret.result3 8262 } 8263 fakeReturns := fake.getOrganizationQuotaReturns 8264 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8265 } 8266 8267 func (fake *FakeCloudControllerClient) GetOrganizationQuotaCallCount() int { 8268 fake.getOrganizationQuotaMutex.RLock() 8269 defer fake.getOrganizationQuotaMutex.RUnlock() 8270 return len(fake.getOrganizationQuotaArgsForCall) 8271 } 8272 8273 func (fake *FakeCloudControllerClient) GetOrganizationQuotaCalls(stub func(string) (resources.OrganizationQuota, ccv3.Warnings, error)) { 8274 fake.getOrganizationQuotaMutex.Lock() 8275 defer fake.getOrganizationQuotaMutex.Unlock() 8276 fake.GetOrganizationQuotaStub = stub 8277 } 8278 8279 func (fake *FakeCloudControllerClient) GetOrganizationQuotaArgsForCall(i int) string { 8280 fake.getOrganizationQuotaMutex.RLock() 8281 defer fake.getOrganizationQuotaMutex.RUnlock() 8282 argsForCall := fake.getOrganizationQuotaArgsForCall[i] 8283 return argsForCall.arg1 8284 } 8285 8286 func (fake *FakeCloudControllerClient) GetOrganizationQuotaReturns(result1 resources.OrganizationQuota, result2 ccv3.Warnings, result3 error) { 8287 fake.getOrganizationQuotaMutex.Lock() 8288 defer fake.getOrganizationQuotaMutex.Unlock() 8289 fake.GetOrganizationQuotaStub = nil 8290 fake.getOrganizationQuotaReturns = struct { 8291 result1 resources.OrganizationQuota 8292 result2 ccv3.Warnings 8293 result3 error 8294 }{result1, result2, result3} 8295 } 8296 8297 func (fake *FakeCloudControllerClient) GetOrganizationQuotaReturnsOnCall(i int, result1 resources.OrganizationQuota, result2 ccv3.Warnings, result3 error) { 8298 fake.getOrganizationQuotaMutex.Lock() 8299 defer fake.getOrganizationQuotaMutex.Unlock() 8300 fake.GetOrganizationQuotaStub = nil 8301 if fake.getOrganizationQuotaReturnsOnCall == nil { 8302 fake.getOrganizationQuotaReturnsOnCall = make(map[int]struct { 8303 result1 resources.OrganizationQuota 8304 result2 ccv3.Warnings 8305 result3 error 8306 }) 8307 } 8308 fake.getOrganizationQuotaReturnsOnCall[i] = struct { 8309 result1 resources.OrganizationQuota 8310 result2 ccv3.Warnings 8311 result3 error 8312 }{result1, result2, result3} 8313 } 8314 8315 func (fake *FakeCloudControllerClient) GetOrganizationQuotas(arg1 ...ccv3.Query) ([]resources.OrganizationQuota, ccv3.Warnings, error) { 8316 fake.getOrganizationQuotasMutex.Lock() 8317 ret, specificReturn := fake.getOrganizationQuotasReturnsOnCall[len(fake.getOrganizationQuotasArgsForCall)] 8318 fake.getOrganizationQuotasArgsForCall = append(fake.getOrganizationQuotasArgsForCall, struct { 8319 arg1 []ccv3.Query 8320 }{arg1}) 8321 fake.recordInvocation("GetOrganizationQuotas", []interface{}{arg1}) 8322 fake.getOrganizationQuotasMutex.Unlock() 8323 if fake.GetOrganizationQuotasStub != nil { 8324 return fake.GetOrganizationQuotasStub(arg1...) 8325 } 8326 if specificReturn { 8327 return ret.result1, ret.result2, ret.result3 8328 } 8329 fakeReturns := fake.getOrganizationQuotasReturns 8330 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8331 } 8332 8333 func (fake *FakeCloudControllerClient) GetOrganizationQuotasCallCount() int { 8334 fake.getOrganizationQuotasMutex.RLock() 8335 defer fake.getOrganizationQuotasMutex.RUnlock() 8336 return len(fake.getOrganizationQuotasArgsForCall) 8337 } 8338 8339 func (fake *FakeCloudControllerClient) GetOrganizationQuotasCalls(stub func(...ccv3.Query) ([]resources.OrganizationQuota, ccv3.Warnings, error)) { 8340 fake.getOrganizationQuotasMutex.Lock() 8341 defer fake.getOrganizationQuotasMutex.Unlock() 8342 fake.GetOrganizationQuotasStub = stub 8343 } 8344 8345 func (fake *FakeCloudControllerClient) GetOrganizationQuotasArgsForCall(i int) []ccv3.Query { 8346 fake.getOrganizationQuotasMutex.RLock() 8347 defer fake.getOrganizationQuotasMutex.RUnlock() 8348 argsForCall := fake.getOrganizationQuotasArgsForCall[i] 8349 return argsForCall.arg1 8350 } 8351 8352 func (fake *FakeCloudControllerClient) GetOrganizationQuotasReturns(result1 []resources.OrganizationQuota, result2 ccv3.Warnings, result3 error) { 8353 fake.getOrganizationQuotasMutex.Lock() 8354 defer fake.getOrganizationQuotasMutex.Unlock() 8355 fake.GetOrganizationQuotasStub = nil 8356 fake.getOrganizationQuotasReturns = struct { 8357 result1 []resources.OrganizationQuota 8358 result2 ccv3.Warnings 8359 result3 error 8360 }{result1, result2, result3} 8361 } 8362 8363 func (fake *FakeCloudControllerClient) GetOrganizationQuotasReturnsOnCall(i int, result1 []resources.OrganizationQuota, result2 ccv3.Warnings, result3 error) { 8364 fake.getOrganizationQuotasMutex.Lock() 8365 defer fake.getOrganizationQuotasMutex.Unlock() 8366 fake.GetOrganizationQuotasStub = nil 8367 if fake.getOrganizationQuotasReturnsOnCall == nil { 8368 fake.getOrganizationQuotasReturnsOnCall = make(map[int]struct { 8369 result1 []resources.OrganizationQuota 8370 result2 ccv3.Warnings 8371 result3 error 8372 }) 8373 } 8374 fake.getOrganizationQuotasReturnsOnCall[i] = struct { 8375 result1 []resources.OrganizationQuota 8376 result2 ccv3.Warnings 8377 result3 error 8378 }{result1, result2, result3} 8379 } 8380 8381 func (fake *FakeCloudControllerClient) GetOrganizations(arg1 ...ccv3.Query) ([]resources.Organization, ccv3.Warnings, error) { 8382 fake.getOrganizationsMutex.Lock() 8383 ret, specificReturn := fake.getOrganizationsReturnsOnCall[len(fake.getOrganizationsArgsForCall)] 8384 fake.getOrganizationsArgsForCall = append(fake.getOrganizationsArgsForCall, struct { 8385 arg1 []ccv3.Query 8386 }{arg1}) 8387 fake.recordInvocation("GetOrganizations", []interface{}{arg1}) 8388 fake.getOrganizationsMutex.Unlock() 8389 if fake.GetOrganizationsStub != nil { 8390 return fake.GetOrganizationsStub(arg1...) 8391 } 8392 if specificReturn { 8393 return ret.result1, ret.result2, ret.result3 8394 } 8395 fakeReturns := fake.getOrganizationsReturns 8396 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8397 } 8398 8399 func (fake *FakeCloudControllerClient) GetOrganizationsCallCount() int { 8400 fake.getOrganizationsMutex.RLock() 8401 defer fake.getOrganizationsMutex.RUnlock() 8402 return len(fake.getOrganizationsArgsForCall) 8403 } 8404 8405 func (fake *FakeCloudControllerClient) GetOrganizationsCalls(stub func(...ccv3.Query) ([]resources.Organization, ccv3.Warnings, error)) { 8406 fake.getOrganizationsMutex.Lock() 8407 defer fake.getOrganizationsMutex.Unlock() 8408 fake.GetOrganizationsStub = stub 8409 } 8410 8411 func (fake *FakeCloudControllerClient) GetOrganizationsArgsForCall(i int) []ccv3.Query { 8412 fake.getOrganizationsMutex.RLock() 8413 defer fake.getOrganizationsMutex.RUnlock() 8414 argsForCall := fake.getOrganizationsArgsForCall[i] 8415 return argsForCall.arg1 8416 } 8417 8418 func (fake *FakeCloudControllerClient) GetOrganizationsReturns(result1 []resources.Organization, result2 ccv3.Warnings, result3 error) { 8419 fake.getOrganizationsMutex.Lock() 8420 defer fake.getOrganizationsMutex.Unlock() 8421 fake.GetOrganizationsStub = nil 8422 fake.getOrganizationsReturns = struct { 8423 result1 []resources.Organization 8424 result2 ccv3.Warnings 8425 result3 error 8426 }{result1, result2, result3} 8427 } 8428 8429 func (fake *FakeCloudControllerClient) GetOrganizationsReturnsOnCall(i int, result1 []resources.Organization, result2 ccv3.Warnings, result3 error) { 8430 fake.getOrganizationsMutex.Lock() 8431 defer fake.getOrganizationsMutex.Unlock() 8432 fake.GetOrganizationsStub = nil 8433 if fake.getOrganizationsReturnsOnCall == nil { 8434 fake.getOrganizationsReturnsOnCall = make(map[int]struct { 8435 result1 []resources.Organization 8436 result2 ccv3.Warnings 8437 result3 error 8438 }) 8439 } 8440 fake.getOrganizationsReturnsOnCall[i] = struct { 8441 result1 []resources.Organization 8442 result2 ccv3.Warnings 8443 result3 error 8444 }{result1, result2, result3} 8445 } 8446 8447 func (fake *FakeCloudControllerClient) GetPackage(arg1 string) (resources.Package, ccv3.Warnings, error) { 8448 fake.getPackageMutex.Lock() 8449 ret, specificReturn := fake.getPackageReturnsOnCall[len(fake.getPackageArgsForCall)] 8450 fake.getPackageArgsForCall = append(fake.getPackageArgsForCall, struct { 8451 arg1 string 8452 }{arg1}) 8453 fake.recordInvocation("GetPackage", []interface{}{arg1}) 8454 fake.getPackageMutex.Unlock() 8455 if fake.GetPackageStub != nil { 8456 return fake.GetPackageStub(arg1) 8457 } 8458 if specificReturn { 8459 return ret.result1, ret.result2, ret.result3 8460 } 8461 fakeReturns := fake.getPackageReturns 8462 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8463 } 8464 8465 func (fake *FakeCloudControllerClient) GetPackageCallCount() int { 8466 fake.getPackageMutex.RLock() 8467 defer fake.getPackageMutex.RUnlock() 8468 return len(fake.getPackageArgsForCall) 8469 } 8470 8471 func (fake *FakeCloudControllerClient) GetPackageCalls(stub func(string) (resources.Package, ccv3.Warnings, error)) { 8472 fake.getPackageMutex.Lock() 8473 defer fake.getPackageMutex.Unlock() 8474 fake.GetPackageStub = stub 8475 } 8476 8477 func (fake *FakeCloudControllerClient) GetPackageArgsForCall(i int) string { 8478 fake.getPackageMutex.RLock() 8479 defer fake.getPackageMutex.RUnlock() 8480 argsForCall := fake.getPackageArgsForCall[i] 8481 return argsForCall.arg1 8482 } 8483 8484 func (fake *FakeCloudControllerClient) GetPackageReturns(result1 resources.Package, result2 ccv3.Warnings, result3 error) { 8485 fake.getPackageMutex.Lock() 8486 defer fake.getPackageMutex.Unlock() 8487 fake.GetPackageStub = nil 8488 fake.getPackageReturns = struct { 8489 result1 resources.Package 8490 result2 ccv3.Warnings 8491 result3 error 8492 }{result1, result2, result3} 8493 } 8494 8495 func (fake *FakeCloudControllerClient) GetPackageReturnsOnCall(i int, result1 resources.Package, result2 ccv3.Warnings, result3 error) { 8496 fake.getPackageMutex.Lock() 8497 defer fake.getPackageMutex.Unlock() 8498 fake.GetPackageStub = nil 8499 if fake.getPackageReturnsOnCall == nil { 8500 fake.getPackageReturnsOnCall = make(map[int]struct { 8501 result1 resources.Package 8502 result2 ccv3.Warnings 8503 result3 error 8504 }) 8505 } 8506 fake.getPackageReturnsOnCall[i] = struct { 8507 result1 resources.Package 8508 result2 ccv3.Warnings 8509 result3 error 8510 }{result1, result2, result3} 8511 } 8512 8513 func (fake *FakeCloudControllerClient) GetPackageDroplets(arg1 string, arg2 ...ccv3.Query) ([]resources.Droplet, ccv3.Warnings, error) { 8514 fake.getPackageDropletsMutex.Lock() 8515 ret, specificReturn := fake.getPackageDropletsReturnsOnCall[len(fake.getPackageDropletsArgsForCall)] 8516 fake.getPackageDropletsArgsForCall = append(fake.getPackageDropletsArgsForCall, struct { 8517 arg1 string 8518 arg2 []ccv3.Query 8519 }{arg1, arg2}) 8520 fake.recordInvocation("GetPackageDroplets", []interface{}{arg1, arg2}) 8521 fake.getPackageDropletsMutex.Unlock() 8522 if fake.GetPackageDropletsStub != nil { 8523 return fake.GetPackageDropletsStub(arg1, arg2...) 8524 } 8525 if specificReturn { 8526 return ret.result1, ret.result2, ret.result3 8527 } 8528 fakeReturns := fake.getPackageDropletsReturns 8529 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8530 } 8531 8532 func (fake *FakeCloudControllerClient) GetPackageDropletsCallCount() int { 8533 fake.getPackageDropletsMutex.RLock() 8534 defer fake.getPackageDropletsMutex.RUnlock() 8535 return len(fake.getPackageDropletsArgsForCall) 8536 } 8537 8538 func (fake *FakeCloudControllerClient) GetPackageDropletsCalls(stub func(string, ...ccv3.Query) ([]resources.Droplet, ccv3.Warnings, error)) { 8539 fake.getPackageDropletsMutex.Lock() 8540 defer fake.getPackageDropletsMutex.Unlock() 8541 fake.GetPackageDropletsStub = stub 8542 } 8543 8544 func (fake *FakeCloudControllerClient) GetPackageDropletsArgsForCall(i int) (string, []ccv3.Query) { 8545 fake.getPackageDropletsMutex.RLock() 8546 defer fake.getPackageDropletsMutex.RUnlock() 8547 argsForCall := fake.getPackageDropletsArgsForCall[i] 8548 return argsForCall.arg1, argsForCall.arg2 8549 } 8550 8551 func (fake *FakeCloudControllerClient) GetPackageDropletsReturns(result1 []resources.Droplet, result2 ccv3.Warnings, result3 error) { 8552 fake.getPackageDropletsMutex.Lock() 8553 defer fake.getPackageDropletsMutex.Unlock() 8554 fake.GetPackageDropletsStub = nil 8555 fake.getPackageDropletsReturns = struct { 8556 result1 []resources.Droplet 8557 result2 ccv3.Warnings 8558 result3 error 8559 }{result1, result2, result3} 8560 } 8561 8562 func (fake *FakeCloudControllerClient) GetPackageDropletsReturnsOnCall(i int, result1 []resources.Droplet, result2 ccv3.Warnings, result3 error) { 8563 fake.getPackageDropletsMutex.Lock() 8564 defer fake.getPackageDropletsMutex.Unlock() 8565 fake.GetPackageDropletsStub = nil 8566 if fake.getPackageDropletsReturnsOnCall == nil { 8567 fake.getPackageDropletsReturnsOnCall = make(map[int]struct { 8568 result1 []resources.Droplet 8569 result2 ccv3.Warnings 8570 result3 error 8571 }) 8572 } 8573 fake.getPackageDropletsReturnsOnCall[i] = struct { 8574 result1 []resources.Droplet 8575 result2 ccv3.Warnings 8576 result3 error 8577 }{result1, result2, result3} 8578 } 8579 8580 func (fake *FakeCloudControllerClient) GetPackages(arg1 ...ccv3.Query) ([]resources.Package, ccv3.Warnings, error) { 8581 fake.getPackagesMutex.Lock() 8582 ret, specificReturn := fake.getPackagesReturnsOnCall[len(fake.getPackagesArgsForCall)] 8583 fake.getPackagesArgsForCall = append(fake.getPackagesArgsForCall, struct { 8584 arg1 []ccv3.Query 8585 }{arg1}) 8586 fake.recordInvocation("GetPackages", []interface{}{arg1}) 8587 fake.getPackagesMutex.Unlock() 8588 if fake.GetPackagesStub != nil { 8589 return fake.GetPackagesStub(arg1...) 8590 } 8591 if specificReturn { 8592 return ret.result1, ret.result2, ret.result3 8593 } 8594 fakeReturns := fake.getPackagesReturns 8595 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8596 } 8597 8598 func (fake *FakeCloudControllerClient) GetPackagesCallCount() int { 8599 fake.getPackagesMutex.RLock() 8600 defer fake.getPackagesMutex.RUnlock() 8601 return len(fake.getPackagesArgsForCall) 8602 } 8603 8604 func (fake *FakeCloudControllerClient) GetPackagesCalls(stub func(...ccv3.Query) ([]resources.Package, ccv3.Warnings, error)) { 8605 fake.getPackagesMutex.Lock() 8606 defer fake.getPackagesMutex.Unlock() 8607 fake.GetPackagesStub = stub 8608 } 8609 8610 func (fake *FakeCloudControllerClient) GetPackagesArgsForCall(i int) []ccv3.Query { 8611 fake.getPackagesMutex.RLock() 8612 defer fake.getPackagesMutex.RUnlock() 8613 argsForCall := fake.getPackagesArgsForCall[i] 8614 return argsForCall.arg1 8615 } 8616 8617 func (fake *FakeCloudControllerClient) GetPackagesReturns(result1 []resources.Package, result2 ccv3.Warnings, result3 error) { 8618 fake.getPackagesMutex.Lock() 8619 defer fake.getPackagesMutex.Unlock() 8620 fake.GetPackagesStub = nil 8621 fake.getPackagesReturns = struct { 8622 result1 []resources.Package 8623 result2 ccv3.Warnings 8624 result3 error 8625 }{result1, result2, result3} 8626 } 8627 8628 func (fake *FakeCloudControllerClient) GetPackagesReturnsOnCall(i int, result1 []resources.Package, result2 ccv3.Warnings, result3 error) { 8629 fake.getPackagesMutex.Lock() 8630 defer fake.getPackagesMutex.Unlock() 8631 fake.GetPackagesStub = nil 8632 if fake.getPackagesReturnsOnCall == nil { 8633 fake.getPackagesReturnsOnCall = make(map[int]struct { 8634 result1 []resources.Package 8635 result2 ccv3.Warnings 8636 result3 error 8637 }) 8638 } 8639 fake.getPackagesReturnsOnCall[i] = struct { 8640 result1 []resources.Package 8641 result2 ccv3.Warnings 8642 result3 error 8643 }{result1, result2, result3} 8644 } 8645 8646 func (fake *FakeCloudControllerClient) GetProcess(arg1 string) (resources.Process, ccv3.Warnings, error) { 8647 fake.getProcessMutex.Lock() 8648 ret, specificReturn := fake.getProcessReturnsOnCall[len(fake.getProcessArgsForCall)] 8649 fake.getProcessArgsForCall = append(fake.getProcessArgsForCall, struct { 8650 arg1 string 8651 }{arg1}) 8652 fake.recordInvocation("GetProcess", []interface{}{arg1}) 8653 fake.getProcessMutex.Unlock() 8654 if fake.GetProcessStub != nil { 8655 return fake.GetProcessStub(arg1) 8656 } 8657 if specificReturn { 8658 return ret.result1, ret.result2, ret.result3 8659 } 8660 fakeReturns := fake.getProcessReturns 8661 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8662 } 8663 8664 func (fake *FakeCloudControllerClient) GetProcessCallCount() int { 8665 fake.getProcessMutex.RLock() 8666 defer fake.getProcessMutex.RUnlock() 8667 return len(fake.getProcessArgsForCall) 8668 } 8669 8670 func (fake *FakeCloudControllerClient) GetProcessCalls(stub func(string) (resources.Process, ccv3.Warnings, error)) { 8671 fake.getProcessMutex.Lock() 8672 defer fake.getProcessMutex.Unlock() 8673 fake.GetProcessStub = stub 8674 } 8675 8676 func (fake *FakeCloudControllerClient) GetProcessArgsForCall(i int) string { 8677 fake.getProcessMutex.RLock() 8678 defer fake.getProcessMutex.RUnlock() 8679 argsForCall := fake.getProcessArgsForCall[i] 8680 return argsForCall.arg1 8681 } 8682 8683 func (fake *FakeCloudControllerClient) GetProcessReturns(result1 resources.Process, result2 ccv3.Warnings, result3 error) { 8684 fake.getProcessMutex.Lock() 8685 defer fake.getProcessMutex.Unlock() 8686 fake.GetProcessStub = nil 8687 fake.getProcessReturns = struct { 8688 result1 resources.Process 8689 result2 ccv3.Warnings 8690 result3 error 8691 }{result1, result2, result3} 8692 } 8693 8694 func (fake *FakeCloudControllerClient) GetProcessReturnsOnCall(i int, result1 resources.Process, result2 ccv3.Warnings, result3 error) { 8695 fake.getProcessMutex.Lock() 8696 defer fake.getProcessMutex.Unlock() 8697 fake.GetProcessStub = nil 8698 if fake.getProcessReturnsOnCall == nil { 8699 fake.getProcessReturnsOnCall = make(map[int]struct { 8700 result1 resources.Process 8701 result2 ccv3.Warnings 8702 result3 error 8703 }) 8704 } 8705 fake.getProcessReturnsOnCall[i] = struct { 8706 result1 resources.Process 8707 result2 ccv3.Warnings 8708 result3 error 8709 }{result1, result2, result3} 8710 } 8711 8712 func (fake *FakeCloudControllerClient) GetProcessInstances(arg1 string) ([]ccv3.ProcessInstance, ccv3.Warnings, error) { 8713 fake.getProcessInstancesMutex.Lock() 8714 ret, specificReturn := fake.getProcessInstancesReturnsOnCall[len(fake.getProcessInstancesArgsForCall)] 8715 fake.getProcessInstancesArgsForCall = append(fake.getProcessInstancesArgsForCall, struct { 8716 arg1 string 8717 }{arg1}) 8718 fake.recordInvocation("GetProcessInstances", []interface{}{arg1}) 8719 fake.getProcessInstancesMutex.Unlock() 8720 if fake.GetProcessInstancesStub != nil { 8721 return fake.GetProcessInstancesStub(arg1) 8722 } 8723 if specificReturn { 8724 return ret.result1, ret.result2, ret.result3 8725 } 8726 fakeReturns := fake.getProcessInstancesReturns 8727 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8728 } 8729 8730 func (fake *FakeCloudControllerClient) GetProcessInstancesCallCount() int { 8731 fake.getProcessInstancesMutex.RLock() 8732 defer fake.getProcessInstancesMutex.RUnlock() 8733 return len(fake.getProcessInstancesArgsForCall) 8734 } 8735 8736 func (fake *FakeCloudControllerClient) GetProcessInstancesCalls(stub func(string) ([]ccv3.ProcessInstance, ccv3.Warnings, error)) { 8737 fake.getProcessInstancesMutex.Lock() 8738 defer fake.getProcessInstancesMutex.Unlock() 8739 fake.GetProcessInstancesStub = stub 8740 } 8741 8742 func (fake *FakeCloudControllerClient) GetProcessInstancesArgsForCall(i int) string { 8743 fake.getProcessInstancesMutex.RLock() 8744 defer fake.getProcessInstancesMutex.RUnlock() 8745 argsForCall := fake.getProcessInstancesArgsForCall[i] 8746 return argsForCall.arg1 8747 } 8748 8749 func (fake *FakeCloudControllerClient) GetProcessInstancesReturns(result1 []ccv3.ProcessInstance, result2 ccv3.Warnings, result3 error) { 8750 fake.getProcessInstancesMutex.Lock() 8751 defer fake.getProcessInstancesMutex.Unlock() 8752 fake.GetProcessInstancesStub = nil 8753 fake.getProcessInstancesReturns = struct { 8754 result1 []ccv3.ProcessInstance 8755 result2 ccv3.Warnings 8756 result3 error 8757 }{result1, result2, result3} 8758 } 8759 8760 func (fake *FakeCloudControllerClient) GetProcessInstancesReturnsOnCall(i int, result1 []ccv3.ProcessInstance, result2 ccv3.Warnings, result3 error) { 8761 fake.getProcessInstancesMutex.Lock() 8762 defer fake.getProcessInstancesMutex.Unlock() 8763 fake.GetProcessInstancesStub = nil 8764 if fake.getProcessInstancesReturnsOnCall == nil { 8765 fake.getProcessInstancesReturnsOnCall = make(map[int]struct { 8766 result1 []ccv3.ProcessInstance 8767 result2 ccv3.Warnings 8768 result3 error 8769 }) 8770 } 8771 fake.getProcessInstancesReturnsOnCall[i] = struct { 8772 result1 []ccv3.ProcessInstance 8773 result2 ccv3.Warnings 8774 result3 error 8775 }{result1, result2, result3} 8776 } 8777 8778 func (fake *FakeCloudControllerClient) GetProcessSidecars(arg1 string) ([]resources.Sidecar, ccv3.Warnings, error) { 8779 fake.getProcessSidecarsMutex.Lock() 8780 ret, specificReturn := fake.getProcessSidecarsReturnsOnCall[len(fake.getProcessSidecarsArgsForCall)] 8781 fake.getProcessSidecarsArgsForCall = append(fake.getProcessSidecarsArgsForCall, struct { 8782 arg1 string 8783 }{arg1}) 8784 fake.recordInvocation("GetProcessSidecars", []interface{}{arg1}) 8785 fake.getProcessSidecarsMutex.Unlock() 8786 if fake.GetProcessSidecarsStub != nil { 8787 return fake.GetProcessSidecarsStub(arg1) 8788 } 8789 if specificReturn { 8790 return ret.result1, ret.result2, ret.result3 8791 } 8792 fakeReturns := fake.getProcessSidecarsReturns 8793 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8794 } 8795 8796 func (fake *FakeCloudControllerClient) GetProcessSidecarsCallCount() int { 8797 fake.getProcessSidecarsMutex.RLock() 8798 defer fake.getProcessSidecarsMutex.RUnlock() 8799 return len(fake.getProcessSidecarsArgsForCall) 8800 } 8801 8802 func (fake *FakeCloudControllerClient) GetProcessSidecarsCalls(stub func(string) ([]resources.Sidecar, ccv3.Warnings, error)) { 8803 fake.getProcessSidecarsMutex.Lock() 8804 defer fake.getProcessSidecarsMutex.Unlock() 8805 fake.GetProcessSidecarsStub = stub 8806 } 8807 8808 func (fake *FakeCloudControllerClient) GetProcessSidecarsArgsForCall(i int) string { 8809 fake.getProcessSidecarsMutex.RLock() 8810 defer fake.getProcessSidecarsMutex.RUnlock() 8811 argsForCall := fake.getProcessSidecarsArgsForCall[i] 8812 return argsForCall.arg1 8813 } 8814 8815 func (fake *FakeCloudControllerClient) GetProcessSidecarsReturns(result1 []resources.Sidecar, result2 ccv3.Warnings, result3 error) { 8816 fake.getProcessSidecarsMutex.Lock() 8817 defer fake.getProcessSidecarsMutex.Unlock() 8818 fake.GetProcessSidecarsStub = nil 8819 fake.getProcessSidecarsReturns = struct { 8820 result1 []resources.Sidecar 8821 result2 ccv3.Warnings 8822 result3 error 8823 }{result1, result2, result3} 8824 } 8825 8826 func (fake *FakeCloudControllerClient) GetProcessSidecarsReturnsOnCall(i int, result1 []resources.Sidecar, result2 ccv3.Warnings, result3 error) { 8827 fake.getProcessSidecarsMutex.Lock() 8828 defer fake.getProcessSidecarsMutex.Unlock() 8829 fake.GetProcessSidecarsStub = nil 8830 if fake.getProcessSidecarsReturnsOnCall == nil { 8831 fake.getProcessSidecarsReturnsOnCall = make(map[int]struct { 8832 result1 []resources.Sidecar 8833 result2 ccv3.Warnings 8834 result3 error 8835 }) 8836 } 8837 fake.getProcessSidecarsReturnsOnCall[i] = struct { 8838 result1 []resources.Sidecar 8839 result2 ccv3.Warnings 8840 result3 error 8841 }{result1, result2, result3} 8842 } 8843 8844 func (fake *FakeCloudControllerClient) GetProcesses(arg1 ...ccv3.Query) ([]resources.Process, ccv3.Warnings, error) { 8845 fake.getProcessesMutex.Lock() 8846 ret, specificReturn := fake.getProcessesReturnsOnCall[len(fake.getProcessesArgsForCall)] 8847 fake.getProcessesArgsForCall = append(fake.getProcessesArgsForCall, struct { 8848 arg1 []ccv3.Query 8849 }{arg1}) 8850 fake.recordInvocation("GetProcesses", []interface{}{arg1}) 8851 fake.getProcessesMutex.Unlock() 8852 if fake.GetProcessesStub != nil { 8853 return fake.GetProcessesStub(arg1...) 8854 } 8855 if specificReturn { 8856 return ret.result1, ret.result2, ret.result3 8857 } 8858 fakeReturns := fake.getProcessesReturns 8859 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 8860 } 8861 8862 func (fake *FakeCloudControllerClient) GetProcessesCallCount() int { 8863 fake.getProcessesMutex.RLock() 8864 defer fake.getProcessesMutex.RUnlock() 8865 return len(fake.getProcessesArgsForCall) 8866 } 8867 8868 func (fake *FakeCloudControllerClient) GetProcessesCalls(stub func(...ccv3.Query) ([]resources.Process, ccv3.Warnings, error)) { 8869 fake.getProcessesMutex.Lock() 8870 defer fake.getProcessesMutex.Unlock() 8871 fake.GetProcessesStub = stub 8872 } 8873 8874 func (fake *FakeCloudControllerClient) GetProcessesArgsForCall(i int) []ccv3.Query { 8875 fake.getProcessesMutex.RLock() 8876 defer fake.getProcessesMutex.RUnlock() 8877 argsForCall := fake.getProcessesArgsForCall[i] 8878 return argsForCall.arg1 8879 } 8880 8881 func (fake *FakeCloudControllerClient) GetProcessesReturns(result1 []resources.Process, result2 ccv3.Warnings, result3 error) { 8882 fake.getProcessesMutex.Lock() 8883 defer fake.getProcessesMutex.Unlock() 8884 fake.GetProcessesStub = nil 8885 fake.getProcessesReturns = struct { 8886 result1 []resources.Process 8887 result2 ccv3.Warnings 8888 result3 error 8889 }{result1, result2, result3} 8890 } 8891 8892 func (fake *FakeCloudControllerClient) GetProcessesReturnsOnCall(i int, result1 []resources.Process, result2 ccv3.Warnings, result3 error) { 8893 fake.getProcessesMutex.Lock() 8894 defer fake.getProcessesMutex.Unlock() 8895 fake.GetProcessesStub = nil 8896 if fake.getProcessesReturnsOnCall == nil { 8897 fake.getProcessesReturnsOnCall = make(map[int]struct { 8898 result1 []resources.Process 8899 result2 ccv3.Warnings 8900 result3 error 8901 }) 8902 } 8903 fake.getProcessesReturnsOnCall[i] = struct { 8904 result1 []resources.Process 8905 result2 ccv3.Warnings 8906 result3 error 8907 }{result1, result2, result3} 8908 } 8909 8910 func (fake *FakeCloudControllerClient) GetRoles(arg1 ...ccv3.Query) ([]resources.Role, ccv3.IncludedResources, ccv3.Warnings, error) { 8911 fake.getRolesMutex.Lock() 8912 ret, specificReturn := fake.getRolesReturnsOnCall[len(fake.getRolesArgsForCall)] 8913 fake.getRolesArgsForCall = append(fake.getRolesArgsForCall, struct { 8914 arg1 []ccv3.Query 8915 }{arg1}) 8916 fake.recordInvocation("GetRoles", []interface{}{arg1}) 8917 fake.getRolesMutex.Unlock() 8918 if fake.GetRolesStub != nil { 8919 return fake.GetRolesStub(arg1...) 8920 } 8921 if specificReturn { 8922 return ret.result1, ret.result2, ret.result3, ret.result4 8923 } 8924 fakeReturns := fake.getRolesReturns 8925 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3, fakeReturns.result4 8926 } 8927 8928 func (fake *FakeCloudControllerClient) GetRolesCallCount() int { 8929 fake.getRolesMutex.RLock() 8930 defer fake.getRolesMutex.RUnlock() 8931 return len(fake.getRolesArgsForCall) 8932 } 8933 8934 func (fake *FakeCloudControllerClient) GetRolesCalls(stub func(...ccv3.Query) ([]resources.Role, ccv3.IncludedResources, ccv3.Warnings, error)) { 8935 fake.getRolesMutex.Lock() 8936 defer fake.getRolesMutex.Unlock() 8937 fake.GetRolesStub = stub 8938 } 8939 8940 func (fake *FakeCloudControllerClient) GetRolesArgsForCall(i int) []ccv3.Query { 8941 fake.getRolesMutex.RLock() 8942 defer fake.getRolesMutex.RUnlock() 8943 argsForCall := fake.getRolesArgsForCall[i] 8944 return argsForCall.arg1 8945 } 8946 8947 func (fake *FakeCloudControllerClient) GetRolesReturns(result1 []resources.Role, result2 ccv3.IncludedResources, result3 ccv3.Warnings, result4 error) { 8948 fake.getRolesMutex.Lock() 8949 defer fake.getRolesMutex.Unlock() 8950 fake.GetRolesStub = nil 8951 fake.getRolesReturns = struct { 8952 result1 []resources.Role 8953 result2 ccv3.IncludedResources 8954 result3 ccv3.Warnings 8955 result4 error 8956 }{result1, result2, result3, result4} 8957 } 8958 8959 func (fake *FakeCloudControllerClient) GetRolesReturnsOnCall(i int, result1 []resources.Role, result2 ccv3.IncludedResources, result3 ccv3.Warnings, result4 error) { 8960 fake.getRolesMutex.Lock() 8961 defer fake.getRolesMutex.Unlock() 8962 fake.GetRolesStub = nil 8963 if fake.getRolesReturnsOnCall == nil { 8964 fake.getRolesReturnsOnCall = make(map[int]struct { 8965 result1 []resources.Role 8966 result2 ccv3.IncludedResources 8967 result3 ccv3.Warnings 8968 result4 error 8969 }) 8970 } 8971 fake.getRolesReturnsOnCall[i] = struct { 8972 result1 []resources.Role 8973 result2 ccv3.IncludedResources 8974 result3 ccv3.Warnings 8975 result4 error 8976 }{result1, result2, result3, result4} 8977 } 8978 8979 func (fake *FakeCloudControllerClient) GetRouteBindings(arg1 ...ccv3.Query) ([]resources.RouteBinding, ccv3.IncludedResources, ccv3.Warnings, error) { 8980 fake.getRouteBindingsMutex.Lock() 8981 ret, specificReturn := fake.getRouteBindingsReturnsOnCall[len(fake.getRouteBindingsArgsForCall)] 8982 fake.getRouteBindingsArgsForCall = append(fake.getRouteBindingsArgsForCall, struct { 8983 arg1 []ccv3.Query 8984 }{arg1}) 8985 fake.recordInvocation("GetRouteBindings", []interface{}{arg1}) 8986 fake.getRouteBindingsMutex.Unlock() 8987 if fake.GetRouteBindingsStub != nil { 8988 return fake.GetRouteBindingsStub(arg1...) 8989 } 8990 if specificReturn { 8991 return ret.result1, ret.result2, ret.result3, ret.result4 8992 } 8993 fakeReturns := fake.getRouteBindingsReturns 8994 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3, fakeReturns.result4 8995 } 8996 8997 func (fake *FakeCloudControllerClient) GetRouteBindingsCallCount() int { 8998 fake.getRouteBindingsMutex.RLock() 8999 defer fake.getRouteBindingsMutex.RUnlock() 9000 return len(fake.getRouteBindingsArgsForCall) 9001 } 9002 9003 func (fake *FakeCloudControllerClient) GetRouteBindingsCalls(stub func(...ccv3.Query) ([]resources.RouteBinding, ccv3.IncludedResources, ccv3.Warnings, error)) { 9004 fake.getRouteBindingsMutex.Lock() 9005 defer fake.getRouteBindingsMutex.Unlock() 9006 fake.GetRouteBindingsStub = stub 9007 } 9008 9009 func (fake *FakeCloudControllerClient) GetRouteBindingsArgsForCall(i int) []ccv3.Query { 9010 fake.getRouteBindingsMutex.RLock() 9011 defer fake.getRouteBindingsMutex.RUnlock() 9012 argsForCall := fake.getRouteBindingsArgsForCall[i] 9013 return argsForCall.arg1 9014 } 9015 9016 func (fake *FakeCloudControllerClient) GetRouteBindingsReturns(result1 []resources.RouteBinding, result2 ccv3.IncludedResources, result3 ccv3.Warnings, result4 error) { 9017 fake.getRouteBindingsMutex.Lock() 9018 defer fake.getRouteBindingsMutex.Unlock() 9019 fake.GetRouteBindingsStub = nil 9020 fake.getRouteBindingsReturns = struct { 9021 result1 []resources.RouteBinding 9022 result2 ccv3.IncludedResources 9023 result3 ccv3.Warnings 9024 result4 error 9025 }{result1, result2, result3, result4} 9026 } 9027 9028 func (fake *FakeCloudControllerClient) GetRouteBindingsReturnsOnCall(i int, result1 []resources.RouteBinding, result2 ccv3.IncludedResources, result3 ccv3.Warnings, result4 error) { 9029 fake.getRouteBindingsMutex.Lock() 9030 defer fake.getRouteBindingsMutex.Unlock() 9031 fake.GetRouteBindingsStub = nil 9032 if fake.getRouteBindingsReturnsOnCall == nil { 9033 fake.getRouteBindingsReturnsOnCall = make(map[int]struct { 9034 result1 []resources.RouteBinding 9035 result2 ccv3.IncludedResources 9036 result3 ccv3.Warnings 9037 result4 error 9038 }) 9039 } 9040 fake.getRouteBindingsReturnsOnCall[i] = struct { 9041 result1 []resources.RouteBinding 9042 result2 ccv3.IncludedResources 9043 result3 ccv3.Warnings 9044 result4 error 9045 }{result1, result2, result3, result4} 9046 } 9047 9048 func (fake *FakeCloudControllerClient) GetRouteDestinations(arg1 string) ([]resources.RouteDestination, ccv3.Warnings, error) { 9049 fake.getRouteDestinationsMutex.Lock() 9050 ret, specificReturn := fake.getRouteDestinationsReturnsOnCall[len(fake.getRouteDestinationsArgsForCall)] 9051 fake.getRouteDestinationsArgsForCall = append(fake.getRouteDestinationsArgsForCall, struct { 9052 arg1 string 9053 }{arg1}) 9054 fake.recordInvocation("GetRouteDestinations", []interface{}{arg1}) 9055 fake.getRouteDestinationsMutex.Unlock() 9056 if fake.GetRouteDestinationsStub != nil { 9057 return fake.GetRouteDestinationsStub(arg1) 9058 } 9059 if specificReturn { 9060 return ret.result1, ret.result2, ret.result3 9061 } 9062 fakeReturns := fake.getRouteDestinationsReturns 9063 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9064 } 9065 9066 func (fake *FakeCloudControllerClient) GetRouteDestinationsCallCount() int { 9067 fake.getRouteDestinationsMutex.RLock() 9068 defer fake.getRouteDestinationsMutex.RUnlock() 9069 return len(fake.getRouteDestinationsArgsForCall) 9070 } 9071 9072 func (fake *FakeCloudControllerClient) GetRouteDestinationsCalls(stub func(string) ([]resources.RouteDestination, ccv3.Warnings, error)) { 9073 fake.getRouteDestinationsMutex.Lock() 9074 defer fake.getRouteDestinationsMutex.Unlock() 9075 fake.GetRouteDestinationsStub = stub 9076 } 9077 9078 func (fake *FakeCloudControllerClient) GetRouteDestinationsArgsForCall(i int) string { 9079 fake.getRouteDestinationsMutex.RLock() 9080 defer fake.getRouteDestinationsMutex.RUnlock() 9081 argsForCall := fake.getRouteDestinationsArgsForCall[i] 9082 return argsForCall.arg1 9083 } 9084 9085 func (fake *FakeCloudControllerClient) GetRouteDestinationsReturns(result1 []resources.RouteDestination, result2 ccv3.Warnings, result3 error) { 9086 fake.getRouteDestinationsMutex.Lock() 9087 defer fake.getRouteDestinationsMutex.Unlock() 9088 fake.GetRouteDestinationsStub = nil 9089 fake.getRouteDestinationsReturns = struct { 9090 result1 []resources.RouteDestination 9091 result2 ccv3.Warnings 9092 result3 error 9093 }{result1, result2, result3} 9094 } 9095 9096 func (fake *FakeCloudControllerClient) GetRouteDestinationsReturnsOnCall(i int, result1 []resources.RouteDestination, result2 ccv3.Warnings, result3 error) { 9097 fake.getRouteDestinationsMutex.Lock() 9098 defer fake.getRouteDestinationsMutex.Unlock() 9099 fake.GetRouteDestinationsStub = nil 9100 if fake.getRouteDestinationsReturnsOnCall == nil { 9101 fake.getRouteDestinationsReturnsOnCall = make(map[int]struct { 9102 result1 []resources.RouteDestination 9103 result2 ccv3.Warnings 9104 result3 error 9105 }) 9106 } 9107 fake.getRouteDestinationsReturnsOnCall[i] = struct { 9108 result1 []resources.RouteDestination 9109 result2 ccv3.Warnings 9110 result3 error 9111 }{result1, result2, result3} 9112 } 9113 9114 func (fake *FakeCloudControllerClient) GetRoutes(arg1 ...ccv3.Query) ([]resources.Route, ccv3.Warnings, error) { 9115 fake.getRoutesMutex.Lock() 9116 ret, specificReturn := fake.getRoutesReturnsOnCall[len(fake.getRoutesArgsForCall)] 9117 fake.getRoutesArgsForCall = append(fake.getRoutesArgsForCall, struct { 9118 arg1 []ccv3.Query 9119 }{arg1}) 9120 fake.recordInvocation("GetRoutes", []interface{}{arg1}) 9121 fake.getRoutesMutex.Unlock() 9122 if fake.GetRoutesStub != nil { 9123 return fake.GetRoutesStub(arg1...) 9124 } 9125 if specificReturn { 9126 return ret.result1, ret.result2, ret.result3 9127 } 9128 fakeReturns := fake.getRoutesReturns 9129 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9130 } 9131 9132 func (fake *FakeCloudControllerClient) GetRoutesCallCount() int { 9133 fake.getRoutesMutex.RLock() 9134 defer fake.getRoutesMutex.RUnlock() 9135 return len(fake.getRoutesArgsForCall) 9136 } 9137 9138 func (fake *FakeCloudControllerClient) GetRoutesCalls(stub func(...ccv3.Query) ([]resources.Route, ccv3.Warnings, error)) { 9139 fake.getRoutesMutex.Lock() 9140 defer fake.getRoutesMutex.Unlock() 9141 fake.GetRoutesStub = stub 9142 } 9143 9144 func (fake *FakeCloudControllerClient) GetRoutesArgsForCall(i int) []ccv3.Query { 9145 fake.getRoutesMutex.RLock() 9146 defer fake.getRoutesMutex.RUnlock() 9147 argsForCall := fake.getRoutesArgsForCall[i] 9148 return argsForCall.arg1 9149 } 9150 9151 func (fake *FakeCloudControllerClient) GetRoutesReturns(result1 []resources.Route, result2 ccv3.Warnings, result3 error) { 9152 fake.getRoutesMutex.Lock() 9153 defer fake.getRoutesMutex.Unlock() 9154 fake.GetRoutesStub = nil 9155 fake.getRoutesReturns = struct { 9156 result1 []resources.Route 9157 result2 ccv3.Warnings 9158 result3 error 9159 }{result1, result2, result3} 9160 } 9161 9162 func (fake *FakeCloudControllerClient) GetRoutesReturnsOnCall(i int, result1 []resources.Route, result2 ccv3.Warnings, result3 error) { 9163 fake.getRoutesMutex.Lock() 9164 defer fake.getRoutesMutex.Unlock() 9165 fake.GetRoutesStub = nil 9166 if fake.getRoutesReturnsOnCall == nil { 9167 fake.getRoutesReturnsOnCall = make(map[int]struct { 9168 result1 []resources.Route 9169 result2 ccv3.Warnings 9170 result3 error 9171 }) 9172 } 9173 fake.getRoutesReturnsOnCall[i] = struct { 9174 result1 []resources.Route 9175 result2 ccv3.Warnings 9176 result3 error 9177 }{result1, result2, result3} 9178 } 9179 9180 func (fake *FakeCloudControllerClient) GetRunningSecurityGroups(arg1 string, arg2 ...ccv3.Query) ([]resources.SecurityGroup, ccv3.Warnings, error) { 9181 fake.getRunningSecurityGroupsMutex.Lock() 9182 ret, specificReturn := fake.getRunningSecurityGroupsReturnsOnCall[len(fake.getRunningSecurityGroupsArgsForCall)] 9183 fake.getRunningSecurityGroupsArgsForCall = append(fake.getRunningSecurityGroupsArgsForCall, struct { 9184 arg1 string 9185 arg2 []ccv3.Query 9186 }{arg1, arg2}) 9187 fake.recordInvocation("GetRunningSecurityGroups", []interface{}{arg1, arg2}) 9188 fake.getRunningSecurityGroupsMutex.Unlock() 9189 if fake.GetRunningSecurityGroupsStub != nil { 9190 return fake.GetRunningSecurityGroupsStub(arg1, arg2...) 9191 } 9192 if specificReturn { 9193 return ret.result1, ret.result2, ret.result3 9194 } 9195 fakeReturns := fake.getRunningSecurityGroupsReturns 9196 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9197 } 9198 9199 func (fake *FakeCloudControllerClient) GetRunningSecurityGroupsCallCount() int { 9200 fake.getRunningSecurityGroupsMutex.RLock() 9201 defer fake.getRunningSecurityGroupsMutex.RUnlock() 9202 return len(fake.getRunningSecurityGroupsArgsForCall) 9203 } 9204 9205 func (fake *FakeCloudControllerClient) GetRunningSecurityGroupsCalls(stub func(string, ...ccv3.Query) ([]resources.SecurityGroup, ccv3.Warnings, error)) { 9206 fake.getRunningSecurityGroupsMutex.Lock() 9207 defer fake.getRunningSecurityGroupsMutex.Unlock() 9208 fake.GetRunningSecurityGroupsStub = stub 9209 } 9210 9211 func (fake *FakeCloudControllerClient) GetRunningSecurityGroupsArgsForCall(i int) (string, []ccv3.Query) { 9212 fake.getRunningSecurityGroupsMutex.RLock() 9213 defer fake.getRunningSecurityGroupsMutex.RUnlock() 9214 argsForCall := fake.getRunningSecurityGroupsArgsForCall[i] 9215 return argsForCall.arg1, argsForCall.arg2 9216 } 9217 9218 func (fake *FakeCloudControllerClient) GetRunningSecurityGroupsReturns(result1 []resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 9219 fake.getRunningSecurityGroupsMutex.Lock() 9220 defer fake.getRunningSecurityGroupsMutex.Unlock() 9221 fake.GetRunningSecurityGroupsStub = nil 9222 fake.getRunningSecurityGroupsReturns = struct { 9223 result1 []resources.SecurityGroup 9224 result2 ccv3.Warnings 9225 result3 error 9226 }{result1, result2, result3} 9227 } 9228 9229 func (fake *FakeCloudControllerClient) GetRunningSecurityGroupsReturnsOnCall(i int, result1 []resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 9230 fake.getRunningSecurityGroupsMutex.Lock() 9231 defer fake.getRunningSecurityGroupsMutex.Unlock() 9232 fake.GetRunningSecurityGroupsStub = nil 9233 if fake.getRunningSecurityGroupsReturnsOnCall == nil { 9234 fake.getRunningSecurityGroupsReturnsOnCall = make(map[int]struct { 9235 result1 []resources.SecurityGroup 9236 result2 ccv3.Warnings 9237 result3 error 9238 }) 9239 } 9240 fake.getRunningSecurityGroupsReturnsOnCall[i] = struct { 9241 result1 []resources.SecurityGroup 9242 result2 ccv3.Warnings 9243 result3 error 9244 }{result1, result2, result3} 9245 } 9246 9247 func (fake *FakeCloudControllerClient) GetSSHEnabled(arg1 string) (ccv3.SSHEnabled, ccv3.Warnings, error) { 9248 fake.getSSHEnabledMutex.Lock() 9249 ret, specificReturn := fake.getSSHEnabledReturnsOnCall[len(fake.getSSHEnabledArgsForCall)] 9250 fake.getSSHEnabledArgsForCall = append(fake.getSSHEnabledArgsForCall, struct { 9251 arg1 string 9252 }{arg1}) 9253 fake.recordInvocation("GetSSHEnabled", []interface{}{arg1}) 9254 fake.getSSHEnabledMutex.Unlock() 9255 if fake.GetSSHEnabledStub != nil { 9256 return fake.GetSSHEnabledStub(arg1) 9257 } 9258 if specificReturn { 9259 return ret.result1, ret.result2, ret.result3 9260 } 9261 fakeReturns := fake.getSSHEnabledReturns 9262 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9263 } 9264 9265 func (fake *FakeCloudControllerClient) GetSSHEnabledCallCount() int { 9266 fake.getSSHEnabledMutex.RLock() 9267 defer fake.getSSHEnabledMutex.RUnlock() 9268 return len(fake.getSSHEnabledArgsForCall) 9269 } 9270 9271 func (fake *FakeCloudControllerClient) GetSSHEnabledCalls(stub func(string) (ccv3.SSHEnabled, ccv3.Warnings, error)) { 9272 fake.getSSHEnabledMutex.Lock() 9273 defer fake.getSSHEnabledMutex.Unlock() 9274 fake.GetSSHEnabledStub = stub 9275 } 9276 9277 func (fake *FakeCloudControllerClient) GetSSHEnabledArgsForCall(i int) string { 9278 fake.getSSHEnabledMutex.RLock() 9279 defer fake.getSSHEnabledMutex.RUnlock() 9280 argsForCall := fake.getSSHEnabledArgsForCall[i] 9281 return argsForCall.arg1 9282 } 9283 9284 func (fake *FakeCloudControllerClient) GetSSHEnabledReturns(result1 ccv3.SSHEnabled, result2 ccv3.Warnings, result3 error) { 9285 fake.getSSHEnabledMutex.Lock() 9286 defer fake.getSSHEnabledMutex.Unlock() 9287 fake.GetSSHEnabledStub = nil 9288 fake.getSSHEnabledReturns = struct { 9289 result1 ccv3.SSHEnabled 9290 result2 ccv3.Warnings 9291 result3 error 9292 }{result1, result2, result3} 9293 } 9294 9295 func (fake *FakeCloudControllerClient) GetSSHEnabledReturnsOnCall(i int, result1 ccv3.SSHEnabled, result2 ccv3.Warnings, result3 error) { 9296 fake.getSSHEnabledMutex.Lock() 9297 defer fake.getSSHEnabledMutex.Unlock() 9298 fake.GetSSHEnabledStub = nil 9299 if fake.getSSHEnabledReturnsOnCall == nil { 9300 fake.getSSHEnabledReturnsOnCall = make(map[int]struct { 9301 result1 ccv3.SSHEnabled 9302 result2 ccv3.Warnings 9303 result3 error 9304 }) 9305 } 9306 fake.getSSHEnabledReturnsOnCall[i] = struct { 9307 result1 ccv3.SSHEnabled 9308 result2 ccv3.Warnings 9309 result3 error 9310 }{result1, result2, result3} 9311 } 9312 9313 func (fake *FakeCloudControllerClient) GetSecurityGroups(arg1 ...ccv3.Query) ([]resources.SecurityGroup, ccv3.Warnings, error) { 9314 fake.getSecurityGroupsMutex.Lock() 9315 ret, specificReturn := fake.getSecurityGroupsReturnsOnCall[len(fake.getSecurityGroupsArgsForCall)] 9316 fake.getSecurityGroupsArgsForCall = append(fake.getSecurityGroupsArgsForCall, struct { 9317 arg1 []ccv3.Query 9318 }{arg1}) 9319 fake.recordInvocation("GetSecurityGroups", []interface{}{arg1}) 9320 fake.getSecurityGroupsMutex.Unlock() 9321 if fake.GetSecurityGroupsStub != nil { 9322 return fake.GetSecurityGroupsStub(arg1...) 9323 } 9324 if specificReturn { 9325 return ret.result1, ret.result2, ret.result3 9326 } 9327 fakeReturns := fake.getSecurityGroupsReturns 9328 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9329 } 9330 9331 func (fake *FakeCloudControllerClient) GetSecurityGroupsCallCount() int { 9332 fake.getSecurityGroupsMutex.RLock() 9333 defer fake.getSecurityGroupsMutex.RUnlock() 9334 return len(fake.getSecurityGroupsArgsForCall) 9335 } 9336 9337 func (fake *FakeCloudControllerClient) GetSecurityGroupsCalls(stub func(...ccv3.Query) ([]resources.SecurityGroup, ccv3.Warnings, error)) { 9338 fake.getSecurityGroupsMutex.Lock() 9339 defer fake.getSecurityGroupsMutex.Unlock() 9340 fake.GetSecurityGroupsStub = stub 9341 } 9342 9343 func (fake *FakeCloudControllerClient) GetSecurityGroupsArgsForCall(i int) []ccv3.Query { 9344 fake.getSecurityGroupsMutex.RLock() 9345 defer fake.getSecurityGroupsMutex.RUnlock() 9346 argsForCall := fake.getSecurityGroupsArgsForCall[i] 9347 return argsForCall.arg1 9348 } 9349 9350 func (fake *FakeCloudControllerClient) GetSecurityGroupsReturns(result1 []resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 9351 fake.getSecurityGroupsMutex.Lock() 9352 defer fake.getSecurityGroupsMutex.Unlock() 9353 fake.GetSecurityGroupsStub = nil 9354 fake.getSecurityGroupsReturns = struct { 9355 result1 []resources.SecurityGroup 9356 result2 ccv3.Warnings 9357 result3 error 9358 }{result1, result2, result3} 9359 } 9360 9361 func (fake *FakeCloudControllerClient) GetSecurityGroupsReturnsOnCall(i int, result1 []resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 9362 fake.getSecurityGroupsMutex.Lock() 9363 defer fake.getSecurityGroupsMutex.Unlock() 9364 fake.GetSecurityGroupsStub = nil 9365 if fake.getSecurityGroupsReturnsOnCall == nil { 9366 fake.getSecurityGroupsReturnsOnCall = make(map[int]struct { 9367 result1 []resources.SecurityGroup 9368 result2 ccv3.Warnings 9369 result3 error 9370 }) 9371 } 9372 fake.getSecurityGroupsReturnsOnCall[i] = struct { 9373 result1 []resources.SecurityGroup 9374 result2 ccv3.Warnings 9375 result3 error 9376 }{result1, result2, result3} 9377 } 9378 9379 func (fake *FakeCloudControllerClient) GetServiceBrokers(arg1 ...ccv3.Query) ([]resources.ServiceBroker, ccv3.Warnings, error) { 9380 fake.getServiceBrokersMutex.Lock() 9381 ret, specificReturn := fake.getServiceBrokersReturnsOnCall[len(fake.getServiceBrokersArgsForCall)] 9382 fake.getServiceBrokersArgsForCall = append(fake.getServiceBrokersArgsForCall, struct { 9383 arg1 []ccv3.Query 9384 }{arg1}) 9385 fake.recordInvocation("GetServiceBrokers", []interface{}{arg1}) 9386 fake.getServiceBrokersMutex.Unlock() 9387 if fake.GetServiceBrokersStub != nil { 9388 return fake.GetServiceBrokersStub(arg1...) 9389 } 9390 if specificReturn { 9391 return ret.result1, ret.result2, ret.result3 9392 } 9393 fakeReturns := fake.getServiceBrokersReturns 9394 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9395 } 9396 9397 func (fake *FakeCloudControllerClient) GetServiceBrokersCallCount() int { 9398 fake.getServiceBrokersMutex.RLock() 9399 defer fake.getServiceBrokersMutex.RUnlock() 9400 return len(fake.getServiceBrokersArgsForCall) 9401 } 9402 9403 func (fake *FakeCloudControllerClient) GetServiceBrokersCalls(stub func(...ccv3.Query) ([]resources.ServiceBroker, ccv3.Warnings, error)) { 9404 fake.getServiceBrokersMutex.Lock() 9405 defer fake.getServiceBrokersMutex.Unlock() 9406 fake.GetServiceBrokersStub = stub 9407 } 9408 9409 func (fake *FakeCloudControllerClient) GetServiceBrokersArgsForCall(i int) []ccv3.Query { 9410 fake.getServiceBrokersMutex.RLock() 9411 defer fake.getServiceBrokersMutex.RUnlock() 9412 argsForCall := fake.getServiceBrokersArgsForCall[i] 9413 return argsForCall.arg1 9414 } 9415 9416 func (fake *FakeCloudControllerClient) GetServiceBrokersReturns(result1 []resources.ServiceBroker, result2 ccv3.Warnings, result3 error) { 9417 fake.getServiceBrokersMutex.Lock() 9418 defer fake.getServiceBrokersMutex.Unlock() 9419 fake.GetServiceBrokersStub = nil 9420 fake.getServiceBrokersReturns = struct { 9421 result1 []resources.ServiceBroker 9422 result2 ccv3.Warnings 9423 result3 error 9424 }{result1, result2, result3} 9425 } 9426 9427 func (fake *FakeCloudControllerClient) GetServiceBrokersReturnsOnCall(i int, result1 []resources.ServiceBroker, result2 ccv3.Warnings, result3 error) { 9428 fake.getServiceBrokersMutex.Lock() 9429 defer fake.getServiceBrokersMutex.Unlock() 9430 fake.GetServiceBrokersStub = nil 9431 if fake.getServiceBrokersReturnsOnCall == nil { 9432 fake.getServiceBrokersReturnsOnCall = make(map[int]struct { 9433 result1 []resources.ServiceBroker 9434 result2 ccv3.Warnings 9435 result3 error 9436 }) 9437 } 9438 fake.getServiceBrokersReturnsOnCall[i] = struct { 9439 result1 []resources.ServiceBroker 9440 result2 ccv3.Warnings 9441 result3 error 9442 }{result1, result2, result3} 9443 } 9444 9445 func (fake *FakeCloudControllerClient) GetServiceCredentialBindingDetails(arg1 string) (resources.ServiceCredentialBindingDetails, ccv3.Warnings, error) { 9446 fake.getServiceCredentialBindingDetailsMutex.Lock() 9447 ret, specificReturn := fake.getServiceCredentialBindingDetailsReturnsOnCall[len(fake.getServiceCredentialBindingDetailsArgsForCall)] 9448 fake.getServiceCredentialBindingDetailsArgsForCall = append(fake.getServiceCredentialBindingDetailsArgsForCall, struct { 9449 arg1 string 9450 }{arg1}) 9451 fake.recordInvocation("GetServiceCredentialBindingDetails", []interface{}{arg1}) 9452 fake.getServiceCredentialBindingDetailsMutex.Unlock() 9453 if fake.GetServiceCredentialBindingDetailsStub != nil { 9454 return fake.GetServiceCredentialBindingDetailsStub(arg1) 9455 } 9456 if specificReturn { 9457 return ret.result1, ret.result2, ret.result3 9458 } 9459 fakeReturns := fake.getServiceCredentialBindingDetailsReturns 9460 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9461 } 9462 9463 func (fake *FakeCloudControllerClient) GetServiceCredentialBindingDetailsCallCount() int { 9464 fake.getServiceCredentialBindingDetailsMutex.RLock() 9465 defer fake.getServiceCredentialBindingDetailsMutex.RUnlock() 9466 return len(fake.getServiceCredentialBindingDetailsArgsForCall) 9467 } 9468 9469 func (fake *FakeCloudControllerClient) GetServiceCredentialBindingDetailsCalls(stub func(string) (resources.ServiceCredentialBindingDetails, ccv3.Warnings, error)) { 9470 fake.getServiceCredentialBindingDetailsMutex.Lock() 9471 defer fake.getServiceCredentialBindingDetailsMutex.Unlock() 9472 fake.GetServiceCredentialBindingDetailsStub = stub 9473 } 9474 9475 func (fake *FakeCloudControllerClient) GetServiceCredentialBindingDetailsArgsForCall(i int) string { 9476 fake.getServiceCredentialBindingDetailsMutex.RLock() 9477 defer fake.getServiceCredentialBindingDetailsMutex.RUnlock() 9478 argsForCall := fake.getServiceCredentialBindingDetailsArgsForCall[i] 9479 return argsForCall.arg1 9480 } 9481 9482 func (fake *FakeCloudControllerClient) GetServiceCredentialBindingDetailsReturns(result1 resources.ServiceCredentialBindingDetails, result2 ccv3.Warnings, result3 error) { 9483 fake.getServiceCredentialBindingDetailsMutex.Lock() 9484 defer fake.getServiceCredentialBindingDetailsMutex.Unlock() 9485 fake.GetServiceCredentialBindingDetailsStub = nil 9486 fake.getServiceCredentialBindingDetailsReturns = struct { 9487 result1 resources.ServiceCredentialBindingDetails 9488 result2 ccv3.Warnings 9489 result3 error 9490 }{result1, result2, result3} 9491 } 9492 9493 func (fake *FakeCloudControllerClient) GetServiceCredentialBindingDetailsReturnsOnCall(i int, result1 resources.ServiceCredentialBindingDetails, result2 ccv3.Warnings, result3 error) { 9494 fake.getServiceCredentialBindingDetailsMutex.Lock() 9495 defer fake.getServiceCredentialBindingDetailsMutex.Unlock() 9496 fake.GetServiceCredentialBindingDetailsStub = nil 9497 if fake.getServiceCredentialBindingDetailsReturnsOnCall == nil { 9498 fake.getServiceCredentialBindingDetailsReturnsOnCall = make(map[int]struct { 9499 result1 resources.ServiceCredentialBindingDetails 9500 result2 ccv3.Warnings 9501 result3 error 9502 }) 9503 } 9504 fake.getServiceCredentialBindingDetailsReturnsOnCall[i] = struct { 9505 result1 resources.ServiceCredentialBindingDetails 9506 result2 ccv3.Warnings 9507 result3 error 9508 }{result1, result2, result3} 9509 } 9510 9511 func (fake *FakeCloudControllerClient) GetServiceCredentialBindings(arg1 ...ccv3.Query) ([]resources.ServiceCredentialBinding, ccv3.Warnings, error) { 9512 fake.getServiceCredentialBindingsMutex.Lock() 9513 ret, specificReturn := fake.getServiceCredentialBindingsReturnsOnCall[len(fake.getServiceCredentialBindingsArgsForCall)] 9514 fake.getServiceCredentialBindingsArgsForCall = append(fake.getServiceCredentialBindingsArgsForCall, struct { 9515 arg1 []ccv3.Query 9516 }{arg1}) 9517 fake.recordInvocation("GetServiceCredentialBindings", []interface{}{arg1}) 9518 fake.getServiceCredentialBindingsMutex.Unlock() 9519 if fake.GetServiceCredentialBindingsStub != nil { 9520 return fake.GetServiceCredentialBindingsStub(arg1...) 9521 } 9522 if specificReturn { 9523 return ret.result1, ret.result2, ret.result3 9524 } 9525 fakeReturns := fake.getServiceCredentialBindingsReturns 9526 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9527 } 9528 9529 func (fake *FakeCloudControllerClient) GetServiceCredentialBindingsCallCount() int { 9530 fake.getServiceCredentialBindingsMutex.RLock() 9531 defer fake.getServiceCredentialBindingsMutex.RUnlock() 9532 return len(fake.getServiceCredentialBindingsArgsForCall) 9533 } 9534 9535 func (fake *FakeCloudControllerClient) GetServiceCredentialBindingsCalls(stub func(...ccv3.Query) ([]resources.ServiceCredentialBinding, ccv3.Warnings, error)) { 9536 fake.getServiceCredentialBindingsMutex.Lock() 9537 defer fake.getServiceCredentialBindingsMutex.Unlock() 9538 fake.GetServiceCredentialBindingsStub = stub 9539 } 9540 9541 func (fake *FakeCloudControllerClient) GetServiceCredentialBindingsArgsForCall(i int) []ccv3.Query { 9542 fake.getServiceCredentialBindingsMutex.RLock() 9543 defer fake.getServiceCredentialBindingsMutex.RUnlock() 9544 argsForCall := fake.getServiceCredentialBindingsArgsForCall[i] 9545 return argsForCall.arg1 9546 } 9547 9548 func (fake *FakeCloudControllerClient) GetServiceCredentialBindingsReturns(result1 []resources.ServiceCredentialBinding, result2 ccv3.Warnings, result3 error) { 9549 fake.getServiceCredentialBindingsMutex.Lock() 9550 defer fake.getServiceCredentialBindingsMutex.Unlock() 9551 fake.GetServiceCredentialBindingsStub = nil 9552 fake.getServiceCredentialBindingsReturns = struct { 9553 result1 []resources.ServiceCredentialBinding 9554 result2 ccv3.Warnings 9555 result3 error 9556 }{result1, result2, result3} 9557 } 9558 9559 func (fake *FakeCloudControllerClient) GetServiceCredentialBindingsReturnsOnCall(i int, result1 []resources.ServiceCredentialBinding, result2 ccv3.Warnings, result3 error) { 9560 fake.getServiceCredentialBindingsMutex.Lock() 9561 defer fake.getServiceCredentialBindingsMutex.Unlock() 9562 fake.GetServiceCredentialBindingsStub = nil 9563 if fake.getServiceCredentialBindingsReturnsOnCall == nil { 9564 fake.getServiceCredentialBindingsReturnsOnCall = make(map[int]struct { 9565 result1 []resources.ServiceCredentialBinding 9566 result2 ccv3.Warnings 9567 result3 error 9568 }) 9569 } 9570 fake.getServiceCredentialBindingsReturnsOnCall[i] = struct { 9571 result1 []resources.ServiceCredentialBinding 9572 result2 ccv3.Warnings 9573 result3 error 9574 }{result1, result2, result3} 9575 } 9576 9577 func (fake *FakeCloudControllerClient) GetServiceInstanceByNameAndSpace(arg1 string, arg2 string, arg3 ...ccv3.Query) (resources.ServiceInstance, ccv3.IncludedResources, ccv3.Warnings, error) { 9578 fake.getServiceInstanceByNameAndSpaceMutex.Lock() 9579 ret, specificReturn := fake.getServiceInstanceByNameAndSpaceReturnsOnCall[len(fake.getServiceInstanceByNameAndSpaceArgsForCall)] 9580 fake.getServiceInstanceByNameAndSpaceArgsForCall = append(fake.getServiceInstanceByNameAndSpaceArgsForCall, struct { 9581 arg1 string 9582 arg2 string 9583 arg3 []ccv3.Query 9584 }{arg1, arg2, arg3}) 9585 fake.recordInvocation("GetServiceInstanceByNameAndSpace", []interface{}{arg1, arg2, arg3}) 9586 fake.getServiceInstanceByNameAndSpaceMutex.Unlock() 9587 if fake.GetServiceInstanceByNameAndSpaceStub != nil { 9588 return fake.GetServiceInstanceByNameAndSpaceStub(arg1, arg2, arg3...) 9589 } 9590 if specificReturn { 9591 return ret.result1, ret.result2, ret.result3, ret.result4 9592 } 9593 fakeReturns := fake.getServiceInstanceByNameAndSpaceReturns 9594 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3, fakeReturns.result4 9595 } 9596 9597 func (fake *FakeCloudControllerClient) GetServiceInstanceByNameAndSpaceCallCount() int { 9598 fake.getServiceInstanceByNameAndSpaceMutex.RLock() 9599 defer fake.getServiceInstanceByNameAndSpaceMutex.RUnlock() 9600 return len(fake.getServiceInstanceByNameAndSpaceArgsForCall) 9601 } 9602 9603 func (fake *FakeCloudControllerClient) GetServiceInstanceByNameAndSpaceCalls(stub func(string, string, ...ccv3.Query) (resources.ServiceInstance, ccv3.IncludedResources, ccv3.Warnings, error)) { 9604 fake.getServiceInstanceByNameAndSpaceMutex.Lock() 9605 defer fake.getServiceInstanceByNameAndSpaceMutex.Unlock() 9606 fake.GetServiceInstanceByNameAndSpaceStub = stub 9607 } 9608 9609 func (fake *FakeCloudControllerClient) GetServiceInstanceByNameAndSpaceArgsForCall(i int) (string, string, []ccv3.Query) { 9610 fake.getServiceInstanceByNameAndSpaceMutex.RLock() 9611 defer fake.getServiceInstanceByNameAndSpaceMutex.RUnlock() 9612 argsForCall := fake.getServiceInstanceByNameAndSpaceArgsForCall[i] 9613 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3 9614 } 9615 9616 func (fake *FakeCloudControllerClient) GetServiceInstanceByNameAndSpaceReturns(result1 resources.ServiceInstance, result2 ccv3.IncludedResources, result3 ccv3.Warnings, result4 error) { 9617 fake.getServiceInstanceByNameAndSpaceMutex.Lock() 9618 defer fake.getServiceInstanceByNameAndSpaceMutex.Unlock() 9619 fake.GetServiceInstanceByNameAndSpaceStub = nil 9620 fake.getServiceInstanceByNameAndSpaceReturns = struct { 9621 result1 resources.ServiceInstance 9622 result2 ccv3.IncludedResources 9623 result3 ccv3.Warnings 9624 result4 error 9625 }{result1, result2, result3, result4} 9626 } 9627 9628 func (fake *FakeCloudControllerClient) GetServiceInstanceByNameAndSpaceReturnsOnCall(i int, result1 resources.ServiceInstance, result2 ccv3.IncludedResources, result3 ccv3.Warnings, result4 error) { 9629 fake.getServiceInstanceByNameAndSpaceMutex.Lock() 9630 defer fake.getServiceInstanceByNameAndSpaceMutex.Unlock() 9631 fake.GetServiceInstanceByNameAndSpaceStub = nil 9632 if fake.getServiceInstanceByNameAndSpaceReturnsOnCall == nil { 9633 fake.getServiceInstanceByNameAndSpaceReturnsOnCall = make(map[int]struct { 9634 result1 resources.ServiceInstance 9635 result2 ccv3.IncludedResources 9636 result3 ccv3.Warnings 9637 result4 error 9638 }) 9639 } 9640 fake.getServiceInstanceByNameAndSpaceReturnsOnCall[i] = struct { 9641 result1 resources.ServiceInstance 9642 result2 ccv3.IncludedResources 9643 result3 ccv3.Warnings 9644 result4 error 9645 }{result1, result2, result3, result4} 9646 } 9647 9648 func (fake *FakeCloudControllerClient) GetServiceInstanceParameters(arg1 string) (types.JSONObject, ccv3.Warnings, error) { 9649 fake.getServiceInstanceParametersMutex.Lock() 9650 ret, specificReturn := fake.getServiceInstanceParametersReturnsOnCall[len(fake.getServiceInstanceParametersArgsForCall)] 9651 fake.getServiceInstanceParametersArgsForCall = append(fake.getServiceInstanceParametersArgsForCall, struct { 9652 arg1 string 9653 }{arg1}) 9654 fake.recordInvocation("GetServiceInstanceParameters", []interface{}{arg1}) 9655 fake.getServiceInstanceParametersMutex.Unlock() 9656 if fake.GetServiceInstanceParametersStub != nil { 9657 return fake.GetServiceInstanceParametersStub(arg1) 9658 } 9659 if specificReturn { 9660 return ret.result1, ret.result2, ret.result3 9661 } 9662 fakeReturns := fake.getServiceInstanceParametersReturns 9663 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9664 } 9665 9666 func (fake *FakeCloudControllerClient) GetServiceInstanceParametersCallCount() int { 9667 fake.getServiceInstanceParametersMutex.RLock() 9668 defer fake.getServiceInstanceParametersMutex.RUnlock() 9669 return len(fake.getServiceInstanceParametersArgsForCall) 9670 } 9671 9672 func (fake *FakeCloudControllerClient) GetServiceInstanceParametersCalls(stub func(string) (types.JSONObject, ccv3.Warnings, error)) { 9673 fake.getServiceInstanceParametersMutex.Lock() 9674 defer fake.getServiceInstanceParametersMutex.Unlock() 9675 fake.GetServiceInstanceParametersStub = stub 9676 } 9677 9678 func (fake *FakeCloudControllerClient) GetServiceInstanceParametersArgsForCall(i int) string { 9679 fake.getServiceInstanceParametersMutex.RLock() 9680 defer fake.getServiceInstanceParametersMutex.RUnlock() 9681 argsForCall := fake.getServiceInstanceParametersArgsForCall[i] 9682 return argsForCall.arg1 9683 } 9684 9685 func (fake *FakeCloudControllerClient) GetServiceInstanceParametersReturns(result1 types.JSONObject, result2 ccv3.Warnings, result3 error) { 9686 fake.getServiceInstanceParametersMutex.Lock() 9687 defer fake.getServiceInstanceParametersMutex.Unlock() 9688 fake.GetServiceInstanceParametersStub = nil 9689 fake.getServiceInstanceParametersReturns = struct { 9690 result1 types.JSONObject 9691 result2 ccv3.Warnings 9692 result3 error 9693 }{result1, result2, result3} 9694 } 9695 9696 func (fake *FakeCloudControllerClient) GetServiceInstanceParametersReturnsOnCall(i int, result1 types.JSONObject, result2 ccv3.Warnings, result3 error) { 9697 fake.getServiceInstanceParametersMutex.Lock() 9698 defer fake.getServiceInstanceParametersMutex.Unlock() 9699 fake.GetServiceInstanceParametersStub = nil 9700 if fake.getServiceInstanceParametersReturnsOnCall == nil { 9701 fake.getServiceInstanceParametersReturnsOnCall = make(map[int]struct { 9702 result1 types.JSONObject 9703 result2 ccv3.Warnings 9704 result3 error 9705 }) 9706 } 9707 fake.getServiceInstanceParametersReturnsOnCall[i] = struct { 9708 result1 types.JSONObject 9709 result2 ccv3.Warnings 9710 result3 error 9711 }{result1, result2, result3} 9712 } 9713 9714 func (fake *FakeCloudControllerClient) GetServiceInstanceSharedSpaces(arg1 string) ([]ccv3.SpaceWithOrganization, ccv3.Warnings, error) { 9715 fake.getServiceInstanceSharedSpacesMutex.Lock() 9716 ret, specificReturn := fake.getServiceInstanceSharedSpacesReturnsOnCall[len(fake.getServiceInstanceSharedSpacesArgsForCall)] 9717 fake.getServiceInstanceSharedSpacesArgsForCall = append(fake.getServiceInstanceSharedSpacesArgsForCall, struct { 9718 arg1 string 9719 }{arg1}) 9720 fake.recordInvocation("GetServiceInstanceSharedSpaces", []interface{}{arg1}) 9721 fake.getServiceInstanceSharedSpacesMutex.Unlock() 9722 if fake.GetServiceInstanceSharedSpacesStub != nil { 9723 return fake.GetServiceInstanceSharedSpacesStub(arg1) 9724 } 9725 if specificReturn { 9726 return ret.result1, ret.result2, ret.result3 9727 } 9728 fakeReturns := fake.getServiceInstanceSharedSpacesReturns 9729 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9730 } 9731 9732 func (fake *FakeCloudControllerClient) GetServiceInstanceSharedSpacesCallCount() int { 9733 fake.getServiceInstanceSharedSpacesMutex.RLock() 9734 defer fake.getServiceInstanceSharedSpacesMutex.RUnlock() 9735 return len(fake.getServiceInstanceSharedSpacesArgsForCall) 9736 } 9737 9738 func (fake *FakeCloudControllerClient) GetServiceInstanceSharedSpacesCalls(stub func(string) ([]ccv3.SpaceWithOrganization, ccv3.Warnings, error)) { 9739 fake.getServiceInstanceSharedSpacesMutex.Lock() 9740 defer fake.getServiceInstanceSharedSpacesMutex.Unlock() 9741 fake.GetServiceInstanceSharedSpacesStub = stub 9742 } 9743 9744 func (fake *FakeCloudControllerClient) GetServiceInstanceSharedSpacesArgsForCall(i int) string { 9745 fake.getServiceInstanceSharedSpacesMutex.RLock() 9746 defer fake.getServiceInstanceSharedSpacesMutex.RUnlock() 9747 argsForCall := fake.getServiceInstanceSharedSpacesArgsForCall[i] 9748 return argsForCall.arg1 9749 } 9750 9751 func (fake *FakeCloudControllerClient) GetServiceInstanceSharedSpacesReturns(result1 []ccv3.SpaceWithOrganization, result2 ccv3.Warnings, result3 error) { 9752 fake.getServiceInstanceSharedSpacesMutex.Lock() 9753 defer fake.getServiceInstanceSharedSpacesMutex.Unlock() 9754 fake.GetServiceInstanceSharedSpacesStub = nil 9755 fake.getServiceInstanceSharedSpacesReturns = struct { 9756 result1 []ccv3.SpaceWithOrganization 9757 result2 ccv3.Warnings 9758 result3 error 9759 }{result1, result2, result3} 9760 } 9761 9762 func (fake *FakeCloudControllerClient) GetServiceInstanceSharedSpacesReturnsOnCall(i int, result1 []ccv3.SpaceWithOrganization, result2 ccv3.Warnings, result3 error) { 9763 fake.getServiceInstanceSharedSpacesMutex.Lock() 9764 defer fake.getServiceInstanceSharedSpacesMutex.Unlock() 9765 fake.GetServiceInstanceSharedSpacesStub = nil 9766 if fake.getServiceInstanceSharedSpacesReturnsOnCall == nil { 9767 fake.getServiceInstanceSharedSpacesReturnsOnCall = make(map[int]struct { 9768 result1 []ccv3.SpaceWithOrganization 9769 result2 ccv3.Warnings 9770 result3 error 9771 }) 9772 } 9773 fake.getServiceInstanceSharedSpacesReturnsOnCall[i] = struct { 9774 result1 []ccv3.SpaceWithOrganization 9775 result2 ccv3.Warnings 9776 result3 error 9777 }{result1, result2, result3} 9778 } 9779 9780 func (fake *FakeCloudControllerClient) GetServiceInstanceUsageSummary(arg1 string) ([]resources.ServiceInstanceUsageSummary, ccv3.Warnings, error) { 9781 fake.getServiceInstanceUsageSummaryMutex.Lock() 9782 ret, specificReturn := fake.getServiceInstanceUsageSummaryReturnsOnCall[len(fake.getServiceInstanceUsageSummaryArgsForCall)] 9783 fake.getServiceInstanceUsageSummaryArgsForCall = append(fake.getServiceInstanceUsageSummaryArgsForCall, struct { 9784 arg1 string 9785 }{arg1}) 9786 fake.recordInvocation("GetServiceInstanceUsageSummary", []interface{}{arg1}) 9787 fake.getServiceInstanceUsageSummaryMutex.Unlock() 9788 if fake.GetServiceInstanceUsageSummaryStub != nil { 9789 return fake.GetServiceInstanceUsageSummaryStub(arg1) 9790 } 9791 if specificReturn { 9792 return ret.result1, ret.result2, ret.result3 9793 } 9794 fakeReturns := fake.getServiceInstanceUsageSummaryReturns 9795 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9796 } 9797 9798 func (fake *FakeCloudControllerClient) GetServiceInstanceUsageSummaryCallCount() int { 9799 fake.getServiceInstanceUsageSummaryMutex.RLock() 9800 defer fake.getServiceInstanceUsageSummaryMutex.RUnlock() 9801 return len(fake.getServiceInstanceUsageSummaryArgsForCall) 9802 } 9803 9804 func (fake *FakeCloudControllerClient) GetServiceInstanceUsageSummaryCalls(stub func(string) ([]resources.ServiceInstanceUsageSummary, ccv3.Warnings, error)) { 9805 fake.getServiceInstanceUsageSummaryMutex.Lock() 9806 defer fake.getServiceInstanceUsageSummaryMutex.Unlock() 9807 fake.GetServiceInstanceUsageSummaryStub = stub 9808 } 9809 9810 func (fake *FakeCloudControllerClient) GetServiceInstanceUsageSummaryArgsForCall(i int) string { 9811 fake.getServiceInstanceUsageSummaryMutex.RLock() 9812 defer fake.getServiceInstanceUsageSummaryMutex.RUnlock() 9813 argsForCall := fake.getServiceInstanceUsageSummaryArgsForCall[i] 9814 return argsForCall.arg1 9815 } 9816 9817 func (fake *FakeCloudControllerClient) GetServiceInstanceUsageSummaryReturns(result1 []resources.ServiceInstanceUsageSummary, result2 ccv3.Warnings, result3 error) { 9818 fake.getServiceInstanceUsageSummaryMutex.Lock() 9819 defer fake.getServiceInstanceUsageSummaryMutex.Unlock() 9820 fake.GetServiceInstanceUsageSummaryStub = nil 9821 fake.getServiceInstanceUsageSummaryReturns = struct { 9822 result1 []resources.ServiceInstanceUsageSummary 9823 result2 ccv3.Warnings 9824 result3 error 9825 }{result1, result2, result3} 9826 } 9827 9828 func (fake *FakeCloudControllerClient) GetServiceInstanceUsageSummaryReturnsOnCall(i int, result1 []resources.ServiceInstanceUsageSummary, result2 ccv3.Warnings, result3 error) { 9829 fake.getServiceInstanceUsageSummaryMutex.Lock() 9830 defer fake.getServiceInstanceUsageSummaryMutex.Unlock() 9831 fake.GetServiceInstanceUsageSummaryStub = nil 9832 if fake.getServiceInstanceUsageSummaryReturnsOnCall == nil { 9833 fake.getServiceInstanceUsageSummaryReturnsOnCall = make(map[int]struct { 9834 result1 []resources.ServiceInstanceUsageSummary 9835 result2 ccv3.Warnings 9836 result3 error 9837 }) 9838 } 9839 fake.getServiceInstanceUsageSummaryReturnsOnCall[i] = struct { 9840 result1 []resources.ServiceInstanceUsageSummary 9841 result2 ccv3.Warnings 9842 result3 error 9843 }{result1, result2, result3} 9844 } 9845 9846 func (fake *FakeCloudControllerClient) GetServiceInstances(arg1 ...ccv3.Query) ([]resources.ServiceInstance, ccv3.IncludedResources, ccv3.Warnings, error) { 9847 fake.getServiceInstancesMutex.Lock() 9848 ret, specificReturn := fake.getServiceInstancesReturnsOnCall[len(fake.getServiceInstancesArgsForCall)] 9849 fake.getServiceInstancesArgsForCall = append(fake.getServiceInstancesArgsForCall, struct { 9850 arg1 []ccv3.Query 9851 }{arg1}) 9852 fake.recordInvocation("GetServiceInstances", []interface{}{arg1}) 9853 fake.getServiceInstancesMutex.Unlock() 9854 if fake.GetServiceInstancesStub != nil { 9855 return fake.GetServiceInstancesStub(arg1...) 9856 } 9857 if specificReturn { 9858 return ret.result1, ret.result2, ret.result3, ret.result4 9859 } 9860 fakeReturns := fake.getServiceInstancesReturns 9861 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3, fakeReturns.result4 9862 } 9863 9864 func (fake *FakeCloudControllerClient) GetServiceInstancesCallCount() int { 9865 fake.getServiceInstancesMutex.RLock() 9866 defer fake.getServiceInstancesMutex.RUnlock() 9867 return len(fake.getServiceInstancesArgsForCall) 9868 } 9869 9870 func (fake *FakeCloudControllerClient) GetServiceInstancesCalls(stub func(...ccv3.Query) ([]resources.ServiceInstance, ccv3.IncludedResources, ccv3.Warnings, error)) { 9871 fake.getServiceInstancesMutex.Lock() 9872 defer fake.getServiceInstancesMutex.Unlock() 9873 fake.GetServiceInstancesStub = stub 9874 } 9875 9876 func (fake *FakeCloudControllerClient) GetServiceInstancesArgsForCall(i int) []ccv3.Query { 9877 fake.getServiceInstancesMutex.RLock() 9878 defer fake.getServiceInstancesMutex.RUnlock() 9879 argsForCall := fake.getServiceInstancesArgsForCall[i] 9880 return argsForCall.arg1 9881 } 9882 9883 func (fake *FakeCloudControllerClient) GetServiceInstancesReturns(result1 []resources.ServiceInstance, result2 ccv3.IncludedResources, result3 ccv3.Warnings, result4 error) { 9884 fake.getServiceInstancesMutex.Lock() 9885 defer fake.getServiceInstancesMutex.Unlock() 9886 fake.GetServiceInstancesStub = nil 9887 fake.getServiceInstancesReturns = struct { 9888 result1 []resources.ServiceInstance 9889 result2 ccv3.IncludedResources 9890 result3 ccv3.Warnings 9891 result4 error 9892 }{result1, result2, result3, result4} 9893 } 9894 9895 func (fake *FakeCloudControllerClient) GetServiceInstancesReturnsOnCall(i int, result1 []resources.ServiceInstance, result2 ccv3.IncludedResources, result3 ccv3.Warnings, result4 error) { 9896 fake.getServiceInstancesMutex.Lock() 9897 defer fake.getServiceInstancesMutex.Unlock() 9898 fake.GetServiceInstancesStub = nil 9899 if fake.getServiceInstancesReturnsOnCall == nil { 9900 fake.getServiceInstancesReturnsOnCall = make(map[int]struct { 9901 result1 []resources.ServiceInstance 9902 result2 ccv3.IncludedResources 9903 result3 ccv3.Warnings 9904 result4 error 9905 }) 9906 } 9907 fake.getServiceInstancesReturnsOnCall[i] = struct { 9908 result1 []resources.ServiceInstance 9909 result2 ccv3.IncludedResources 9910 result3 ccv3.Warnings 9911 result4 error 9912 }{result1, result2, result3, result4} 9913 } 9914 9915 func (fake *FakeCloudControllerClient) GetServiceOfferingByGUID(arg1 string) (resources.ServiceOffering, ccv3.Warnings, error) { 9916 fake.getServiceOfferingByGUIDMutex.Lock() 9917 ret, specificReturn := fake.getServiceOfferingByGUIDReturnsOnCall[len(fake.getServiceOfferingByGUIDArgsForCall)] 9918 fake.getServiceOfferingByGUIDArgsForCall = append(fake.getServiceOfferingByGUIDArgsForCall, struct { 9919 arg1 string 9920 }{arg1}) 9921 fake.recordInvocation("GetServiceOfferingByGUID", []interface{}{arg1}) 9922 fake.getServiceOfferingByGUIDMutex.Unlock() 9923 if fake.GetServiceOfferingByGUIDStub != nil { 9924 return fake.GetServiceOfferingByGUIDStub(arg1) 9925 } 9926 if specificReturn { 9927 return ret.result1, ret.result2, ret.result3 9928 } 9929 fakeReturns := fake.getServiceOfferingByGUIDReturns 9930 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9931 } 9932 9933 func (fake *FakeCloudControllerClient) GetServiceOfferingByGUIDCallCount() int { 9934 fake.getServiceOfferingByGUIDMutex.RLock() 9935 defer fake.getServiceOfferingByGUIDMutex.RUnlock() 9936 return len(fake.getServiceOfferingByGUIDArgsForCall) 9937 } 9938 9939 func (fake *FakeCloudControllerClient) GetServiceOfferingByGUIDCalls(stub func(string) (resources.ServiceOffering, ccv3.Warnings, error)) { 9940 fake.getServiceOfferingByGUIDMutex.Lock() 9941 defer fake.getServiceOfferingByGUIDMutex.Unlock() 9942 fake.GetServiceOfferingByGUIDStub = stub 9943 } 9944 9945 func (fake *FakeCloudControllerClient) GetServiceOfferingByGUIDArgsForCall(i int) string { 9946 fake.getServiceOfferingByGUIDMutex.RLock() 9947 defer fake.getServiceOfferingByGUIDMutex.RUnlock() 9948 argsForCall := fake.getServiceOfferingByGUIDArgsForCall[i] 9949 return argsForCall.arg1 9950 } 9951 9952 func (fake *FakeCloudControllerClient) GetServiceOfferingByGUIDReturns(result1 resources.ServiceOffering, result2 ccv3.Warnings, result3 error) { 9953 fake.getServiceOfferingByGUIDMutex.Lock() 9954 defer fake.getServiceOfferingByGUIDMutex.Unlock() 9955 fake.GetServiceOfferingByGUIDStub = nil 9956 fake.getServiceOfferingByGUIDReturns = struct { 9957 result1 resources.ServiceOffering 9958 result2 ccv3.Warnings 9959 result3 error 9960 }{result1, result2, result3} 9961 } 9962 9963 func (fake *FakeCloudControllerClient) GetServiceOfferingByGUIDReturnsOnCall(i int, result1 resources.ServiceOffering, result2 ccv3.Warnings, result3 error) { 9964 fake.getServiceOfferingByGUIDMutex.Lock() 9965 defer fake.getServiceOfferingByGUIDMutex.Unlock() 9966 fake.GetServiceOfferingByGUIDStub = nil 9967 if fake.getServiceOfferingByGUIDReturnsOnCall == nil { 9968 fake.getServiceOfferingByGUIDReturnsOnCall = make(map[int]struct { 9969 result1 resources.ServiceOffering 9970 result2 ccv3.Warnings 9971 result3 error 9972 }) 9973 } 9974 fake.getServiceOfferingByGUIDReturnsOnCall[i] = struct { 9975 result1 resources.ServiceOffering 9976 result2 ccv3.Warnings 9977 result3 error 9978 }{result1, result2, result3} 9979 } 9980 9981 func (fake *FakeCloudControllerClient) GetServiceOfferingByNameAndBroker(arg1 string, arg2 string) (resources.ServiceOffering, ccv3.Warnings, error) { 9982 fake.getServiceOfferingByNameAndBrokerMutex.Lock() 9983 ret, specificReturn := fake.getServiceOfferingByNameAndBrokerReturnsOnCall[len(fake.getServiceOfferingByNameAndBrokerArgsForCall)] 9984 fake.getServiceOfferingByNameAndBrokerArgsForCall = append(fake.getServiceOfferingByNameAndBrokerArgsForCall, struct { 9985 arg1 string 9986 arg2 string 9987 }{arg1, arg2}) 9988 fake.recordInvocation("GetServiceOfferingByNameAndBroker", []interface{}{arg1, arg2}) 9989 fake.getServiceOfferingByNameAndBrokerMutex.Unlock() 9990 if fake.GetServiceOfferingByNameAndBrokerStub != nil { 9991 return fake.GetServiceOfferingByNameAndBrokerStub(arg1, arg2) 9992 } 9993 if specificReturn { 9994 return ret.result1, ret.result2, ret.result3 9995 } 9996 fakeReturns := fake.getServiceOfferingByNameAndBrokerReturns 9997 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 9998 } 9999 10000 func (fake *FakeCloudControllerClient) GetServiceOfferingByNameAndBrokerCallCount() int { 10001 fake.getServiceOfferingByNameAndBrokerMutex.RLock() 10002 defer fake.getServiceOfferingByNameAndBrokerMutex.RUnlock() 10003 return len(fake.getServiceOfferingByNameAndBrokerArgsForCall) 10004 } 10005 10006 func (fake *FakeCloudControllerClient) GetServiceOfferingByNameAndBrokerCalls(stub func(string, string) (resources.ServiceOffering, ccv3.Warnings, error)) { 10007 fake.getServiceOfferingByNameAndBrokerMutex.Lock() 10008 defer fake.getServiceOfferingByNameAndBrokerMutex.Unlock() 10009 fake.GetServiceOfferingByNameAndBrokerStub = stub 10010 } 10011 10012 func (fake *FakeCloudControllerClient) GetServiceOfferingByNameAndBrokerArgsForCall(i int) (string, string) { 10013 fake.getServiceOfferingByNameAndBrokerMutex.RLock() 10014 defer fake.getServiceOfferingByNameAndBrokerMutex.RUnlock() 10015 argsForCall := fake.getServiceOfferingByNameAndBrokerArgsForCall[i] 10016 return argsForCall.arg1, argsForCall.arg2 10017 } 10018 10019 func (fake *FakeCloudControllerClient) GetServiceOfferingByNameAndBrokerReturns(result1 resources.ServiceOffering, result2 ccv3.Warnings, result3 error) { 10020 fake.getServiceOfferingByNameAndBrokerMutex.Lock() 10021 defer fake.getServiceOfferingByNameAndBrokerMutex.Unlock() 10022 fake.GetServiceOfferingByNameAndBrokerStub = nil 10023 fake.getServiceOfferingByNameAndBrokerReturns = struct { 10024 result1 resources.ServiceOffering 10025 result2 ccv3.Warnings 10026 result3 error 10027 }{result1, result2, result3} 10028 } 10029 10030 func (fake *FakeCloudControllerClient) GetServiceOfferingByNameAndBrokerReturnsOnCall(i int, result1 resources.ServiceOffering, result2 ccv3.Warnings, result3 error) { 10031 fake.getServiceOfferingByNameAndBrokerMutex.Lock() 10032 defer fake.getServiceOfferingByNameAndBrokerMutex.Unlock() 10033 fake.GetServiceOfferingByNameAndBrokerStub = nil 10034 if fake.getServiceOfferingByNameAndBrokerReturnsOnCall == nil { 10035 fake.getServiceOfferingByNameAndBrokerReturnsOnCall = make(map[int]struct { 10036 result1 resources.ServiceOffering 10037 result2 ccv3.Warnings 10038 result3 error 10039 }) 10040 } 10041 fake.getServiceOfferingByNameAndBrokerReturnsOnCall[i] = struct { 10042 result1 resources.ServiceOffering 10043 result2 ccv3.Warnings 10044 result3 error 10045 }{result1, result2, result3} 10046 } 10047 10048 func (fake *FakeCloudControllerClient) GetServiceOfferings(arg1 ...ccv3.Query) ([]resources.ServiceOffering, ccv3.Warnings, error) { 10049 fake.getServiceOfferingsMutex.Lock() 10050 ret, specificReturn := fake.getServiceOfferingsReturnsOnCall[len(fake.getServiceOfferingsArgsForCall)] 10051 fake.getServiceOfferingsArgsForCall = append(fake.getServiceOfferingsArgsForCall, struct { 10052 arg1 []ccv3.Query 10053 }{arg1}) 10054 fake.recordInvocation("GetServiceOfferings", []interface{}{arg1}) 10055 fake.getServiceOfferingsMutex.Unlock() 10056 if fake.GetServiceOfferingsStub != nil { 10057 return fake.GetServiceOfferingsStub(arg1...) 10058 } 10059 if specificReturn { 10060 return ret.result1, ret.result2, ret.result3 10061 } 10062 fakeReturns := fake.getServiceOfferingsReturns 10063 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10064 } 10065 10066 func (fake *FakeCloudControllerClient) GetServiceOfferingsCallCount() int { 10067 fake.getServiceOfferingsMutex.RLock() 10068 defer fake.getServiceOfferingsMutex.RUnlock() 10069 return len(fake.getServiceOfferingsArgsForCall) 10070 } 10071 10072 func (fake *FakeCloudControllerClient) GetServiceOfferingsCalls(stub func(...ccv3.Query) ([]resources.ServiceOffering, ccv3.Warnings, error)) { 10073 fake.getServiceOfferingsMutex.Lock() 10074 defer fake.getServiceOfferingsMutex.Unlock() 10075 fake.GetServiceOfferingsStub = stub 10076 } 10077 10078 func (fake *FakeCloudControllerClient) GetServiceOfferingsArgsForCall(i int) []ccv3.Query { 10079 fake.getServiceOfferingsMutex.RLock() 10080 defer fake.getServiceOfferingsMutex.RUnlock() 10081 argsForCall := fake.getServiceOfferingsArgsForCall[i] 10082 return argsForCall.arg1 10083 } 10084 10085 func (fake *FakeCloudControllerClient) GetServiceOfferingsReturns(result1 []resources.ServiceOffering, result2 ccv3.Warnings, result3 error) { 10086 fake.getServiceOfferingsMutex.Lock() 10087 defer fake.getServiceOfferingsMutex.Unlock() 10088 fake.GetServiceOfferingsStub = nil 10089 fake.getServiceOfferingsReturns = struct { 10090 result1 []resources.ServiceOffering 10091 result2 ccv3.Warnings 10092 result3 error 10093 }{result1, result2, result3} 10094 } 10095 10096 func (fake *FakeCloudControllerClient) GetServiceOfferingsReturnsOnCall(i int, result1 []resources.ServiceOffering, result2 ccv3.Warnings, result3 error) { 10097 fake.getServiceOfferingsMutex.Lock() 10098 defer fake.getServiceOfferingsMutex.Unlock() 10099 fake.GetServiceOfferingsStub = nil 10100 if fake.getServiceOfferingsReturnsOnCall == nil { 10101 fake.getServiceOfferingsReturnsOnCall = make(map[int]struct { 10102 result1 []resources.ServiceOffering 10103 result2 ccv3.Warnings 10104 result3 error 10105 }) 10106 } 10107 fake.getServiceOfferingsReturnsOnCall[i] = struct { 10108 result1 []resources.ServiceOffering 10109 result2 ccv3.Warnings 10110 result3 error 10111 }{result1, result2, result3} 10112 } 10113 10114 func (fake *FakeCloudControllerClient) GetServicePlanByGUID(arg1 string) (resources.ServicePlan, ccv3.Warnings, error) { 10115 fake.getServicePlanByGUIDMutex.Lock() 10116 ret, specificReturn := fake.getServicePlanByGUIDReturnsOnCall[len(fake.getServicePlanByGUIDArgsForCall)] 10117 fake.getServicePlanByGUIDArgsForCall = append(fake.getServicePlanByGUIDArgsForCall, struct { 10118 arg1 string 10119 }{arg1}) 10120 fake.recordInvocation("GetServicePlanByGUID", []interface{}{arg1}) 10121 fake.getServicePlanByGUIDMutex.Unlock() 10122 if fake.GetServicePlanByGUIDStub != nil { 10123 return fake.GetServicePlanByGUIDStub(arg1) 10124 } 10125 if specificReturn { 10126 return ret.result1, ret.result2, ret.result3 10127 } 10128 fakeReturns := fake.getServicePlanByGUIDReturns 10129 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10130 } 10131 10132 func (fake *FakeCloudControllerClient) GetServicePlanByGUIDCallCount() int { 10133 fake.getServicePlanByGUIDMutex.RLock() 10134 defer fake.getServicePlanByGUIDMutex.RUnlock() 10135 return len(fake.getServicePlanByGUIDArgsForCall) 10136 } 10137 10138 func (fake *FakeCloudControllerClient) GetServicePlanByGUIDCalls(stub func(string) (resources.ServicePlan, ccv3.Warnings, error)) { 10139 fake.getServicePlanByGUIDMutex.Lock() 10140 defer fake.getServicePlanByGUIDMutex.Unlock() 10141 fake.GetServicePlanByGUIDStub = stub 10142 } 10143 10144 func (fake *FakeCloudControllerClient) GetServicePlanByGUIDArgsForCall(i int) string { 10145 fake.getServicePlanByGUIDMutex.RLock() 10146 defer fake.getServicePlanByGUIDMutex.RUnlock() 10147 argsForCall := fake.getServicePlanByGUIDArgsForCall[i] 10148 return argsForCall.arg1 10149 } 10150 10151 func (fake *FakeCloudControllerClient) GetServicePlanByGUIDReturns(result1 resources.ServicePlan, result2 ccv3.Warnings, result3 error) { 10152 fake.getServicePlanByGUIDMutex.Lock() 10153 defer fake.getServicePlanByGUIDMutex.Unlock() 10154 fake.GetServicePlanByGUIDStub = nil 10155 fake.getServicePlanByGUIDReturns = struct { 10156 result1 resources.ServicePlan 10157 result2 ccv3.Warnings 10158 result3 error 10159 }{result1, result2, result3} 10160 } 10161 10162 func (fake *FakeCloudControllerClient) GetServicePlanByGUIDReturnsOnCall(i int, result1 resources.ServicePlan, result2 ccv3.Warnings, result3 error) { 10163 fake.getServicePlanByGUIDMutex.Lock() 10164 defer fake.getServicePlanByGUIDMutex.Unlock() 10165 fake.GetServicePlanByGUIDStub = nil 10166 if fake.getServicePlanByGUIDReturnsOnCall == nil { 10167 fake.getServicePlanByGUIDReturnsOnCall = make(map[int]struct { 10168 result1 resources.ServicePlan 10169 result2 ccv3.Warnings 10170 result3 error 10171 }) 10172 } 10173 fake.getServicePlanByGUIDReturnsOnCall[i] = struct { 10174 result1 resources.ServicePlan 10175 result2 ccv3.Warnings 10176 result3 error 10177 }{result1, result2, result3} 10178 } 10179 10180 func (fake *FakeCloudControllerClient) GetServicePlanVisibility(arg1 string) (resources.ServicePlanVisibility, ccv3.Warnings, error) { 10181 fake.getServicePlanVisibilityMutex.Lock() 10182 ret, specificReturn := fake.getServicePlanVisibilityReturnsOnCall[len(fake.getServicePlanVisibilityArgsForCall)] 10183 fake.getServicePlanVisibilityArgsForCall = append(fake.getServicePlanVisibilityArgsForCall, struct { 10184 arg1 string 10185 }{arg1}) 10186 fake.recordInvocation("GetServicePlanVisibility", []interface{}{arg1}) 10187 fake.getServicePlanVisibilityMutex.Unlock() 10188 if fake.GetServicePlanVisibilityStub != nil { 10189 return fake.GetServicePlanVisibilityStub(arg1) 10190 } 10191 if specificReturn { 10192 return ret.result1, ret.result2, ret.result3 10193 } 10194 fakeReturns := fake.getServicePlanVisibilityReturns 10195 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10196 } 10197 10198 func (fake *FakeCloudControllerClient) GetServicePlanVisibilityCallCount() int { 10199 fake.getServicePlanVisibilityMutex.RLock() 10200 defer fake.getServicePlanVisibilityMutex.RUnlock() 10201 return len(fake.getServicePlanVisibilityArgsForCall) 10202 } 10203 10204 func (fake *FakeCloudControllerClient) GetServicePlanVisibilityCalls(stub func(string) (resources.ServicePlanVisibility, ccv3.Warnings, error)) { 10205 fake.getServicePlanVisibilityMutex.Lock() 10206 defer fake.getServicePlanVisibilityMutex.Unlock() 10207 fake.GetServicePlanVisibilityStub = stub 10208 } 10209 10210 func (fake *FakeCloudControllerClient) GetServicePlanVisibilityArgsForCall(i int) string { 10211 fake.getServicePlanVisibilityMutex.RLock() 10212 defer fake.getServicePlanVisibilityMutex.RUnlock() 10213 argsForCall := fake.getServicePlanVisibilityArgsForCall[i] 10214 return argsForCall.arg1 10215 } 10216 10217 func (fake *FakeCloudControllerClient) GetServicePlanVisibilityReturns(result1 resources.ServicePlanVisibility, result2 ccv3.Warnings, result3 error) { 10218 fake.getServicePlanVisibilityMutex.Lock() 10219 defer fake.getServicePlanVisibilityMutex.Unlock() 10220 fake.GetServicePlanVisibilityStub = nil 10221 fake.getServicePlanVisibilityReturns = struct { 10222 result1 resources.ServicePlanVisibility 10223 result2 ccv3.Warnings 10224 result3 error 10225 }{result1, result2, result3} 10226 } 10227 10228 func (fake *FakeCloudControllerClient) GetServicePlanVisibilityReturnsOnCall(i int, result1 resources.ServicePlanVisibility, result2 ccv3.Warnings, result3 error) { 10229 fake.getServicePlanVisibilityMutex.Lock() 10230 defer fake.getServicePlanVisibilityMutex.Unlock() 10231 fake.GetServicePlanVisibilityStub = nil 10232 if fake.getServicePlanVisibilityReturnsOnCall == nil { 10233 fake.getServicePlanVisibilityReturnsOnCall = make(map[int]struct { 10234 result1 resources.ServicePlanVisibility 10235 result2 ccv3.Warnings 10236 result3 error 10237 }) 10238 } 10239 fake.getServicePlanVisibilityReturnsOnCall[i] = struct { 10240 result1 resources.ServicePlanVisibility 10241 result2 ccv3.Warnings 10242 result3 error 10243 }{result1, result2, result3} 10244 } 10245 10246 func (fake *FakeCloudControllerClient) GetServicePlans(arg1 ...ccv3.Query) ([]resources.ServicePlan, ccv3.Warnings, error) { 10247 fake.getServicePlansMutex.Lock() 10248 ret, specificReturn := fake.getServicePlansReturnsOnCall[len(fake.getServicePlansArgsForCall)] 10249 fake.getServicePlansArgsForCall = append(fake.getServicePlansArgsForCall, struct { 10250 arg1 []ccv3.Query 10251 }{arg1}) 10252 fake.recordInvocation("GetServicePlans", []interface{}{arg1}) 10253 fake.getServicePlansMutex.Unlock() 10254 if fake.GetServicePlansStub != nil { 10255 return fake.GetServicePlansStub(arg1...) 10256 } 10257 if specificReturn { 10258 return ret.result1, ret.result2, ret.result3 10259 } 10260 fakeReturns := fake.getServicePlansReturns 10261 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10262 } 10263 10264 func (fake *FakeCloudControllerClient) GetServicePlansCallCount() int { 10265 fake.getServicePlansMutex.RLock() 10266 defer fake.getServicePlansMutex.RUnlock() 10267 return len(fake.getServicePlansArgsForCall) 10268 } 10269 10270 func (fake *FakeCloudControllerClient) GetServicePlansCalls(stub func(...ccv3.Query) ([]resources.ServicePlan, ccv3.Warnings, error)) { 10271 fake.getServicePlansMutex.Lock() 10272 defer fake.getServicePlansMutex.Unlock() 10273 fake.GetServicePlansStub = stub 10274 } 10275 10276 func (fake *FakeCloudControllerClient) GetServicePlansArgsForCall(i int) []ccv3.Query { 10277 fake.getServicePlansMutex.RLock() 10278 defer fake.getServicePlansMutex.RUnlock() 10279 argsForCall := fake.getServicePlansArgsForCall[i] 10280 return argsForCall.arg1 10281 } 10282 10283 func (fake *FakeCloudControllerClient) GetServicePlansReturns(result1 []resources.ServicePlan, result2 ccv3.Warnings, result3 error) { 10284 fake.getServicePlansMutex.Lock() 10285 defer fake.getServicePlansMutex.Unlock() 10286 fake.GetServicePlansStub = nil 10287 fake.getServicePlansReturns = struct { 10288 result1 []resources.ServicePlan 10289 result2 ccv3.Warnings 10290 result3 error 10291 }{result1, result2, result3} 10292 } 10293 10294 func (fake *FakeCloudControllerClient) GetServicePlansReturnsOnCall(i int, result1 []resources.ServicePlan, result2 ccv3.Warnings, result3 error) { 10295 fake.getServicePlansMutex.Lock() 10296 defer fake.getServicePlansMutex.Unlock() 10297 fake.GetServicePlansStub = nil 10298 if fake.getServicePlansReturnsOnCall == nil { 10299 fake.getServicePlansReturnsOnCall = make(map[int]struct { 10300 result1 []resources.ServicePlan 10301 result2 ccv3.Warnings 10302 result3 error 10303 }) 10304 } 10305 fake.getServicePlansReturnsOnCall[i] = struct { 10306 result1 []resources.ServicePlan 10307 result2 ccv3.Warnings 10308 result3 error 10309 }{result1, result2, result3} 10310 } 10311 10312 func (fake *FakeCloudControllerClient) GetServicePlansWithOfferings(arg1 ...ccv3.Query) ([]ccv3.ServiceOfferingWithPlans, ccv3.Warnings, error) { 10313 fake.getServicePlansWithOfferingsMutex.Lock() 10314 ret, specificReturn := fake.getServicePlansWithOfferingsReturnsOnCall[len(fake.getServicePlansWithOfferingsArgsForCall)] 10315 fake.getServicePlansWithOfferingsArgsForCall = append(fake.getServicePlansWithOfferingsArgsForCall, struct { 10316 arg1 []ccv3.Query 10317 }{arg1}) 10318 fake.recordInvocation("GetServicePlansWithOfferings", []interface{}{arg1}) 10319 fake.getServicePlansWithOfferingsMutex.Unlock() 10320 if fake.GetServicePlansWithOfferingsStub != nil { 10321 return fake.GetServicePlansWithOfferingsStub(arg1...) 10322 } 10323 if specificReturn { 10324 return ret.result1, ret.result2, ret.result3 10325 } 10326 fakeReturns := fake.getServicePlansWithOfferingsReturns 10327 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10328 } 10329 10330 func (fake *FakeCloudControllerClient) GetServicePlansWithOfferingsCallCount() int { 10331 fake.getServicePlansWithOfferingsMutex.RLock() 10332 defer fake.getServicePlansWithOfferingsMutex.RUnlock() 10333 return len(fake.getServicePlansWithOfferingsArgsForCall) 10334 } 10335 10336 func (fake *FakeCloudControllerClient) GetServicePlansWithOfferingsCalls(stub func(...ccv3.Query) ([]ccv3.ServiceOfferingWithPlans, ccv3.Warnings, error)) { 10337 fake.getServicePlansWithOfferingsMutex.Lock() 10338 defer fake.getServicePlansWithOfferingsMutex.Unlock() 10339 fake.GetServicePlansWithOfferingsStub = stub 10340 } 10341 10342 func (fake *FakeCloudControllerClient) GetServicePlansWithOfferingsArgsForCall(i int) []ccv3.Query { 10343 fake.getServicePlansWithOfferingsMutex.RLock() 10344 defer fake.getServicePlansWithOfferingsMutex.RUnlock() 10345 argsForCall := fake.getServicePlansWithOfferingsArgsForCall[i] 10346 return argsForCall.arg1 10347 } 10348 10349 func (fake *FakeCloudControllerClient) GetServicePlansWithOfferingsReturns(result1 []ccv3.ServiceOfferingWithPlans, result2 ccv3.Warnings, result3 error) { 10350 fake.getServicePlansWithOfferingsMutex.Lock() 10351 defer fake.getServicePlansWithOfferingsMutex.Unlock() 10352 fake.GetServicePlansWithOfferingsStub = nil 10353 fake.getServicePlansWithOfferingsReturns = struct { 10354 result1 []ccv3.ServiceOfferingWithPlans 10355 result2 ccv3.Warnings 10356 result3 error 10357 }{result1, result2, result3} 10358 } 10359 10360 func (fake *FakeCloudControllerClient) GetServicePlansWithOfferingsReturnsOnCall(i int, result1 []ccv3.ServiceOfferingWithPlans, result2 ccv3.Warnings, result3 error) { 10361 fake.getServicePlansWithOfferingsMutex.Lock() 10362 defer fake.getServicePlansWithOfferingsMutex.Unlock() 10363 fake.GetServicePlansWithOfferingsStub = nil 10364 if fake.getServicePlansWithOfferingsReturnsOnCall == nil { 10365 fake.getServicePlansWithOfferingsReturnsOnCall = make(map[int]struct { 10366 result1 []ccv3.ServiceOfferingWithPlans 10367 result2 ccv3.Warnings 10368 result3 error 10369 }) 10370 } 10371 fake.getServicePlansWithOfferingsReturnsOnCall[i] = struct { 10372 result1 []ccv3.ServiceOfferingWithPlans 10373 result2 ccv3.Warnings 10374 result3 error 10375 }{result1, result2, result3} 10376 } 10377 10378 func (fake *FakeCloudControllerClient) GetServicePlansWithSpaceAndOrganization(arg1 ...ccv3.Query) ([]ccv3.ServicePlanWithSpaceAndOrganization, ccv3.Warnings, error) { 10379 fake.getServicePlansWithSpaceAndOrganizationMutex.Lock() 10380 ret, specificReturn := fake.getServicePlansWithSpaceAndOrganizationReturnsOnCall[len(fake.getServicePlansWithSpaceAndOrganizationArgsForCall)] 10381 fake.getServicePlansWithSpaceAndOrganizationArgsForCall = append(fake.getServicePlansWithSpaceAndOrganizationArgsForCall, struct { 10382 arg1 []ccv3.Query 10383 }{arg1}) 10384 fake.recordInvocation("GetServicePlansWithSpaceAndOrganization", []interface{}{arg1}) 10385 fake.getServicePlansWithSpaceAndOrganizationMutex.Unlock() 10386 if fake.GetServicePlansWithSpaceAndOrganizationStub != nil { 10387 return fake.GetServicePlansWithSpaceAndOrganizationStub(arg1...) 10388 } 10389 if specificReturn { 10390 return ret.result1, ret.result2, ret.result3 10391 } 10392 fakeReturns := fake.getServicePlansWithSpaceAndOrganizationReturns 10393 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10394 } 10395 10396 func (fake *FakeCloudControllerClient) GetServicePlansWithSpaceAndOrganizationCallCount() int { 10397 fake.getServicePlansWithSpaceAndOrganizationMutex.RLock() 10398 defer fake.getServicePlansWithSpaceAndOrganizationMutex.RUnlock() 10399 return len(fake.getServicePlansWithSpaceAndOrganizationArgsForCall) 10400 } 10401 10402 func (fake *FakeCloudControllerClient) GetServicePlansWithSpaceAndOrganizationCalls(stub func(...ccv3.Query) ([]ccv3.ServicePlanWithSpaceAndOrganization, ccv3.Warnings, error)) { 10403 fake.getServicePlansWithSpaceAndOrganizationMutex.Lock() 10404 defer fake.getServicePlansWithSpaceAndOrganizationMutex.Unlock() 10405 fake.GetServicePlansWithSpaceAndOrganizationStub = stub 10406 } 10407 10408 func (fake *FakeCloudControllerClient) GetServicePlansWithSpaceAndOrganizationArgsForCall(i int) []ccv3.Query { 10409 fake.getServicePlansWithSpaceAndOrganizationMutex.RLock() 10410 defer fake.getServicePlansWithSpaceAndOrganizationMutex.RUnlock() 10411 argsForCall := fake.getServicePlansWithSpaceAndOrganizationArgsForCall[i] 10412 return argsForCall.arg1 10413 } 10414 10415 func (fake *FakeCloudControllerClient) GetServicePlansWithSpaceAndOrganizationReturns(result1 []ccv3.ServicePlanWithSpaceAndOrganization, result2 ccv3.Warnings, result3 error) { 10416 fake.getServicePlansWithSpaceAndOrganizationMutex.Lock() 10417 defer fake.getServicePlansWithSpaceAndOrganizationMutex.Unlock() 10418 fake.GetServicePlansWithSpaceAndOrganizationStub = nil 10419 fake.getServicePlansWithSpaceAndOrganizationReturns = struct { 10420 result1 []ccv3.ServicePlanWithSpaceAndOrganization 10421 result2 ccv3.Warnings 10422 result3 error 10423 }{result1, result2, result3} 10424 } 10425 10426 func (fake *FakeCloudControllerClient) GetServicePlansWithSpaceAndOrganizationReturnsOnCall(i int, result1 []ccv3.ServicePlanWithSpaceAndOrganization, result2 ccv3.Warnings, result3 error) { 10427 fake.getServicePlansWithSpaceAndOrganizationMutex.Lock() 10428 defer fake.getServicePlansWithSpaceAndOrganizationMutex.Unlock() 10429 fake.GetServicePlansWithSpaceAndOrganizationStub = nil 10430 if fake.getServicePlansWithSpaceAndOrganizationReturnsOnCall == nil { 10431 fake.getServicePlansWithSpaceAndOrganizationReturnsOnCall = make(map[int]struct { 10432 result1 []ccv3.ServicePlanWithSpaceAndOrganization 10433 result2 ccv3.Warnings 10434 result3 error 10435 }) 10436 } 10437 fake.getServicePlansWithSpaceAndOrganizationReturnsOnCall[i] = struct { 10438 result1 []ccv3.ServicePlanWithSpaceAndOrganization 10439 result2 ccv3.Warnings 10440 result3 error 10441 }{result1, result2, result3} 10442 } 10443 10444 func (fake *FakeCloudControllerClient) GetSpaceFeature(arg1 string, arg2 string) (bool, ccv3.Warnings, error) { 10445 fake.getSpaceFeatureMutex.Lock() 10446 ret, specificReturn := fake.getSpaceFeatureReturnsOnCall[len(fake.getSpaceFeatureArgsForCall)] 10447 fake.getSpaceFeatureArgsForCall = append(fake.getSpaceFeatureArgsForCall, struct { 10448 arg1 string 10449 arg2 string 10450 }{arg1, arg2}) 10451 fake.recordInvocation("GetSpaceFeature", []interface{}{arg1, arg2}) 10452 fake.getSpaceFeatureMutex.Unlock() 10453 if fake.GetSpaceFeatureStub != nil { 10454 return fake.GetSpaceFeatureStub(arg1, arg2) 10455 } 10456 if specificReturn { 10457 return ret.result1, ret.result2, ret.result3 10458 } 10459 fakeReturns := fake.getSpaceFeatureReturns 10460 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10461 } 10462 10463 func (fake *FakeCloudControllerClient) GetSpaceFeatureCallCount() int { 10464 fake.getSpaceFeatureMutex.RLock() 10465 defer fake.getSpaceFeatureMutex.RUnlock() 10466 return len(fake.getSpaceFeatureArgsForCall) 10467 } 10468 10469 func (fake *FakeCloudControllerClient) GetSpaceFeatureCalls(stub func(string, string) (bool, ccv3.Warnings, error)) { 10470 fake.getSpaceFeatureMutex.Lock() 10471 defer fake.getSpaceFeatureMutex.Unlock() 10472 fake.GetSpaceFeatureStub = stub 10473 } 10474 10475 func (fake *FakeCloudControllerClient) GetSpaceFeatureArgsForCall(i int) (string, string) { 10476 fake.getSpaceFeatureMutex.RLock() 10477 defer fake.getSpaceFeatureMutex.RUnlock() 10478 argsForCall := fake.getSpaceFeatureArgsForCall[i] 10479 return argsForCall.arg1, argsForCall.arg2 10480 } 10481 10482 func (fake *FakeCloudControllerClient) GetSpaceFeatureReturns(result1 bool, result2 ccv3.Warnings, result3 error) { 10483 fake.getSpaceFeatureMutex.Lock() 10484 defer fake.getSpaceFeatureMutex.Unlock() 10485 fake.GetSpaceFeatureStub = nil 10486 fake.getSpaceFeatureReturns = struct { 10487 result1 bool 10488 result2 ccv3.Warnings 10489 result3 error 10490 }{result1, result2, result3} 10491 } 10492 10493 func (fake *FakeCloudControllerClient) GetSpaceFeatureReturnsOnCall(i int, result1 bool, result2 ccv3.Warnings, result3 error) { 10494 fake.getSpaceFeatureMutex.Lock() 10495 defer fake.getSpaceFeatureMutex.Unlock() 10496 fake.GetSpaceFeatureStub = nil 10497 if fake.getSpaceFeatureReturnsOnCall == nil { 10498 fake.getSpaceFeatureReturnsOnCall = make(map[int]struct { 10499 result1 bool 10500 result2 ccv3.Warnings 10501 result3 error 10502 }) 10503 } 10504 fake.getSpaceFeatureReturnsOnCall[i] = struct { 10505 result1 bool 10506 result2 ccv3.Warnings 10507 result3 error 10508 }{result1, result2, result3} 10509 } 10510 10511 func (fake *FakeCloudControllerClient) GetSpaceIsolationSegment(arg1 string) (resources.Relationship, ccv3.Warnings, error) { 10512 fake.getSpaceIsolationSegmentMutex.Lock() 10513 ret, specificReturn := fake.getSpaceIsolationSegmentReturnsOnCall[len(fake.getSpaceIsolationSegmentArgsForCall)] 10514 fake.getSpaceIsolationSegmentArgsForCall = append(fake.getSpaceIsolationSegmentArgsForCall, struct { 10515 arg1 string 10516 }{arg1}) 10517 fake.recordInvocation("GetSpaceIsolationSegment", []interface{}{arg1}) 10518 fake.getSpaceIsolationSegmentMutex.Unlock() 10519 if fake.GetSpaceIsolationSegmentStub != nil { 10520 return fake.GetSpaceIsolationSegmentStub(arg1) 10521 } 10522 if specificReturn { 10523 return ret.result1, ret.result2, ret.result3 10524 } 10525 fakeReturns := fake.getSpaceIsolationSegmentReturns 10526 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10527 } 10528 10529 func (fake *FakeCloudControllerClient) GetSpaceIsolationSegmentCallCount() int { 10530 fake.getSpaceIsolationSegmentMutex.RLock() 10531 defer fake.getSpaceIsolationSegmentMutex.RUnlock() 10532 return len(fake.getSpaceIsolationSegmentArgsForCall) 10533 } 10534 10535 func (fake *FakeCloudControllerClient) GetSpaceIsolationSegmentCalls(stub func(string) (resources.Relationship, ccv3.Warnings, error)) { 10536 fake.getSpaceIsolationSegmentMutex.Lock() 10537 defer fake.getSpaceIsolationSegmentMutex.Unlock() 10538 fake.GetSpaceIsolationSegmentStub = stub 10539 } 10540 10541 func (fake *FakeCloudControllerClient) GetSpaceIsolationSegmentArgsForCall(i int) string { 10542 fake.getSpaceIsolationSegmentMutex.RLock() 10543 defer fake.getSpaceIsolationSegmentMutex.RUnlock() 10544 argsForCall := fake.getSpaceIsolationSegmentArgsForCall[i] 10545 return argsForCall.arg1 10546 } 10547 10548 func (fake *FakeCloudControllerClient) GetSpaceIsolationSegmentReturns(result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 10549 fake.getSpaceIsolationSegmentMutex.Lock() 10550 defer fake.getSpaceIsolationSegmentMutex.Unlock() 10551 fake.GetSpaceIsolationSegmentStub = nil 10552 fake.getSpaceIsolationSegmentReturns = struct { 10553 result1 resources.Relationship 10554 result2 ccv3.Warnings 10555 result3 error 10556 }{result1, result2, result3} 10557 } 10558 10559 func (fake *FakeCloudControllerClient) GetSpaceIsolationSegmentReturnsOnCall(i int, result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 10560 fake.getSpaceIsolationSegmentMutex.Lock() 10561 defer fake.getSpaceIsolationSegmentMutex.Unlock() 10562 fake.GetSpaceIsolationSegmentStub = nil 10563 if fake.getSpaceIsolationSegmentReturnsOnCall == nil { 10564 fake.getSpaceIsolationSegmentReturnsOnCall = make(map[int]struct { 10565 result1 resources.Relationship 10566 result2 ccv3.Warnings 10567 result3 error 10568 }) 10569 } 10570 fake.getSpaceIsolationSegmentReturnsOnCall[i] = struct { 10571 result1 resources.Relationship 10572 result2 ccv3.Warnings 10573 result3 error 10574 }{result1, result2, result3} 10575 } 10576 10577 func (fake *FakeCloudControllerClient) GetSpaceManifestDiff(arg1 string, arg2 []byte) (resources.ManifestDiff, ccv3.Warnings, error) { 10578 var arg2Copy []byte 10579 if arg2 != nil { 10580 arg2Copy = make([]byte, len(arg2)) 10581 copy(arg2Copy, arg2) 10582 } 10583 fake.getSpaceManifestDiffMutex.Lock() 10584 ret, specificReturn := fake.getSpaceManifestDiffReturnsOnCall[len(fake.getSpaceManifestDiffArgsForCall)] 10585 fake.getSpaceManifestDiffArgsForCall = append(fake.getSpaceManifestDiffArgsForCall, struct { 10586 arg1 string 10587 arg2 []byte 10588 }{arg1, arg2Copy}) 10589 fake.recordInvocation("GetSpaceManifestDiff", []interface{}{arg1, arg2Copy}) 10590 fake.getSpaceManifestDiffMutex.Unlock() 10591 if fake.GetSpaceManifestDiffStub != nil { 10592 return fake.GetSpaceManifestDiffStub(arg1, arg2) 10593 } 10594 if specificReturn { 10595 return ret.result1, ret.result2, ret.result3 10596 } 10597 fakeReturns := fake.getSpaceManifestDiffReturns 10598 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10599 } 10600 10601 func (fake *FakeCloudControllerClient) GetSpaceManifestDiffCallCount() int { 10602 fake.getSpaceManifestDiffMutex.RLock() 10603 defer fake.getSpaceManifestDiffMutex.RUnlock() 10604 return len(fake.getSpaceManifestDiffArgsForCall) 10605 } 10606 10607 func (fake *FakeCloudControllerClient) GetSpaceManifestDiffCalls(stub func(string, []byte) (resources.ManifestDiff, ccv3.Warnings, error)) { 10608 fake.getSpaceManifestDiffMutex.Lock() 10609 defer fake.getSpaceManifestDiffMutex.Unlock() 10610 fake.GetSpaceManifestDiffStub = stub 10611 } 10612 10613 func (fake *FakeCloudControllerClient) GetSpaceManifestDiffArgsForCall(i int) (string, []byte) { 10614 fake.getSpaceManifestDiffMutex.RLock() 10615 defer fake.getSpaceManifestDiffMutex.RUnlock() 10616 argsForCall := fake.getSpaceManifestDiffArgsForCall[i] 10617 return argsForCall.arg1, argsForCall.arg2 10618 } 10619 10620 func (fake *FakeCloudControllerClient) GetSpaceManifestDiffReturns(result1 resources.ManifestDiff, result2 ccv3.Warnings, result3 error) { 10621 fake.getSpaceManifestDiffMutex.Lock() 10622 defer fake.getSpaceManifestDiffMutex.Unlock() 10623 fake.GetSpaceManifestDiffStub = nil 10624 fake.getSpaceManifestDiffReturns = struct { 10625 result1 resources.ManifestDiff 10626 result2 ccv3.Warnings 10627 result3 error 10628 }{result1, result2, result3} 10629 } 10630 10631 func (fake *FakeCloudControllerClient) GetSpaceManifestDiffReturnsOnCall(i int, result1 resources.ManifestDiff, result2 ccv3.Warnings, result3 error) { 10632 fake.getSpaceManifestDiffMutex.Lock() 10633 defer fake.getSpaceManifestDiffMutex.Unlock() 10634 fake.GetSpaceManifestDiffStub = nil 10635 if fake.getSpaceManifestDiffReturnsOnCall == nil { 10636 fake.getSpaceManifestDiffReturnsOnCall = make(map[int]struct { 10637 result1 resources.ManifestDiff 10638 result2 ccv3.Warnings 10639 result3 error 10640 }) 10641 } 10642 fake.getSpaceManifestDiffReturnsOnCall[i] = struct { 10643 result1 resources.ManifestDiff 10644 result2 ccv3.Warnings 10645 result3 error 10646 }{result1, result2, result3} 10647 } 10648 10649 func (fake *FakeCloudControllerClient) GetSpaceQuota(arg1 string) (resources.SpaceQuota, ccv3.Warnings, error) { 10650 fake.getSpaceQuotaMutex.Lock() 10651 ret, specificReturn := fake.getSpaceQuotaReturnsOnCall[len(fake.getSpaceQuotaArgsForCall)] 10652 fake.getSpaceQuotaArgsForCall = append(fake.getSpaceQuotaArgsForCall, struct { 10653 arg1 string 10654 }{arg1}) 10655 fake.recordInvocation("GetSpaceQuota", []interface{}{arg1}) 10656 fake.getSpaceQuotaMutex.Unlock() 10657 if fake.GetSpaceQuotaStub != nil { 10658 return fake.GetSpaceQuotaStub(arg1) 10659 } 10660 if specificReturn { 10661 return ret.result1, ret.result2, ret.result3 10662 } 10663 fakeReturns := fake.getSpaceQuotaReturns 10664 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10665 } 10666 10667 func (fake *FakeCloudControllerClient) GetSpaceQuotaCallCount() int { 10668 fake.getSpaceQuotaMutex.RLock() 10669 defer fake.getSpaceQuotaMutex.RUnlock() 10670 return len(fake.getSpaceQuotaArgsForCall) 10671 } 10672 10673 func (fake *FakeCloudControllerClient) GetSpaceQuotaCalls(stub func(string) (resources.SpaceQuota, ccv3.Warnings, error)) { 10674 fake.getSpaceQuotaMutex.Lock() 10675 defer fake.getSpaceQuotaMutex.Unlock() 10676 fake.GetSpaceQuotaStub = stub 10677 } 10678 10679 func (fake *FakeCloudControllerClient) GetSpaceQuotaArgsForCall(i int) string { 10680 fake.getSpaceQuotaMutex.RLock() 10681 defer fake.getSpaceQuotaMutex.RUnlock() 10682 argsForCall := fake.getSpaceQuotaArgsForCall[i] 10683 return argsForCall.arg1 10684 } 10685 10686 func (fake *FakeCloudControllerClient) GetSpaceQuotaReturns(result1 resources.SpaceQuota, result2 ccv3.Warnings, result3 error) { 10687 fake.getSpaceQuotaMutex.Lock() 10688 defer fake.getSpaceQuotaMutex.Unlock() 10689 fake.GetSpaceQuotaStub = nil 10690 fake.getSpaceQuotaReturns = struct { 10691 result1 resources.SpaceQuota 10692 result2 ccv3.Warnings 10693 result3 error 10694 }{result1, result2, result3} 10695 } 10696 10697 func (fake *FakeCloudControllerClient) GetSpaceQuotaReturnsOnCall(i int, result1 resources.SpaceQuota, result2 ccv3.Warnings, result3 error) { 10698 fake.getSpaceQuotaMutex.Lock() 10699 defer fake.getSpaceQuotaMutex.Unlock() 10700 fake.GetSpaceQuotaStub = nil 10701 if fake.getSpaceQuotaReturnsOnCall == nil { 10702 fake.getSpaceQuotaReturnsOnCall = make(map[int]struct { 10703 result1 resources.SpaceQuota 10704 result2 ccv3.Warnings 10705 result3 error 10706 }) 10707 } 10708 fake.getSpaceQuotaReturnsOnCall[i] = struct { 10709 result1 resources.SpaceQuota 10710 result2 ccv3.Warnings 10711 result3 error 10712 }{result1, result2, result3} 10713 } 10714 10715 func (fake *FakeCloudControllerClient) GetSpaceQuotas(arg1 ...ccv3.Query) ([]resources.SpaceQuota, ccv3.Warnings, error) { 10716 fake.getSpaceQuotasMutex.Lock() 10717 ret, specificReturn := fake.getSpaceQuotasReturnsOnCall[len(fake.getSpaceQuotasArgsForCall)] 10718 fake.getSpaceQuotasArgsForCall = append(fake.getSpaceQuotasArgsForCall, struct { 10719 arg1 []ccv3.Query 10720 }{arg1}) 10721 fake.recordInvocation("GetSpaceQuotas", []interface{}{arg1}) 10722 fake.getSpaceQuotasMutex.Unlock() 10723 if fake.GetSpaceQuotasStub != nil { 10724 return fake.GetSpaceQuotasStub(arg1...) 10725 } 10726 if specificReturn { 10727 return ret.result1, ret.result2, ret.result3 10728 } 10729 fakeReturns := fake.getSpaceQuotasReturns 10730 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10731 } 10732 10733 func (fake *FakeCloudControllerClient) GetSpaceQuotasCallCount() int { 10734 fake.getSpaceQuotasMutex.RLock() 10735 defer fake.getSpaceQuotasMutex.RUnlock() 10736 return len(fake.getSpaceQuotasArgsForCall) 10737 } 10738 10739 func (fake *FakeCloudControllerClient) GetSpaceQuotasCalls(stub func(...ccv3.Query) ([]resources.SpaceQuota, ccv3.Warnings, error)) { 10740 fake.getSpaceQuotasMutex.Lock() 10741 defer fake.getSpaceQuotasMutex.Unlock() 10742 fake.GetSpaceQuotasStub = stub 10743 } 10744 10745 func (fake *FakeCloudControllerClient) GetSpaceQuotasArgsForCall(i int) []ccv3.Query { 10746 fake.getSpaceQuotasMutex.RLock() 10747 defer fake.getSpaceQuotasMutex.RUnlock() 10748 argsForCall := fake.getSpaceQuotasArgsForCall[i] 10749 return argsForCall.arg1 10750 } 10751 10752 func (fake *FakeCloudControllerClient) GetSpaceQuotasReturns(result1 []resources.SpaceQuota, result2 ccv3.Warnings, result3 error) { 10753 fake.getSpaceQuotasMutex.Lock() 10754 defer fake.getSpaceQuotasMutex.Unlock() 10755 fake.GetSpaceQuotasStub = nil 10756 fake.getSpaceQuotasReturns = struct { 10757 result1 []resources.SpaceQuota 10758 result2 ccv3.Warnings 10759 result3 error 10760 }{result1, result2, result3} 10761 } 10762 10763 func (fake *FakeCloudControllerClient) GetSpaceQuotasReturnsOnCall(i int, result1 []resources.SpaceQuota, result2 ccv3.Warnings, result3 error) { 10764 fake.getSpaceQuotasMutex.Lock() 10765 defer fake.getSpaceQuotasMutex.Unlock() 10766 fake.GetSpaceQuotasStub = nil 10767 if fake.getSpaceQuotasReturnsOnCall == nil { 10768 fake.getSpaceQuotasReturnsOnCall = make(map[int]struct { 10769 result1 []resources.SpaceQuota 10770 result2 ccv3.Warnings 10771 result3 error 10772 }) 10773 } 10774 fake.getSpaceQuotasReturnsOnCall[i] = struct { 10775 result1 []resources.SpaceQuota 10776 result2 ccv3.Warnings 10777 result3 error 10778 }{result1, result2, result3} 10779 } 10780 10781 func (fake *FakeCloudControllerClient) GetSpaces(arg1 ...ccv3.Query) ([]resources.Space, ccv3.IncludedResources, ccv3.Warnings, error) { 10782 fake.getSpacesMutex.Lock() 10783 ret, specificReturn := fake.getSpacesReturnsOnCall[len(fake.getSpacesArgsForCall)] 10784 fake.getSpacesArgsForCall = append(fake.getSpacesArgsForCall, struct { 10785 arg1 []ccv3.Query 10786 }{arg1}) 10787 fake.recordInvocation("GetSpaces", []interface{}{arg1}) 10788 fake.getSpacesMutex.Unlock() 10789 if fake.GetSpacesStub != nil { 10790 return fake.GetSpacesStub(arg1...) 10791 } 10792 if specificReturn { 10793 return ret.result1, ret.result2, ret.result3, ret.result4 10794 } 10795 fakeReturns := fake.getSpacesReturns 10796 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3, fakeReturns.result4 10797 } 10798 10799 func (fake *FakeCloudControllerClient) GetSpacesCallCount() int { 10800 fake.getSpacesMutex.RLock() 10801 defer fake.getSpacesMutex.RUnlock() 10802 return len(fake.getSpacesArgsForCall) 10803 } 10804 10805 func (fake *FakeCloudControllerClient) GetSpacesCalls(stub func(...ccv3.Query) ([]resources.Space, ccv3.IncludedResources, ccv3.Warnings, error)) { 10806 fake.getSpacesMutex.Lock() 10807 defer fake.getSpacesMutex.Unlock() 10808 fake.GetSpacesStub = stub 10809 } 10810 10811 func (fake *FakeCloudControllerClient) GetSpacesArgsForCall(i int) []ccv3.Query { 10812 fake.getSpacesMutex.RLock() 10813 defer fake.getSpacesMutex.RUnlock() 10814 argsForCall := fake.getSpacesArgsForCall[i] 10815 return argsForCall.arg1 10816 } 10817 10818 func (fake *FakeCloudControllerClient) GetSpacesReturns(result1 []resources.Space, result2 ccv3.IncludedResources, result3 ccv3.Warnings, result4 error) { 10819 fake.getSpacesMutex.Lock() 10820 defer fake.getSpacesMutex.Unlock() 10821 fake.GetSpacesStub = nil 10822 fake.getSpacesReturns = struct { 10823 result1 []resources.Space 10824 result2 ccv3.IncludedResources 10825 result3 ccv3.Warnings 10826 result4 error 10827 }{result1, result2, result3, result4} 10828 } 10829 10830 func (fake *FakeCloudControllerClient) GetSpacesReturnsOnCall(i int, result1 []resources.Space, result2 ccv3.IncludedResources, result3 ccv3.Warnings, result4 error) { 10831 fake.getSpacesMutex.Lock() 10832 defer fake.getSpacesMutex.Unlock() 10833 fake.GetSpacesStub = nil 10834 if fake.getSpacesReturnsOnCall == nil { 10835 fake.getSpacesReturnsOnCall = make(map[int]struct { 10836 result1 []resources.Space 10837 result2 ccv3.IncludedResources 10838 result3 ccv3.Warnings 10839 result4 error 10840 }) 10841 } 10842 fake.getSpacesReturnsOnCall[i] = struct { 10843 result1 []resources.Space 10844 result2 ccv3.IncludedResources 10845 result3 ccv3.Warnings 10846 result4 error 10847 }{result1, result2, result3, result4} 10848 } 10849 10850 func (fake *FakeCloudControllerClient) GetStacks(arg1 ...ccv3.Query) ([]resources.Stack, ccv3.Warnings, error) { 10851 fake.getStacksMutex.Lock() 10852 ret, specificReturn := fake.getStacksReturnsOnCall[len(fake.getStacksArgsForCall)] 10853 fake.getStacksArgsForCall = append(fake.getStacksArgsForCall, struct { 10854 arg1 []ccv3.Query 10855 }{arg1}) 10856 fake.recordInvocation("GetStacks", []interface{}{arg1}) 10857 fake.getStacksMutex.Unlock() 10858 if fake.GetStacksStub != nil { 10859 return fake.GetStacksStub(arg1...) 10860 } 10861 if specificReturn { 10862 return ret.result1, ret.result2, ret.result3 10863 } 10864 fakeReturns := fake.getStacksReturns 10865 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10866 } 10867 10868 func (fake *FakeCloudControllerClient) GetStacksCallCount() int { 10869 fake.getStacksMutex.RLock() 10870 defer fake.getStacksMutex.RUnlock() 10871 return len(fake.getStacksArgsForCall) 10872 } 10873 10874 func (fake *FakeCloudControllerClient) GetStacksCalls(stub func(...ccv3.Query) ([]resources.Stack, ccv3.Warnings, error)) { 10875 fake.getStacksMutex.Lock() 10876 defer fake.getStacksMutex.Unlock() 10877 fake.GetStacksStub = stub 10878 } 10879 10880 func (fake *FakeCloudControllerClient) GetStacksArgsForCall(i int) []ccv3.Query { 10881 fake.getStacksMutex.RLock() 10882 defer fake.getStacksMutex.RUnlock() 10883 argsForCall := fake.getStacksArgsForCall[i] 10884 return argsForCall.arg1 10885 } 10886 10887 func (fake *FakeCloudControllerClient) GetStacksReturns(result1 []resources.Stack, result2 ccv3.Warnings, result3 error) { 10888 fake.getStacksMutex.Lock() 10889 defer fake.getStacksMutex.Unlock() 10890 fake.GetStacksStub = nil 10891 fake.getStacksReturns = struct { 10892 result1 []resources.Stack 10893 result2 ccv3.Warnings 10894 result3 error 10895 }{result1, result2, result3} 10896 } 10897 10898 func (fake *FakeCloudControllerClient) GetStacksReturnsOnCall(i int, result1 []resources.Stack, result2 ccv3.Warnings, result3 error) { 10899 fake.getStacksMutex.Lock() 10900 defer fake.getStacksMutex.Unlock() 10901 fake.GetStacksStub = nil 10902 if fake.getStacksReturnsOnCall == nil { 10903 fake.getStacksReturnsOnCall = make(map[int]struct { 10904 result1 []resources.Stack 10905 result2 ccv3.Warnings 10906 result3 error 10907 }) 10908 } 10909 fake.getStacksReturnsOnCall[i] = struct { 10910 result1 []resources.Stack 10911 result2 ccv3.Warnings 10912 result3 error 10913 }{result1, result2, result3} 10914 } 10915 10916 func (fake *FakeCloudControllerClient) GetStagingSecurityGroups(arg1 string, arg2 ...ccv3.Query) ([]resources.SecurityGroup, ccv3.Warnings, error) { 10917 fake.getStagingSecurityGroupsMutex.Lock() 10918 ret, specificReturn := fake.getStagingSecurityGroupsReturnsOnCall[len(fake.getStagingSecurityGroupsArgsForCall)] 10919 fake.getStagingSecurityGroupsArgsForCall = append(fake.getStagingSecurityGroupsArgsForCall, struct { 10920 arg1 string 10921 arg2 []ccv3.Query 10922 }{arg1, arg2}) 10923 fake.recordInvocation("GetStagingSecurityGroups", []interface{}{arg1, arg2}) 10924 fake.getStagingSecurityGroupsMutex.Unlock() 10925 if fake.GetStagingSecurityGroupsStub != nil { 10926 return fake.GetStagingSecurityGroupsStub(arg1, arg2...) 10927 } 10928 if specificReturn { 10929 return ret.result1, ret.result2, ret.result3 10930 } 10931 fakeReturns := fake.getStagingSecurityGroupsReturns 10932 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10933 } 10934 10935 func (fake *FakeCloudControllerClient) GetStagingSecurityGroupsCallCount() int { 10936 fake.getStagingSecurityGroupsMutex.RLock() 10937 defer fake.getStagingSecurityGroupsMutex.RUnlock() 10938 return len(fake.getStagingSecurityGroupsArgsForCall) 10939 } 10940 10941 func (fake *FakeCloudControllerClient) GetStagingSecurityGroupsCalls(stub func(string, ...ccv3.Query) ([]resources.SecurityGroup, ccv3.Warnings, error)) { 10942 fake.getStagingSecurityGroupsMutex.Lock() 10943 defer fake.getStagingSecurityGroupsMutex.Unlock() 10944 fake.GetStagingSecurityGroupsStub = stub 10945 } 10946 10947 func (fake *FakeCloudControllerClient) GetStagingSecurityGroupsArgsForCall(i int) (string, []ccv3.Query) { 10948 fake.getStagingSecurityGroupsMutex.RLock() 10949 defer fake.getStagingSecurityGroupsMutex.RUnlock() 10950 argsForCall := fake.getStagingSecurityGroupsArgsForCall[i] 10951 return argsForCall.arg1, argsForCall.arg2 10952 } 10953 10954 func (fake *FakeCloudControllerClient) GetStagingSecurityGroupsReturns(result1 []resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 10955 fake.getStagingSecurityGroupsMutex.Lock() 10956 defer fake.getStagingSecurityGroupsMutex.Unlock() 10957 fake.GetStagingSecurityGroupsStub = nil 10958 fake.getStagingSecurityGroupsReturns = struct { 10959 result1 []resources.SecurityGroup 10960 result2 ccv3.Warnings 10961 result3 error 10962 }{result1, result2, result3} 10963 } 10964 10965 func (fake *FakeCloudControllerClient) GetStagingSecurityGroupsReturnsOnCall(i int, result1 []resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 10966 fake.getStagingSecurityGroupsMutex.Lock() 10967 defer fake.getStagingSecurityGroupsMutex.Unlock() 10968 fake.GetStagingSecurityGroupsStub = nil 10969 if fake.getStagingSecurityGroupsReturnsOnCall == nil { 10970 fake.getStagingSecurityGroupsReturnsOnCall = make(map[int]struct { 10971 result1 []resources.SecurityGroup 10972 result2 ccv3.Warnings 10973 result3 error 10974 }) 10975 } 10976 fake.getStagingSecurityGroupsReturnsOnCall[i] = struct { 10977 result1 []resources.SecurityGroup 10978 result2 ccv3.Warnings 10979 result3 error 10980 }{result1, result2, result3} 10981 } 10982 10983 func (fake *FakeCloudControllerClient) GetTask(arg1 string) (resources.Task, ccv3.Warnings, error) { 10984 fake.getTaskMutex.Lock() 10985 ret, specificReturn := fake.getTaskReturnsOnCall[len(fake.getTaskArgsForCall)] 10986 fake.getTaskArgsForCall = append(fake.getTaskArgsForCall, struct { 10987 arg1 string 10988 }{arg1}) 10989 fake.recordInvocation("GetTask", []interface{}{arg1}) 10990 fake.getTaskMutex.Unlock() 10991 if fake.GetTaskStub != nil { 10992 return fake.GetTaskStub(arg1) 10993 } 10994 if specificReturn { 10995 return ret.result1, ret.result2, ret.result3 10996 } 10997 fakeReturns := fake.getTaskReturns 10998 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 10999 } 11000 11001 func (fake *FakeCloudControllerClient) GetTaskCallCount() int { 11002 fake.getTaskMutex.RLock() 11003 defer fake.getTaskMutex.RUnlock() 11004 return len(fake.getTaskArgsForCall) 11005 } 11006 11007 func (fake *FakeCloudControllerClient) GetTaskCalls(stub func(string) (resources.Task, ccv3.Warnings, error)) { 11008 fake.getTaskMutex.Lock() 11009 defer fake.getTaskMutex.Unlock() 11010 fake.GetTaskStub = stub 11011 } 11012 11013 func (fake *FakeCloudControllerClient) GetTaskArgsForCall(i int) string { 11014 fake.getTaskMutex.RLock() 11015 defer fake.getTaskMutex.RUnlock() 11016 argsForCall := fake.getTaskArgsForCall[i] 11017 return argsForCall.arg1 11018 } 11019 11020 func (fake *FakeCloudControllerClient) GetTaskReturns(result1 resources.Task, result2 ccv3.Warnings, result3 error) { 11021 fake.getTaskMutex.Lock() 11022 defer fake.getTaskMutex.Unlock() 11023 fake.GetTaskStub = nil 11024 fake.getTaskReturns = struct { 11025 result1 resources.Task 11026 result2 ccv3.Warnings 11027 result3 error 11028 }{result1, result2, result3} 11029 } 11030 11031 func (fake *FakeCloudControllerClient) GetTaskReturnsOnCall(i int, result1 resources.Task, result2 ccv3.Warnings, result3 error) { 11032 fake.getTaskMutex.Lock() 11033 defer fake.getTaskMutex.Unlock() 11034 fake.GetTaskStub = nil 11035 if fake.getTaskReturnsOnCall == nil { 11036 fake.getTaskReturnsOnCall = make(map[int]struct { 11037 result1 resources.Task 11038 result2 ccv3.Warnings 11039 result3 error 11040 }) 11041 } 11042 fake.getTaskReturnsOnCall[i] = struct { 11043 result1 resources.Task 11044 result2 ccv3.Warnings 11045 result3 error 11046 }{result1, result2, result3} 11047 } 11048 11049 func (fake *FakeCloudControllerClient) GetUser(arg1 string) (resources.User, ccv3.Warnings, error) { 11050 fake.getUserMutex.Lock() 11051 ret, specificReturn := fake.getUserReturnsOnCall[len(fake.getUserArgsForCall)] 11052 fake.getUserArgsForCall = append(fake.getUserArgsForCall, struct { 11053 arg1 string 11054 }{arg1}) 11055 fake.recordInvocation("GetUser", []interface{}{arg1}) 11056 fake.getUserMutex.Unlock() 11057 if fake.GetUserStub != nil { 11058 return fake.GetUserStub(arg1) 11059 } 11060 if specificReturn { 11061 return ret.result1, ret.result2, ret.result3 11062 } 11063 fakeReturns := fake.getUserReturns 11064 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11065 } 11066 11067 func (fake *FakeCloudControllerClient) GetUserCallCount() int { 11068 fake.getUserMutex.RLock() 11069 defer fake.getUserMutex.RUnlock() 11070 return len(fake.getUserArgsForCall) 11071 } 11072 11073 func (fake *FakeCloudControllerClient) GetUserCalls(stub func(string) (resources.User, ccv3.Warnings, error)) { 11074 fake.getUserMutex.Lock() 11075 defer fake.getUserMutex.Unlock() 11076 fake.GetUserStub = stub 11077 } 11078 11079 func (fake *FakeCloudControllerClient) GetUserArgsForCall(i int) string { 11080 fake.getUserMutex.RLock() 11081 defer fake.getUserMutex.RUnlock() 11082 argsForCall := fake.getUserArgsForCall[i] 11083 return argsForCall.arg1 11084 } 11085 11086 func (fake *FakeCloudControllerClient) GetUserReturns(result1 resources.User, result2 ccv3.Warnings, result3 error) { 11087 fake.getUserMutex.Lock() 11088 defer fake.getUserMutex.Unlock() 11089 fake.GetUserStub = nil 11090 fake.getUserReturns = struct { 11091 result1 resources.User 11092 result2 ccv3.Warnings 11093 result3 error 11094 }{result1, result2, result3} 11095 } 11096 11097 func (fake *FakeCloudControllerClient) GetUserReturnsOnCall(i int, result1 resources.User, result2 ccv3.Warnings, result3 error) { 11098 fake.getUserMutex.Lock() 11099 defer fake.getUserMutex.Unlock() 11100 fake.GetUserStub = nil 11101 if fake.getUserReturnsOnCall == nil { 11102 fake.getUserReturnsOnCall = make(map[int]struct { 11103 result1 resources.User 11104 result2 ccv3.Warnings 11105 result3 error 11106 }) 11107 } 11108 fake.getUserReturnsOnCall[i] = struct { 11109 result1 resources.User 11110 result2 ccv3.Warnings 11111 result3 error 11112 }{result1, result2, result3} 11113 } 11114 11115 func (fake *FakeCloudControllerClient) GetUsers(arg1 ...ccv3.Query) ([]resources.User, ccv3.Warnings, error) { 11116 fake.getUsersMutex.Lock() 11117 ret, specificReturn := fake.getUsersReturnsOnCall[len(fake.getUsersArgsForCall)] 11118 fake.getUsersArgsForCall = append(fake.getUsersArgsForCall, struct { 11119 arg1 []ccv3.Query 11120 }{arg1}) 11121 fake.recordInvocation("GetUsers", []interface{}{arg1}) 11122 fake.getUsersMutex.Unlock() 11123 if fake.GetUsersStub != nil { 11124 return fake.GetUsersStub(arg1...) 11125 } 11126 if specificReturn { 11127 return ret.result1, ret.result2, ret.result3 11128 } 11129 fakeReturns := fake.getUsersReturns 11130 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11131 } 11132 11133 func (fake *FakeCloudControllerClient) GetUsersCallCount() int { 11134 fake.getUsersMutex.RLock() 11135 defer fake.getUsersMutex.RUnlock() 11136 return len(fake.getUsersArgsForCall) 11137 } 11138 11139 func (fake *FakeCloudControllerClient) GetUsersCalls(stub func(...ccv3.Query) ([]resources.User, ccv3.Warnings, error)) { 11140 fake.getUsersMutex.Lock() 11141 defer fake.getUsersMutex.Unlock() 11142 fake.GetUsersStub = stub 11143 } 11144 11145 func (fake *FakeCloudControllerClient) GetUsersArgsForCall(i int) []ccv3.Query { 11146 fake.getUsersMutex.RLock() 11147 defer fake.getUsersMutex.RUnlock() 11148 argsForCall := fake.getUsersArgsForCall[i] 11149 return argsForCall.arg1 11150 } 11151 11152 func (fake *FakeCloudControllerClient) GetUsersReturns(result1 []resources.User, result2 ccv3.Warnings, result3 error) { 11153 fake.getUsersMutex.Lock() 11154 defer fake.getUsersMutex.Unlock() 11155 fake.GetUsersStub = nil 11156 fake.getUsersReturns = struct { 11157 result1 []resources.User 11158 result2 ccv3.Warnings 11159 result3 error 11160 }{result1, result2, result3} 11161 } 11162 11163 func (fake *FakeCloudControllerClient) GetUsersReturnsOnCall(i int, result1 []resources.User, result2 ccv3.Warnings, result3 error) { 11164 fake.getUsersMutex.Lock() 11165 defer fake.getUsersMutex.Unlock() 11166 fake.GetUsersStub = nil 11167 if fake.getUsersReturnsOnCall == nil { 11168 fake.getUsersReturnsOnCall = make(map[int]struct { 11169 result1 []resources.User 11170 result2 ccv3.Warnings 11171 result3 error 11172 }) 11173 } 11174 fake.getUsersReturnsOnCall[i] = struct { 11175 result1 []resources.User 11176 result2 ccv3.Warnings 11177 result3 error 11178 }{result1, result2, result3} 11179 } 11180 11181 func (fake *FakeCloudControllerClient) MakeRequestSendReceiveRaw(arg1 string, arg2 string, arg3 http.Header, arg4 []byte) ([]byte, *http.Response, error) { 11182 var arg4Copy []byte 11183 if arg4 != nil { 11184 arg4Copy = make([]byte, len(arg4)) 11185 copy(arg4Copy, arg4) 11186 } 11187 fake.makeRequestSendReceiveRawMutex.Lock() 11188 ret, specificReturn := fake.makeRequestSendReceiveRawReturnsOnCall[len(fake.makeRequestSendReceiveRawArgsForCall)] 11189 fake.makeRequestSendReceiveRawArgsForCall = append(fake.makeRequestSendReceiveRawArgsForCall, struct { 11190 arg1 string 11191 arg2 string 11192 arg3 http.Header 11193 arg4 []byte 11194 }{arg1, arg2, arg3, arg4Copy}) 11195 fake.recordInvocation("MakeRequestSendReceiveRaw", []interface{}{arg1, arg2, arg3, arg4Copy}) 11196 fake.makeRequestSendReceiveRawMutex.Unlock() 11197 if fake.MakeRequestSendReceiveRawStub != nil { 11198 return fake.MakeRequestSendReceiveRawStub(arg1, arg2, arg3, arg4) 11199 } 11200 if specificReturn { 11201 return ret.result1, ret.result2, ret.result3 11202 } 11203 fakeReturns := fake.makeRequestSendReceiveRawReturns 11204 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11205 } 11206 11207 func (fake *FakeCloudControllerClient) MakeRequestSendReceiveRawCallCount() int { 11208 fake.makeRequestSendReceiveRawMutex.RLock() 11209 defer fake.makeRequestSendReceiveRawMutex.RUnlock() 11210 return len(fake.makeRequestSendReceiveRawArgsForCall) 11211 } 11212 11213 func (fake *FakeCloudControllerClient) MakeRequestSendReceiveRawCalls(stub func(string, string, http.Header, []byte) ([]byte, *http.Response, error)) { 11214 fake.makeRequestSendReceiveRawMutex.Lock() 11215 defer fake.makeRequestSendReceiveRawMutex.Unlock() 11216 fake.MakeRequestSendReceiveRawStub = stub 11217 } 11218 11219 func (fake *FakeCloudControllerClient) MakeRequestSendReceiveRawArgsForCall(i int) (string, string, http.Header, []byte) { 11220 fake.makeRequestSendReceiveRawMutex.RLock() 11221 defer fake.makeRequestSendReceiveRawMutex.RUnlock() 11222 argsForCall := fake.makeRequestSendReceiveRawArgsForCall[i] 11223 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4 11224 } 11225 11226 func (fake *FakeCloudControllerClient) MakeRequestSendReceiveRawReturns(result1 []byte, result2 *http.Response, result3 error) { 11227 fake.makeRequestSendReceiveRawMutex.Lock() 11228 defer fake.makeRequestSendReceiveRawMutex.Unlock() 11229 fake.MakeRequestSendReceiveRawStub = nil 11230 fake.makeRequestSendReceiveRawReturns = struct { 11231 result1 []byte 11232 result2 *http.Response 11233 result3 error 11234 }{result1, result2, result3} 11235 } 11236 11237 func (fake *FakeCloudControllerClient) MakeRequestSendReceiveRawReturnsOnCall(i int, result1 []byte, result2 *http.Response, result3 error) { 11238 fake.makeRequestSendReceiveRawMutex.Lock() 11239 defer fake.makeRequestSendReceiveRawMutex.Unlock() 11240 fake.MakeRequestSendReceiveRawStub = nil 11241 if fake.makeRequestSendReceiveRawReturnsOnCall == nil { 11242 fake.makeRequestSendReceiveRawReturnsOnCall = make(map[int]struct { 11243 result1 []byte 11244 result2 *http.Response 11245 result3 error 11246 }) 11247 } 11248 fake.makeRequestSendReceiveRawReturnsOnCall[i] = struct { 11249 result1 []byte 11250 result2 *http.Response 11251 result3 error 11252 }{result1, result2, result3} 11253 } 11254 11255 func (fake *FakeCloudControllerClient) MapRoute(arg1 string, arg2 string, arg3 string) (ccv3.Warnings, error) { 11256 fake.mapRouteMutex.Lock() 11257 ret, specificReturn := fake.mapRouteReturnsOnCall[len(fake.mapRouteArgsForCall)] 11258 fake.mapRouteArgsForCall = append(fake.mapRouteArgsForCall, struct { 11259 arg1 string 11260 arg2 string 11261 arg3 string 11262 }{arg1, arg2, arg3}) 11263 fake.recordInvocation("MapRoute", []interface{}{arg1, arg2, arg3}) 11264 fake.mapRouteMutex.Unlock() 11265 if fake.MapRouteStub != nil { 11266 return fake.MapRouteStub(arg1, arg2, arg3) 11267 } 11268 if specificReturn { 11269 return ret.result1, ret.result2 11270 } 11271 fakeReturns := fake.mapRouteReturns 11272 return fakeReturns.result1, fakeReturns.result2 11273 } 11274 11275 func (fake *FakeCloudControllerClient) MapRouteCallCount() int { 11276 fake.mapRouteMutex.RLock() 11277 defer fake.mapRouteMutex.RUnlock() 11278 return len(fake.mapRouteArgsForCall) 11279 } 11280 11281 func (fake *FakeCloudControllerClient) MapRouteCalls(stub func(string, string, string) (ccv3.Warnings, error)) { 11282 fake.mapRouteMutex.Lock() 11283 defer fake.mapRouteMutex.Unlock() 11284 fake.MapRouteStub = stub 11285 } 11286 11287 func (fake *FakeCloudControllerClient) MapRouteArgsForCall(i int) (string, string, string) { 11288 fake.mapRouteMutex.RLock() 11289 defer fake.mapRouteMutex.RUnlock() 11290 argsForCall := fake.mapRouteArgsForCall[i] 11291 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3 11292 } 11293 11294 func (fake *FakeCloudControllerClient) MapRouteReturns(result1 ccv3.Warnings, result2 error) { 11295 fake.mapRouteMutex.Lock() 11296 defer fake.mapRouteMutex.Unlock() 11297 fake.MapRouteStub = nil 11298 fake.mapRouteReturns = struct { 11299 result1 ccv3.Warnings 11300 result2 error 11301 }{result1, result2} 11302 } 11303 11304 func (fake *FakeCloudControllerClient) MapRouteReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 11305 fake.mapRouteMutex.Lock() 11306 defer fake.mapRouteMutex.Unlock() 11307 fake.MapRouteStub = nil 11308 if fake.mapRouteReturnsOnCall == nil { 11309 fake.mapRouteReturnsOnCall = make(map[int]struct { 11310 result1 ccv3.Warnings 11311 result2 error 11312 }) 11313 } 11314 fake.mapRouteReturnsOnCall[i] = struct { 11315 result1 ccv3.Warnings 11316 result2 error 11317 }{result1, result2} 11318 } 11319 11320 func (fake *FakeCloudControllerClient) MoveRoute(arg1 string, arg2 string) (ccv3.Warnings, error) { 11321 fake.moveRouteMutex.Lock() 11322 ret, specificReturn := fake.moveRouteReturnsOnCall[len(fake.moveRouteArgsForCall)] 11323 fake.moveRouteArgsForCall = append(fake.moveRouteArgsForCall, struct { 11324 arg1 string 11325 arg2 string 11326 }{arg1, arg2}) 11327 fake.recordInvocation("MoveRoute", []interface{}{arg1, arg2}) 11328 fake.moveRouteMutex.Unlock() 11329 if fake.MoveRouteStub != nil { 11330 return fake.MoveRouteStub(arg1, arg2) 11331 } 11332 if specificReturn { 11333 return ret.result1, ret.result2 11334 } 11335 fakeReturns := fake.moveRouteReturns 11336 return fakeReturns.result1, fakeReturns.result2 11337 } 11338 11339 func (fake *FakeCloudControllerClient) MoveRouteCallCount() int { 11340 fake.moveRouteMutex.RLock() 11341 defer fake.moveRouteMutex.RUnlock() 11342 return len(fake.moveRouteArgsForCall) 11343 } 11344 11345 func (fake *FakeCloudControllerClient) MoveRouteCalls(stub func(string, string) (ccv3.Warnings, error)) { 11346 fake.moveRouteMutex.Lock() 11347 defer fake.moveRouteMutex.Unlock() 11348 fake.MoveRouteStub = stub 11349 } 11350 11351 func (fake *FakeCloudControllerClient) MoveRouteArgsForCall(i int) (string, string) { 11352 fake.moveRouteMutex.RLock() 11353 defer fake.moveRouteMutex.RUnlock() 11354 argsForCall := fake.moveRouteArgsForCall[i] 11355 return argsForCall.arg1, argsForCall.arg2 11356 } 11357 11358 func (fake *FakeCloudControllerClient) MoveRouteReturns(result1 ccv3.Warnings, result2 error) { 11359 fake.moveRouteMutex.Lock() 11360 defer fake.moveRouteMutex.Unlock() 11361 fake.MoveRouteStub = nil 11362 fake.moveRouteReturns = struct { 11363 result1 ccv3.Warnings 11364 result2 error 11365 }{result1, result2} 11366 } 11367 11368 func (fake *FakeCloudControllerClient) MoveRouteReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 11369 fake.moveRouteMutex.Lock() 11370 defer fake.moveRouteMutex.Unlock() 11371 fake.MoveRouteStub = nil 11372 if fake.moveRouteReturnsOnCall == nil { 11373 fake.moveRouteReturnsOnCall = make(map[int]struct { 11374 result1 ccv3.Warnings 11375 result2 error 11376 }) 11377 } 11378 fake.moveRouteReturnsOnCall[i] = struct { 11379 result1 ccv3.Warnings 11380 result2 error 11381 }{result1, result2} 11382 } 11383 11384 func (fake *FakeCloudControllerClient) PollJob(arg1 ccv3.JobURL) (ccv3.Warnings, error) { 11385 fake.pollJobMutex.Lock() 11386 ret, specificReturn := fake.pollJobReturnsOnCall[len(fake.pollJobArgsForCall)] 11387 fake.pollJobArgsForCall = append(fake.pollJobArgsForCall, struct { 11388 arg1 ccv3.JobURL 11389 }{arg1}) 11390 fake.recordInvocation("PollJob", []interface{}{arg1}) 11391 fake.pollJobMutex.Unlock() 11392 if fake.PollJobStub != nil { 11393 return fake.PollJobStub(arg1) 11394 } 11395 if specificReturn { 11396 return ret.result1, ret.result2 11397 } 11398 fakeReturns := fake.pollJobReturns 11399 return fakeReturns.result1, fakeReturns.result2 11400 } 11401 11402 func (fake *FakeCloudControllerClient) PollJobCallCount() int { 11403 fake.pollJobMutex.RLock() 11404 defer fake.pollJobMutex.RUnlock() 11405 return len(fake.pollJobArgsForCall) 11406 } 11407 11408 func (fake *FakeCloudControllerClient) PollJobCalls(stub func(ccv3.JobURL) (ccv3.Warnings, error)) { 11409 fake.pollJobMutex.Lock() 11410 defer fake.pollJobMutex.Unlock() 11411 fake.PollJobStub = stub 11412 } 11413 11414 func (fake *FakeCloudControllerClient) PollJobArgsForCall(i int) ccv3.JobURL { 11415 fake.pollJobMutex.RLock() 11416 defer fake.pollJobMutex.RUnlock() 11417 argsForCall := fake.pollJobArgsForCall[i] 11418 return argsForCall.arg1 11419 } 11420 11421 func (fake *FakeCloudControllerClient) PollJobReturns(result1 ccv3.Warnings, result2 error) { 11422 fake.pollJobMutex.Lock() 11423 defer fake.pollJobMutex.Unlock() 11424 fake.PollJobStub = nil 11425 fake.pollJobReturns = struct { 11426 result1 ccv3.Warnings 11427 result2 error 11428 }{result1, result2} 11429 } 11430 11431 func (fake *FakeCloudControllerClient) PollJobReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 11432 fake.pollJobMutex.Lock() 11433 defer fake.pollJobMutex.Unlock() 11434 fake.PollJobStub = nil 11435 if fake.pollJobReturnsOnCall == nil { 11436 fake.pollJobReturnsOnCall = make(map[int]struct { 11437 result1 ccv3.Warnings 11438 result2 error 11439 }) 11440 } 11441 fake.pollJobReturnsOnCall[i] = struct { 11442 result1 ccv3.Warnings 11443 result2 error 11444 }{result1, result2} 11445 } 11446 11447 func (fake *FakeCloudControllerClient) PollJobForState(arg1 ccv3.JobURL, arg2 constant.JobState) (ccv3.Warnings, error) { 11448 fake.pollJobForStateMutex.Lock() 11449 ret, specificReturn := fake.pollJobForStateReturnsOnCall[len(fake.pollJobForStateArgsForCall)] 11450 fake.pollJobForStateArgsForCall = append(fake.pollJobForStateArgsForCall, struct { 11451 arg1 ccv3.JobURL 11452 arg2 constant.JobState 11453 }{arg1, arg2}) 11454 fake.recordInvocation("PollJobForState", []interface{}{arg1, arg2}) 11455 fake.pollJobForStateMutex.Unlock() 11456 if fake.PollJobForStateStub != nil { 11457 return fake.PollJobForStateStub(arg1, arg2) 11458 } 11459 if specificReturn { 11460 return ret.result1, ret.result2 11461 } 11462 fakeReturns := fake.pollJobForStateReturns 11463 return fakeReturns.result1, fakeReturns.result2 11464 } 11465 11466 func (fake *FakeCloudControllerClient) PollJobForStateCallCount() int { 11467 fake.pollJobForStateMutex.RLock() 11468 defer fake.pollJobForStateMutex.RUnlock() 11469 return len(fake.pollJobForStateArgsForCall) 11470 } 11471 11472 func (fake *FakeCloudControllerClient) PollJobForStateCalls(stub func(ccv3.JobURL, constant.JobState) (ccv3.Warnings, error)) { 11473 fake.pollJobForStateMutex.Lock() 11474 defer fake.pollJobForStateMutex.Unlock() 11475 fake.PollJobForStateStub = stub 11476 } 11477 11478 func (fake *FakeCloudControllerClient) PollJobForStateArgsForCall(i int) (ccv3.JobURL, constant.JobState) { 11479 fake.pollJobForStateMutex.RLock() 11480 defer fake.pollJobForStateMutex.RUnlock() 11481 argsForCall := fake.pollJobForStateArgsForCall[i] 11482 return argsForCall.arg1, argsForCall.arg2 11483 } 11484 11485 func (fake *FakeCloudControllerClient) PollJobForStateReturns(result1 ccv3.Warnings, result2 error) { 11486 fake.pollJobForStateMutex.Lock() 11487 defer fake.pollJobForStateMutex.Unlock() 11488 fake.PollJobForStateStub = nil 11489 fake.pollJobForStateReturns = struct { 11490 result1 ccv3.Warnings 11491 result2 error 11492 }{result1, result2} 11493 } 11494 11495 func (fake *FakeCloudControllerClient) PollJobForStateReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 11496 fake.pollJobForStateMutex.Lock() 11497 defer fake.pollJobForStateMutex.Unlock() 11498 fake.PollJobForStateStub = nil 11499 if fake.pollJobForStateReturnsOnCall == nil { 11500 fake.pollJobForStateReturnsOnCall = make(map[int]struct { 11501 result1 ccv3.Warnings 11502 result2 error 11503 }) 11504 } 11505 fake.pollJobForStateReturnsOnCall[i] = struct { 11506 result1 ccv3.Warnings 11507 result2 error 11508 }{result1, result2} 11509 } 11510 11511 func (fake *FakeCloudControllerClient) PollJobToEventStream(arg1 ccv3.JobURL) chan ccv3.PollJobEvent { 11512 fake.pollJobToEventStreamMutex.Lock() 11513 ret, specificReturn := fake.pollJobToEventStreamReturnsOnCall[len(fake.pollJobToEventStreamArgsForCall)] 11514 fake.pollJobToEventStreamArgsForCall = append(fake.pollJobToEventStreamArgsForCall, struct { 11515 arg1 ccv3.JobURL 11516 }{arg1}) 11517 fake.recordInvocation("PollJobToEventStream", []interface{}{arg1}) 11518 fake.pollJobToEventStreamMutex.Unlock() 11519 if fake.PollJobToEventStreamStub != nil { 11520 return fake.PollJobToEventStreamStub(arg1) 11521 } 11522 if specificReturn { 11523 return ret.result1 11524 } 11525 fakeReturns := fake.pollJobToEventStreamReturns 11526 return fakeReturns.result1 11527 } 11528 11529 func (fake *FakeCloudControllerClient) PollJobToEventStreamCallCount() int { 11530 fake.pollJobToEventStreamMutex.RLock() 11531 defer fake.pollJobToEventStreamMutex.RUnlock() 11532 return len(fake.pollJobToEventStreamArgsForCall) 11533 } 11534 11535 func (fake *FakeCloudControllerClient) PollJobToEventStreamCalls(stub func(ccv3.JobURL) chan ccv3.PollJobEvent) { 11536 fake.pollJobToEventStreamMutex.Lock() 11537 defer fake.pollJobToEventStreamMutex.Unlock() 11538 fake.PollJobToEventStreamStub = stub 11539 } 11540 11541 func (fake *FakeCloudControllerClient) PollJobToEventStreamArgsForCall(i int) ccv3.JobURL { 11542 fake.pollJobToEventStreamMutex.RLock() 11543 defer fake.pollJobToEventStreamMutex.RUnlock() 11544 argsForCall := fake.pollJobToEventStreamArgsForCall[i] 11545 return argsForCall.arg1 11546 } 11547 11548 func (fake *FakeCloudControllerClient) PollJobToEventStreamReturns(result1 chan ccv3.PollJobEvent) { 11549 fake.pollJobToEventStreamMutex.Lock() 11550 defer fake.pollJobToEventStreamMutex.Unlock() 11551 fake.PollJobToEventStreamStub = nil 11552 fake.pollJobToEventStreamReturns = struct { 11553 result1 chan ccv3.PollJobEvent 11554 }{result1} 11555 } 11556 11557 func (fake *FakeCloudControllerClient) PollJobToEventStreamReturnsOnCall(i int, result1 chan ccv3.PollJobEvent) { 11558 fake.pollJobToEventStreamMutex.Lock() 11559 defer fake.pollJobToEventStreamMutex.Unlock() 11560 fake.PollJobToEventStreamStub = nil 11561 if fake.pollJobToEventStreamReturnsOnCall == nil { 11562 fake.pollJobToEventStreamReturnsOnCall = make(map[int]struct { 11563 result1 chan ccv3.PollJobEvent 11564 }) 11565 } 11566 fake.pollJobToEventStreamReturnsOnCall[i] = struct { 11567 result1 chan ccv3.PollJobEvent 11568 }{result1} 11569 } 11570 11571 func (fake *FakeCloudControllerClient) PurgeServiceOffering(arg1 string) (ccv3.Warnings, error) { 11572 fake.purgeServiceOfferingMutex.Lock() 11573 ret, specificReturn := fake.purgeServiceOfferingReturnsOnCall[len(fake.purgeServiceOfferingArgsForCall)] 11574 fake.purgeServiceOfferingArgsForCall = append(fake.purgeServiceOfferingArgsForCall, struct { 11575 arg1 string 11576 }{arg1}) 11577 fake.recordInvocation("PurgeServiceOffering", []interface{}{arg1}) 11578 fake.purgeServiceOfferingMutex.Unlock() 11579 if fake.PurgeServiceOfferingStub != nil { 11580 return fake.PurgeServiceOfferingStub(arg1) 11581 } 11582 if specificReturn { 11583 return ret.result1, ret.result2 11584 } 11585 fakeReturns := fake.purgeServiceOfferingReturns 11586 return fakeReturns.result1, fakeReturns.result2 11587 } 11588 11589 func (fake *FakeCloudControllerClient) PurgeServiceOfferingCallCount() int { 11590 fake.purgeServiceOfferingMutex.RLock() 11591 defer fake.purgeServiceOfferingMutex.RUnlock() 11592 return len(fake.purgeServiceOfferingArgsForCall) 11593 } 11594 11595 func (fake *FakeCloudControllerClient) PurgeServiceOfferingCalls(stub func(string) (ccv3.Warnings, error)) { 11596 fake.purgeServiceOfferingMutex.Lock() 11597 defer fake.purgeServiceOfferingMutex.Unlock() 11598 fake.PurgeServiceOfferingStub = stub 11599 } 11600 11601 func (fake *FakeCloudControllerClient) PurgeServiceOfferingArgsForCall(i int) string { 11602 fake.purgeServiceOfferingMutex.RLock() 11603 defer fake.purgeServiceOfferingMutex.RUnlock() 11604 argsForCall := fake.purgeServiceOfferingArgsForCall[i] 11605 return argsForCall.arg1 11606 } 11607 11608 func (fake *FakeCloudControllerClient) PurgeServiceOfferingReturns(result1 ccv3.Warnings, result2 error) { 11609 fake.purgeServiceOfferingMutex.Lock() 11610 defer fake.purgeServiceOfferingMutex.Unlock() 11611 fake.PurgeServiceOfferingStub = nil 11612 fake.purgeServiceOfferingReturns = struct { 11613 result1 ccv3.Warnings 11614 result2 error 11615 }{result1, result2} 11616 } 11617 11618 func (fake *FakeCloudControllerClient) PurgeServiceOfferingReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 11619 fake.purgeServiceOfferingMutex.Lock() 11620 defer fake.purgeServiceOfferingMutex.Unlock() 11621 fake.PurgeServiceOfferingStub = nil 11622 if fake.purgeServiceOfferingReturnsOnCall == nil { 11623 fake.purgeServiceOfferingReturnsOnCall = make(map[int]struct { 11624 result1 ccv3.Warnings 11625 result2 error 11626 }) 11627 } 11628 fake.purgeServiceOfferingReturnsOnCall[i] = struct { 11629 result1 ccv3.Warnings 11630 result2 error 11631 }{result1, result2} 11632 } 11633 11634 func (fake *FakeCloudControllerClient) ResourceMatch(arg1 []ccv3.Resource) ([]ccv3.Resource, ccv3.Warnings, error) { 11635 var arg1Copy []ccv3.Resource 11636 if arg1 != nil { 11637 arg1Copy = make([]ccv3.Resource, len(arg1)) 11638 copy(arg1Copy, arg1) 11639 } 11640 fake.resourceMatchMutex.Lock() 11641 ret, specificReturn := fake.resourceMatchReturnsOnCall[len(fake.resourceMatchArgsForCall)] 11642 fake.resourceMatchArgsForCall = append(fake.resourceMatchArgsForCall, struct { 11643 arg1 []ccv3.Resource 11644 }{arg1Copy}) 11645 fake.recordInvocation("ResourceMatch", []interface{}{arg1Copy}) 11646 fake.resourceMatchMutex.Unlock() 11647 if fake.ResourceMatchStub != nil { 11648 return fake.ResourceMatchStub(arg1) 11649 } 11650 if specificReturn { 11651 return ret.result1, ret.result2, ret.result3 11652 } 11653 fakeReturns := fake.resourceMatchReturns 11654 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11655 } 11656 11657 func (fake *FakeCloudControllerClient) ResourceMatchCallCount() int { 11658 fake.resourceMatchMutex.RLock() 11659 defer fake.resourceMatchMutex.RUnlock() 11660 return len(fake.resourceMatchArgsForCall) 11661 } 11662 11663 func (fake *FakeCloudControllerClient) ResourceMatchCalls(stub func([]ccv3.Resource) ([]ccv3.Resource, ccv3.Warnings, error)) { 11664 fake.resourceMatchMutex.Lock() 11665 defer fake.resourceMatchMutex.Unlock() 11666 fake.ResourceMatchStub = stub 11667 } 11668 11669 func (fake *FakeCloudControllerClient) ResourceMatchArgsForCall(i int) []ccv3.Resource { 11670 fake.resourceMatchMutex.RLock() 11671 defer fake.resourceMatchMutex.RUnlock() 11672 argsForCall := fake.resourceMatchArgsForCall[i] 11673 return argsForCall.arg1 11674 } 11675 11676 func (fake *FakeCloudControllerClient) ResourceMatchReturns(result1 []ccv3.Resource, result2 ccv3.Warnings, result3 error) { 11677 fake.resourceMatchMutex.Lock() 11678 defer fake.resourceMatchMutex.Unlock() 11679 fake.ResourceMatchStub = nil 11680 fake.resourceMatchReturns = struct { 11681 result1 []ccv3.Resource 11682 result2 ccv3.Warnings 11683 result3 error 11684 }{result1, result2, result3} 11685 } 11686 11687 func (fake *FakeCloudControllerClient) ResourceMatchReturnsOnCall(i int, result1 []ccv3.Resource, result2 ccv3.Warnings, result3 error) { 11688 fake.resourceMatchMutex.Lock() 11689 defer fake.resourceMatchMutex.Unlock() 11690 fake.ResourceMatchStub = nil 11691 if fake.resourceMatchReturnsOnCall == nil { 11692 fake.resourceMatchReturnsOnCall = make(map[int]struct { 11693 result1 []ccv3.Resource 11694 result2 ccv3.Warnings 11695 result3 error 11696 }) 11697 } 11698 fake.resourceMatchReturnsOnCall[i] = struct { 11699 result1 []ccv3.Resource 11700 result2 ccv3.Warnings 11701 result3 error 11702 }{result1, result2, result3} 11703 } 11704 11705 func (fake *FakeCloudControllerClient) RootResponse() (ccv3.Info, ccv3.Warnings, error) { 11706 fake.rootResponseMutex.Lock() 11707 ret, specificReturn := fake.rootResponseReturnsOnCall[len(fake.rootResponseArgsForCall)] 11708 fake.rootResponseArgsForCall = append(fake.rootResponseArgsForCall, struct { 11709 }{}) 11710 fake.recordInvocation("RootResponse", []interface{}{}) 11711 fake.rootResponseMutex.Unlock() 11712 if fake.RootResponseStub != nil { 11713 return fake.RootResponseStub() 11714 } 11715 if specificReturn { 11716 return ret.result1, ret.result2, ret.result3 11717 } 11718 fakeReturns := fake.rootResponseReturns 11719 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11720 } 11721 11722 func (fake *FakeCloudControllerClient) RootResponseCallCount() int { 11723 fake.rootResponseMutex.RLock() 11724 defer fake.rootResponseMutex.RUnlock() 11725 return len(fake.rootResponseArgsForCall) 11726 } 11727 11728 func (fake *FakeCloudControllerClient) RootResponseCalls(stub func() (ccv3.Info, ccv3.Warnings, error)) { 11729 fake.rootResponseMutex.Lock() 11730 defer fake.rootResponseMutex.Unlock() 11731 fake.RootResponseStub = stub 11732 } 11733 11734 func (fake *FakeCloudControllerClient) RootResponseReturns(result1 ccv3.Info, result2 ccv3.Warnings, result3 error) { 11735 fake.rootResponseMutex.Lock() 11736 defer fake.rootResponseMutex.Unlock() 11737 fake.RootResponseStub = nil 11738 fake.rootResponseReturns = struct { 11739 result1 ccv3.Info 11740 result2 ccv3.Warnings 11741 result3 error 11742 }{result1, result2, result3} 11743 } 11744 11745 func (fake *FakeCloudControllerClient) RootResponseReturnsOnCall(i int, result1 ccv3.Info, result2 ccv3.Warnings, result3 error) { 11746 fake.rootResponseMutex.Lock() 11747 defer fake.rootResponseMutex.Unlock() 11748 fake.RootResponseStub = nil 11749 if fake.rootResponseReturnsOnCall == nil { 11750 fake.rootResponseReturnsOnCall = make(map[int]struct { 11751 result1 ccv3.Info 11752 result2 ccv3.Warnings 11753 result3 error 11754 }) 11755 } 11756 fake.rootResponseReturnsOnCall[i] = struct { 11757 result1 ccv3.Info 11758 result2 ccv3.Warnings 11759 result3 error 11760 }{result1, result2, result3} 11761 } 11762 11763 func (fake *FakeCloudControllerClient) SetApplicationDroplet(arg1 string, arg2 string) (resources.Relationship, ccv3.Warnings, error) { 11764 fake.setApplicationDropletMutex.Lock() 11765 ret, specificReturn := fake.setApplicationDropletReturnsOnCall[len(fake.setApplicationDropletArgsForCall)] 11766 fake.setApplicationDropletArgsForCall = append(fake.setApplicationDropletArgsForCall, struct { 11767 arg1 string 11768 arg2 string 11769 }{arg1, arg2}) 11770 fake.recordInvocation("SetApplicationDroplet", []interface{}{arg1, arg2}) 11771 fake.setApplicationDropletMutex.Unlock() 11772 if fake.SetApplicationDropletStub != nil { 11773 return fake.SetApplicationDropletStub(arg1, arg2) 11774 } 11775 if specificReturn { 11776 return ret.result1, ret.result2, ret.result3 11777 } 11778 fakeReturns := fake.setApplicationDropletReturns 11779 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11780 } 11781 11782 func (fake *FakeCloudControllerClient) SetApplicationDropletCallCount() int { 11783 fake.setApplicationDropletMutex.RLock() 11784 defer fake.setApplicationDropletMutex.RUnlock() 11785 return len(fake.setApplicationDropletArgsForCall) 11786 } 11787 11788 func (fake *FakeCloudControllerClient) SetApplicationDropletCalls(stub func(string, string) (resources.Relationship, ccv3.Warnings, error)) { 11789 fake.setApplicationDropletMutex.Lock() 11790 defer fake.setApplicationDropletMutex.Unlock() 11791 fake.SetApplicationDropletStub = stub 11792 } 11793 11794 func (fake *FakeCloudControllerClient) SetApplicationDropletArgsForCall(i int) (string, string) { 11795 fake.setApplicationDropletMutex.RLock() 11796 defer fake.setApplicationDropletMutex.RUnlock() 11797 argsForCall := fake.setApplicationDropletArgsForCall[i] 11798 return argsForCall.arg1, argsForCall.arg2 11799 } 11800 11801 func (fake *FakeCloudControllerClient) SetApplicationDropletReturns(result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 11802 fake.setApplicationDropletMutex.Lock() 11803 defer fake.setApplicationDropletMutex.Unlock() 11804 fake.SetApplicationDropletStub = nil 11805 fake.setApplicationDropletReturns = struct { 11806 result1 resources.Relationship 11807 result2 ccv3.Warnings 11808 result3 error 11809 }{result1, result2, result3} 11810 } 11811 11812 func (fake *FakeCloudControllerClient) SetApplicationDropletReturnsOnCall(i int, result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 11813 fake.setApplicationDropletMutex.Lock() 11814 defer fake.setApplicationDropletMutex.Unlock() 11815 fake.SetApplicationDropletStub = nil 11816 if fake.setApplicationDropletReturnsOnCall == nil { 11817 fake.setApplicationDropletReturnsOnCall = make(map[int]struct { 11818 result1 resources.Relationship 11819 result2 ccv3.Warnings 11820 result3 error 11821 }) 11822 } 11823 fake.setApplicationDropletReturnsOnCall[i] = struct { 11824 result1 resources.Relationship 11825 result2 ccv3.Warnings 11826 result3 error 11827 }{result1, result2, result3} 11828 } 11829 11830 func (fake *FakeCloudControllerClient) SharePrivateDomainToOrgs(arg1 string, arg2 ccv3.SharedOrgs) (ccv3.Warnings, error) { 11831 fake.sharePrivateDomainToOrgsMutex.Lock() 11832 ret, specificReturn := fake.sharePrivateDomainToOrgsReturnsOnCall[len(fake.sharePrivateDomainToOrgsArgsForCall)] 11833 fake.sharePrivateDomainToOrgsArgsForCall = append(fake.sharePrivateDomainToOrgsArgsForCall, struct { 11834 arg1 string 11835 arg2 ccv3.SharedOrgs 11836 }{arg1, arg2}) 11837 fake.recordInvocation("SharePrivateDomainToOrgs", []interface{}{arg1, arg2}) 11838 fake.sharePrivateDomainToOrgsMutex.Unlock() 11839 if fake.SharePrivateDomainToOrgsStub != nil { 11840 return fake.SharePrivateDomainToOrgsStub(arg1, arg2) 11841 } 11842 if specificReturn { 11843 return ret.result1, ret.result2 11844 } 11845 fakeReturns := fake.sharePrivateDomainToOrgsReturns 11846 return fakeReturns.result1, fakeReturns.result2 11847 } 11848 11849 func (fake *FakeCloudControllerClient) SharePrivateDomainToOrgsCallCount() int { 11850 fake.sharePrivateDomainToOrgsMutex.RLock() 11851 defer fake.sharePrivateDomainToOrgsMutex.RUnlock() 11852 return len(fake.sharePrivateDomainToOrgsArgsForCall) 11853 } 11854 11855 func (fake *FakeCloudControllerClient) SharePrivateDomainToOrgsCalls(stub func(string, ccv3.SharedOrgs) (ccv3.Warnings, error)) { 11856 fake.sharePrivateDomainToOrgsMutex.Lock() 11857 defer fake.sharePrivateDomainToOrgsMutex.Unlock() 11858 fake.SharePrivateDomainToOrgsStub = stub 11859 } 11860 11861 func (fake *FakeCloudControllerClient) SharePrivateDomainToOrgsArgsForCall(i int) (string, ccv3.SharedOrgs) { 11862 fake.sharePrivateDomainToOrgsMutex.RLock() 11863 defer fake.sharePrivateDomainToOrgsMutex.RUnlock() 11864 argsForCall := fake.sharePrivateDomainToOrgsArgsForCall[i] 11865 return argsForCall.arg1, argsForCall.arg2 11866 } 11867 11868 func (fake *FakeCloudControllerClient) SharePrivateDomainToOrgsReturns(result1 ccv3.Warnings, result2 error) { 11869 fake.sharePrivateDomainToOrgsMutex.Lock() 11870 defer fake.sharePrivateDomainToOrgsMutex.Unlock() 11871 fake.SharePrivateDomainToOrgsStub = nil 11872 fake.sharePrivateDomainToOrgsReturns = struct { 11873 result1 ccv3.Warnings 11874 result2 error 11875 }{result1, result2} 11876 } 11877 11878 func (fake *FakeCloudControllerClient) SharePrivateDomainToOrgsReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 11879 fake.sharePrivateDomainToOrgsMutex.Lock() 11880 defer fake.sharePrivateDomainToOrgsMutex.Unlock() 11881 fake.SharePrivateDomainToOrgsStub = nil 11882 if fake.sharePrivateDomainToOrgsReturnsOnCall == nil { 11883 fake.sharePrivateDomainToOrgsReturnsOnCall = make(map[int]struct { 11884 result1 ccv3.Warnings 11885 result2 error 11886 }) 11887 } 11888 fake.sharePrivateDomainToOrgsReturnsOnCall[i] = struct { 11889 result1 ccv3.Warnings 11890 result2 error 11891 }{result1, result2} 11892 } 11893 11894 func (fake *FakeCloudControllerClient) ShareRoute(arg1 string, arg2 string) (ccv3.Warnings, error) { 11895 fake.shareRouteMutex.Lock() 11896 ret, specificReturn := fake.shareRouteReturnsOnCall[len(fake.shareRouteArgsForCall)] 11897 fake.shareRouteArgsForCall = append(fake.shareRouteArgsForCall, struct { 11898 arg1 string 11899 arg2 string 11900 }{arg1, arg2}) 11901 fake.recordInvocation("ShareRoute", []interface{}{arg1, arg2}) 11902 fake.shareRouteMutex.Unlock() 11903 if fake.ShareRouteStub != nil { 11904 return fake.ShareRouteStub(arg1, arg2) 11905 } 11906 if specificReturn { 11907 return ret.result1, ret.result2 11908 } 11909 fakeReturns := fake.shareRouteReturns 11910 return fakeReturns.result1, fakeReturns.result2 11911 } 11912 11913 func (fake *FakeCloudControllerClient) ShareRouteCallCount() int { 11914 fake.shareRouteMutex.RLock() 11915 defer fake.shareRouteMutex.RUnlock() 11916 return len(fake.shareRouteArgsForCall) 11917 } 11918 11919 func (fake *FakeCloudControllerClient) ShareRouteCalls(stub func(string, string) (ccv3.Warnings, error)) { 11920 fake.shareRouteMutex.Lock() 11921 defer fake.shareRouteMutex.Unlock() 11922 fake.ShareRouteStub = stub 11923 } 11924 11925 func (fake *FakeCloudControllerClient) ShareRouteArgsForCall(i int) (string, string) { 11926 fake.shareRouteMutex.RLock() 11927 defer fake.shareRouteMutex.RUnlock() 11928 argsForCall := fake.shareRouteArgsForCall[i] 11929 return argsForCall.arg1, argsForCall.arg2 11930 } 11931 11932 func (fake *FakeCloudControllerClient) ShareRouteReturns(result1 ccv3.Warnings, result2 error) { 11933 fake.shareRouteMutex.Lock() 11934 defer fake.shareRouteMutex.Unlock() 11935 fake.ShareRouteStub = nil 11936 fake.shareRouteReturns = struct { 11937 result1 ccv3.Warnings 11938 result2 error 11939 }{result1, result2} 11940 } 11941 11942 func (fake *FakeCloudControllerClient) ShareRouteReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 11943 fake.shareRouteMutex.Lock() 11944 defer fake.shareRouteMutex.Unlock() 11945 fake.ShareRouteStub = nil 11946 if fake.shareRouteReturnsOnCall == nil { 11947 fake.shareRouteReturnsOnCall = make(map[int]struct { 11948 result1 ccv3.Warnings 11949 result2 error 11950 }) 11951 } 11952 fake.shareRouteReturnsOnCall[i] = struct { 11953 result1 ccv3.Warnings 11954 result2 error 11955 }{result1, result2} 11956 } 11957 11958 func (fake *FakeCloudControllerClient) ShareServiceInstanceToSpaces(arg1 string, arg2 []string) (resources.RelationshipList, ccv3.Warnings, error) { 11959 var arg2Copy []string 11960 if arg2 != nil { 11961 arg2Copy = make([]string, len(arg2)) 11962 copy(arg2Copy, arg2) 11963 } 11964 fake.shareServiceInstanceToSpacesMutex.Lock() 11965 ret, specificReturn := fake.shareServiceInstanceToSpacesReturnsOnCall[len(fake.shareServiceInstanceToSpacesArgsForCall)] 11966 fake.shareServiceInstanceToSpacesArgsForCall = append(fake.shareServiceInstanceToSpacesArgsForCall, struct { 11967 arg1 string 11968 arg2 []string 11969 }{arg1, arg2Copy}) 11970 fake.recordInvocation("ShareServiceInstanceToSpaces", []interface{}{arg1, arg2Copy}) 11971 fake.shareServiceInstanceToSpacesMutex.Unlock() 11972 if fake.ShareServiceInstanceToSpacesStub != nil { 11973 return fake.ShareServiceInstanceToSpacesStub(arg1, arg2) 11974 } 11975 if specificReturn { 11976 return ret.result1, ret.result2, ret.result3 11977 } 11978 fakeReturns := fake.shareServiceInstanceToSpacesReturns 11979 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 11980 } 11981 11982 func (fake *FakeCloudControllerClient) ShareServiceInstanceToSpacesCallCount() int { 11983 fake.shareServiceInstanceToSpacesMutex.RLock() 11984 defer fake.shareServiceInstanceToSpacesMutex.RUnlock() 11985 return len(fake.shareServiceInstanceToSpacesArgsForCall) 11986 } 11987 11988 func (fake *FakeCloudControllerClient) ShareServiceInstanceToSpacesCalls(stub func(string, []string) (resources.RelationshipList, ccv3.Warnings, error)) { 11989 fake.shareServiceInstanceToSpacesMutex.Lock() 11990 defer fake.shareServiceInstanceToSpacesMutex.Unlock() 11991 fake.ShareServiceInstanceToSpacesStub = stub 11992 } 11993 11994 func (fake *FakeCloudControllerClient) ShareServiceInstanceToSpacesArgsForCall(i int) (string, []string) { 11995 fake.shareServiceInstanceToSpacesMutex.RLock() 11996 defer fake.shareServiceInstanceToSpacesMutex.RUnlock() 11997 argsForCall := fake.shareServiceInstanceToSpacesArgsForCall[i] 11998 return argsForCall.arg1, argsForCall.arg2 11999 } 12000 12001 func (fake *FakeCloudControllerClient) ShareServiceInstanceToSpacesReturns(result1 resources.RelationshipList, result2 ccv3.Warnings, result3 error) { 12002 fake.shareServiceInstanceToSpacesMutex.Lock() 12003 defer fake.shareServiceInstanceToSpacesMutex.Unlock() 12004 fake.ShareServiceInstanceToSpacesStub = nil 12005 fake.shareServiceInstanceToSpacesReturns = struct { 12006 result1 resources.RelationshipList 12007 result2 ccv3.Warnings 12008 result3 error 12009 }{result1, result2, result3} 12010 } 12011 12012 func (fake *FakeCloudControllerClient) ShareServiceInstanceToSpacesReturnsOnCall(i int, result1 resources.RelationshipList, result2 ccv3.Warnings, result3 error) { 12013 fake.shareServiceInstanceToSpacesMutex.Lock() 12014 defer fake.shareServiceInstanceToSpacesMutex.Unlock() 12015 fake.ShareServiceInstanceToSpacesStub = nil 12016 if fake.shareServiceInstanceToSpacesReturnsOnCall == nil { 12017 fake.shareServiceInstanceToSpacesReturnsOnCall = make(map[int]struct { 12018 result1 resources.RelationshipList 12019 result2 ccv3.Warnings 12020 result3 error 12021 }) 12022 } 12023 fake.shareServiceInstanceToSpacesReturnsOnCall[i] = struct { 12024 result1 resources.RelationshipList 12025 result2 ccv3.Warnings 12026 result3 error 12027 }{result1, result2, result3} 12028 } 12029 12030 func (fake *FakeCloudControllerClient) TargetCF(arg1 ccv3.TargetSettings) { 12031 fake.targetCFMutex.Lock() 12032 fake.targetCFArgsForCall = append(fake.targetCFArgsForCall, struct { 12033 arg1 ccv3.TargetSettings 12034 }{arg1}) 12035 fake.recordInvocation("TargetCF", []interface{}{arg1}) 12036 fake.targetCFMutex.Unlock() 12037 if fake.TargetCFStub != nil { 12038 fake.TargetCFStub(arg1) 12039 } 12040 } 12041 12042 func (fake *FakeCloudControllerClient) TargetCFCallCount() int { 12043 fake.targetCFMutex.RLock() 12044 defer fake.targetCFMutex.RUnlock() 12045 return len(fake.targetCFArgsForCall) 12046 } 12047 12048 func (fake *FakeCloudControllerClient) TargetCFCalls(stub func(ccv3.TargetSettings)) { 12049 fake.targetCFMutex.Lock() 12050 defer fake.targetCFMutex.Unlock() 12051 fake.TargetCFStub = stub 12052 } 12053 12054 func (fake *FakeCloudControllerClient) TargetCFArgsForCall(i int) ccv3.TargetSettings { 12055 fake.targetCFMutex.RLock() 12056 defer fake.targetCFMutex.RUnlock() 12057 argsForCall := fake.targetCFArgsForCall[i] 12058 return argsForCall.arg1 12059 } 12060 12061 func (fake *FakeCloudControllerClient) UnbindSecurityGroupRunningSpace(arg1 string, arg2 string) (ccv3.Warnings, error) { 12062 fake.unbindSecurityGroupRunningSpaceMutex.Lock() 12063 ret, specificReturn := fake.unbindSecurityGroupRunningSpaceReturnsOnCall[len(fake.unbindSecurityGroupRunningSpaceArgsForCall)] 12064 fake.unbindSecurityGroupRunningSpaceArgsForCall = append(fake.unbindSecurityGroupRunningSpaceArgsForCall, struct { 12065 arg1 string 12066 arg2 string 12067 }{arg1, arg2}) 12068 fake.recordInvocation("UnbindSecurityGroupRunningSpace", []interface{}{arg1, arg2}) 12069 fake.unbindSecurityGroupRunningSpaceMutex.Unlock() 12070 if fake.UnbindSecurityGroupRunningSpaceStub != nil { 12071 return fake.UnbindSecurityGroupRunningSpaceStub(arg1, arg2) 12072 } 12073 if specificReturn { 12074 return ret.result1, ret.result2 12075 } 12076 fakeReturns := fake.unbindSecurityGroupRunningSpaceReturns 12077 return fakeReturns.result1, fakeReturns.result2 12078 } 12079 12080 func (fake *FakeCloudControllerClient) UnbindSecurityGroupRunningSpaceCallCount() int { 12081 fake.unbindSecurityGroupRunningSpaceMutex.RLock() 12082 defer fake.unbindSecurityGroupRunningSpaceMutex.RUnlock() 12083 return len(fake.unbindSecurityGroupRunningSpaceArgsForCall) 12084 } 12085 12086 func (fake *FakeCloudControllerClient) UnbindSecurityGroupRunningSpaceCalls(stub func(string, string) (ccv3.Warnings, error)) { 12087 fake.unbindSecurityGroupRunningSpaceMutex.Lock() 12088 defer fake.unbindSecurityGroupRunningSpaceMutex.Unlock() 12089 fake.UnbindSecurityGroupRunningSpaceStub = stub 12090 } 12091 12092 func (fake *FakeCloudControllerClient) UnbindSecurityGroupRunningSpaceArgsForCall(i int) (string, string) { 12093 fake.unbindSecurityGroupRunningSpaceMutex.RLock() 12094 defer fake.unbindSecurityGroupRunningSpaceMutex.RUnlock() 12095 argsForCall := fake.unbindSecurityGroupRunningSpaceArgsForCall[i] 12096 return argsForCall.arg1, argsForCall.arg2 12097 } 12098 12099 func (fake *FakeCloudControllerClient) UnbindSecurityGroupRunningSpaceReturns(result1 ccv3.Warnings, result2 error) { 12100 fake.unbindSecurityGroupRunningSpaceMutex.Lock() 12101 defer fake.unbindSecurityGroupRunningSpaceMutex.Unlock() 12102 fake.UnbindSecurityGroupRunningSpaceStub = nil 12103 fake.unbindSecurityGroupRunningSpaceReturns = struct { 12104 result1 ccv3.Warnings 12105 result2 error 12106 }{result1, result2} 12107 } 12108 12109 func (fake *FakeCloudControllerClient) UnbindSecurityGroupRunningSpaceReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 12110 fake.unbindSecurityGroupRunningSpaceMutex.Lock() 12111 defer fake.unbindSecurityGroupRunningSpaceMutex.Unlock() 12112 fake.UnbindSecurityGroupRunningSpaceStub = nil 12113 if fake.unbindSecurityGroupRunningSpaceReturnsOnCall == nil { 12114 fake.unbindSecurityGroupRunningSpaceReturnsOnCall = make(map[int]struct { 12115 result1 ccv3.Warnings 12116 result2 error 12117 }) 12118 } 12119 fake.unbindSecurityGroupRunningSpaceReturnsOnCall[i] = struct { 12120 result1 ccv3.Warnings 12121 result2 error 12122 }{result1, result2} 12123 } 12124 12125 func (fake *FakeCloudControllerClient) UnbindSecurityGroupStagingSpace(arg1 string, arg2 string) (ccv3.Warnings, error) { 12126 fake.unbindSecurityGroupStagingSpaceMutex.Lock() 12127 ret, specificReturn := fake.unbindSecurityGroupStagingSpaceReturnsOnCall[len(fake.unbindSecurityGroupStagingSpaceArgsForCall)] 12128 fake.unbindSecurityGroupStagingSpaceArgsForCall = append(fake.unbindSecurityGroupStagingSpaceArgsForCall, struct { 12129 arg1 string 12130 arg2 string 12131 }{arg1, arg2}) 12132 fake.recordInvocation("UnbindSecurityGroupStagingSpace", []interface{}{arg1, arg2}) 12133 fake.unbindSecurityGroupStagingSpaceMutex.Unlock() 12134 if fake.UnbindSecurityGroupStagingSpaceStub != nil { 12135 return fake.UnbindSecurityGroupStagingSpaceStub(arg1, arg2) 12136 } 12137 if specificReturn { 12138 return ret.result1, ret.result2 12139 } 12140 fakeReturns := fake.unbindSecurityGroupStagingSpaceReturns 12141 return fakeReturns.result1, fakeReturns.result2 12142 } 12143 12144 func (fake *FakeCloudControllerClient) UnbindSecurityGroupStagingSpaceCallCount() int { 12145 fake.unbindSecurityGroupStagingSpaceMutex.RLock() 12146 defer fake.unbindSecurityGroupStagingSpaceMutex.RUnlock() 12147 return len(fake.unbindSecurityGroupStagingSpaceArgsForCall) 12148 } 12149 12150 func (fake *FakeCloudControllerClient) UnbindSecurityGroupStagingSpaceCalls(stub func(string, string) (ccv3.Warnings, error)) { 12151 fake.unbindSecurityGroupStagingSpaceMutex.Lock() 12152 defer fake.unbindSecurityGroupStagingSpaceMutex.Unlock() 12153 fake.UnbindSecurityGroupStagingSpaceStub = stub 12154 } 12155 12156 func (fake *FakeCloudControllerClient) UnbindSecurityGroupStagingSpaceArgsForCall(i int) (string, string) { 12157 fake.unbindSecurityGroupStagingSpaceMutex.RLock() 12158 defer fake.unbindSecurityGroupStagingSpaceMutex.RUnlock() 12159 argsForCall := fake.unbindSecurityGroupStagingSpaceArgsForCall[i] 12160 return argsForCall.arg1, argsForCall.arg2 12161 } 12162 12163 func (fake *FakeCloudControllerClient) UnbindSecurityGroupStagingSpaceReturns(result1 ccv3.Warnings, result2 error) { 12164 fake.unbindSecurityGroupStagingSpaceMutex.Lock() 12165 defer fake.unbindSecurityGroupStagingSpaceMutex.Unlock() 12166 fake.UnbindSecurityGroupStagingSpaceStub = nil 12167 fake.unbindSecurityGroupStagingSpaceReturns = struct { 12168 result1 ccv3.Warnings 12169 result2 error 12170 }{result1, result2} 12171 } 12172 12173 func (fake *FakeCloudControllerClient) UnbindSecurityGroupStagingSpaceReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 12174 fake.unbindSecurityGroupStagingSpaceMutex.Lock() 12175 defer fake.unbindSecurityGroupStagingSpaceMutex.Unlock() 12176 fake.UnbindSecurityGroupStagingSpaceStub = nil 12177 if fake.unbindSecurityGroupStagingSpaceReturnsOnCall == nil { 12178 fake.unbindSecurityGroupStagingSpaceReturnsOnCall = make(map[int]struct { 12179 result1 ccv3.Warnings 12180 result2 error 12181 }) 12182 } 12183 fake.unbindSecurityGroupStagingSpaceReturnsOnCall[i] = struct { 12184 result1 ccv3.Warnings 12185 result2 error 12186 }{result1, result2} 12187 } 12188 12189 func (fake *FakeCloudControllerClient) UnmapRoute(arg1 string, arg2 string) (ccv3.Warnings, error) { 12190 fake.unmapRouteMutex.Lock() 12191 ret, specificReturn := fake.unmapRouteReturnsOnCall[len(fake.unmapRouteArgsForCall)] 12192 fake.unmapRouteArgsForCall = append(fake.unmapRouteArgsForCall, struct { 12193 arg1 string 12194 arg2 string 12195 }{arg1, arg2}) 12196 fake.recordInvocation("UnmapRoute", []interface{}{arg1, arg2}) 12197 fake.unmapRouteMutex.Unlock() 12198 if fake.UnmapRouteStub != nil { 12199 return fake.UnmapRouteStub(arg1, arg2) 12200 } 12201 if specificReturn { 12202 return ret.result1, ret.result2 12203 } 12204 fakeReturns := fake.unmapRouteReturns 12205 return fakeReturns.result1, fakeReturns.result2 12206 } 12207 12208 func (fake *FakeCloudControllerClient) UnmapRouteCallCount() int { 12209 fake.unmapRouteMutex.RLock() 12210 defer fake.unmapRouteMutex.RUnlock() 12211 return len(fake.unmapRouteArgsForCall) 12212 } 12213 12214 func (fake *FakeCloudControllerClient) UnmapRouteCalls(stub func(string, string) (ccv3.Warnings, error)) { 12215 fake.unmapRouteMutex.Lock() 12216 defer fake.unmapRouteMutex.Unlock() 12217 fake.UnmapRouteStub = stub 12218 } 12219 12220 func (fake *FakeCloudControllerClient) UnmapRouteArgsForCall(i int) (string, string) { 12221 fake.unmapRouteMutex.RLock() 12222 defer fake.unmapRouteMutex.RUnlock() 12223 argsForCall := fake.unmapRouteArgsForCall[i] 12224 return argsForCall.arg1, argsForCall.arg2 12225 } 12226 12227 func (fake *FakeCloudControllerClient) UnmapRouteReturns(result1 ccv3.Warnings, result2 error) { 12228 fake.unmapRouteMutex.Lock() 12229 defer fake.unmapRouteMutex.Unlock() 12230 fake.UnmapRouteStub = nil 12231 fake.unmapRouteReturns = struct { 12232 result1 ccv3.Warnings 12233 result2 error 12234 }{result1, result2} 12235 } 12236 12237 func (fake *FakeCloudControllerClient) UnmapRouteReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 12238 fake.unmapRouteMutex.Lock() 12239 defer fake.unmapRouteMutex.Unlock() 12240 fake.UnmapRouteStub = nil 12241 if fake.unmapRouteReturnsOnCall == nil { 12242 fake.unmapRouteReturnsOnCall = make(map[int]struct { 12243 result1 ccv3.Warnings 12244 result2 error 12245 }) 12246 } 12247 fake.unmapRouteReturnsOnCall[i] = struct { 12248 result1 ccv3.Warnings 12249 result2 error 12250 }{result1, result2} 12251 } 12252 12253 func (fake *FakeCloudControllerClient) UnsetSpaceQuota(arg1 string, arg2 string) (ccv3.Warnings, error) { 12254 fake.unsetSpaceQuotaMutex.Lock() 12255 ret, specificReturn := fake.unsetSpaceQuotaReturnsOnCall[len(fake.unsetSpaceQuotaArgsForCall)] 12256 fake.unsetSpaceQuotaArgsForCall = append(fake.unsetSpaceQuotaArgsForCall, struct { 12257 arg1 string 12258 arg2 string 12259 }{arg1, arg2}) 12260 fake.recordInvocation("UnsetSpaceQuota", []interface{}{arg1, arg2}) 12261 fake.unsetSpaceQuotaMutex.Unlock() 12262 if fake.UnsetSpaceQuotaStub != nil { 12263 return fake.UnsetSpaceQuotaStub(arg1, arg2) 12264 } 12265 if specificReturn { 12266 return ret.result1, ret.result2 12267 } 12268 fakeReturns := fake.unsetSpaceQuotaReturns 12269 return fakeReturns.result1, fakeReturns.result2 12270 } 12271 12272 func (fake *FakeCloudControllerClient) UnsetSpaceQuotaCallCount() int { 12273 fake.unsetSpaceQuotaMutex.RLock() 12274 defer fake.unsetSpaceQuotaMutex.RUnlock() 12275 return len(fake.unsetSpaceQuotaArgsForCall) 12276 } 12277 12278 func (fake *FakeCloudControllerClient) UnsetSpaceQuotaCalls(stub func(string, string) (ccv3.Warnings, error)) { 12279 fake.unsetSpaceQuotaMutex.Lock() 12280 defer fake.unsetSpaceQuotaMutex.Unlock() 12281 fake.UnsetSpaceQuotaStub = stub 12282 } 12283 12284 func (fake *FakeCloudControllerClient) UnsetSpaceQuotaArgsForCall(i int) (string, string) { 12285 fake.unsetSpaceQuotaMutex.RLock() 12286 defer fake.unsetSpaceQuotaMutex.RUnlock() 12287 argsForCall := fake.unsetSpaceQuotaArgsForCall[i] 12288 return argsForCall.arg1, argsForCall.arg2 12289 } 12290 12291 func (fake *FakeCloudControllerClient) UnsetSpaceQuotaReturns(result1 ccv3.Warnings, result2 error) { 12292 fake.unsetSpaceQuotaMutex.Lock() 12293 defer fake.unsetSpaceQuotaMutex.Unlock() 12294 fake.UnsetSpaceQuotaStub = nil 12295 fake.unsetSpaceQuotaReturns = struct { 12296 result1 ccv3.Warnings 12297 result2 error 12298 }{result1, result2} 12299 } 12300 12301 func (fake *FakeCloudControllerClient) UnsetSpaceQuotaReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 12302 fake.unsetSpaceQuotaMutex.Lock() 12303 defer fake.unsetSpaceQuotaMutex.Unlock() 12304 fake.UnsetSpaceQuotaStub = nil 12305 if fake.unsetSpaceQuotaReturnsOnCall == nil { 12306 fake.unsetSpaceQuotaReturnsOnCall = make(map[int]struct { 12307 result1 ccv3.Warnings 12308 result2 error 12309 }) 12310 } 12311 fake.unsetSpaceQuotaReturnsOnCall[i] = struct { 12312 result1 ccv3.Warnings 12313 result2 error 12314 }{result1, result2} 12315 } 12316 12317 func (fake *FakeCloudControllerClient) UnsharePrivateDomainFromOrg(arg1 string, arg2 string) (ccv3.Warnings, error) { 12318 fake.unsharePrivateDomainFromOrgMutex.Lock() 12319 ret, specificReturn := fake.unsharePrivateDomainFromOrgReturnsOnCall[len(fake.unsharePrivateDomainFromOrgArgsForCall)] 12320 fake.unsharePrivateDomainFromOrgArgsForCall = append(fake.unsharePrivateDomainFromOrgArgsForCall, struct { 12321 arg1 string 12322 arg2 string 12323 }{arg1, arg2}) 12324 fake.recordInvocation("UnsharePrivateDomainFromOrg", []interface{}{arg1, arg2}) 12325 fake.unsharePrivateDomainFromOrgMutex.Unlock() 12326 if fake.UnsharePrivateDomainFromOrgStub != nil { 12327 return fake.UnsharePrivateDomainFromOrgStub(arg1, arg2) 12328 } 12329 if specificReturn { 12330 return ret.result1, ret.result2 12331 } 12332 fakeReturns := fake.unsharePrivateDomainFromOrgReturns 12333 return fakeReturns.result1, fakeReturns.result2 12334 } 12335 12336 func (fake *FakeCloudControllerClient) UnsharePrivateDomainFromOrgCallCount() int { 12337 fake.unsharePrivateDomainFromOrgMutex.RLock() 12338 defer fake.unsharePrivateDomainFromOrgMutex.RUnlock() 12339 return len(fake.unsharePrivateDomainFromOrgArgsForCall) 12340 } 12341 12342 func (fake *FakeCloudControllerClient) UnsharePrivateDomainFromOrgCalls(stub func(string, string) (ccv3.Warnings, error)) { 12343 fake.unsharePrivateDomainFromOrgMutex.Lock() 12344 defer fake.unsharePrivateDomainFromOrgMutex.Unlock() 12345 fake.UnsharePrivateDomainFromOrgStub = stub 12346 } 12347 12348 func (fake *FakeCloudControllerClient) UnsharePrivateDomainFromOrgArgsForCall(i int) (string, string) { 12349 fake.unsharePrivateDomainFromOrgMutex.RLock() 12350 defer fake.unsharePrivateDomainFromOrgMutex.RUnlock() 12351 argsForCall := fake.unsharePrivateDomainFromOrgArgsForCall[i] 12352 return argsForCall.arg1, argsForCall.arg2 12353 } 12354 12355 func (fake *FakeCloudControllerClient) UnsharePrivateDomainFromOrgReturns(result1 ccv3.Warnings, result2 error) { 12356 fake.unsharePrivateDomainFromOrgMutex.Lock() 12357 defer fake.unsharePrivateDomainFromOrgMutex.Unlock() 12358 fake.UnsharePrivateDomainFromOrgStub = nil 12359 fake.unsharePrivateDomainFromOrgReturns = struct { 12360 result1 ccv3.Warnings 12361 result2 error 12362 }{result1, result2} 12363 } 12364 12365 func (fake *FakeCloudControllerClient) UnsharePrivateDomainFromOrgReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 12366 fake.unsharePrivateDomainFromOrgMutex.Lock() 12367 defer fake.unsharePrivateDomainFromOrgMutex.Unlock() 12368 fake.UnsharePrivateDomainFromOrgStub = nil 12369 if fake.unsharePrivateDomainFromOrgReturnsOnCall == nil { 12370 fake.unsharePrivateDomainFromOrgReturnsOnCall = make(map[int]struct { 12371 result1 ccv3.Warnings 12372 result2 error 12373 }) 12374 } 12375 fake.unsharePrivateDomainFromOrgReturnsOnCall[i] = struct { 12376 result1 ccv3.Warnings 12377 result2 error 12378 }{result1, result2} 12379 } 12380 12381 func (fake *FakeCloudControllerClient) UnshareRoute(arg1 string, arg2 string) (ccv3.Warnings, error) { 12382 fake.unshareRouteMutex.Lock() 12383 ret, specificReturn := fake.unshareRouteReturnsOnCall[len(fake.unshareRouteArgsForCall)] 12384 fake.unshareRouteArgsForCall = append(fake.unshareRouteArgsForCall, struct { 12385 arg1 string 12386 arg2 string 12387 }{arg1, arg2}) 12388 fake.recordInvocation("UnshareRoute", []interface{}{arg1, arg2}) 12389 fake.unshareRouteMutex.Unlock() 12390 if fake.UnshareRouteStub != nil { 12391 return fake.UnshareRouteStub(arg1, arg2) 12392 } 12393 if specificReturn { 12394 return ret.result1, ret.result2 12395 } 12396 fakeReturns := fake.unshareRouteReturns 12397 return fakeReturns.result1, fakeReturns.result2 12398 } 12399 12400 func (fake *FakeCloudControllerClient) UnshareRouteCallCount() int { 12401 fake.unshareRouteMutex.RLock() 12402 defer fake.unshareRouteMutex.RUnlock() 12403 return len(fake.unshareRouteArgsForCall) 12404 } 12405 12406 func (fake *FakeCloudControllerClient) UnshareRouteCalls(stub func(string, string) (ccv3.Warnings, error)) { 12407 fake.unshareRouteMutex.Lock() 12408 defer fake.unshareRouteMutex.Unlock() 12409 fake.UnshareRouteStub = stub 12410 } 12411 12412 func (fake *FakeCloudControllerClient) UnshareRouteArgsForCall(i int) (string, string) { 12413 fake.unshareRouteMutex.RLock() 12414 defer fake.unshareRouteMutex.RUnlock() 12415 argsForCall := fake.unshareRouteArgsForCall[i] 12416 return argsForCall.arg1, argsForCall.arg2 12417 } 12418 12419 func (fake *FakeCloudControllerClient) UnshareRouteReturns(result1 ccv3.Warnings, result2 error) { 12420 fake.unshareRouteMutex.Lock() 12421 defer fake.unshareRouteMutex.Unlock() 12422 fake.UnshareRouteStub = nil 12423 fake.unshareRouteReturns = struct { 12424 result1 ccv3.Warnings 12425 result2 error 12426 }{result1, result2} 12427 } 12428 12429 func (fake *FakeCloudControllerClient) UnshareRouteReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 12430 fake.unshareRouteMutex.Lock() 12431 defer fake.unshareRouteMutex.Unlock() 12432 fake.UnshareRouteStub = nil 12433 if fake.unshareRouteReturnsOnCall == nil { 12434 fake.unshareRouteReturnsOnCall = make(map[int]struct { 12435 result1 ccv3.Warnings 12436 result2 error 12437 }) 12438 } 12439 fake.unshareRouteReturnsOnCall[i] = struct { 12440 result1 ccv3.Warnings 12441 result2 error 12442 }{result1, result2} 12443 } 12444 12445 func (fake *FakeCloudControllerClient) UnshareServiceInstanceFromSpace(arg1 string, arg2 string) (ccv3.Warnings, error) { 12446 fake.unshareServiceInstanceFromSpaceMutex.Lock() 12447 ret, specificReturn := fake.unshareServiceInstanceFromSpaceReturnsOnCall[len(fake.unshareServiceInstanceFromSpaceArgsForCall)] 12448 fake.unshareServiceInstanceFromSpaceArgsForCall = append(fake.unshareServiceInstanceFromSpaceArgsForCall, struct { 12449 arg1 string 12450 arg2 string 12451 }{arg1, arg2}) 12452 fake.recordInvocation("UnshareServiceInstanceFromSpace", []interface{}{arg1, arg2}) 12453 fake.unshareServiceInstanceFromSpaceMutex.Unlock() 12454 if fake.UnshareServiceInstanceFromSpaceStub != nil { 12455 return fake.UnshareServiceInstanceFromSpaceStub(arg1, arg2) 12456 } 12457 if specificReturn { 12458 return ret.result1, ret.result2 12459 } 12460 fakeReturns := fake.unshareServiceInstanceFromSpaceReturns 12461 return fakeReturns.result1, fakeReturns.result2 12462 } 12463 12464 func (fake *FakeCloudControllerClient) UnshareServiceInstanceFromSpaceCallCount() int { 12465 fake.unshareServiceInstanceFromSpaceMutex.RLock() 12466 defer fake.unshareServiceInstanceFromSpaceMutex.RUnlock() 12467 return len(fake.unshareServiceInstanceFromSpaceArgsForCall) 12468 } 12469 12470 func (fake *FakeCloudControllerClient) UnshareServiceInstanceFromSpaceCalls(stub func(string, string) (ccv3.Warnings, error)) { 12471 fake.unshareServiceInstanceFromSpaceMutex.Lock() 12472 defer fake.unshareServiceInstanceFromSpaceMutex.Unlock() 12473 fake.UnshareServiceInstanceFromSpaceStub = stub 12474 } 12475 12476 func (fake *FakeCloudControllerClient) UnshareServiceInstanceFromSpaceArgsForCall(i int) (string, string) { 12477 fake.unshareServiceInstanceFromSpaceMutex.RLock() 12478 defer fake.unshareServiceInstanceFromSpaceMutex.RUnlock() 12479 argsForCall := fake.unshareServiceInstanceFromSpaceArgsForCall[i] 12480 return argsForCall.arg1, argsForCall.arg2 12481 } 12482 12483 func (fake *FakeCloudControllerClient) UnshareServiceInstanceFromSpaceReturns(result1 ccv3.Warnings, result2 error) { 12484 fake.unshareServiceInstanceFromSpaceMutex.Lock() 12485 defer fake.unshareServiceInstanceFromSpaceMutex.Unlock() 12486 fake.UnshareServiceInstanceFromSpaceStub = nil 12487 fake.unshareServiceInstanceFromSpaceReturns = struct { 12488 result1 ccv3.Warnings 12489 result2 error 12490 }{result1, result2} 12491 } 12492 12493 func (fake *FakeCloudControllerClient) UnshareServiceInstanceFromSpaceReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 12494 fake.unshareServiceInstanceFromSpaceMutex.Lock() 12495 defer fake.unshareServiceInstanceFromSpaceMutex.Unlock() 12496 fake.UnshareServiceInstanceFromSpaceStub = nil 12497 if fake.unshareServiceInstanceFromSpaceReturnsOnCall == nil { 12498 fake.unshareServiceInstanceFromSpaceReturnsOnCall = make(map[int]struct { 12499 result1 ccv3.Warnings 12500 result2 error 12501 }) 12502 } 12503 fake.unshareServiceInstanceFromSpaceReturnsOnCall[i] = struct { 12504 result1 ccv3.Warnings 12505 result2 error 12506 }{result1, result2} 12507 } 12508 12509 func (fake *FakeCloudControllerClient) UpdateAppFeature(arg1 string, arg2 bool, arg3 string) (ccv3.Warnings, error) { 12510 fake.updateAppFeatureMutex.Lock() 12511 ret, specificReturn := fake.updateAppFeatureReturnsOnCall[len(fake.updateAppFeatureArgsForCall)] 12512 fake.updateAppFeatureArgsForCall = append(fake.updateAppFeatureArgsForCall, struct { 12513 arg1 string 12514 arg2 bool 12515 arg3 string 12516 }{arg1, arg2, arg3}) 12517 fake.recordInvocation("UpdateAppFeature", []interface{}{arg1, arg2, arg3}) 12518 fake.updateAppFeatureMutex.Unlock() 12519 if fake.UpdateAppFeatureStub != nil { 12520 return fake.UpdateAppFeatureStub(arg1, arg2, arg3) 12521 } 12522 if specificReturn { 12523 return ret.result1, ret.result2 12524 } 12525 fakeReturns := fake.updateAppFeatureReturns 12526 return fakeReturns.result1, fakeReturns.result2 12527 } 12528 12529 func (fake *FakeCloudControllerClient) UpdateAppFeatureCallCount() int { 12530 fake.updateAppFeatureMutex.RLock() 12531 defer fake.updateAppFeatureMutex.RUnlock() 12532 return len(fake.updateAppFeatureArgsForCall) 12533 } 12534 12535 func (fake *FakeCloudControllerClient) UpdateAppFeatureCalls(stub func(string, bool, string) (ccv3.Warnings, error)) { 12536 fake.updateAppFeatureMutex.Lock() 12537 defer fake.updateAppFeatureMutex.Unlock() 12538 fake.UpdateAppFeatureStub = stub 12539 } 12540 12541 func (fake *FakeCloudControllerClient) UpdateAppFeatureArgsForCall(i int) (string, bool, string) { 12542 fake.updateAppFeatureMutex.RLock() 12543 defer fake.updateAppFeatureMutex.RUnlock() 12544 argsForCall := fake.updateAppFeatureArgsForCall[i] 12545 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3 12546 } 12547 12548 func (fake *FakeCloudControllerClient) UpdateAppFeatureReturns(result1 ccv3.Warnings, result2 error) { 12549 fake.updateAppFeatureMutex.Lock() 12550 defer fake.updateAppFeatureMutex.Unlock() 12551 fake.UpdateAppFeatureStub = nil 12552 fake.updateAppFeatureReturns = struct { 12553 result1 ccv3.Warnings 12554 result2 error 12555 }{result1, result2} 12556 } 12557 12558 func (fake *FakeCloudControllerClient) UpdateAppFeatureReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 12559 fake.updateAppFeatureMutex.Lock() 12560 defer fake.updateAppFeatureMutex.Unlock() 12561 fake.UpdateAppFeatureStub = nil 12562 if fake.updateAppFeatureReturnsOnCall == nil { 12563 fake.updateAppFeatureReturnsOnCall = make(map[int]struct { 12564 result1 ccv3.Warnings 12565 result2 error 12566 }) 12567 } 12568 fake.updateAppFeatureReturnsOnCall[i] = struct { 12569 result1 ccv3.Warnings 12570 result2 error 12571 }{result1, result2} 12572 } 12573 12574 func (fake *FakeCloudControllerClient) UpdateApplication(arg1 resources.Application) (resources.Application, ccv3.Warnings, error) { 12575 fake.updateApplicationMutex.Lock() 12576 ret, specificReturn := fake.updateApplicationReturnsOnCall[len(fake.updateApplicationArgsForCall)] 12577 fake.updateApplicationArgsForCall = append(fake.updateApplicationArgsForCall, struct { 12578 arg1 resources.Application 12579 }{arg1}) 12580 fake.recordInvocation("UpdateApplication", []interface{}{arg1}) 12581 fake.updateApplicationMutex.Unlock() 12582 if fake.UpdateApplicationStub != nil { 12583 return fake.UpdateApplicationStub(arg1) 12584 } 12585 if specificReturn { 12586 return ret.result1, ret.result2, ret.result3 12587 } 12588 fakeReturns := fake.updateApplicationReturns 12589 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 12590 } 12591 12592 func (fake *FakeCloudControllerClient) UpdateApplicationCallCount() int { 12593 fake.updateApplicationMutex.RLock() 12594 defer fake.updateApplicationMutex.RUnlock() 12595 return len(fake.updateApplicationArgsForCall) 12596 } 12597 12598 func (fake *FakeCloudControllerClient) UpdateApplicationCalls(stub func(resources.Application) (resources.Application, ccv3.Warnings, error)) { 12599 fake.updateApplicationMutex.Lock() 12600 defer fake.updateApplicationMutex.Unlock() 12601 fake.UpdateApplicationStub = stub 12602 } 12603 12604 func (fake *FakeCloudControllerClient) UpdateApplicationArgsForCall(i int) resources.Application { 12605 fake.updateApplicationMutex.RLock() 12606 defer fake.updateApplicationMutex.RUnlock() 12607 argsForCall := fake.updateApplicationArgsForCall[i] 12608 return argsForCall.arg1 12609 } 12610 12611 func (fake *FakeCloudControllerClient) UpdateApplicationReturns(result1 resources.Application, result2 ccv3.Warnings, result3 error) { 12612 fake.updateApplicationMutex.Lock() 12613 defer fake.updateApplicationMutex.Unlock() 12614 fake.UpdateApplicationStub = nil 12615 fake.updateApplicationReturns = struct { 12616 result1 resources.Application 12617 result2 ccv3.Warnings 12618 result3 error 12619 }{result1, result2, result3} 12620 } 12621 12622 func (fake *FakeCloudControllerClient) UpdateApplicationReturnsOnCall(i int, result1 resources.Application, result2 ccv3.Warnings, result3 error) { 12623 fake.updateApplicationMutex.Lock() 12624 defer fake.updateApplicationMutex.Unlock() 12625 fake.UpdateApplicationStub = nil 12626 if fake.updateApplicationReturnsOnCall == nil { 12627 fake.updateApplicationReturnsOnCall = make(map[int]struct { 12628 result1 resources.Application 12629 result2 ccv3.Warnings 12630 result3 error 12631 }) 12632 } 12633 fake.updateApplicationReturnsOnCall[i] = struct { 12634 result1 resources.Application 12635 result2 ccv3.Warnings 12636 result3 error 12637 }{result1, result2, result3} 12638 } 12639 12640 func (fake *FakeCloudControllerClient) UpdateApplicationApplyManifest(arg1 string, arg2 []byte) (ccv3.JobURL, ccv3.Warnings, error) { 12641 var arg2Copy []byte 12642 if arg2 != nil { 12643 arg2Copy = make([]byte, len(arg2)) 12644 copy(arg2Copy, arg2) 12645 } 12646 fake.updateApplicationApplyManifestMutex.Lock() 12647 ret, specificReturn := fake.updateApplicationApplyManifestReturnsOnCall[len(fake.updateApplicationApplyManifestArgsForCall)] 12648 fake.updateApplicationApplyManifestArgsForCall = append(fake.updateApplicationApplyManifestArgsForCall, struct { 12649 arg1 string 12650 arg2 []byte 12651 }{arg1, arg2Copy}) 12652 fake.recordInvocation("UpdateApplicationApplyManifest", []interface{}{arg1, arg2Copy}) 12653 fake.updateApplicationApplyManifestMutex.Unlock() 12654 if fake.UpdateApplicationApplyManifestStub != nil { 12655 return fake.UpdateApplicationApplyManifestStub(arg1, arg2) 12656 } 12657 if specificReturn { 12658 return ret.result1, ret.result2, ret.result3 12659 } 12660 fakeReturns := fake.updateApplicationApplyManifestReturns 12661 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 12662 } 12663 12664 func (fake *FakeCloudControllerClient) UpdateApplicationApplyManifestCallCount() int { 12665 fake.updateApplicationApplyManifestMutex.RLock() 12666 defer fake.updateApplicationApplyManifestMutex.RUnlock() 12667 return len(fake.updateApplicationApplyManifestArgsForCall) 12668 } 12669 12670 func (fake *FakeCloudControllerClient) UpdateApplicationApplyManifestCalls(stub func(string, []byte) (ccv3.JobURL, ccv3.Warnings, error)) { 12671 fake.updateApplicationApplyManifestMutex.Lock() 12672 defer fake.updateApplicationApplyManifestMutex.Unlock() 12673 fake.UpdateApplicationApplyManifestStub = stub 12674 } 12675 12676 func (fake *FakeCloudControllerClient) UpdateApplicationApplyManifestArgsForCall(i int) (string, []byte) { 12677 fake.updateApplicationApplyManifestMutex.RLock() 12678 defer fake.updateApplicationApplyManifestMutex.RUnlock() 12679 argsForCall := fake.updateApplicationApplyManifestArgsForCall[i] 12680 return argsForCall.arg1, argsForCall.arg2 12681 } 12682 12683 func (fake *FakeCloudControllerClient) UpdateApplicationApplyManifestReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 12684 fake.updateApplicationApplyManifestMutex.Lock() 12685 defer fake.updateApplicationApplyManifestMutex.Unlock() 12686 fake.UpdateApplicationApplyManifestStub = nil 12687 fake.updateApplicationApplyManifestReturns = struct { 12688 result1 ccv3.JobURL 12689 result2 ccv3.Warnings 12690 result3 error 12691 }{result1, result2, result3} 12692 } 12693 12694 func (fake *FakeCloudControllerClient) UpdateApplicationApplyManifestReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 12695 fake.updateApplicationApplyManifestMutex.Lock() 12696 defer fake.updateApplicationApplyManifestMutex.Unlock() 12697 fake.UpdateApplicationApplyManifestStub = nil 12698 if fake.updateApplicationApplyManifestReturnsOnCall == nil { 12699 fake.updateApplicationApplyManifestReturnsOnCall = make(map[int]struct { 12700 result1 ccv3.JobURL 12701 result2 ccv3.Warnings 12702 result3 error 12703 }) 12704 } 12705 fake.updateApplicationApplyManifestReturnsOnCall[i] = struct { 12706 result1 ccv3.JobURL 12707 result2 ccv3.Warnings 12708 result3 error 12709 }{result1, result2, result3} 12710 } 12711 12712 func (fake *FakeCloudControllerClient) UpdateApplicationEnvironmentVariables(arg1 string, arg2 resources.EnvironmentVariables) (resources.EnvironmentVariables, ccv3.Warnings, error) { 12713 fake.updateApplicationEnvironmentVariablesMutex.Lock() 12714 ret, specificReturn := fake.updateApplicationEnvironmentVariablesReturnsOnCall[len(fake.updateApplicationEnvironmentVariablesArgsForCall)] 12715 fake.updateApplicationEnvironmentVariablesArgsForCall = append(fake.updateApplicationEnvironmentVariablesArgsForCall, struct { 12716 arg1 string 12717 arg2 resources.EnvironmentVariables 12718 }{arg1, arg2}) 12719 fake.recordInvocation("UpdateApplicationEnvironmentVariables", []interface{}{arg1, arg2}) 12720 fake.updateApplicationEnvironmentVariablesMutex.Unlock() 12721 if fake.UpdateApplicationEnvironmentVariablesStub != nil { 12722 return fake.UpdateApplicationEnvironmentVariablesStub(arg1, arg2) 12723 } 12724 if specificReturn { 12725 return ret.result1, ret.result2, ret.result3 12726 } 12727 fakeReturns := fake.updateApplicationEnvironmentVariablesReturns 12728 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 12729 } 12730 12731 func (fake *FakeCloudControllerClient) UpdateApplicationEnvironmentVariablesCallCount() int { 12732 fake.updateApplicationEnvironmentVariablesMutex.RLock() 12733 defer fake.updateApplicationEnvironmentVariablesMutex.RUnlock() 12734 return len(fake.updateApplicationEnvironmentVariablesArgsForCall) 12735 } 12736 12737 func (fake *FakeCloudControllerClient) UpdateApplicationEnvironmentVariablesCalls(stub func(string, resources.EnvironmentVariables) (resources.EnvironmentVariables, ccv3.Warnings, error)) { 12738 fake.updateApplicationEnvironmentVariablesMutex.Lock() 12739 defer fake.updateApplicationEnvironmentVariablesMutex.Unlock() 12740 fake.UpdateApplicationEnvironmentVariablesStub = stub 12741 } 12742 12743 func (fake *FakeCloudControllerClient) UpdateApplicationEnvironmentVariablesArgsForCall(i int) (string, resources.EnvironmentVariables) { 12744 fake.updateApplicationEnvironmentVariablesMutex.RLock() 12745 defer fake.updateApplicationEnvironmentVariablesMutex.RUnlock() 12746 argsForCall := fake.updateApplicationEnvironmentVariablesArgsForCall[i] 12747 return argsForCall.arg1, argsForCall.arg2 12748 } 12749 12750 func (fake *FakeCloudControllerClient) UpdateApplicationEnvironmentVariablesReturns(result1 resources.EnvironmentVariables, result2 ccv3.Warnings, result3 error) { 12751 fake.updateApplicationEnvironmentVariablesMutex.Lock() 12752 defer fake.updateApplicationEnvironmentVariablesMutex.Unlock() 12753 fake.UpdateApplicationEnvironmentVariablesStub = nil 12754 fake.updateApplicationEnvironmentVariablesReturns = struct { 12755 result1 resources.EnvironmentVariables 12756 result2 ccv3.Warnings 12757 result3 error 12758 }{result1, result2, result3} 12759 } 12760 12761 func (fake *FakeCloudControllerClient) UpdateApplicationEnvironmentVariablesReturnsOnCall(i int, result1 resources.EnvironmentVariables, result2 ccv3.Warnings, result3 error) { 12762 fake.updateApplicationEnvironmentVariablesMutex.Lock() 12763 defer fake.updateApplicationEnvironmentVariablesMutex.Unlock() 12764 fake.UpdateApplicationEnvironmentVariablesStub = nil 12765 if fake.updateApplicationEnvironmentVariablesReturnsOnCall == nil { 12766 fake.updateApplicationEnvironmentVariablesReturnsOnCall = make(map[int]struct { 12767 result1 resources.EnvironmentVariables 12768 result2 ccv3.Warnings 12769 result3 error 12770 }) 12771 } 12772 fake.updateApplicationEnvironmentVariablesReturnsOnCall[i] = struct { 12773 result1 resources.EnvironmentVariables 12774 result2 ccv3.Warnings 12775 result3 error 12776 }{result1, result2, result3} 12777 } 12778 12779 func (fake *FakeCloudControllerClient) UpdateApplicationName(arg1 string, arg2 string) (resources.Application, ccv3.Warnings, error) { 12780 fake.updateApplicationNameMutex.Lock() 12781 ret, specificReturn := fake.updateApplicationNameReturnsOnCall[len(fake.updateApplicationNameArgsForCall)] 12782 fake.updateApplicationNameArgsForCall = append(fake.updateApplicationNameArgsForCall, struct { 12783 arg1 string 12784 arg2 string 12785 }{arg1, arg2}) 12786 fake.recordInvocation("UpdateApplicationName", []interface{}{arg1, arg2}) 12787 fake.updateApplicationNameMutex.Unlock() 12788 if fake.UpdateApplicationNameStub != nil { 12789 return fake.UpdateApplicationNameStub(arg1, arg2) 12790 } 12791 if specificReturn { 12792 return ret.result1, ret.result2, ret.result3 12793 } 12794 fakeReturns := fake.updateApplicationNameReturns 12795 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 12796 } 12797 12798 func (fake *FakeCloudControllerClient) UpdateApplicationNameCallCount() int { 12799 fake.updateApplicationNameMutex.RLock() 12800 defer fake.updateApplicationNameMutex.RUnlock() 12801 return len(fake.updateApplicationNameArgsForCall) 12802 } 12803 12804 func (fake *FakeCloudControllerClient) UpdateApplicationNameCalls(stub func(string, string) (resources.Application, ccv3.Warnings, error)) { 12805 fake.updateApplicationNameMutex.Lock() 12806 defer fake.updateApplicationNameMutex.Unlock() 12807 fake.UpdateApplicationNameStub = stub 12808 } 12809 12810 func (fake *FakeCloudControllerClient) UpdateApplicationNameArgsForCall(i int) (string, string) { 12811 fake.updateApplicationNameMutex.RLock() 12812 defer fake.updateApplicationNameMutex.RUnlock() 12813 argsForCall := fake.updateApplicationNameArgsForCall[i] 12814 return argsForCall.arg1, argsForCall.arg2 12815 } 12816 12817 func (fake *FakeCloudControllerClient) UpdateApplicationNameReturns(result1 resources.Application, result2 ccv3.Warnings, result3 error) { 12818 fake.updateApplicationNameMutex.Lock() 12819 defer fake.updateApplicationNameMutex.Unlock() 12820 fake.UpdateApplicationNameStub = nil 12821 fake.updateApplicationNameReturns = struct { 12822 result1 resources.Application 12823 result2 ccv3.Warnings 12824 result3 error 12825 }{result1, result2, result3} 12826 } 12827 12828 func (fake *FakeCloudControllerClient) UpdateApplicationNameReturnsOnCall(i int, result1 resources.Application, result2 ccv3.Warnings, result3 error) { 12829 fake.updateApplicationNameMutex.Lock() 12830 defer fake.updateApplicationNameMutex.Unlock() 12831 fake.UpdateApplicationNameStub = nil 12832 if fake.updateApplicationNameReturnsOnCall == nil { 12833 fake.updateApplicationNameReturnsOnCall = make(map[int]struct { 12834 result1 resources.Application 12835 result2 ccv3.Warnings 12836 result3 error 12837 }) 12838 } 12839 fake.updateApplicationNameReturnsOnCall[i] = struct { 12840 result1 resources.Application 12841 result2 ccv3.Warnings 12842 result3 error 12843 }{result1, result2, result3} 12844 } 12845 12846 func (fake *FakeCloudControllerClient) UpdateApplicationRestart(arg1 string) (resources.Application, ccv3.Warnings, error) { 12847 fake.updateApplicationRestartMutex.Lock() 12848 ret, specificReturn := fake.updateApplicationRestartReturnsOnCall[len(fake.updateApplicationRestartArgsForCall)] 12849 fake.updateApplicationRestartArgsForCall = append(fake.updateApplicationRestartArgsForCall, struct { 12850 arg1 string 12851 }{arg1}) 12852 fake.recordInvocation("UpdateApplicationRestart", []interface{}{arg1}) 12853 fake.updateApplicationRestartMutex.Unlock() 12854 if fake.UpdateApplicationRestartStub != nil { 12855 return fake.UpdateApplicationRestartStub(arg1) 12856 } 12857 if specificReturn { 12858 return ret.result1, ret.result2, ret.result3 12859 } 12860 fakeReturns := fake.updateApplicationRestartReturns 12861 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 12862 } 12863 12864 func (fake *FakeCloudControllerClient) UpdateApplicationRestartCallCount() int { 12865 fake.updateApplicationRestartMutex.RLock() 12866 defer fake.updateApplicationRestartMutex.RUnlock() 12867 return len(fake.updateApplicationRestartArgsForCall) 12868 } 12869 12870 func (fake *FakeCloudControllerClient) UpdateApplicationRestartCalls(stub func(string) (resources.Application, ccv3.Warnings, error)) { 12871 fake.updateApplicationRestartMutex.Lock() 12872 defer fake.updateApplicationRestartMutex.Unlock() 12873 fake.UpdateApplicationRestartStub = stub 12874 } 12875 12876 func (fake *FakeCloudControllerClient) UpdateApplicationRestartArgsForCall(i int) string { 12877 fake.updateApplicationRestartMutex.RLock() 12878 defer fake.updateApplicationRestartMutex.RUnlock() 12879 argsForCall := fake.updateApplicationRestartArgsForCall[i] 12880 return argsForCall.arg1 12881 } 12882 12883 func (fake *FakeCloudControllerClient) UpdateApplicationRestartReturns(result1 resources.Application, result2 ccv3.Warnings, result3 error) { 12884 fake.updateApplicationRestartMutex.Lock() 12885 defer fake.updateApplicationRestartMutex.Unlock() 12886 fake.UpdateApplicationRestartStub = nil 12887 fake.updateApplicationRestartReturns = struct { 12888 result1 resources.Application 12889 result2 ccv3.Warnings 12890 result3 error 12891 }{result1, result2, result3} 12892 } 12893 12894 func (fake *FakeCloudControllerClient) UpdateApplicationRestartReturnsOnCall(i int, result1 resources.Application, result2 ccv3.Warnings, result3 error) { 12895 fake.updateApplicationRestartMutex.Lock() 12896 defer fake.updateApplicationRestartMutex.Unlock() 12897 fake.UpdateApplicationRestartStub = nil 12898 if fake.updateApplicationRestartReturnsOnCall == nil { 12899 fake.updateApplicationRestartReturnsOnCall = make(map[int]struct { 12900 result1 resources.Application 12901 result2 ccv3.Warnings 12902 result3 error 12903 }) 12904 } 12905 fake.updateApplicationRestartReturnsOnCall[i] = struct { 12906 result1 resources.Application 12907 result2 ccv3.Warnings 12908 result3 error 12909 }{result1, result2, result3} 12910 } 12911 12912 func (fake *FakeCloudControllerClient) UpdateApplicationStart(arg1 string) (resources.Application, ccv3.Warnings, error) { 12913 fake.updateApplicationStartMutex.Lock() 12914 ret, specificReturn := fake.updateApplicationStartReturnsOnCall[len(fake.updateApplicationStartArgsForCall)] 12915 fake.updateApplicationStartArgsForCall = append(fake.updateApplicationStartArgsForCall, struct { 12916 arg1 string 12917 }{arg1}) 12918 fake.recordInvocation("UpdateApplicationStart", []interface{}{arg1}) 12919 fake.updateApplicationStartMutex.Unlock() 12920 if fake.UpdateApplicationStartStub != nil { 12921 return fake.UpdateApplicationStartStub(arg1) 12922 } 12923 if specificReturn { 12924 return ret.result1, ret.result2, ret.result3 12925 } 12926 fakeReturns := fake.updateApplicationStartReturns 12927 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 12928 } 12929 12930 func (fake *FakeCloudControllerClient) UpdateApplicationStartCallCount() int { 12931 fake.updateApplicationStartMutex.RLock() 12932 defer fake.updateApplicationStartMutex.RUnlock() 12933 return len(fake.updateApplicationStartArgsForCall) 12934 } 12935 12936 func (fake *FakeCloudControllerClient) UpdateApplicationStartCalls(stub func(string) (resources.Application, ccv3.Warnings, error)) { 12937 fake.updateApplicationStartMutex.Lock() 12938 defer fake.updateApplicationStartMutex.Unlock() 12939 fake.UpdateApplicationStartStub = stub 12940 } 12941 12942 func (fake *FakeCloudControllerClient) UpdateApplicationStartArgsForCall(i int) string { 12943 fake.updateApplicationStartMutex.RLock() 12944 defer fake.updateApplicationStartMutex.RUnlock() 12945 argsForCall := fake.updateApplicationStartArgsForCall[i] 12946 return argsForCall.arg1 12947 } 12948 12949 func (fake *FakeCloudControllerClient) UpdateApplicationStartReturns(result1 resources.Application, result2 ccv3.Warnings, result3 error) { 12950 fake.updateApplicationStartMutex.Lock() 12951 defer fake.updateApplicationStartMutex.Unlock() 12952 fake.UpdateApplicationStartStub = nil 12953 fake.updateApplicationStartReturns = struct { 12954 result1 resources.Application 12955 result2 ccv3.Warnings 12956 result3 error 12957 }{result1, result2, result3} 12958 } 12959 12960 func (fake *FakeCloudControllerClient) UpdateApplicationStartReturnsOnCall(i int, result1 resources.Application, result2 ccv3.Warnings, result3 error) { 12961 fake.updateApplicationStartMutex.Lock() 12962 defer fake.updateApplicationStartMutex.Unlock() 12963 fake.UpdateApplicationStartStub = nil 12964 if fake.updateApplicationStartReturnsOnCall == nil { 12965 fake.updateApplicationStartReturnsOnCall = make(map[int]struct { 12966 result1 resources.Application 12967 result2 ccv3.Warnings 12968 result3 error 12969 }) 12970 } 12971 fake.updateApplicationStartReturnsOnCall[i] = struct { 12972 result1 resources.Application 12973 result2 ccv3.Warnings 12974 result3 error 12975 }{result1, result2, result3} 12976 } 12977 12978 func (fake *FakeCloudControllerClient) UpdateApplicationStop(arg1 string) (resources.Application, ccv3.Warnings, error) { 12979 fake.updateApplicationStopMutex.Lock() 12980 ret, specificReturn := fake.updateApplicationStopReturnsOnCall[len(fake.updateApplicationStopArgsForCall)] 12981 fake.updateApplicationStopArgsForCall = append(fake.updateApplicationStopArgsForCall, struct { 12982 arg1 string 12983 }{arg1}) 12984 fake.recordInvocation("UpdateApplicationStop", []interface{}{arg1}) 12985 fake.updateApplicationStopMutex.Unlock() 12986 if fake.UpdateApplicationStopStub != nil { 12987 return fake.UpdateApplicationStopStub(arg1) 12988 } 12989 if specificReturn { 12990 return ret.result1, ret.result2, ret.result3 12991 } 12992 fakeReturns := fake.updateApplicationStopReturns 12993 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 12994 } 12995 12996 func (fake *FakeCloudControllerClient) UpdateApplicationStopCallCount() int { 12997 fake.updateApplicationStopMutex.RLock() 12998 defer fake.updateApplicationStopMutex.RUnlock() 12999 return len(fake.updateApplicationStopArgsForCall) 13000 } 13001 13002 func (fake *FakeCloudControllerClient) UpdateApplicationStopCalls(stub func(string) (resources.Application, ccv3.Warnings, error)) { 13003 fake.updateApplicationStopMutex.Lock() 13004 defer fake.updateApplicationStopMutex.Unlock() 13005 fake.UpdateApplicationStopStub = stub 13006 } 13007 13008 func (fake *FakeCloudControllerClient) UpdateApplicationStopArgsForCall(i int) string { 13009 fake.updateApplicationStopMutex.RLock() 13010 defer fake.updateApplicationStopMutex.RUnlock() 13011 argsForCall := fake.updateApplicationStopArgsForCall[i] 13012 return argsForCall.arg1 13013 } 13014 13015 func (fake *FakeCloudControllerClient) UpdateApplicationStopReturns(result1 resources.Application, result2 ccv3.Warnings, result3 error) { 13016 fake.updateApplicationStopMutex.Lock() 13017 defer fake.updateApplicationStopMutex.Unlock() 13018 fake.UpdateApplicationStopStub = nil 13019 fake.updateApplicationStopReturns = struct { 13020 result1 resources.Application 13021 result2 ccv3.Warnings 13022 result3 error 13023 }{result1, result2, result3} 13024 } 13025 13026 func (fake *FakeCloudControllerClient) UpdateApplicationStopReturnsOnCall(i int, result1 resources.Application, result2 ccv3.Warnings, result3 error) { 13027 fake.updateApplicationStopMutex.Lock() 13028 defer fake.updateApplicationStopMutex.Unlock() 13029 fake.UpdateApplicationStopStub = nil 13030 if fake.updateApplicationStopReturnsOnCall == nil { 13031 fake.updateApplicationStopReturnsOnCall = make(map[int]struct { 13032 result1 resources.Application 13033 result2 ccv3.Warnings 13034 result3 error 13035 }) 13036 } 13037 fake.updateApplicationStopReturnsOnCall[i] = struct { 13038 result1 resources.Application 13039 result2 ccv3.Warnings 13040 result3 error 13041 }{result1, result2, result3} 13042 } 13043 13044 func (fake *FakeCloudControllerClient) UpdateBuildpack(arg1 resources.Buildpack) (resources.Buildpack, ccv3.Warnings, error) { 13045 fake.updateBuildpackMutex.Lock() 13046 ret, specificReturn := fake.updateBuildpackReturnsOnCall[len(fake.updateBuildpackArgsForCall)] 13047 fake.updateBuildpackArgsForCall = append(fake.updateBuildpackArgsForCall, struct { 13048 arg1 resources.Buildpack 13049 }{arg1}) 13050 fake.recordInvocation("UpdateBuildpack", []interface{}{arg1}) 13051 fake.updateBuildpackMutex.Unlock() 13052 if fake.UpdateBuildpackStub != nil { 13053 return fake.UpdateBuildpackStub(arg1) 13054 } 13055 if specificReturn { 13056 return ret.result1, ret.result2, ret.result3 13057 } 13058 fakeReturns := fake.updateBuildpackReturns 13059 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 13060 } 13061 13062 func (fake *FakeCloudControllerClient) UpdateBuildpackCallCount() int { 13063 fake.updateBuildpackMutex.RLock() 13064 defer fake.updateBuildpackMutex.RUnlock() 13065 return len(fake.updateBuildpackArgsForCall) 13066 } 13067 13068 func (fake *FakeCloudControllerClient) UpdateBuildpackCalls(stub func(resources.Buildpack) (resources.Buildpack, ccv3.Warnings, error)) { 13069 fake.updateBuildpackMutex.Lock() 13070 defer fake.updateBuildpackMutex.Unlock() 13071 fake.UpdateBuildpackStub = stub 13072 } 13073 13074 func (fake *FakeCloudControllerClient) UpdateBuildpackArgsForCall(i int) resources.Buildpack { 13075 fake.updateBuildpackMutex.RLock() 13076 defer fake.updateBuildpackMutex.RUnlock() 13077 argsForCall := fake.updateBuildpackArgsForCall[i] 13078 return argsForCall.arg1 13079 } 13080 13081 func (fake *FakeCloudControllerClient) UpdateBuildpackReturns(result1 resources.Buildpack, result2 ccv3.Warnings, result3 error) { 13082 fake.updateBuildpackMutex.Lock() 13083 defer fake.updateBuildpackMutex.Unlock() 13084 fake.UpdateBuildpackStub = nil 13085 fake.updateBuildpackReturns = struct { 13086 result1 resources.Buildpack 13087 result2 ccv3.Warnings 13088 result3 error 13089 }{result1, result2, result3} 13090 } 13091 13092 func (fake *FakeCloudControllerClient) UpdateBuildpackReturnsOnCall(i int, result1 resources.Buildpack, result2 ccv3.Warnings, result3 error) { 13093 fake.updateBuildpackMutex.Lock() 13094 defer fake.updateBuildpackMutex.Unlock() 13095 fake.UpdateBuildpackStub = nil 13096 if fake.updateBuildpackReturnsOnCall == nil { 13097 fake.updateBuildpackReturnsOnCall = make(map[int]struct { 13098 result1 resources.Buildpack 13099 result2 ccv3.Warnings 13100 result3 error 13101 }) 13102 } 13103 fake.updateBuildpackReturnsOnCall[i] = struct { 13104 result1 resources.Buildpack 13105 result2 ccv3.Warnings 13106 result3 error 13107 }{result1, result2, result3} 13108 } 13109 13110 func (fake *FakeCloudControllerClient) UpdateDestination(arg1 string, arg2 string, arg3 string) (ccv3.Warnings, error) { 13111 fake.updateDestinationMutex.Lock() 13112 ret, specificReturn := fake.updateDestinationReturnsOnCall[len(fake.updateDestinationArgsForCall)] 13113 fake.updateDestinationArgsForCall = append(fake.updateDestinationArgsForCall, struct { 13114 arg1 string 13115 arg2 string 13116 arg3 string 13117 }{arg1, arg2, arg3}) 13118 fake.recordInvocation("UpdateDestination", []interface{}{arg1, arg2, arg3}) 13119 fake.updateDestinationMutex.Unlock() 13120 if fake.UpdateDestinationStub != nil { 13121 return fake.UpdateDestinationStub(arg1, arg2, arg3) 13122 } 13123 if specificReturn { 13124 return ret.result1, ret.result2 13125 } 13126 fakeReturns := fake.updateDestinationReturns 13127 return fakeReturns.result1, fakeReturns.result2 13128 } 13129 13130 func (fake *FakeCloudControllerClient) UpdateDestinationCallCount() int { 13131 fake.updateDestinationMutex.RLock() 13132 defer fake.updateDestinationMutex.RUnlock() 13133 return len(fake.updateDestinationArgsForCall) 13134 } 13135 13136 func (fake *FakeCloudControllerClient) UpdateDestinationCalls(stub func(string, string, string) (ccv3.Warnings, error)) { 13137 fake.updateDestinationMutex.Lock() 13138 defer fake.updateDestinationMutex.Unlock() 13139 fake.UpdateDestinationStub = stub 13140 } 13141 13142 func (fake *FakeCloudControllerClient) UpdateDestinationArgsForCall(i int) (string, string, string) { 13143 fake.updateDestinationMutex.RLock() 13144 defer fake.updateDestinationMutex.RUnlock() 13145 argsForCall := fake.updateDestinationArgsForCall[i] 13146 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3 13147 } 13148 13149 func (fake *FakeCloudControllerClient) UpdateDestinationReturns(result1 ccv3.Warnings, result2 error) { 13150 fake.updateDestinationMutex.Lock() 13151 defer fake.updateDestinationMutex.Unlock() 13152 fake.UpdateDestinationStub = nil 13153 fake.updateDestinationReturns = struct { 13154 result1 ccv3.Warnings 13155 result2 error 13156 }{result1, result2} 13157 } 13158 13159 func (fake *FakeCloudControllerClient) UpdateDestinationReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 13160 fake.updateDestinationMutex.Lock() 13161 defer fake.updateDestinationMutex.Unlock() 13162 fake.UpdateDestinationStub = nil 13163 if fake.updateDestinationReturnsOnCall == nil { 13164 fake.updateDestinationReturnsOnCall = make(map[int]struct { 13165 result1 ccv3.Warnings 13166 result2 error 13167 }) 13168 } 13169 fake.updateDestinationReturnsOnCall[i] = struct { 13170 result1 ccv3.Warnings 13171 result2 error 13172 }{result1, result2} 13173 } 13174 13175 func (fake *FakeCloudControllerClient) UpdateEnvironmentVariableGroup(arg1 constant.EnvironmentVariableGroupName, arg2 resources.EnvironmentVariables) (resources.EnvironmentVariables, ccv3.Warnings, error) { 13176 fake.updateEnvironmentVariableGroupMutex.Lock() 13177 ret, specificReturn := fake.updateEnvironmentVariableGroupReturnsOnCall[len(fake.updateEnvironmentVariableGroupArgsForCall)] 13178 fake.updateEnvironmentVariableGroupArgsForCall = append(fake.updateEnvironmentVariableGroupArgsForCall, struct { 13179 arg1 constant.EnvironmentVariableGroupName 13180 arg2 resources.EnvironmentVariables 13181 }{arg1, arg2}) 13182 fake.recordInvocation("UpdateEnvironmentVariableGroup", []interface{}{arg1, arg2}) 13183 fake.updateEnvironmentVariableGroupMutex.Unlock() 13184 if fake.UpdateEnvironmentVariableGroupStub != nil { 13185 return fake.UpdateEnvironmentVariableGroupStub(arg1, arg2) 13186 } 13187 if specificReturn { 13188 return ret.result1, ret.result2, ret.result3 13189 } 13190 fakeReturns := fake.updateEnvironmentVariableGroupReturns 13191 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 13192 } 13193 13194 func (fake *FakeCloudControllerClient) UpdateEnvironmentVariableGroupCallCount() int { 13195 fake.updateEnvironmentVariableGroupMutex.RLock() 13196 defer fake.updateEnvironmentVariableGroupMutex.RUnlock() 13197 return len(fake.updateEnvironmentVariableGroupArgsForCall) 13198 } 13199 13200 func (fake *FakeCloudControllerClient) UpdateEnvironmentVariableGroupCalls(stub func(constant.EnvironmentVariableGroupName, resources.EnvironmentVariables) (resources.EnvironmentVariables, ccv3.Warnings, error)) { 13201 fake.updateEnvironmentVariableGroupMutex.Lock() 13202 defer fake.updateEnvironmentVariableGroupMutex.Unlock() 13203 fake.UpdateEnvironmentVariableGroupStub = stub 13204 } 13205 13206 func (fake *FakeCloudControllerClient) UpdateEnvironmentVariableGroupArgsForCall(i int) (constant.EnvironmentVariableGroupName, resources.EnvironmentVariables) { 13207 fake.updateEnvironmentVariableGroupMutex.RLock() 13208 defer fake.updateEnvironmentVariableGroupMutex.RUnlock() 13209 argsForCall := fake.updateEnvironmentVariableGroupArgsForCall[i] 13210 return argsForCall.arg1, argsForCall.arg2 13211 } 13212 13213 func (fake *FakeCloudControllerClient) UpdateEnvironmentVariableGroupReturns(result1 resources.EnvironmentVariables, result2 ccv3.Warnings, result3 error) { 13214 fake.updateEnvironmentVariableGroupMutex.Lock() 13215 defer fake.updateEnvironmentVariableGroupMutex.Unlock() 13216 fake.UpdateEnvironmentVariableGroupStub = nil 13217 fake.updateEnvironmentVariableGroupReturns = struct { 13218 result1 resources.EnvironmentVariables 13219 result2 ccv3.Warnings 13220 result3 error 13221 }{result1, result2, result3} 13222 } 13223 13224 func (fake *FakeCloudControllerClient) UpdateEnvironmentVariableGroupReturnsOnCall(i int, result1 resources.EnvironmentVariables, result2 ccv3.Warnings, result3 error) { 13225 fake.updateEnvironmentVariableGroupMutex.Lock() 13226 defer fake.updateEnvironmentVariableGroupMutex.Unlock() 13227 fake.UpdateEnvironmentVariableGroupStub = nil 13228 if fake.updateEnvironmentVariableGroupReturnsOnCall == nil { 13229 fake.updateEnvironmentVariableGroupReturnsOnCall = make(map[int]struct { 13230 result1 resources.EnvironmentVariables 13231 result2 ccv3.Warnings 13232 result3 error 13233 }) 13234 } 13235 fake.updateEnvironmentVariableGroupReturnsOnCall[i] = struct { 13236 result1 resources.EnvironmentVariables 13237 result2 ccv3.Warnings 13238 result3 error 13239 }{result1, result2, result3} 13240 } 13241 13242 func (fake *FakeCloudControllerClient) UpdateFeatureFlag(arg1 resources.FeatureFlag) (resources.FeatureFlag, ccv3.Warnings, error) { 13243 fake.updateFeatureFlagMutex.Lock() 13244 ret, specificReturn := fake.updateFeatureFlagReturnsOnCall[len(fake.updateFeatureFlagArgsForCall)] 13245 fake.updateFeatureFlagArgsForCall = append(fake.updateFeatureFlagArgsForCall, struct { 13246 arg1 resources.FeatureFlag 13247 }{arg1}) 13248 fake.recordInvocation("UpdateFeatureFlag", []interface{}{arg1}) 13249 fake.updateFeatureFlagMutex.Unlock() 13250 if fake.UpdateFeatureFlagStub != nil { 13251 return fake.UpdateFeatureFlagStub(arg1) 13252 } 13253 if specificReturn { 13254 return ret.result1, ret.result2, ret.result3 13255 } 13256 fakeReturns := fake.updateFeatureFlagReturns 13257 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 13258 } 13259 13260 func (fake *FakeCloudControllerClient) UpdateFeatureFlagCallCount() int { 13261 fake.updateFeatureFlagMutex.RLock() 13262 defer fake.updateFeatureFlagMutex.RUnlock() 13263 return len(fake.updateFeatureFlagArgsForCall) 13264 } 13265 13266 func (fake *FakeCloudControllerClient) UpdateFeatureFlagCalls(stub func(resources.FeatureFlag) (resources.FeatureFlag, ccv3.Warnings, error)) { 13267 fake.updateFeatureFlagMutex.Lock() 13268 defer fake.updateFeatureFlagMutex.Unlock() 13269 fake.UpdateFeatureFlagStub = stub 13270 } 13271 13272 func (fake *FakeCloudControllerClient) UpdateFeatureFlagArgsForCall(i int) resources.FeatureFlag { 13273 fake.updateFeatureFlagMutex.RLock() 13274 defer fake.updateFeatureFlagMutex.RUnlock() 13275 argsForCall := fake.updateFeatureFlagArgsForCall[i] 13276 return argsForCall.arg1 13277 } 13278 13279 func (fake *FakeCloudControllerClient) UpdateFeatureFlagReturns(result1 resources.FeatureFlag, result2 ccv3.Warnings, result3 error) { 13280 fake.updateFeatureFlagMutex.Lock() 13281 defer fake.updateFeatureFlagMutex.Unlock() 13282 fake.UpdateFeatureFlagStub = nil 13283 fake.updateFeatureFlagReturns = struct { 13284 result1 resources.FeatureFlag 13285 result2 ccv3.Warnings 13286 result3 error 13287 }{result1, result2, result3} 13288 } 13289 13290 func (fake *FakeCloudControllerClient) UpdateFeatureFlagReturnsOnCall(i int, result1 resources.FeatureFlag, result2 ccv3.Warnings, result3 error) { 13291 fake.updateFeatureFlagMutex.Lock() 13292 defer fake.updateFeatureFlagMutex.Unlock() 13293 fake.UpdateFeatureFlagStub = nil 13294 if fake.updateFeatureFlagReturnsOnCall == nil { 13295 fake.updateFeatureFlagReturnsOnCall = make(map[int]struct { 13296 result1 resources.FeatureFlag 13297 result2 ccv3.Warnings 13298 result3 error 13299 }) 13300 } 13301 fake.updateFeatureFlagReturnsOnCall[i] = struct { 13302 result1 resources.FeatureFlag 13303 result2 ccv3.Warnings 13304 result3 error 13305 }{result1, result2, result3} 13306 } 13307 13308 func (fake *FakeCloudControllerClient) UpdateOrganization(arg1 resources.Organization) (resources.Organization, ccv3.Warnings, error) { 13309 fake.updateOrganizationMutex.Lock() 13310 ret, specificReturn := fake.updateOrganizationReturnsOnCall[len(fake.updateOrganizationArgsForCall)] 13311 fake.updateOrganizationArgsForCall = append(fake.updateOrganizationArgsForCall, struct { 13312 arg1 resources.Organization 13313 }{arg1}) 13314 fake.recordInvocation("UpdateOrganization", []interface{}{arg1}) 13315 fake.updateOrganizationMutex.Unlock() 13316 if fake.UpdateOrganizationStub != nil { 13317 return fake.UpdateOrganizationStub(arg1) 13318 } 13319 if specificReturn { 13320 return ret.result1, ret.result2, ret.result3 13321 } 13322 fakeReturns := fake.updateOrganizationReturns 13323 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 13324 } 13325 13326 func (fake *FakeCloudControllerClient) UpdateOrganizationCallCount() int { 13327 fake.updateOrganizationMutex.RLock() 13328 defer fake.updateOrganizationMutex.RUnlock() 13329 return len(fake.updateOrganizationArgsForCall) 13330 } 13331 13332 func (fake *FakeCloudControllerClient) UpdateOrganizationCalls(stub func(resources.Organization) (resources.Organization, ccv3.Warnings, error)) { 13333 fake.updateOrganizationMutex.Lock() 13334 defer fake.updateOrganizationMutex.Unlock() 13335 fake.UpdateOrganizationStub = stub 13336 } 13337 13338 func (fake *FakeCloudControllerClient) UpdateOrganizationArgsForCall(i int) resources.Organization { 13339 fake.updateOrganizationMutex.RLock() 13340 defer fake.updateOrganizationMutex.RUnlock() 13341 argsForCall := fake.updateOrganizationArgsForCall[i] 13342 return argsForCall.arg1 13343 } 13344 13345 func (fake *FakeCloudControllerClient) UpdateOrganizationReturns(result1 resources.Organization, result2 ccv3.Warnings, result3 error) { 13346 fake.updateOrganizationMutex.Lock() 13347 defer fake.updateOrganizationMutex.Unlock() 13348 fake.UpdateOrganizationStub = nil 13349 fake.updateOrganizationReturns = struct { 13350 result1 resources.Organization 13351 result2 ccv3.Warnings 13352 result3 error 13353 }{result1, result2, result3} 13354 } 13355 13356 func (fake *FakeCloudControllerClient) UpdateOrganizationReturnsOnCall(i int, result1 resources.Organization, result2 ccv3.Warnings, result3 error) { 13357 fake.updateOrganizationMutex.Lock() 13358 defer fake.updateOrganizationMutex.Unlock() 13359 fake.UpdateOrganizationStub = nil 13360 if fake.updateOrganizationReturnsOnCall == nil { 13361 fake.updateOrganizationReturnsOnCall = make(map[int]struct { 13362 result1 resources.Organization 13363 result2 ccv3.Warnings 13364 result3 error 13365 }) 13366 } 13367 fake.updateOrganizationReturnsOnCall[i] = struct { 13368 result1 resources.Organization 13369 result2 ccv3.Warnings 13370 result3 error 13371 }{result1, result2, result3} 13372 } 13373 13374 func (fake *FakeCloudControllerClient) UpdateOrganizationDefaultIsolationSegmentRelationship(arg1 string, arg2 string) (resources.Relationship, ccv3.Warnings, error) { 13375 fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.Lock() 13376 ret, specificReturn := fake.updateOrganizationDefaultIsolationSegmentRelationshipReturnsOnCall[len(fake.updateOrganizationDefaultIsolationSegmentRelationshipArgsForCall)] 13377 fake.updateOrganizationDefaultIsolationSegmentRelationshipArgsForCall = append(fake.updateOrganizationDefaultIsolationSegmentRelationshipArgsForCall, struct { 13378 arg1 string 13379 arg2 string 13380 }{arg1, arg2}) 13381 fake.recordInvocation("UpdateOrganizationDefaultIsolationSegmentRelationship", []interface{}{arg1, arg2}) 13382 fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.Unlock() 13383 if fake.UpdateOrganizationDefaultIsolationSegmentRelationshipStub != nil { 13384 return fake.UpdateOrganizationDefaultIsolationSegmentRelationshipStub(arg1, arg2) 13385 } 13386 if specificReturn { 13387 return ret.result1, ret.result2, ret.result3 13388 } 13389 fakeReturns := fake.updateOrganizationDefaultIsolationSegmentRelationshipReturns 13390 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 13391 } 13392 13393 func (fake *FakeCloudControllerClient) UpdateOrganizationDefaultIsolationSegmentRelationshipCallCount() int { 13394 fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.RLock() 13395 defer fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.RUnlock() 13396 return len(fake.updateOrganizationDefaultIsolationSegmentRelationshipArgsForCall) 13397 } 13398 13399 func (fake *FakeCloudControllerClient) UpdateOrganizationDefaultIsolationSegmentRelationshipCalls(stub func(string, string) (resources.Relationship, ccv3.Warnings, error)) { 13400 fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.Lock() 13401 defer fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.Unlock() 13402 fake.UpdateOrganizationDefaultIsolationSegmentRelationshipStub = stub 13403 } 13404 13405 func (fake *FakeCloudControllerClient) UpdateOrganizationDefaultIsolationSegmentRelationshipArgsForCall(i int) (string, string) { 13406 fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.RLock() 13407 defer fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.RUnlock() 13408 argsForCall := fake.updateOrganizationDefaultIsolationSegmentRelationshipArgsForCall[i] 13409 return argsForCall.arg1, argsForCall.arg2 13410 } 13411 13412 func (fake *FakeCloudControllerClient) UpdateOrganizationDefaultIsolationSegmentRelationshipReturns(result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 13413 fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.Lock() 13414 defer fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.Unlock() 13415 fake.UpdateOrganizationDefaultIsolationSegmentRelationshipStub = nil 13416 fake.updateOrganizationDefaultIsolationSegmentRelationshipReturns = struct { 13417 result1 resources.Relationship 13418 result2 ccv3.Warnings 13419 result3 error 13420 }{result1, result2, result3} 13421 } 13422 13423 func (fake *FakeCloudControllerClient) UpdateOrganizationDefaultIsolationSegmentRelationshipReturnsOnCall(i int, result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 13424 fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.Lock() 13425 defer fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.Unlock() 13426 fake.UpdateOrganizationDefaultIsolationSegmentRelationshipStub = nil 13427 if fake.updateOrganizationDefaultIsolationSegmentRelationshipReturnsOnCall == nil { 13428 fake.updateOrganizationDefaultIsolationSegmentRelationshipReturnsOnCall = make(map[int]struct { 13429 result1 resources.Relationship 13430 result2 ccv3.Warnings 13431 result3 error 13432 }) 13433 } 13434 fake.updateOrganizationDefaultIsolationSegmentRelationshipReturnsOnCall[i] = struct { 13435 result1 resources.Relationship 13436 result2 ccv3.Warnings 13437 result3 error 13438 }{result1, result2, result3} 13439 } 13440 13441 func (fake *FakeCloudControllerClient) UpdateOrganizationQuota(arg1 resources.OrganizationQuota) (resources.OrganizationQuota, ccv3.Warnings, error) { 13442 fake.updateOrganizationQuotaMutex.Lock() 13443 ret, specificReturn := fake.updateOrganizationQuotaReturnsOnCall[len(fake.updateOrganizationQuotaArgsForCall)] 13444 fake.updateOrganizationQuotaArgsForCall = append(fake.updateOrganizationQuotaArgsForCall, struct { 13445 arg1 resources.OrganizationQuota 13446 }{arg1}) 13447 fake.recordInvocation("UpdateOrganizationQuota", []interface{}{arg1}) 13448 fake.updateOrganizationQuotaMutex.Unlock() 13449 if fake.UpdateOrganizationQuotaStub != nil { 13450 return fake.UpdateOrganizationQuotaStub(arg1) 13451 } 13452 if specificReturn { 13453 return ret.result1, ret.result2, ret.result3 13454 } 13455 fakeReturns := fake.updateOrganizationQuotaReturns 13456 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 13457 } 13458 13459 func (fake *FakeCloudControllerClient) UpdateOrganizationQuotaCallCount() int { 13460 fake.updateOrganizationQuotaMutex.RLock() 13461 defer fake.updateOrganizationQuotaMutex.RUnlock() 13462 return len(fake.updateOrganizationQuotaArgsForCall) 13463 } 13464 13465 func (fake *FakeCloudControllerClient) UpdateOrganizationQuotaCalls(stub func(resources.OrganizationQuota) (resources.OrganizationQuota, ccv3.Warnings, error)) { 13466 fake.updateOrganizationQuotaMutex.Lock() 13467 defer fake.updateOrganizationQuotaMutex.Unlock() 13468 fake.UpdateOrganizationQuotaStub = stub 13469 } 13470 13471 func (fake *FakeCloudControllerClient) UpdateOrganizationQuotaArgsForCall(i int) resources.OrganizationQuota { 13472 fake.updateOrganizationQuotaMutex.RLock() 13473 defer fake.updateOrganizationQuotaMutex.RUnlock() 13474 argsForCall := fake.updateOrganizationQuotaArgsForCall[i] 13475 return argsForCall.arg1 13476 } 13477 13478 func (fake *FakeCloudControllerClient) UpdateOrganizationQuotaReturns(result1 resources.OrganizationQuota, result2 ccv3.Warnings, result3 error) { 13479 fake.updateOrganizationQuotaMutex.Lock() 13480 defer fake.updateOrganizationQuotaMutex.Unlock() 13481 fake.UpdateOrganizationQuotaStub = nil 13482 fake.updateOrganizationQuotaReturns = struct { 13483 result1 resources.OrganizationQuota 13484 result2 ccv3.Warnings 13485 result3 error 13486 }{result1, result2, result3} 13487 } 13488 13489 func (fake *FakeCloudControllerClient) UpdateOrganizationQuotaReturnsOnCall(i int, result1 resources.OrganizationQuota, result2 ccv3.Warnings, result3 error) { 13490 fake.updateOrganizationQuotaMutex.Lock() 13491 defer fake.updateOrganizationQuotaMutex.Unlock() 13492 fake.UpdateOrganizationQuotaStub = nil 13493 if fake.updateOrganizationQuotaReturnsOnCall == nil { 13494 fake.updateOrganizationQuotaReturnsOnCall = make(map[int]struct { 13495 result1 resources.OrganizationQuota 13496 result2 ccv3.Warnings 13497 result3 error 13498 }) 13499 } 13500 fake.updateOrganizationQuotaReturnsOnCall[i] = struct { 13501 result1 resources.OrganizationQuota 13502 result2 ccv3.Warnings 13503 result3 error 13504 }{result1, result2, result3} 13505 } 13506 13507 func (fake *FakeCloudControllerClient) UpdateProcess(arg1 resources.Process) (resources.Process, ccv3.Warnings, error) { 13508 fake.updateProcessMutex.Lock() 13509 ret, specificReturn := fake.updateProcessReturnsOnCall[len(fake.updateProcessArgsForCall)] 13510 fake.updateProcessArgsForCall = append(fake.updateProcessArgsForCall, struct { 13511 arg1 resources.Process 13512 }{arg1}) 13513 fake.recordInvocation("UpdateProcess", []interface{}{arg1}) 13514 fake.updateProcessMutex.Unlock() 13515 if fake.UpdateProcessStub != nil { 13516 return fake.UpdateProcessStub(arg1) 13517 } 13518 if specificReturn { 13519 return ret.result1, ret.result2, ret.result3 13520 } 13521 fakeReturns := fake.updateProcessReturns 13522 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 13523 } 13524 13525 func (fake *FakeCloudControllerClient) UpdateProcessCallCount() int { 13526 fake.updateProcessMutex.RLock() 13527 defer fake.updateProcessMutex.RUnlock() 13528 return len(fake.updateProcessArgsForCall) 13529 } 13530 13531 func (fake *FakeCloudControllerClient) UpdateProcessCalls(stub func(resources.Process) (resources.Process, ccv3.Warnings, error)) { 13532 fake.updateProcessMutex.Lock() 13533 defer fake.updateProcessMutex.Unlock() 13534 fake.UpdateProcessStub = stub 13535 } 13536 13537 func (fake *FakeCloudControllerClient) UpdateProcessArgsForCall(i int) resources.Process { 13538 fake.updateProcessMutex.RLock() 13539 defer fake.updateProcessMutex.RUnlock() 13540 argsForCall := fake.updateProcessArgsForCall[i] 13541 return argsForCall.arg1 13542 } 13543 13544 func (fake *FakeCloudControllerClient) UpdateProcessReturns(result1 resources.Process, result2 ccv3.Warnings, result3 error) { 13545 fake.updateProcessMutex.Lock() 13546 defer fake.updateProcessMutex.Unlock() 13547 fake.UpdateProcessStub = nil 13548 fake.updateProcessReturns = struct { 13549 result1 resources.Process 13550 result2 ccv3.Warnings 13551 result3 error 13552 }{result1, result2, result3} 13553 } 13554 13555 func (fake *FakeCloudControllerClient) UpdateProcessReturnsOnCall(i int, result1 resources.Process, result2 ccv3.Warnings, result3 error) { 13556 fake.updateProcessMutex.Lock() 13557 defer fake.updateProcessMutex.Unlock() 13558 fake.UpdateProcessStub = nil 13559 if fake.updateProcessReturnsOnCall == nil { 13560 fake.updateProcessReturnsOnCall = make(map[int]struct { 13561 result1 resources.Process 13562 result2 ccv3.Warnings 13563 result3 error 13564 }) 13565 } 13566 fake.updateProcessReturnsOnCall[i] = struct { 13567 result1 resources.Process 13568 result2 ccv3.Warnings 13569 result3 error 13570 }{result1, result2, result3} 13571 } 13572 13573 func (fake *FakeCloudControllerClient) UpdateResourceMetadata(arg1 string, arg2 string, arg3 resources.Metadata) (ccv3.JobURL, ccv3.Warnings, error) { 13574 fake.updateResourceMetadataMutex.Lock() 13575 ret, specificReturn := fake.updateResourceMetadataReturnsOnCall[len(fake.updateResourceMetadataArgsForCall)] 13576 fake.updateResourceMetadataArgsForCall = append(fake.updateResourceMetadataArgsForCall, struct { 13577 arg1 string 13578 arg2 string 13579 arg3 resources.Metadata 13580 }{arg1, arg2, arg3}) 13581 fake.recordInvocation("UpdateResourceMetadata", []interface{}{arg1, arg2, arg3}) 13582 fake.updateResourceMetadataMutex.Unlock() 13583 if fake.UpdateResourceMetadataStub != nil { 13584 return fake.UpdateResourceMetadataStub(arg1, arg2, arg3) 13585 } 13586 if specificReturn { 13587 return ret.result1, ret.result2, ret.result3 13588 } 13589 fakeReturns := fake.updateResourceMetadataReturns 13590 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 13591 } 13592 13593 func (fake *FakeCloudControllerClient) UpdateResourceMetadataCallCount() int { 13594 fake.updateResourceMetadataMutex.RLock() 13595 defer fake.updateResourceMetadataMutex.RUnlock() 13596 return len(fake.updateResourceMetadataArgsForCall) 13597 } 13598 13599 func (fake *FakeCloudControllerClient) UpdateResourceMetadataCalls(stub func(string, string, resources.Metadata) (ccv3.JobURL, ccv3.Warnings, error)) { 13600 fake.updateResourceMetadataMutex.Lock() 13601 defer fake.updateResourceMetadataMutex.Unlock() 13602 fake.UpdateResourceMetadataStub = stub 13603 } 13604 13605 func (fake *FakeCloudControllerClient) UpdateResourceMetadataArgsForCall(i int) (string, string, resources.Metadata) { 13606 fake.updateResourceMetadataMutex.RLock() 13607 defer fake.updateResourceMetadataMutex.RUnlock() 13608 argsForCall := fake.updateResourceMetadataArgsForCall[i] 13609 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3 13610 } 13611 13612 func (fake *FakeCloudControllerClient) UpdateResourceMetadataReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 13613 fake.updateResourceMetadataMutex.Lock() 13614 defer fake.updateResourceMetadataMutex.Unlock() 13615 fake.UpdateResourceMetadataStub = nil 13616 fake.updateResourceMetadataReturns = struct { 13617 result1 ccv3.JobURL 13618 result2 ccv3.Warnings 13619 result3 error 13620 }{result1, result2, result3} 13621 } 13622 13623 func (fake *FakeCloudControllerClient) UpdateResourceMetadataReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 13624 fake.updateResourceMetadataMutex.Lock() 13625 defer fake.updateResourceMetadataMutex.Unlock() 13626 fake.UpdateResourceMetadataStub = nil 13627 if fake.updateResourceMetadataReturnsOnCall == nil { 13628 fake.updateResourceMetadataReturnsOnCall = make(map[int]struct { 13629 result1 ccv3.JobURL 13630 result2 ccv3.Warnings 13631 result3 error 13632 }) 13633 } 13634 fake.updateResourceMetadataReturnsOnCall[i] = struct { 13635 result1 ccv3.JobURL 13636 result2 ccv3.Warnings 13637 result3 error 13638 }{result1, result2, result3} 13639 } 13640 13641 func (fake *FakeCloudControllerClient) UpdateSecurityGroup(arg1 resources.SecurityGroup) (resources.SecurityGroup, ccv3.Warnings, error) { 13642 fake.updateSecurityGroupMutex.Lock() 13643 ret, specificReturn := fake.updateSecurityGroupReturnsOnCall[len(fake.updateSecurityGroupArgsForCall)] 13644 fake.updateSecurityGroupArgsForCall = append(fake.updateSecurityGroupArgsForCall, struct { 13645 arg1 resources.SecurityGroup 13646 }{arg1}) 13647 fake.recordInvocation("UpdateSecurityGroup", []interface{}{arg1}) 13648 fake.updateSecurityGroupMutex.Unlock() 13649 if fake.UpdateSecurityGroupStub != nil { 13650 return fake.UpdateSecurityGroupStub(arg1) 13651 } 13652 if specificReturn { 13653 return ret.result1, ret.result2, ret.result3 13654 } 13655 fakeReturns := fake.updateSecurityGroupReturns 13656 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 13657 } 13658 13659 func (fake *FakeCloudControllerClient) UpdateSecurityGroupCallCount() int { 13660 fake.updateSecurityGroupMutex.RLock() 13661 defer fake.updateSecurityGroupMutex.RUnlock() 13662 return len(fake.updateSecurityGroupArgsForCall) 13663 } 13664 13665 func (fake *FakeCloudControllerClient) UpdateSecurityGroupCalls(stub func(resources.SecurityGroup) (resources.SecurityGroup, ccv3.Warnings, error)) { 13666 fake.updateSecurityGroupMutex.Lock() 13667 defer fake.updateSecurityGroupMutex.Unlock() 13668 fake.UpdateSecurityGroupStub = stub 13669 } 13670 13671 func (fake *FakeCloudControllerClient) UpdateSecurityGroupArgsForCall(i int) resources.SecurityGroup { 13672 fake.updateSecurityGroupMutex.RLock() 13673 defer fake.updateSecurityGroupMutex.RUnlock() 13674 argsForCall := fake.updateSecurityGroupArgsForCall[i] 13675 return argsForCall.arg1 13676 } 13677 13678 func (fake *FakeCloudControllerClient) UpdateSecurityGroupReturns(result1 resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 13679 fake.updateSecurityGroupMutex.Lock() 13680 defer fake.updateSecurityGroupMutex.Unlock() 13681 fake.UpdateSecurityGroupStub = nil 13682 fake.updateSecurityGroupReturns = struct { 13683 result1 resources.SecurityGroup 13684 result2 ccv3.Warnings 13685 result3 error 13686 }{result1, result2, result3} 13687 } 13688 13689 func (fake *FakeCloudControllerClient) UpdateSecurityGroupReturnsOnCall(i int, result1 resources.SecurityGroup, result2 ccv3.Warnings, result3 error) { 13690 fake.updateSecurityGroupMutex.Lock() 13691 defer fake.updateSecurityGroupMutex.Unlock() 13692 fake.UpdateSecurityGroupStub = nil 13693 if fake.updateSecurityGroupReturnsOnCall == nil { 13694 fake.updateSecurityGroupReturnsOnCall = make(map[int]struct { 13695 result1 resources.SecurityGroup 13696 result2 ccv3.Warnings 13697 result3 error 13698 }) 13699 } 13700 fake.updateSecurityGroupReturnsOnCall[i] = struct { 13701 result1 resources.SecurityGroup 13702 result2 ccv3.Warnings 13703 result3 error 13704 }{result1, result2, result3} 13705 } 13706 13707 func (fake *FakeCloudControllerClient) UpdateSecurityGroupRunningSpace(arg1 string, arg2 []string) (ccv3.Warnings, error) { 13708 var arg2Copy []string 13709 if arg2 != nil { 13710 arg2Copy = make([]string, len(arg2)) 13711 copy(arg2Copy, arg2) 13712 } 13713 fake.updateSecurityGroupRunningSpaceMutex.Lock() 13714 ret, specificReturn := fake.updateSecurityGroupRunningSpaceReturnsOnCall[len(fake.updateSecurityGroupRunningSpaceArgsForCall)] 13715 fake.updateSecurityGroupRunningSpaceArgsForCall = append(fake.updateSecurityGroupRunningSpaceArgsForCall, struct { 13716 arg1 string 13717 arg2 []string 13718 }{arg1, arg2Copy}) 13719 fake.recordInvocation("UpdateSecurityGroupRunningSpace", []interface{}{arg1, arg2Copy}) 13720 fake.updateSecurityGroupRunningSpaceMutex.Unlock() 13721 if fake.UpdateSecurityGroupRunningSpaceStub != nil { 13722 return fake.UpdateSecurityGroupRunningSpaceStub(arg1, arg2) 13723 } 13724 if specificReturn { 13725 return ret.result1, ret.result2 13726 } 13727 fakeReturns := fake.updateSecurityGroupRunningSpaceReturns 13728 return fakeReturns.result1, fakeReturns.result2 13729 } 13730 13731 func (fake *FakeCloudControllerClient) UpdateSecurityGroupRunningSpaceCallCount() int { 13732 fake.updateSecurityGroupRunningSpaceMutex.RLock() 13733 defer fake.updateSecurityGroupRunningSpaceMutex.RUnlock() 13734 return len(fake.updateSecurityGroupRunningSpaceArgsForCall) 13735 } 13736 13737 func (fake *FakeCloudControllerClient) UpdateSecurityGroupRunningSpaceCalls(stub func(string, []string) (ccv3.Warnings, error)) { 13738 fake.updateSecurityGroupRunningSpaceMutex.Lock() 13739 defer fake.updateSecurityGroupRunningSpaceMutex.Unlock() 13740 fake.UpdateSecurityGroupRunningSpaceStub = stub 13741 } 13742 13743 func (fake *FakeCloudControllerClient) UpdateSecurityGroupRunningSpaceArgsForCall(i int) (string, []string) { 13744 fake.updateSecurityGroupRunningSpaceMutex.RLock() 13745 defer fake.updateSecurityGroupRunningSpaceMutex.RUnlock() 13746 argsForCall := fake.updateSecurityGroupRunningSpaceArgsForCall[i] 13747 return argsForCall.arg1, argsForCall.arg2 13748 } 13749 13750 func (fake *FakeCloudControllerClient) UpdateSecurityGroupRunningSpaceReturns(result1 ccv3.Warnings, result2 error) { 13751 fake.updateSecurityGroupRunningSpaceMutex.Lock() 13752 defer fake.updateSecurityGroupRunningSpaceMutex.Unlock() 13753 fake.UpdateSecurityGroupRunningSpaceStub = nil 13754 fake.updateSecurityGroupRunningSpaceReturns = struct { 13755 result1 ccv3.Warnings 13756 result2 error 13757 }{result1, result2} 13758 } 13759 13760 func (fake *FakeCloudControllerClient) UpdateSecurityGroupRunningSpaceReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 13761 fake.updateSecurityGroupRunningSpaceMutex.Lock() 13762 defer fake.updateSecurityGroupRunningSpaceMutex.Unlock() 13763 fake.UpdateSecurityGroupRunningSpaceStub = nil 13764 if fake.updateSecurityGroupRunningSpaceReturnsOnCall == nil { 13765 fake.updateSecurityGroupRunningSpaceReturnsOnCall = make(map[int]struct { 13766 result1 ccv3.Warnings 13767 result2 error 13768 }) 13769 } 13770 fake.updateSecurityGroupRunningSpaceReturnsOnCall[i] = struct { 13771 result1 ccv3.Warnings 13772 result2 error 13773 }{result1, result2} 13774 } 13775 13776 func (fake *FakeCloudControllerClient) UpdateSecurityGroupStagingSpace(arg1 string, arg2 []string) (ccv3.Warnings, error) { 13777 var arg2Copy []string 13778 if arg2 != nil { 13779 arg2Copy = make([]string, len(arg2)) 13780 copy(arg2Copy, arg2) 13781 } 13782 fake.updateSecurityGroupStagingSpaceMutex.Lock() 13783 ret, specificReturn := fake.updateSecurityGroupStagingSpaceReturnsOnCall[len(fake.updateSecurityGroupStagingSpaceArgsForCall)] 13784 fake.updateSecurityGroupStagingSpaceArgsForCall = append(fake.updateSecurityGroupStagingSpaceArgsForCall, struct { 13785 arg1 string 13786 arg2 []string 13787 }{arg1, arg2Copy}) 13788 fake.recordInvocation("UpdateSecurityGroupStagingSpace", []interface{}{arg1, arg2Copy}) 13789 fake.updateSecurityGroupStagingSpaceMutex.Unlock() 13790 if fake.UpdateSecurityGroupStagingSpaceStub != nil { 13791 return fake.UpdateSecurityGroupStagingSpaceStub(arg1, arg2) 13792 } 13793 if specificReturn { 13794 return ret.result1, ret.result2 13795 } 13796 fakeReturns := fake.updateSecurityGroupStagingSpaceReturns 13797 return fakeReturns.result1, fakeReturns.result2 13798 } 13799 13800 func (fake *FakeCloudControllerClient) UpdateSecurityGroupStagingSpaceCallCount() int { 13801 fake.updateSecurityGroupStagingSpaceMutex.RLock() 13802 defer fake.updateSecurityGroupStagingSpaceMutex.RUnlock() 13803 return len(fake.updateSecurityGroupStagingSpaceArgsForCall) 13804 } 13805 13806 func (fake *FakeCloudControllerClient) UpdateSecurityGroupStagingSpaceCalls(stub func(string, []string) (ccv3.Warnings, error)) { 13807 fake.updateSecurityGroupStagingSpaceMutex.Lock() 13808 defer fake.updateSecurityGroupStagingSpaceMutex.Unlock() 13809 fake.UpdateSecurityGroupStagingSpaceStub = stub 13810 } 13811 13812 func (fake *FakeCloudControllerClient) UpdateSecurityGroupStagingSpaceArgsForCall(i int) (string, []string) { 13813 fake.updateSecurityGroupStagingSpaceMutex.RLock() 13814 defer fake.updateSecurityGroupStagingSpaceMutex.RUnlock() 13815 argsForCall := fake.updateSecurityGroupStagingSpaceArgsForCall[i] 13816 return argsForCall.arg1, argsForCall.arg2 13817 } 13818 13819 func (fake *FakeCloudControllerClient) UpdateSecurityGroupStagingSpaceReturns(result1 ccv3.Warnings, result2 error) { 13820 fake.updateSecurityGroupStagingSpaceMutex.Lock() 13821 defer fake.updateSecurityGroupStagingSpaceMutex.Unlock() 13822 fake.UpdateSecurityGroupStagingSpaceStub = nil 13823 fake.updateSecurityGroupStagingSpaceReturns = struct { 13824 result1 ccv3.Warnings 13825 result2 error 13826 }{result1, result2} 13827 } 13828 13829 func (fake *FakeCloudControllerClient) UpdateSecurityGroupStagingSpaceReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 13830 fake.updateSecurityGroupStagingSpaceMutex.Lock() 13831 defer fake.updateSecurityGroupStagingSpaceMutex.Unlock() 13832 fake.UpdateSecurityGroupStagingSpaceStub = nil 13833 if fake.updateSecurityGroupStagingSpaceReturnsOnCall == nil { 13834 fake.updateSecurityGroupStagingSpaceReturnsOnCall = make(map[int]struct { 13835 result1 ccv3.Warnings 13836 result2 error 13837 }) 13838 } 13839 fake.updateSecurityGroupStagingSpaceReturnsOnCall[i] = struct { 13840 result1 ccv3.Warnings 13841 result2 error 13842 }{result1, result2} 13843 } 13844 13845 func (fake *FakeCloudControllerClient) UpdateServiceBroker(arg1 string, arg2 resources.ServiceBroker) (ccv3.JobURL, ccv3.Warnings, error) { 13846 fake.updateServiceBrokerMutex.Lock() 13847 ret, specificReturn := fake.updateServiceBrokerReturnsOnCall[len(fake.updateServiceBrokerArgsForCall)] 13848 fake.updateServiceBrokerArgsForCall = append(fake.updateServiceBrokerArgsForCall, struct { 13849 arg1 string 13850 arg2 resources.ServiceBroker 13851 }{arg1, arg2}) 13852 fake.recordInvocation("UpdateServiceBroker", []interface{}{arg1, arg2}) 13853 fake.updateServiceBrokerMutex.Unlock() 13854 if fake.UpdateServiceBrokerStub != nil { 13855 return fake.UpdateServiceBrokerStub(arg1, arg2) 13856 } 13857 if specificReturn { 13858 return ret.result1, ret.result2, ret.result3 13859 } 13860 fakeReturns := fake.updateServiceBrokerReturns 13861 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 13862 } 13863 13864 func (fake *FakeCloudControllerClient) UpdateServiceBrokerCallCount() int { 13865 fake.updateServiceBrokerMutex.RLock() 13866 defer fake.updateServiceBrokerMutex.RUnlock() 13867 return len(fake.updateServiceBrokerArgsForCall) 13868 } 13869 13870 func (fake *FakeCloudControllerClient) UpdateServiceBrokerCalls(stub func(string, resources.ServiceBroker) (ccv3.JobURL, ccv3.Warnings, error)) { 13871 fake.updateServiceBrokerMutex.Lock() 13872 defer fake.updateServiceBrokerMutex.Unlock() 13873 fake.UpdateServiceBrokerStub = stub 13874 } 13875 13876 func (fake *FakeCloudControllerClient) UpdateServiceBrokerArgsForCall(i int) (string, resources.ServiceBroker) { 13877 fake.updateServiceBrokerMutex.RLock() 13878 defer fake.updateServiceBrokerMutex.RUnlock() 13879 argsForCall := fake.updateServiceBrokerArgsForCall[i] 13880 return argsForCall.arg1, argsForCall.arg2 13881 } 13882 13883 func (fake *FakeCloudControllerClient) UpdateServiceBrokerReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 13884 fake.updateServiceBrokerMutex.Lock() 13885 defer fake.updateServiceBrokerMutex.Unlock() 13886 fake.UpdateServiceBrokerStub = nil 13887 fake.updateServiceBrokerReturns = struct { 13888 result1 ccv3.JobURL 13889 result2 ccv3.Warnings 13890 result3 error 13891 }{result1, result2, result3} 13892 } 13893 13894 func (fake *FakeCloudControllerClient) UpdateServiceBrokerReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 13895 fake.updateServiceBrokerMutex.Lock() 13896 defer fake.updateServiceBrokerMutex.Unlock() 13897 fake.UpdateServiceBrokerStub = nil 13898 if fake.updateServiceBrokerReturnsOnCall == nil { 13899 fake.updateServiceBrokerReturnsOnCall = make(map[int]struct { 13900 result1 ccv3.JobURL 13901 result2 ccv3.Warnings 13902 result3 error 13903 }) 13904 } 13905 fake.updateServiceBrokerReturnsOnCall[i] = struct { 13906 result1 ccv3.JobURL 13907 result2 ccv3.Warnings 13908 result3 error 13909 }{result1, result2, result3} 13910 } 13911 13912 func (fake *FakeCloudControllerClient) UpdateServiceInstance(arg1 string, arg2 resources.ServiceInstance) (ccv3.JobURL, ccv3.Warnings, error) { 13913 fake.updateServiceInstanceMutex.Lock() 13914 ret, specificReturn := fake.updateServiceInstanceReturnsOnCall[len(fake.updateServiceInstanceArgsForCall)] 13915 fake.updateServiceInstanceArgsForCall = append(fake.updateServiceInstanceArgsForCall, struct { 13916 arg1 string 13917 arg2 resources.ServiceInstance 13918 }{arg1, arg2}) 13919 fake.recordInvocation("UpdateServiceInstance", []interface{}{arg1, arg2}) 13920 fake.updateServiceInstanceMutex.Unlock() 13921 if fake.UpdateServiceInstanceStub != nil { 13922 return fake.UpdateServiceInstanceStub(arg1, arg2) 13923 } 13924 if specificReturn { 13925 return ret.result1, ret.result2, ret.result3 13926 } 13927 fakeReturns := fake.updateServiceInstanceReturns 13928 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 13929 } 13930 13931 func (fake *FakeCloudControllerClient) UpdateServiceInstanceCallCount() int { 13932 fake.updateServiceInstanceMutex.RLock() 13933 defer fake.updateServiceInstanceMutex.RUnlock() 13934 return len(fake.updateServiceInstanceArgsForCall) 13935 } 13936 13937 func (fake *FakeCloudControllerClient) UpdateServiceInstanceCalls(stub func(string, resources.ServiceInstance) (ccv3.JobURL, ccv3.Warnings, error)) { 13938 fake.updateServiceInstanceMutex.Lock() 13939 defer fake.updateServiceInstanceMutex.Unlock() 13940 fake.UpdateServiceInstanceStub = stub 13941 } 13942 13943 func (fake *FakeCloudControllerClient) UpdateServiceInstanceArgsForCall(i int) (string, resources.ServiceInstance) { 13944 fake.updateServiceInstanceMutex.RLock() 13945 defer fake.updateServiceInstanceMutex.RUnlock() 13946 argsForCall := fake.updateServiceInstanceArgsForCall[i] 13947 return argsForCall.arg1, argsForCall.arg2 13948 } 13949 13950 func (fake *FakeCloudControllerClient) UpdateServiceInstanceReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 13951 fake.updateServiceInstanceMutex.Lock() 13952 defer fake.updateServiceInstanceMutex.Unlock() 13953 fake.UpdateServiceInstanceStub = nil 13954 fake.updateServiceInstanceReturns = struct { 13955 result1 ccv3.JobURL 13956 result2 ccv3.Warnings 13957 result3 error 13958 }{result1, result2, result3} 13959 } 13960 13961 func (fake *FakeCloudControllerClient) UpdateServiceInstanceReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 13962 fake.updateServiceInstanceMutex.Lock() 13963 defer fake.updateServiceInstanceMutex.Unlock() 13964 fake.UpdateServiceInstanceStub = nil 13965 if fake.updateServiceInstanceReturnsOnCall == nil { 13966 fake.updateServiceInstanceReturnsOnCall = make(map[int]struct { 13967 result1 ccv3.JobURL 13968 result2 ccv3.Warnings 13969 result3 error 13970 }) 13971 } 13972 fake.updateServiceInstanceReturnsOnCall[i] = struct { 13973 result1 ccv3.JobURL 13974 result2 ccv3.Warnings 13975 result3 error 13976 }{result1, result2, result3} 13977 } 13978 13979 func (fake *FakeCloudControllerClient) UpdateServicePlanVisibility(arg1 string, arg2 resources.ServicePlanVisibility) (resources.ServicePlanVisibility, ccv3.Warnings, error) { 13980 fake.updateServicePlanVisibilityMutex.Lock() 13981 ret, specificReturn := fake.updateServicePlanVisibilityReturnsOnCall[len(fake.updateServicePlanVisibilityArgsForCall)] 13982 fake.updateServicePlanVisibilityArgsForCall = append(fake.updateServicePlanVisibilityArgsForCall, struct { 13983 arg1 string 13984 arg2 resources.ServicePlanVisibility 13985 }{arg1, arg2}) 13986 fake.recordInvocation("UpdateServicePlanVisibility", []interface{}{arg1, arg2}) 13987 fake.updateServicePlanVisibilityMutex.Unlock() 13988 if fake.UpdateServicePlanVisibilityStub != nil { 13989 return fake.UpdateServicePlanVisibilityStub(arg1, arg2) 13990 } 13991 if specificReturn { 13992 return ret.result1, ret.result2, ret.result3 13993 } 13994 fakeReturns := fake.updateServicePlanVisibilityReturns 13995 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 13996 } 13997 13998 func (fake *FakeCloudControllerClient) UpdateServicePlanVisibilityCallCount() int { 13999 fake.updateServicePlanVisibilityMutex.RLock() 14000 defer fake.updateServicePlanVisibilityMutex.RUnlock() 14001 return len(fake.updateServicePlanVisibilityArgsForCall) 14002 } 14003 14004 func (fake *FakeCloudControllerClient) UpdateServicePlanVisibilityCalls(stub func(string, resources.ServicePlanVisibility) (resources.ServicePlanVisibility, ccv3.Warnings, error)) { 14005 fake.updateServicePlanVisibilityMutex.Lock() 14006 defer fake.updateServicePlanVisibilityMutex.Unlock() 14007 fake.UpdateServicePlanVisibilityStub = stub 14008 } 14009 14010 func (fake *FakeCloudControllerClient) UpdateServicePlanVisibilityArgsForCall(i int) (string, resources.ServicePlanVisibility) { 14011 fake.updateServicePlanVisibilityMutex.RLock() 14012 defer fake.updateServicePlanVisibilityMutex.RUnlock() 14013 argsForCall := fake.updateServicePlanVisibilityArgsForCall[i] 14014 return argsForCall.arg1, argsForCall.arg2 14015 } 14016 14017 func (fake *FakeCloudControllerClient) UpdateServicePlanVisibilityReturns(result1 resources.ServicePlanVisibility, result2 ccv3.Warnings, result3 error) { 14018 fake.updateServicePlanVisibilityMutex.Lock() 14019 defer fake.updateServicePlanVisibilityMutex.Unlock() 14020 fake.UpdateServicePlanVisibilityStub = nil 14021 fake.updateServicePlanVisibilityReturns = struct { 14022 result1 resources.ServicePlanVisibility 14023 result2 ccv3.Warnings 14024 result3 error 14025 }{result1, result2, result3} 14026 } 14027 14028 func (fake *FakeCloudControllerClient) UpdateServicePlanVisibilityReturnsOnCall(i int, result1 resources.ServicePlanVisibility, result2 ccv3.Warnings, result3 error) { 14029 fake.updateServicePlanVisibilityMutex.Lock() 14030 defer fake.updateServicePlanVisibilityMutex.Unlock() 14031 fake.UpdateServicePlanVisibilityStub = nil 14032 if fake.updateServicePlanVisibilityReturnsOnCall == nil { 14033 fake.updateServicePlanVisibilityReturnsOnCall = make(map[int]struct { 14034 result1 resources.ServicePlanVisibility 14035 result2 ccv3.Warnings 14036 result3 error 14037 }) 14038 } 14039 fake.updateServicePlanVisibilityReturnsOnCall[i] = struct { 14040 result1 resources.ServicePlanVisibility 14041 result2 ccv3.Warnings 14042 result3 error 14043 }{result1, result2, result3} 14044 } 14045 14046 func (fake *FakeCloudControllerClient) UpdateSpace(arg1 resources.Space) (resources.Space, ccv3.Warnings, error) { 14047 fake.updateSpaceMutex.Lock() 14048 ret, specificReturn := fake.updateSpaceReturnsOnCall[len(fake.updateSpaceArgsForCall)] 14049 fake.updateSpaceArgsForCall = append(fake.updateSpaceArgsForCall, struct { 14050 arg1 resources.Space 14051 }{arg1}) 14052 fake.recordInvocation("UpdateSpace", []interface{}{arg1}) 14053 fake.updateSpaceMutex.Unlock() 14054 if fake.UpdateSpaceStub != nil { 14055 return fake.UpdateSpaceStub(arg1) 14056 } 14057 if specificReturn { 14058 return ret.result1, ret.result2, ret.result3 14059 } 14060 fakeReturns := fake.updateSpaceReturns 14061 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 14062 } 14063 14064 func (fake *FakeCloudControllerClient) UpdateSpaceCallCount() int { 14065 fake.updateSpaceMutex.RLock() 14066 defer fake.updateSpaceMutex.RUnlock() 14067 return len(fake.updateSpaceArgsForCall) 14068 } 14069 14070 func (fake *FakeCloudControllerClient) UpdateSpaceCalls(stub func(resources.Space) (resources.Space, ccv3.Warnings, error)) { 14071 fake.updateSpaceMutex.Lock() 14072 defer fake.updateSpaceMutex.Unlock() 14073 fake.UpdateSpaceStub = stub 14074 } 14075 14076 func (fake *FakeCloudControllerClient) UpdateSpaceArgsForCall(i int) resources.Space { 14077 fake.updateSpaceMutex.RLock() 14078 defer fake.updateSpaceMutex.RUnlock() 14079 argsForCall := fake.updateSpaceArgsForCall[i] 14080 return argsForCall.arg1 14081 } 14082 14083 func (fake *FakeCloudControllerClient) UpdateSpaceReturns(result1 resources.Space, result2 ccv3.Warnings, result3 error) { 14084 fake.updateSpaceMutex.Lock() 14085 defer fake.updateSpaceMutex.Unlock() 14086 fake.UpdateSpaceStub = nil 14087 fake.updateSpaceReturns = struct { 14088 result1 resources.Space 14089 result2 ccv3.Warnings 14090 result3 error 14091 }{result1, result2, result3} 14092 } 14093 14094 func (fake *FakeCloudControllerClient) UpdateSpaceReturnsOnCall(i int, result1 resources.Space, result2 ccv3.Warnings, result3 error) { 14095 fake.updateSpaceMutex.Lock() 14096 defer fake.updateSpaceMutex.Unlock() 14097 fake.UpdateSpaceStub = nil 14098 if fake.updateSpaceReturnsOnCall == nil { 14099 fake.updateSpaceReturnsOnCall = make(map[int]struct { 14100 result1 resources.Space 14101 result2 ccv3.Warnings 14102 result3 error 14103 }) 14104 } 14105 fake.updateSpaceReturnsOnCall[i] = struct { 14106 result1 resources.Space 14107 result2 ccv3.Warnings 14108 result3 error 14109 }{result1, result2, result3} 14110 } 14111 14112 func (fake *FakeCloudControllerClient) UpdateSpaceApplyManifest(arg1 string, arg2 []byte) (ccv3.JobURL, ccv3.Warnings, error) { 14113 var arg2Copy []byte 14114 if arg2 != nil { 14115 arg2Copy = make([]byte, len(arg2)) 14116 copy(arg2Copy, arg2) 14117 } 14118 fake.updateSpaceApplyManifestMutex.Lock() 14119 ret, specificReturn := fake.updateSpaceApplyManifestReturnsOnCall[len(fake.updateSpaceApplyManifestArgsForCall)] 14120 fake.updateSpaceApplyManifestArgsForCall = append(fake.updateSpaceApplyManifestArgsForCall, struct { 14121 arg1 string 14122 arg2 []byte 14123 }{arg1, arg2Copy}) 14124 fake.recordInvocation("UpdateSpaceApplyManifest", []interface{}{arg1, arg2Copy}) 14125 fake.updateSpaceApplyManifestMutex.Unlock() 14126 if fake.UpdateSpaceApplyManifestStub != nil { 14127 return fake.UpdateSpaceApplyManifestStub(arg1, arg2) 14128 } 14129 if specificReturn { 14130 return ret.result1, ret.result2, ret.result3 14131 } 14132 fakeReturns := fake.updateSpaceApplyManifestReturns 14133 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 14134 } 14135 14136 func (fake *FakeCloudControllerClient) UpdateSpaceApplyManifestCallCount() int { 14137 fake.updateSpaceApplyManifestMutex.RLock() 14138 defer fake.updateSpaceApplyManifestMutex.RUnlock() 14139 return len(fake.updateSpaceApplyManifestArgsForCall) 14140 } 14141 14142 func (fake *FakeCloudControllerClient) UpdateSpaceApplyManifestCalls(stub func(string, []byte) (ccv3.JobURL, ccv3.Warnings, error)) { 14143 fake.updateSpaceApplyManifestMutex.Lock() 14144 defer fake.updateSpaceApplyManifestMutex.Unlock() 14145 fake.UpdateSpaceApplyManifestStub = stub 14146 } 14147 14148 func (fake *FakeCloudControllerClient) UpdateSpaceApplyManifestArgsForCall(i int) (string, []byte) { 14149 fake.updateSpaceApplyManifestMutex.RLock() 14150 defer fake.updateSpaceApplyManifestMutex.RUnlock() 14151 argsForCall := fake.updateSpaceApplyManifestArgsForCall[i] 14152 return argsForCall.arg1, argsForCall.arg2 14153 } 14154 14155 func (fake *FakeCloudControllerClient) UpdateSpaceApplyManifestReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 14156 fake.updateSpaceApplyManifestMutex.Lock() 14157 defer fake.updateSpaceApplyManifestMutex.Unlock() 14158 fake.UpdateSpaceApplyManifestStub = nil 14159 fake.updateSpaceApplyManifestReturns = struct { 14160 result1 ccv3.JobURL 14161 result2 ccv3.Warnings 14162 result3 error 14163 }{result1, result2, result3} 14164 } 14165 14166 func (fake *FakeCloudControllerClient) UpdateSpaceApplyManifestReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 14167 fake.updateSpaceApplyManifestMutex.Lock() 14168 defer fake.updateSpaceApplyManifestMutex.Unlock() 14169 fake.UpdateSpaceApplyManifestStub = nil 14170 if fake.updateSpaceApplyManifestReturnsOnCall == nil { 14171 fake.updateSpaceApplyManifestReturnsOnCall = make(map[int]struct { 14172 result1 ccv3.JobURL 14173 result2 ccv3.Warnings 14174 result3 error 14175 }) 14176 } 14177 fake.updateSpaceApplyManifestReturnsOnCall[i] = struct { 14178 result1 ccv3.JobURL 14179 result2 ccv3.Warnings 14180 result3 error 14181 }{result1, result2, result3} 14182 } 14183 14184 func (fake *FakeCloudControllerClient) UpdateSpaceFeature(arg1 string, arg2 bool, arg3 string) (ccv3.Warnings, error) { 14185 fake.updateSpaceFeatureMutex.Lock() 14186 ret, specificReturn := fake.updateSpaceFeatureReturnsOnCall[len(fake.updateSpaceFeatureArgsForCall)] 14187 fake.updateSpaceFeatureArgsForCall = append(fake.updateSpaceFeatureArgsForCall, struct { 14188 arg1 string 14189 arg2 bool 14190 arg3 string 14191 }{arg1, arg2, arg3}) 14192 fake.recordInvocation("UpdateSpaceFeature", []interface{}{arg1, arg2, arg3}) 14193 fake.updateSpaceFeatureMutex.Unlock() 14194 if fake.UpdateSpaceFeatureStub != nil { 14195 return fake.UpdateSpaceFeatureStub(arg1, arg2, arg3) 14196 } 14197 if specificReturn { 14198 return ret.result1, ret.result2 14199 } 14200 fakeReturns := fake.updateSpaceFeatureReturns 14201 return fakeReturns.result1, fakeReturns.result2 14202 } 14203 14204 func (fake *FakeCloudControllerClient) UpdateSpaceFeatureCallCount() int { 14205 fake.updateSpaceFeatureMutex.RLock() 14206 defer fake.updateSpaceFeatureMutex.RUnlock() 14207 return len(fake.updateSpaceFeatureArgsForCall) 14208 } 14209 14210 func (fake *FakeCloudControllerClient) UpdateSpaceFeatureCalls(stub func(string, bool, string) (ccv3.Warnings, error)) { 14211 fake.updateSpaceFeatureMutex.Lock() 14212 defer fake.updateSpaceFeatureMutex.Unlock() 14213 fake.UpdateSpaceFeatureStub = stub 14214 } 14215 14216 func (fake *FakeCloudControllerClient) UpdateSpaceFeatureArgsForCall(i int) (string, bool, string) { 14217 fake.updateSpaceFeatureMutex.RLock() 14218 defer fake.updateSpaceFeatureMutex.RUnlock() 14219 argsForCall := fake.updateSpaceFeatureArgsForCall[i] 14220 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3 14221 } 14222 14223 func (fake *FakeCloudControllerClient) UpdateSpaceFeatureReturns(result1 ccv3.Warnings, result2 error) { 14224 fake.updateSpaceFeatureMutex.Lock() 14225 defer fake.updateSpaceFeatureMutex.Unlock() 14226 fake.UpdateSpaceFeatureStub = nil 14227 fake.updateSpaceFeatureReturns = struct { 14228 result1 ccv3.Warnings 14229 result2 error 14230 }{result1, result2} 14231 } 14232 14233 func (fake *FakeCloudControllerClient) UpdateSpaceFeatureReturnsOnCall(i int, result1 ccv3.Warnings, result2 error) { 14234 fake.updateSpaceFeatureMutex.Lock() 14235 defer fake.updateSpaceFeatureMutex.Unlock() 14236 fake.UpdateSpaceFeatureStub = nil 14237 if fake.updateSpaceFeatureReturnsOnCall == nil { 14238 fake.updateSpaceFeatureReturnsOnCall = make(map[int]struct { 14239 result1 ccv3.Warnings 14240 result2 error 14241 }) 14242 } 14243 fake.updateSpaceFeatureReturnsOnCall[i] = struct { 14244 result1 ccv3.Warnings 14245 result2 error 14246 }{result1, result2} 14247 } 14248 14249 func (fake *FakeCloudControllerClient) UpdateSpaceIsolationSegmentRelationship(arg1 string, arg2 string) (resources.Relationship, ccv3.Warnings, error) { 14250 fake.updateSpaceIsolationSegmentRelationshipMutex.Lock() 14251 ret, specificReturn := fake.updateSpaceIsolationSegmentRelationshipReturnsOnCall[len(fake.updateSpaceIsolationSegmentRelationshipArgsForCall)] 14252 fake.updateSpaceIsolationSegmentRelationshipArgsForCall = append(fake.updateSpaceIsolationSegmentRelationshipArgsForCall, struct { 14253 arg1 string 14254 arg2 string 14255 }{arg1, arg2}) 14256 fake.recordInvocation("UpdateSpaceIsolationSegmentRelationship", []interface{}{arg1, arg2}) 14257 fake.updateSpaceIsolationSegmentRelationshipMutex.Unlock() 14258 if fake.UpdateSpaceIsolationSegmentRelationshipStub != nil { 14259 return fake.UpdateSpaceIsolationSegmentRelationshipStub(arg1, arg2) 14260 } 14261 if specificReturn { 14262 return ret.result1, ret.result2, ret.result3 14263 } 14264 fakeReturns := fake.updateSpaceIsolationSegmentRelationshipReturns 14265 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 14266 } 14267 14268 func (fake *FakeCloudControllerClient) UpdateSpaceIsolationSegmentRelationshipCallCount() int { 14269 fake.updateSpaceIsolationSegmentRelationshipMutex.RLock() 14270 defer fake.updateSpaceIsolationSegmentRelationshipMutex.RUnlock() 14271 return len(fake.updateSpaceIsolationSegmentRelationshipArgsForCall) 14272 } 14273 14274 func (fake *FakeCloudControllerClient) UpdateSpaceIsolationSegmentRelationshipCalls(stub func(string, string) (resources.Relationship, ccv3.Warnings, error)) { 14275 fake.updateSpaceIsolationSegmentRelationshipMutex.Lock() 14276 defer fake.updateSpaceIsolationSegmentRelationshipMutex.Unlock() 14277 fake.UpdateSpaceIsolationSegmentRelationshipStub = stub 14278 } 14279 14280 func (fake *FakeCloudControllerClient) UpdateSpaceIsolationSegmentRelationshipArgsForCall(i int) (string, string) { 14281 fake.updateSpaceIsolationSegmentRelationshipMutex.RLock() 14282 defer fake.updateSpaceIsolationSegmentRelationshipMutex.RUnlock() 14283 argsForCall := fake.updateSpaceIsolationSegmentRelationshipArgsForCall[i] 14284 return argsForCall.arg1, argsForCall.arg2 14285 } 14286 14287 func (fake *FakeCloudControllerClient) UpdateSpaceIsolationSegmentRelationshipReturns(result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 14288 fake.updateSpaceIsolationSegmentRelationshipMutex.Lock() 14289 defer fake.updateSpaceIsolationSegmentRelationshipMutex.Unlock() 14290 fake.UpdateSpaceIsolationSegmentRelationshipStub = nil 14291 fake.updateSpaceIsolationSegmentRelationshipReturns = struct { 14292 result1 resources.Relationship 14293 result2 ccv3.Warnings 14294 result3 error 14295 }{result1, result2, result3} 14296 } 14297 14298 func (fake *FakeCloudControllerClient) UpdateSpaceIsolationSegmentRelationshipReturnsOnCall(i int, result1 resources.Relationship, result2 ccv3.Warnings, result3 error) { 14299 fake.updateSpaceIsolationSegmentRelationshipMutex.Lock() 14300 defer fake.updateSpaceIsolationSegmentRelationshipMutex.Unlock() 14301 fake.UpdateSpaceIsolationSegmentRelationshipStub = nil 14302 if fake.updateSpaceIsolationSegmentRelationshipReturnsOnCall == nil { 14303 fake.updateSpaceIsolationSegmentRelationshipReturnsOnCall = make(map[int]struct { 14304 result1 resources.Relationship 14305 result2 ccv3.Warnings 14306 result3 error 14307 }) 14308 } 14309 fake.updateSpaceIsolationSegmentRelationshipReturnsOnCall[i] = struct { 14310 result1 resources.Relationship 14311 result2 ccv3.Warnings 14312 result3 error 14313 }{result1, result2, result3} 14314 } 14315 14316 func (fake *FakeCloudControllerClient) UpdateSpaceQuota(arg1 resources.SpaceQuota) (resources.SpaceQuota, ccv3.Warnings, error) { 14317 fake.updateSpaceQuotaMutex.Lock() 14318 ret, specificReturn := fake.updateSpaceQuotaReturnsOnCall[len(fake.updateSpaceQuotaArgsForCall)] 14319 fake.updateSpaceQuotaArgsForCall = append(fake.updateSpaceQuotaArgsForCall, struct { 14320 arg1 resources.SpaceQuota 14321 }{arg1}) 14322 fake.recordInvocation("UpdateSpaceQuota", []interface{}{arg1}) 14323 fake.updateSpaceQuotaMutex.Unlock() 14324 if fake.UpdateSpaceQuotaStub != nil { 14325 return fake.UpdateSpaceQuotaStub(arg1) 14326 } 14327 if specificReturn { 14328 return ret.result1, ret.result2, ret.result3 14329 } 14330 fakeReturns := fake.updateSpaceQuotaReturns 14331 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 14332 } 14333 14334 func (fake *FakeCloudControllerClient) UpdateSpaceQuotaCallCount() int { 14335 fake.updateSpaceQuotaMutex.RLock() 14336 defer fake.updateSpaceQuotaMutex.RUnlock() 14337 return len(fake.updateSpaceQuotaArgsForCall) 14338 } 14339 14340 func (fake *FakeCloudControllerClient) UpdateSpaceQuotaCalls(stub func(resources.SpaceQuota) (resources.SpaceQuota, ccv3.Warnings, error)) { 14341 fake.updateSpaceQuotaMutex.Lock() 14342 defer fake.updateSpaceQuotaMutex.Unlock() 14343 fake.UpdateSpaceQuotaStub = stub 14344 } 14345 14346 func (fake *FakeCloudControllerClient) UpdateSpaceQuotaArgsForCall(i int) resources.SpaceQuota { 14347 fake.updateSpaceQuotaMutex.RLock() 14348 defer fake.updateSpaceQuotaMutex.RUnlock() 14349 argsForCall := fake.updateSpaceQuotaArgsForCall[i] 14350 return argsForCall.arg1 14351 } 14352 14353 func (fake *FakeCloudControllerClient) UpdateSpaceQuotaReturns(result1 resources.SpaceQuota, result2 ccv3.Warnings, result3 error) { 14354 fake.updateSpaceQuotaMutex.Lock() 14355 defer fake.updateSpaceQuotaMutex.Unlock() 14356 fake.UpdateSpaceQuotaStub = nil 14357 fake.updateSpaceQuotaReturns = struct { 14358 result1 resources.SpaceQuota 14359 result2 ccv3.Warnings 14360 result3 error 14361 }{result1, result2, result3} 14362 } 14363 14364 func (fake *FakeCloudControllerClient) UpdateSpaceQuotaReturnsOnCall(i int, result1 resources.SpaceQuota, result2 ccv3.Warnings, result3 error) { 14365 fake.updateSpaceQuotaMutex.Lock() 14366 defer fake.updateSpaceQuotaMutex.Unlock() 14367 fake.UpdateSpaceQuotaStub = nil 14368 if fake.updateSpaceQuotaReturnsOnCall == nil { 14369 fake.updateSpaceQuotaReturnsOnCall = make(map[int]struct { 14370 result1 resources.SpaceQuota 14371 result2 ccv3.Warnings 14372 result3 error 14373 }) 14374 } 14375 fake.updateSpaceQuotaReturnsOnCall[i] = struct { 14376 result1 resources.SpaceQuota 14377 result2 ccv3.Warnings 14378 result3 error 14379 }{result1, result2, result3} 14380 } 14381 14382 func (fake *FakeCloudControllerClient) UpdateTaskCancel(arg1 string) (resources.Task, ccv3.Warnings, error) { 14383 fake.updateTaskCancelMutex.Lock() 14384 ret, specificReturn := fake.updateTaskCancelReturnsOnCall[len(fake.updateTaskCancelArgsForCall)] 14385 fake.updateTaskCancelArgsForCall = append(fake.updateTaskCancelArgsForCall, struct { 14386 arg1 string 14387 }{arg1}) 14388 fake.recordInvocation("UpdateTaskCancel", []interface{}{arg1}) 14389 fake.updateTaskCancelMutex.Unlock() 14390 if fake.UpdateTaskCancelStub != nil { 14391 return fake.UpdateTaskCancelStub(arg1) 14392 } 14393 if specificReturn { 14394 return ret.result1, ret.result2, ret.result3 14395 } 14396 fakeReturns := fake.updateTaskCancelReturns 14397 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 14398 } 14399 14400 func (fake *FakeCloudControllerClient) UpdateTaskCancelCallCount() int { 14401 fake.updateTaskCancelMutex.RLock() 14402 defer fake.updateTaskCancelMutex.RUnlock() 14403 return len(fake.updateTaskCancelArgsForCall) 14404 } 14405 14406 func (fake *FakeCloudControllerClient) UpdateTaskCancelCalls(stub func(string) (resources.Task, ccv3.Warnings, error)) { 14407 fake.updateTaskCancelMutex.Lock() 14408 defer fake.updateTaskCancelMutex.Unlock() 14409 fake.UpdateTaskCancelStub = stub 14410 } 14411 14412 func (fake *FakeCloudControllerClient) UpdateTaskCancelArgsForCall(i int) string { 14413 fake.updateTaskCancelMutex.RLock() 14414 defer fake.updateTaskCancelMutex.RUnlock() 14415 argsForCall := fake.updateTaskCancelArgsForCall[i] 14416 return argsForCall.arg1 14417 } 14418 14419 func (fake *FakeCloudControllerClient) UpdateTaskCancelReturns(result1 resources.Task, result2 ccv3.Warnings, result3 error) { 14420 fake.updateTaskCancelMutex.Lock() 14421 defer fake.updateTaskCancelMutex.Unlock() 14422 fake.UpdateTaskCancelStub = nil 14423 fake.updateTaskCancelReturns = struct { 14424 result1 resources.Task 14425 result2 ccv3.Warnings 14426 result3 error 14427 }{result1, result2, result3} 14428 } 14429 14430 func (fake *FakeCloudControllerClient) UpdateTaskCancelReturnsOnCall(i int, result1 resources.Task, result2 ccv3.Warnings, result3 error) { 14431 fake.updateTaskCancelMutex.Lock() 14432 defer fake.updateTaskCancelMutex.Unlock() 14433 fake.UpdateTaskCancelStub = nil 14434 if fake.updateTaskCancelReturnsOnCall == nil { 14435 fake.updateTaskCancelReturnsOnCall = make(map[int]struct { 14436 result1 resources.Task 14437 result2 ccv3.Warnings 14438 result3 error 14439 }) 14440 } 14441 fake.updateTaskCancelReturnsOnCall[i] = struct { 14442 result1 resources.Task 14443 result2 ccv3.Warnings 14444 result3 error 14445 }{result1, result2, result3} 14446 } 14447 14448 func (fake *FakeCloudControllerClient) UploadBitsPackage(arg1 resources.Package, arg2 []ccv3.Resource, arg3 io.Reader, arg4 int64) (resources.Package, ccv3.Warnings, error) { 14449 var arg2Copy []ccv3.Resource 14450 if arg2 != nil { 14451 arg2Copy = make([]ccv3.Resource, len(arg2)) 14452 copy(arg2Copy, arg2) 14453 } 14454 fake.uploadBitsPackageMutex.Lock() 14455 ret, specificReturn := fake.uploadBitsPackageReturnsOnCall[len(fake.uploadBitsPackageArgsForCall)] 14456 fake.uploadBitsPackageArgsForCall = append(fake.uploadBitsPackageArgsForCall, struct { 14457 arg1 resources.Package 14458 arg2 []ccv3.Resource 14459 arg3 io.Reader 14460 arg4 int64 14461 }{arg1, arg2Copy, arg3, arg4}) 14462 fake.recordInvocation("UploadBitsPackage", []interface{}{arg1, arg2Copy, arg3, arg4}) 14463 fake.uploadBitsPackageMutex.Unlock() 14464 if fake.UploadBitsPackageStub != nil { 14465 return fake.UploadBitsPackageStub(arg1, arg2, arg3, arg4) 14466 } 14467 if specificReturn { 14468 return ret.result1, ret.result2, ret.result3 14469 } 14470 fakeReturns := fake.uploadBitsPackageReturns 14471 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 14472 } 14473 14474 func (fake *FakeCloudControllerClient) UploadBitsPackageCallCount() int { 14475 fake.uploadBitsPackageMutex.RLock() 14476 defer fake.uploadBitsPackageMutex.RUnlock() 14477 return len(fake.uploadBitsPackageArgsForCall) 14478 } 14479 14480 func (fake *FakeCloudControllerClient) UploadBitsPackageCalls(stub func(resources.Package, []ccv3.Resource, io.Reader, int64) (resources.Package, ccv3.Warnings, error)) { 14481 fake.uploadBitsPackageMutex.Lock() 14482 defer fake.uploadBitsPackageMutex.Unlock() 14483 fake.UploadBitsPackageStub = stub 14484 } 14485 14486 func (fake *FakeCloudControllerClient) UploadBitsPackageArgsForCall(i int) (resources.Package, []ccv3.Resource, io.Reader, int64) { 14487 fake.uploadBitsPackageMutex.RLock() 14488 defer fake.uploadBitsPackageMutex.RUnlock() 14489 argsForCall := fake.uploadBitsPackageArgsForCall[i] 14490 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4 14491 } 14492 14493 func (fake *FakeCloudControllerClient) UploadBitsPackageReturns(result1 resources.Package, result2 ccv3.Warnings, result3 error) { 14494 fake.uploadBitsPackageMutex.Lock() 14495 defer fake.uploadBitsPackageMutex.Unlock() 14496 fake.UploadBitsPackageStub = nil 14497 fake.uploadBitsPackageReturns = struct { 14498 result1 resources.Package 14499 result2 ccv3.Warnings 14500 result3 error 14501 }{result1, result2, result3} 14502 } 14503 14504 func (fake *FakeCloudControllerClient) UploadBitsPackageReturnsOnCall(i int, result1 resources.Package, result2 ccv3.Warnings, result3 error) { 14505 fake.uploadBitsPackageMutex.Lock() 14506 defer fake.uploadBitsPackageMutex.Unlock() 14507 fake.UploadBitsPackageStub = nil 14508 if fake.uploadBitsPackageReturnsOnCall == nil { 14509 fake.uploadBitsPackageReturnsOnCall = make(map[int]struct { 14510 result1 resources.Package 14511 result2 ccv3.Warnings 14512 result3 error 14513 }) 14514 } 14515 fake.uploadBitsPackageReturnsOnCall[i] = struct { 14516 result1 resources.Package 14517 result2 ccv3.Warnings 14518 result3 error 14519 }{result1, result2, result3} 14520 } 14521 14522 func (fake *FakeCloudControllerClient) UploadBuildpack(arg1 string, arg2 string, arg3 io.Reader, arg4 int64) (ccv3.JobURL, ccv3.Warnings, error) { 14523 fake.uploadBuildpackMutex.Lock() 14524 ret, specificReturn := fake.uploadBuildpackReturnsOnCall[len(fake.uploadBuildpackArgsForCall)] 14525 fake.uploadBuildpackArgsForCall = append(fake.uploadBuildpackArgsForCall, struct { 14526 arg1 string 14527 arg2 string 14528 arg3 io.Reader 14529 arg4 int64 14530 }{arg1, arg2, arg3, arg4}) 14531 fake.recordInvocation("UploadBuildpack", []interface{}{arg1, arg2, arg3, arg4}) 14532 fake.uploadBuildpackMutex.Unlock() 14533 if fake.UploadBuildpackStub != nil { 14534 return fake.UploadBuildpackStub(arg1, arg2, arg3, arg4) 14535 } 14536 if specificReturn { 14537 return ret.result1, ret.result2, ret.result3 14538 } 14539 fakeReturns := fake.uploadBuildpackReturns 14540 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 14541 } 14542 14543 func (fake *FakeCloudControllerClient) UploadBuildpackCallCount() int { 14544 fake.uploadBuildpackMutex.RLock() 14545 defer fake.uploadBuildpackMutex.RUnlock() 14546 return len(fake.uploadBuildpackArgsForCall) 14547 } 14548 14549 func (fake *FakeCloudControllerClient) UploadBuildpackCalls(stub func(string, string, io.Reader, int64) (ccv3.JobURL, ccv3.Warnings, error)) { 14550 fake.uploadBuildpackMutex.Lock() 14551 defer fake.uploadBuildpackMutex.Unlock() 14552 fake.UploadBuildpackStub = stub 14553 } 14554 14555 func (fake *FakeCloudControllerClient) UploadBuildpackArgsForCall(i int) (string, string, io.Reader, int64) { 14556 fake.uploadBuildpackMutex.RLock() 14557 defer fake.uploadBuildpackMutex.RUnlock() 14558 argsForCall := fake.uploadBuildpackArgsForCall[i] 14559 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4 14560 } 14561 14562 func (fake *FakeCloudControllerClient) UploadBuildpackReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 14563 fake.uploadBuildpackMutex.Lock() 14564 defer fake.uploadBuildpackMutex.Unlock() 14565 fake.UploadBuildpackStub = nil 14566 fake.uploadBuildpackReturns = struct { 14567 result1 ccv3.JobURL 14568 result2 ccv3.Warnings 14569 result3 error 14570 }{result1, result2, result3} 14571 } 14572 14573 func (fake *FakeCloudControllerClient) UploadBuildpackReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 14574 fake.uploadBuildpackMutex.Lock() 14575 defer fake.uploadBuildpackMutex.Unlock() 14576 fake.UploadBuildpackStub = nil 14577 if fake.uploadBuildpackReturnsOnCall == nil { 14578 fake.uploadBuildpackReturnsOnCall = make(map[int]struct { 14579 result1 ccv3.JobURL 14580 result2 ccv3.Warnings 14581 result3 error 14582 }) 14583 } 14584 fake.uploadBuildpackReturnsOnCall[i] = struct { 14585 result1 ccv3.JobURL 14586 result2 ccv3.Warnings 14587 result3 error 14588 }{result1, result2, result3} 14589 } 14590 14591 func (fake *FakeCloudControllerClient) UploadDropletBits(arg1 string, arg2 string, arg3 io.Reader, arg4 int64) (ccv3.JobURL, ccv3.Warnings, error) { 14592 fake.uploadDropletBitsMutex.Lock() 14593 ret, specificReturn := fake.uploadDropletBitsReturnsOnCall[len(fake.uploadDropletBitsArgsForCall)] 14594 fake.uploadDropletBitsArgsForCall = append(fake.uploadDropletBitsArgsForCall, struct { 14595 arg1 string 14596 arg2 string 14597 arg3 io.Reader 14598 arg4 int64 14599 }{arg1, arg2, arg3, arg4}) 14600 fake.recordInvocation("UploadDropletBits", []interface{}{arg1, arg2, arg3, arg4}) 14601 fake.uploadDropletBitsMutex.Unlock() 14602 if fake.UploadDropletBitsStub != nil { 14603 return fake.UploadDropletBitsStub(arg1, arg2, arg3, arg4) 14604 } 14605 if specificReturn { 14606 return ret.result1, ret.result2, ret.result3 14607 } 14608 fakeReturns := fake.uploadDropletBitsReturns 14609 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 14610 } 14611 14612 func (fake *FakeCloudControllerClient) UploadDropletBitsCallCount() int { 14613 fake.uploadDropletBitsMutex.RLock() 14614 defer fake.uploadDropletBitsMutex.RUnlock() 14615 return len(fake.uploadDropletBitsArgsForCall) 14616 } 14617 14618 func (fake *FakeCloudControllerClient) UploadDropletBitsCalls(stub func(string, string, io.Reader, int64) (ccv3.JobURL, ccv3.Warnings, error)) { 14619 fake.uploadDropletBitsMutex.Lock() 14620 defer fake.uploadDropletBitsMutex.Unlock() 14621 fake.UploadDropletBitsStub = stub 14622 } 14623 14624 func (fake *FakeCloudControllerClient) UploadDropletBitsArgsForCall(i int) (string, string, io.Reader, int64) { 14625 fake.uploadDropletBitsMutex.RLock() 14626 defer fake.uploadDropletBitsMutex.RUnlock() 14627 argsForCall := fake.uploadDropletBitsArgsForCall[i] 14628 return argsForCall.arg1, argsForCall.arg2, argsForCall.arg3, argsForCall.arg4 14629 } 14630 14631 func (fake *FakeCloudControllerClient) UploadDropletBitsReturns(result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 14632 fake.uploadDropletBitsMutex.Lock() 14633 defer fake.uploadDropletBitsMutex.Unlock() 14634 fake.UploadDropletBitsStub = nil 14635 fake.uploadDropletBitsReturns = struct { 14636 result1 ccv3.JobURL 14637 result2 ccv3.Warnings 14638 result3 error 14639 }{result1, result2, result3} 14640 } 14641 14642 func (fake *FakeCloudControllerClient) UploadDropletBitsReturnsOnCall(i int, result1 ccv3.JobURL, result2 ccv3.Warnings, result3 error) { 14643 fake.uploadDropletBitsMutex.Lock() 14644 defer fake.uploadDropletBitsMutex.Unlock() 14645 fake.UploadDropletBitsStub = nil 14646 if fake.uploadDropletBitsReturnsOnCall == nil { 14647 fake.uploadDropletBitsReturnsOnCall = make(map[int]struct { 14648 result1 ccv3.JobURL 14649 result2 ccv3.Warnings 14650 result3 error 14651 }) 14652 } 14653 fake.uploadDropletBitsReturnsOnCall[i] = struct { 14654 result1 ccv3.JobURL 14655 result2 ccv3.Warnings 14656 result3 error 14657 }{result1, result2, result3} 14658 } 14659 14660 func (fake *FakeCloudControllerClient) UploadPackage(arg1 resources.Package, arg2 string) (resources.Package, ccv3.Warnings, error) { 14661 fake.uploadPackageMutex.Lock() 14662 ret, specificReturn := fake.uploadPackageReturnsOnCall[len(fake.uploadPackageArgsForCall)] 14663 fake.uploadPackageArgsForCall = append(fake.uploadPackageArgsForCall, struct { 14664 arg1 resources.Package 14665 arg2 string 14666 }{arg1, arg2}) 14667 fake.recordInvocation("UploadPackage", []interface{}{arg1, arg2}) 14668 fake.uploadPackageMutex.Unlock() 14669 if fake.UploadPackageStub != nil { 14670 return fake.UploadPackageStub(arg1, arg2) 14671 } 14672 if specificReturn { 14673 return ret.result1, ret.result2, ret.result3 14674 } 14675 fakeReturns := fake.uploadPackageReturns 14676 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 14677 } 14678 14679 func (fake *FakeCloudControllerClient) UploadPackageCallCount() int { 14680 fake.uploadPackageMutex.RLock() 14681 defer fake.uploadPackageMutex.RUnlock() 14682 return len(fake.uploadPackageArgsForCall) 14683 } 14684 14685 func (fake *FakeCloudControllerClient) UploadPackageCalls(stub func(resources.Package, string) (resources.Package, ccv3.Warnings, error)) { 14686 fake.uploadPackageMutex.Lock() 14687 defer fake.uploadPackageMutex.Unlock() 14688 fake.UploadPackageStub = stub 14689 } 14690 14691 func (fake *FakeCloudControllerClient) UploadPackageArgsForCall(i int) (resources.Package, string) { 14692 fake.uploadPackageMutex.RLock() 14693 defer fake.uploadPackageMutex.RUnlock() 14694 argsForCall := fake.uploadPackageArgsForCall[i] 14695 return argsForCall.arg1, argsForCall.arg2 14696 } 14697 14698 func (fake *FakeCloudControllerClient) UploadPackageReturns(result1 resources.Package, result2 ccv3.Warnings, result3 error) { 14699 fake.uploadPackageMutex.Lock() 14700 defer fake.uploadPackageMutex.Unlock() 14701 fake.UploadPackageStub = nil 14702 fake.uploadPackageReturns = struct { 14703 result1 resources.Package 14704 result2 ccv3.Warnings 14705 result3 error 14706 }{result1, result2, result3} 14707 } 14708 14709 func (fake *FakeCloudControllerClient) UploadPackageReturnsOnCall(i int, result1 resources.Package, result2 ccv3.Warnings, result3 error) { 14710 fake.uploadPackageMutex.Lock() 14711 defer fake.uploadPackageMutex.Unlock() 14712 fake.UploadPackageStub = nil 14713 if fake.uploadPackageReturnsOnCall == nil { 14714 fake.uploadPackageReturnsOnCall = make(map[int]struct { 14715 result1 resources.Package 14716 result2 ccv3.Warnings 14717 result3 error 14718 }) 14719 } 14720 fake.uploadPackageReturnsOnCall[i] = struct { 14721 result1 resources.Package 14722 result2 ccv3.Warnings 14723 result3 error 14724 }{result1, result2, result3} 14725 } 14726 14727 func (fake *FakeCloudControllerClient) WhoAmI() (resources.K8sUser, ccv3.Warnings, error) { 14728 fake.whoAmIMutex.Lock() 14729 ret, specificReturn := fake.whoAmIReturnsOnCall[len(fake.whoAmIArgsForCall)] 14730 fake.whoAmIArgsForCall = append(fake.whoAmIArgsForCall, struct { 14731 }{}) 14732 fake.recordInvocation("WhoAmI", []interface{}{}) 14733 fake.whoAmIMutex.Unlock() 14734 if fake.WhoAmIStub != nil { 14735 return fake.WhoAmIStub() 14736 } 14737 if specificReturn { 14738 return ret.result1, ret.result2, ret.result3 14739 } 14740 fakeReturns := fake.whoAmIReturns 14741 return fakeReturns.result1, fakeReturns.result2, fakeReturns.result3 14742 } 14743 14744 func (fake *FakeCloudControllerClient) WhoAmICallCount() int { 14745 fake.whoAmIMutex.RLock() 14746 defer fake.whoAmIMutex.RUnlock() 14747 return len(fake.whoAmIArgsForCall) 14748 } 14749 14750 func (fake *FakeCloudControllerClient) WhoAmICalls(stub func() (resources.K8sUser, ccv3.Warnings, error)) { 14751 fake.whoAmIMutex.Lock() 14752 defer fake.whoAmIMutex.Unlock() 14753 fake.WhoAmIStub = stub 14754 } 14755 14756 func (fake *FakeCloudControllerClient) WhoAmIReturns(result1 resources.K8sUser, result2 ccv3.Warnings, result3 error) { 14757 fake.whoAmIMutex.Lock() 14758 defer fake.whoAmIMutex.Unlock() 14759 fake.WhoAmIStub = nil 14760 fake.whoAmIReturns = struct { 14761 result1 resources.K8sUser 14762 result2 ccv3.Warnings 14763 result3 error 14764 }{result1, result2, result3} 14765 } 14766 14767 func (fake *FakeCloudControllerClient) WhoAmIReturnsOnCall(i int, result1 resources.K8sUser, result2 ccv3.Warnings, result3 error) { 14768 fake.whoAmIMutex.Lock() 14769 defer fake.whoAmIMutex.Unlock() 14770 fake.WhoAmIStub = nil 14771 if fake.whoAmIReturnsOnCall == nil { 14772 fake.whoAmIReturnsOnCall = make(map[int]struct { 14773 result1 resources.K8sUser 14774 result2 ccv3.Warnings 14775 result3 error 14776 }) 14777 } 14778 fake.whoAmIReturnsOnCall[i] = struct { 14779 result1 resources.K8sUser 14780 result2 ccv3.Warnings 14781 result3 error 14782 }{result1, result2, result3} 14783 } 14784 14785 func (fake *FakeCloudControllerClient) Invocations() map[string][][]interface{} { 14786 fake.invocationsMutex.RLock() 14787 defer fake.invocationsMutex.RUnlock() 14788 fake.applyOrganizationQuotaMutex.RLock() 14789 defer fake.applyOrganizationQuotaMutex.RUnlock() 14790 fake.applySpaceQuotaMutex.RLock() 14791 defer fake.applySpaceQuotaMutex.RUnlock() 14792 fake.cancelDeploymentMutex.RLock() 14793 defer fake.cancelDeploymentMutex.RUnlock() 14794 fake.checkRouteMutex.RLock() 14795 defer fake.checkRouteMutex.RUnlock() 14796 fake.copyPackageMutex.RLock() 14797 defer fake.copyPackageMutex.RUnlock() 14798 fake.createApplicationMutex.RLock() 14799 defer fake.createApplicationMutex.RUnlock() 14800 fake.createApplicationDeploymentMutex.RLock() 14801 defer fake.createApplicationDeploymentMutex.RUnlock() 14802 fake.createApplicationDeploymentByRevisionMutex.RLock() 14803 defer fake.createApplicationDeploymentByRevisionMutex.RUnlock() 14804 fake.createApplicationProcessScaleMutex.RLock() 14805 defer fake.createApplicationProcessScaleMutex.RUnlock() 14806 fake.createApplicationTaskMutex.RLock() 14807 defer fake.createApplicationTaskMutex.RUnlock() 14808 fake.createBuildMutex.RLock() 14809 defer fake.createBuildMutex.RUnlock() 14810 fake.createBuildpackMutex.RLock() 14811 defer fake.createBuildpackMutex.RUnlock() 14812 fake.createDomainMutex.RLock() 14813 defer fake.createDomainMutex.RUnlock() 14814 fake.createDropletMutex.RLock() 14815 defer fake.createDropletMutex.RUnlock() 14816 fake.createIsolationSegmentMutex.RLock() 14817 defer fake.createIsolationSegmentMutex.RUnlock() 14818 fake.createOrganizationMutex.RLock() 14819 defer fake.createOrganizationMutex.RUnlock() 14820 fake.createOrganizationQuotaMutex.RLock() 14821 defer fake.createOrganizationQuotaMutex.RUnlock() 14822 fake.createPackageMutex.RLock() 14823 defer fake.createPackageMutex.RUnlock() 14824 fake.createRoleMutex.RLock() 14825 defer fake.createRoleMutex.RUnlock() 14826 fake.createRouteMutex.RLock() 14827 defer fake.createRouteMutex.RUnlock() 14828 fake.createRouteBindingMutex.RLock() 14829 defer fake.createRouteBindingMutex.RUnlock() 14830 fake.createSecurityGroupMutex.RLock() 14831 defer fake.createSecurityGroupMutex.RUnlock() 14832 fake.createServiceBrokerMutex.RLock() 14833 defer fake.createServiceBrokerMutex.RUnlock() 14834 fake.createServiceCredentialBindingMutex.RLock() 14835 defer fake.createServiceCredentialBindingMutex.RUnlock() 14836 fake.createServiceInstanceMutex.RLock() 14837 defer fake.createServiceInstanceMutex.RUnlock() 14838 fake.createSpaceMutex.RLock() 14839 defer fake.createSpaceMutex.RUnlock() 14840 fake.createSpaceQuotaMutex.RLock() 14841 defer fake.createSpaceQuotaMutex.RUnlock() 14842 fake.createUserMutex.RLock() 14843 defer fake.createUserMutex.RUnlock() 14844 fake.deleteApplicationMutex.RLock() 14845 defer fake.deleteApplicationMutex.RUnlock() 14846 fake.deleteApplicationProcessInstanceMutex.RLock() 14847 defer fake.deleteApplicationProcessInstanceMutex.RUnlock() 14848 fake.deleteBuildpackMutex.RLock() 14849 defer fake.deleteBuildpackMutex.RUnlock() 14850 fake.deleteDomainMutex.RLock() 14851 defer fake.deleteDomainMutex.RUnlock() 14852 fake.deleteIsolationSegmentMutex.RLock() 14853 defer fake.deleteIsolationSegmentMutex.RUnlock() 14854 fake.deleteIsolationSegmentOrganizationMutex.RLock() 14855 defer fake.deleteIsolationSegmentOrganizationMutex.RUnlock() 14856 fake.deleteOrganizationMutex.RLock() 14857 defer fake.deleteOrganizationMutex.RUnlock() 14858 fake.deleteOrganizationQuotaMutex.RLock() 14859 defer fake.deleteOrganizationQuotaMutex.RUnlock() 14860 fake.deleteOrphanedRoutesMutex.RLock() 14861 defer fake.deleteOrphanedRoutesMutex.RUnlock() 14862 fake.deleteRoleMutex.RLock() 14863 defer fake.deleteRoleMutex.RUnlock() 14864 fake.deleteRouteMutex.RLock() 14865 defer fake.deleteRouteMutex.RUnlock() 14866 fake.deleteRouteBindingMutex.RLock() 14867 defer fake.deleteRouteBindingMutex.RUnlock() 14868 fake.deleteSecurityGroupMutex.RLock() 14869 defer fake.deleteSecurityGroupMutex.RUnlock() 14870 fake.deleteServiceBrokerMutex.RLock() 14871 defer fake.deleteServiceBrokerMutex.RUnlock() 14872 fake.deleteServiceCredentialBindingMutex.RLock() 14873 defer fake.deleteServiceCredentialBindingMutex.RUnlock() 14874 fake.deleteServiceInstanceMutex.RLock() 14875 defer fake.deleteServiceInstanceMutex.RUnlock() 14876 fake.deleteServicePlanVisibilityMutex.RLock() 14877 defer fake.deleteServicePlanVisibilityMutex.RUnlock() 14878 fake.deleteSpaceMutex.RLock() 14879 defer fake.deleteSpaceMutex.RUnlock() 14880 fake.deleteSpaceQuotaMutex.RLock() 14881 defer fake.deleteSpaceQuotaMutex.RUnlock() 14882 fake.deleteUserMutex.RLock() 14883 defer fake.deleteUserMutex.RUnlock() 14884 fake.downloadDropletMutex.RLock() 14885 defer fake.downloadDropletMutex.RUnlock() 14886 fake.entitleIsolationSegmentToOrganizationsMutex.RLock() 14887 defer fake.entitleIsolationSegmentToOrganizationsMutex.RUnlock() 14888 fake.getAppFeatureMutex.RLock() 14889 defer fake.getAppFeatureMutex.RUnlock() 14890 fake.getApplicationByNameAndSpaceMutex.RLock() 14891 defer fake.getApplicationByNameAndSpaceMutex.RUnlock() 14892 fake.getApplicationDropletCurrentMutex.RLock() 14893 defer fake.getApplicationDropletCurrentMutex.RUnlock() 14894 fake.getApplicationEnvironmentMutex.RLock() 14895 defer fake.getApplicationEnvironmentMutex.RUnlock() 14896 fake.getApplicationManifestMutex.RLock() 14897 defer fake.getApplicationManifestMutex.RUnlock() 14898 fake.getApplicationProcessByTypeMutex.RLock() 14899 defer fake.getApplicationProcessByTypeMutex.RUnlock() 14900 fake.getApplicationProcessesMutex.RLock() 14901 defer fake.getApplicationProcessesMutex.RUnlock() 14902 fake.getApplicationRevisionsMutex.RLock() 14903 defer fake.getApplicationRevisionsMutex.RUnlock() 14904 fake.getApplicationRevisionsDeployedMutex.RLock() 14905 defer fake.getApplicationRevisionsDeployedMutex.RUnlock() 14906 fake.getApplicationRoutesMutex.RLock() 14907 defer fake.getApplicationRoutesMutex.RUnlock() 14908 fake.getApplicationTasksMutex.RLock() 14909 defer fake.getApplicationTasksMutex.RUnlock() 14910 fake.getApplicationsMutex.RLock() 14911 defer fake.getApplicationsMutex.RUnlock() 14912 fake.getBuildMutex.RLock() 14913 defer fake.getBuildMutex.RUnlock() 14914 fake.getBuildpacksMutex.RLock() 14915 defer fake.getBuildpacksMutex.RUnlock() 14916 fake.getDefaultDomainMutex.RLock() 14917 defer fake.getDefaultDomainMutex.RUnlock() 14918 fake.getDeploymentMutex.RLock() 14919 defer fake.getDeploymentMutex.RUnlock() 14920 fake.getDeploymentsMutex.RLock() 14921 defer fake.getDeploymentsMutex.RUnlock() 14922 fake.getDomainMutex.RLock() 14923 defer fake.getDomainMutex.RUnlock() 14924 fake.getDomainsMutex.RLock() 14925 defer fake.getDomainsMutex.RUnlock() 14926 fake.getDropletMutex.RLock() 14927 defer fake.getDropletMutex.RUnlock() 14928 fake.getDropletsMutex.RLock() 14929 defer fake.getDropletsMutex.RUnlock() 14930 fake.getEnvironmentVariableGroupMutex.RLock() 14931 defer fake.getEnvironmentVariableGroupMutex.RUnlock() 14932 fake.getEventsMutex.RLock() 14933 defer fake.getEventsMutex.RUnlock() 14934 fake.getFeatureFlagMutex.RLock() 14935 defer fake.getFeatureFlagMutex.RUnlock() 14936 fake.getFeatureFlagsMutex.RLock() 14937 defer fake.getFeatureFlagsMutex.RUnlock() 14938 fake.getInfoMutex.RLock() 14939 defer fake.getInfoMutex.RUnlock() 14940 fake.getIsolationSegmentMutex.RLock() 14941 defer fake.getIsolationSegmentMutex.RUnlock() 14942 fake.getIsolationSegmentOrganizationsMutex.RLock() 14943 defer fake.getIsolationSegmentOrganizationsMutex.RUnlock() 14944 fake.getIsolationSegmentsMutex.RLock() 14945 defer fake.getIsolationSegmentsMutex.RUnlock() 14946 fake.getNewApplicationProcessesMutex.RLock() 14947 defer fake.getNewApplicationProcessesMutex.RUnlock() 14948 fake.getOrganizationMutex.RLock() 14949 defer fake.getOrganizationMutex.RUnlock() 14950 fake.getOrganizationDefaultIsolationSegmentMutex.RLock() 14951 defer fake.getOrganizationDefaultIsolationSegmentMutex.RUnlock() 14952 fake.getOrganizationDomainsMutex.RLock() 14953 defer fake.getOrganizationDomainsMutex.RUnlock() 14954 fake.getOrganizationQuotaMutex.RLock() 14955 defer fake.getOrganizationQuotaMutex.RUnlock() 14956 fake.getOrganizationQuotasMutex.RLock() 14957 defer fake.getOrganizationQuotasMutex.RUnlock() 14958 fake.getOrganizationsMutex.RLock() 14959 defer fake.getOrganizationsMutex.RUnlock() 14960 fake.getPackageMutex.RLock() 14961 defer fake.getPackageMutex.RUnlock() 14962 fake.getPackageDropletsMutex.RLock() 14963 defer fake.getPackageDropletsMutex.RUnlock() 14964 fake.getPackagesMutex.RLock() 14965 defer fake.getPackagesMutex.RUnlock() 14966 fake.getProcessMutex.RLock() 14967 defer fake.getProcessMutex.RUnlock() 14968 fake.getProcessInstancesMutex.RLock() 14969 defer fake.getProcessInstancesMutex.RUnlock() 14970 fake.getProcessSidecarsMutex.RLock() 14971 defer fake.getProcessSidecarsMutex.RUnlock() 14972 fake.getProcessesMutex.RLock() 14973 defer fake.getProcessesMutex.RUnlock() 14974 fake.getRolesMutex.RLock() 14975 defer fake.getRolesMutex.RUnlock() 14976 fake.getRouteBindingsMutex.RLock() 14977 defer fake.getRouteBindingsMutex.RUnlock() 14978 fake.getRouteDestinationsMutex.RLock() 14979 defer fake.getRouteDestinationsMutex.RUnlock() 14980 fake.getRoutesMutex.RLock() 14981 defer fake.getRoutesMutex.RUnlock() 14982 fake.getRunningSecurityGroupsMutex.RLock() 14983 defer fake.getRunningSecurityGroupsMutex.RUnlock() 14984 fake.getSSHEnabledMutex.RLock() 14985 defer fake.getSSHEnabledMutex.RUnlock() 14986 fake.getSecurityGroupsMutex.RLock() 14987 defer fake.getSecurityGroupsMutex.RUnlock() 14988 fake.getServiceBrokersMutex.RLock() 14989 defer fake.getServiceBrokersMutex.RUnlock() 14990 fake.getServiceCredentialBindingDetailsMutex.RLock() 14991 defer fake.getServiceCredentialBindingDetailsMutex.RUnlock() 14992 fake.getServiceCredentialBindingsMutex.RLock() 14993 defer fake.getServiceCredentialBindingsMutex.RUnlock() 14994 fake.getServiceInstanceByNameAndSpaceMutex.RLock() 14995 defer fake.getServiceInstanceByNameAndSpaceMutex.RUnlock() 14996 fake.getServiceInstanceParametersMutex.RLock() 14997 defer fake.getServiceInstanceParametersMutex.RUnlock() 14998 fake.getServiceInstanceSharedSpacesMutex.RLock() 14999 defer fake.getServiceInstanceSharedSpacesMutex.RUnlock() 15000 fake.getServiceInstanceUsageSummaryMutex.RLock() 15001 defer fake.getServiceInstanceUsageSummaryMutex.RUnlock() 15002 fake.getServiceInstancesMutex.RLock() 15003 defer fake.getServiceInstancesMutex.RUnlock() 15004 fake.getServiceOfferingByGUIDMutex.RLock() 15005 defer fake.getServiceOfferingByGUIDMutex.RUnlock() 15006 fake.getServiceOfferingByNameAndBrokerMutex.RLock() 15007 defer fake.getServiceOfferingByNameAndBrokerMutex.RUnlock() 15008 fake.getServiceOfferingsMutex.RLock() 15009 defer fake.getServiceOfferingsMutex.RUnlock() 15010 fake.getServicePlanByGUIDMutex.RLock() 15011 defer fake.getServicePlanByGUIDMutex.RUnlock() 15012 fake.getServicePlanVisibilityMutex.RLock() 15013 defer fake.getServicePlanVisibilityMutex.RUnlock() 15014 fake.getServicePlansMutex.RLock() 15015 defer fake.getServicePlansMutex.RUnlock() 15016 fake.getServicePlansWithOfferingsMutex.RLock() 15017 defer fake.getServicePlansWithOfferingsMutex.RUnlock() 15018 fake.getServicePlansWithSpaceAndOrganizationMutex.RLock() 15019 defer fake.getServicePlansWithSpaceAndOrganizationMutex.RUnlock() 15020 fake.getSpaceFeatureMutex.RLock() 15021 defer fake.getSpaceFeatureMutex.RUnlock() 15022 fake.getSpaceIsolationSegmentMutex.RLock() 15023 defer fake.getSpaceIsolationSegmentMutex.RUnlock() 15024 fake.getSpaceManifestDiffMutex.RLock() 15025 defer fake.getSpaceManifestDiffMutex.RUnlock() 15026 fake.getSpaceQuotaMutex.RLock() 15027 defer fake.getSpaceQuotaMutex.RUnlock() 15028 fake.getSpaceQuotasMutex.RLock() 15029 defer fake.getSpaceQuotasMutex.RUnlock() 15030 fake.getSpacesMutex.RLock() 15031 defer fake.getSpacesMutex.RUnlock() 15032 fake.getStacksMutex.RLock() 15033 defer fake.getStacksMutex.RUnlock() 15034 fake.getStagingSecurityGroupsMutex.RLock() 15035 defer fake.getStagingSecurityGroupsMutex.RUnlock() 15036 fake.getTaskMutex.RLock() 15037 defer fake.getTaskMutex.RUnlock() 15038 fake.getUserMutex.RLock() 15039 defer fake.getUserMutex.RUnlock() 15040 fake.getUsersMutex.RLock() 15041 defer fake.getUsersMutex.RUnlock() 15042 fake.makeRequestSendReceiveRawMutex.RLock() 15043 defer fake.makeRequestSendReceiveRawMutex.RUnlock() 15044 fake.mapRouteMutex.RLock() 15045 defer fake.mapRouteMutex.RUnlock() 15046 fake.moveRouteMutex.RLock() 15047 defer fake.moveRouteMutex.RUnlock() 15048 fake.pollJobMutex.RLock() 15049 defer fake.pollJobMutex.RUnlock() 15050 fake.pollJobForStateMutex.RLock() 15051 defer fake.pollJobForStateMutex.RUnlock() 15052 fake.pollJobToEventStreamMutex.RLock() 15053 defer fake.pollJobToEventStreamMutex.RUnlock() 15054 fake.purgeServiceOfferingMutex.RLock() 15055 defer fake.purgeServiceOfferingMutex.RUnlock() 15056 fake.resourceMatchMutex.RLock() 15057 defer fake.resourceMatchMutex.RUnlock() 15058 fake.rootResponseMutex.RLock() 15059 defer fake.rootResponseMutex.RUnlock() 15060 fake.setApplicationDropletMutex.RLock() 15061 defer fake.setApplicationDropletMutex.RUnlock() 15062 fake.sharePrivateDomainToOrgsMutex.RLock() 15063 defer fake.sharePrivateDomainToOrgsMutex.RUnlock() 15064 fake.shareRouteMutex.RLock() 15065 defer fake.shareRouteMutex.RUnlock() 15066 fake.shareServiceInstanceToSpacesMutex.RLock() 15067 defer fake.shareServiceInstanceToSpacesMutex.RUnlock() 15068 fake.targetCFMutex.RLock() 15069 defer fake.targetCFMutex.RUnlock() 15070 fake.unbindSecurityGroupRunningSpaceMutex.RLock() 15071 defer fake.unbindSecurityGroupRunningSpaceMutex.RUnlock() 15072 fake.unbindSecurityGroupStagingSpaceMutex.RLock() 15073 defer fake.unbindSecurityGroupStagingSpaceMutex.RUnlock() 15074 fake.unmapRouteMutex.RLock() 15075 defer fake.unmapRouteMutex.RUnlock() 15076 fake.unsetSpaceQuotaMutex.RLock() 15077 defer fake.unsetSpaceQuotaMutex.RUnlock() 15078 fake.unsharePrivateDomainFromOrgMutex.RLock() 15079 defer fake.unsharePrivateDomainFromOrgMutex.RUnlock() 15080 fake.unshareRouteMutex.RLock() 15081 defer fake.unshareRouteMutex.RUnlock() 15082 fake.unshareServiceInstanceFromSpaceMutex.RLock() 15083 defer fake.unshareServiceInstanceFromSpaceMutex.RUnlock() 15084 fake.updateAppFeatureMutex.RLock() 15085 defer fake.updateAppFeatureMutex.RUnlock() 15086 fake.updateApplicationMutex.RLock() 15087 defer fake.updateApplicationMutex.RUnlock() 15088 fake.updateApplicationApplyManifestMutex.RLock() 15089 defer fake.updateApplicationApplyManifestMutex.RUnlock() 15090 fake.updateApplicationEnvironmentVariablesMutex.RLock() 15091 defer fake.updateApplicationEnvironmentVariablesMutex.RUnlock() 15092 fake.updateApplicationNameMutex.RLock() 15093 defer fake.updateApplicationNameMutex.RUnlock() 15094 fake.updateApplicationRestartMutex.RLock() 15095 defer fake.updateApplicationRestartMutex.RUnlock() 15096 fake.updateApplicationStartMutex.RLock() 15097 defer fake.updateApplicationStartMutex.RUnlock() 15098 fake.updateApplicationStopMutex.RLock() 15099 defer fake.updateApplicationStopMutex.RUnlock() 15100 fake.updateBuildpackMutex.RLock() 15101 defer fake.updateBuildpackMutex.RUnlock() 15102 fake.updateDestinationMutex.RLock() 15103 defer fake.updateDestinationMutex.RUnlock() 15104 fake.updateEnvironmentVariableGroupMutex.RLock() 15105 defer fake.updateEnvironmentVariableGroupMutex.RUnlock() 15106 fake.updateFeatureFlagMutex.RLock() 15107 defer fake.updateFeatureFlagMutex.RUnlock() 15108 fake.updateOrganizationMutex.RLock() 15109 defer fake.updateOrganizationMutex.RUnlock() 15110 fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.RLock() 15111 defer fake.updateOrganizationDefaultIsolationSegmentRelationshipMutex.RUnlock() 15112 fake.updateOrganizationQuotaMutex.RLock() 15113 defer fake.updateOrganizationQuotaMutex.RUnlock() 15114 fake.updateProcessMutex.RLock() 15115 defer fake.updateProcessMutex.RUnlock() 15116 fake.updateResourceMetadataMutex.RLock() 15117 defer fake.updateResourceMetadataMutex.RUnlock() 15118 fake.updateSecurityGroupMutex.RLock() 15119 defer fake.updateSecurityGroupMutex.RUnlock() 15120 fake.updateSecurityGroupRunningSpaceMutex.RLock() 15121 defer fake.updateSecurityGroupRunningSpaceMutex.RUnlock() 15122 fake.updateSecurityGroupStagingSpaceMutex.RLock() 15123 defer fake.updateSecurityGroupStagingSpaceMutex.RUnlock() 15124 fake.updateServiceBrokerMutex.RLock() 15125 defer fake.updateServiceBrokerMutex.RUnlock() 15126 fake.updateServiceInstanceMutex.RLock() 15127 defer fake.updateServiceInstanceMutex.RUnlock() 15128 fake.updateServicePlanVisibilityMutex.RLock() 15129 defer fake.updateServicePlanVisibilityMutex.RUnlock() 15130 fake.updateSpaceMutex.RLock() 15131 defer fake.updateSpaceMutex.RUnlock() 15132 fake.updateSpaceApplyManifestMutex.RLock() 15133 defer fake.updateSpaceApplyManifestMutex.RUnlock() 15134 fake.updateSpaceFeatureMutex.RLock() 15135 defer fake.updateSpaceFeatureMutex.RUnlock() 15136 fake.updateSpaceIsolationSegmentRelationshipMutex.RLock() 15137 defer fake.updateSpaceIsolationSegmentRelationshipMutex.RUnlock() 15138 fake.updateSpaceQuotaMutex.RLock() 15139 defer fake.updateSpaceQuotaMutex.RUnlock() 15140 fake.updateTaskCancelMutex.RLock() 15141 defer fake.updateTaskCancelMutex.RUnlock() 15142 fake.uploadBitsPackageMutex.RLock() 15143 defer fake.uploadBitsPackageMutex.RUnlock() 15144 fake.uploadBuildpackMutex.RLock() 15145 defer fake.uploadBuildpackMutex.RUnlock() 15146 fake.uploadDropletBitsMutex.RLock() 15147 defer fake.uploadDropletBitsMutex.RUnlock() 15148 fake.uploadPackageMutex.RLock() 15149 defer fake.uploadPackageMutex.RUnlock() 15150 fake.whoAmIMutex.RLock() 15151 defer fake.whoAmIMutex.RUnlock() 15152 copiedInvocations := map[string][][]interface{}{} 15153 for key, value := range fake.invocations { 15154 copiedInvocations[key] = value 15155 } 15156 return copiedInvocations 15157 } 15158 15159 func (fake *FakeCloudControllerClient) recordInvocation(key string, args []interface{}) { 15160 fake.invocationsMutex.Lock() 15161 defer fake.invocationsMutex.Unlock() 15162 if fake.invocations == nil { 15163 fake.invocations = map[string][][]interface{}{} 15164 } 15165 if fake.invocations[key] == nil { 15166 fake.invocations[key] = [][]interface{}{} 15167 } 15168 fake.invocations[key] = append(fake.invocations[key], args) 15169 } 15170 15171 var _ v7action.CloudControllerClient = new(FakeCloudControllerClient)