コード例 #1
0
 private static Flux<SharedDomainResource> requestListSharedDomains(
     CloudFoundryClient cloudFoundryClient) {
   return PaginationUtils.requestClientV2Resources(
       page ->
           cloudFoundryClient
               .sharedDomains()
               .list(ListSharedDomainsRequest.builder().page(page).build()));
 }
コード例 #2
0
 private static Flux<OrganizationResource> requestOrganizations(
     CloudFoundryClient cloudFoundryClient, String organization) {
   return PaginationUtils.requestClientV2Resources(
       page ->
           cloudFoundryClient
               .organizations()
               .list(ListOrganizationsRequest.builder().name(organization).page(page).build()));
 }
コード例 #3
0
 private static Flux<PrivateDomainResource> requestListPrivateDomains(
     CloudFoundryClient cloudFoundryClient, String domain) {
   return PaginationUtils.requestClientV2Resources(
       page ->
           cloudFoundryClient
               .privateDomains()
               .list(ListPrivateDomainsRequest.builder().name(domain).page(page).build()));
 }