Categorygithub.com/cloudfoundry-community/go-cfclient/v2
modulepackage
2.0.0
Repository: https://github.com/cloudfoundry-community/go-cfclient.git
Documentation: pkg.go.dev

# README

go-cfclient

Overview

cfclient is a package to assist you in writing apps that need to interact with the Cloud Foundry v2 cloud controller API.

v2 go-cfclient deprecated

The v2 version of the client and corresponding v2 cloud controller (CC) API is deprecated. Please start using the v3 version of this client and CC API. This v2 branch is only kept around to support critical bug fixes.

Upgrading the v2 go-cfclient

If you're currently using an old version of the go-cfclient and need to upgrade to the latest version that still supports the v2 CC API, then you'll need to go get the "new" v2 module.

$ go get -u github.com/cloudfoundry-community/go-cfclient/v2

Update your go import statements as necessary in your go source files, then finally:

$ go mod tidy

Usage

go get github.com/cloudfoundry-community/go-cfclient/v2

Some example code:

package main

import (
	"fmt"

	"github.com/cloudfoundry-community/go-cfclient/v2"
)

func main() {
	c := &cfclient.Config{
		ApiAddress: "https://api.10.244.0.34.xip.io",
		Username:   "admin",
		Password:   "secret",
	}
	client, _ := cfclient.NewClient(c)
	apps, _ := client.ListApps()
	fmt.Println(apps)
}

Paging Results

The API supports paging results via query string parameters. All of the v3 ListV3*ByQuery functions support paging. Only a subset of v2 function calls support paging the results:

  • ListSpacesByQuery
  • ListOrgsByQuery
  • ListAppsByQuery
  • ListServiceInstancesByQuery
  • ListUsersByQuery

You can iterate over the results page-by-page using a function similar to this one:

func processSpacesOnePageAtATime(client *cfclient.Client) error {
	page := 1
	pageSize := 50

	q := url.Values{}
	q.Add("results-per-page", strconv.Itoa(pageSize))

	for {
		// get the current page of spaces
		q.Set("page", strconv.Itoa(page))
		spaces, err := client.ListSpacesByQuery(q)
		if err != nil {
			fmt.Printf("Error getting spaces by query: %s", err)
			return err
		}

		// do something with each space
		fmt.Printf("Page %d:\n", page)
		for _, s := range spaces {
			fmt.Println("  " + s.Name)
		}

		// if we hit an empty page or partial page, that means we're done
		if len(spaces) < pageSize {
			break
		}

		// next page
		page++
	}
	return nil
}

Development

make all

Errors

If the Cloud Foundry error definitions change at https://github.com/cloudfoundry/cloud_controller_ng/blob/master/vendor/errors/v2.yml then the error predicate functions in this package need to be regenerated.

To do this, simply use Go to regenerate the code:

make generate

# Functions

DefaultConfig creates a default config object used by CF client.
No description provided by the author
IsAnnotationLimitExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 390023 - HTTP code: 422 - message: "Failed to add %d annotations because it would exceed maximum of %d".
IsAppBitsCopyInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 160002 - HTTP code: 400 - message: "The app copy is invalid: %s".
IsAppBitsUploadInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 160001 - HTTP code: 400 - message: "The app upload is invalid: %s".
IsAppInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 100001 - HTTP code: 400 - message: "The app is invalid: %s".
IsAppMemoryInsufficientForSidecarsError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 100009 - HTTP code: 400 - message: "The requested memory allocation is not large enough to run all of your sidecar processes.".
IsAppMemoryInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 100006 - HTTP code: 400 - message: "You have specified an invalid amount of memory for your application.".
IsAppMemoryQuotaExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 100005 - HTTP code: 400 - message: "You have exceeded your organization's memory limit: %s".
IsAppNameTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 100002 - HTTP code: 400 - message: "The app name is taken: %s".
IsAppNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 100004 - HTTP code: 404 - message: "The app could not be found: %s".
IsAppPackageInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 150001 - HTTP code: 400 - message: "The app package is invalid: %s".
IsAppPackageNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 150002 - HTTP code: 404 - message: "The app package could not be found: %s".
IsAppPortMappingRequiresDiegoError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60022 - HTTP code: 400 - message: "App ports are supported for Diego apps only.".
IsAppRecursiveDeleteFailedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 150009 - HTTP code: 502 - message: "Deletion of app %s failed because one or more associated resources could not be deleted.\n\n%s".
IsAppResourcesFileModeInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 160003 - HTTP code: 400 - message: "The resource file mode is invalid: %s".
IsAppResourcesFilePathInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 160004 - HTTP code: 400 - message: "The resource file path is invalid: %s".
IsAppStoppedStatsError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 200003 - HTTP code: 400 - message: "Could not fetch stats for stopped app: %s".
IsAssociationNotEmptyError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 10006 - HTTP code: 400 - message: "Please delete the %s associations for your %s.".
IsAsyncServiceBindingOperationInProgressError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 90008 - HTTP code: 409 - message: "An operation for the service binding between app %s and service instance %s is in progress.".
IsAsyncServiceInstanceOperationInProgressError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60016 - HTTP code: 409 - message: "An operation for service instance %s is in progress.".
IsBackendSelectionNotAuthorizedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 320005 - HTTP code: 403 - message: "You cannot select the backend on which to run this application".
IsBadQueryParameterError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 10005 - HTTP code: 400 - message: "The query parameter is invalid: %s".
IsBadRequestError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 1004 - HTTP code: 400 - message: "Bad request: %s".
IsBitsServiceError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 290012 - HTTP code: 500 - message: "The bits service returned an error: %s".
IsBlobstoreError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 150007 - HTTP code: 500 - message: "Failed to perform blobstore operation after three retries.".
IsBlobstoreNotLocalError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 150005 - HTTP code: 400 - message: "Downloading blobs can only be done directly to the blobstore.".
IsBlobstoreUnavailableError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 150006 - HTTP code: 502 - message: "Failed to perform operation due to blobstore unavailability.".
IsBuildpackBitsUploadInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 290002 - HTTP code: 400 - message: "The buildpack upload is invalid: %s".
IsBuildpackCompileFailedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 170004 - HTTP code: 400 - message: "App staging failed in the buildpack compile phase".
IsBuildpackInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 290003 - HTTP code: 400 - message: "Buildpack is invalid: %s".
IsBuildpackLockedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 290005 - HTTP code: 409 - message: "The buildpack is locked".
IsBuildpackNameStackTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 290000 - HTTP code: 422 - message: "The buildpack name %s is already in use for the stack %s".
IsBuildpackNameTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 290001 - HTTP code: 400 - message: "The buildpack name is already in use: %s".
IsBuildpackReleaseFailedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 170005 - HTTP code: 400 - message: "App staging failed in the buildpack release phase".
IsBuildpackStackDoesNotExistError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 390012 - HTTP code: 422 - message: "Uploaded buildpack stack (%s) does not exist".
IsBuildpackStacksDontMatchError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 390011 - HTTP code: 422 - message: "Uploaded buildpack stack (%s) does not match %s".
IsBuildpackZipError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 390013 - HTTP code: 422 - message: "Buildpack zip error: %s".
IsCustomBuildpacksDisabledError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 290004 - HTTP code: 400 - message: "Custom buildpacks are disabled".
IsDatabaseError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 10011 - HTTP code: 500 - message: "Database error".
IsDeploymentsDisabledError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 390014 - HTTP code: 403 - message: "Deployments cannot be created due to manifest property 'temporary_disable_deployments'".
IsDiegoDisabledError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 320001 - HTTP code: 400 - message: "Diego has not been enabled.".
IsDiegoDockerBuildpackConflictError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 320002 - HTTP code: 400 - message: "You cannot specify a custom buildpack and a docker image at the same time.".
IsDockerAppToDeaError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60026 - HTTP code: 400 - message: "Docker apps cannot run on DEAs".
IsDockerDisabledError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 320003 - HTTP code: 400 - message: "Docker support has not been enabled.".
IsDockerImageMissingError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 150008 - HTTP code: 400 - message: "Docker credentials can only be supplied for apps with a 'docker_image'".
IsDomainInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 130001 - HTTP code: 400 - message: "The domain is invalid: %s".
IsDomainNameTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 130003 - HTTP code: 400 - message: "The domain name is taken: %s".
IsDomainNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 130002 - HTTP code: 404 - message: "The domain could not be found: %s".
IsDropletUploadInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 380002 - HTTP code: 400 - message: "The droplet upload is invalid: %s".
IsEiriniLRPError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 410001 - HTTP code: 422 - message: "Failed to %s LRP resource: '%s'".
IsEnvironmentVariableGroupInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 380001 - HTTP code: 400 - message: "The Environment Variable Group is invalid: %s".
IsEventNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 230002 - HTTP code: 404 - message: "Event could not be found: %s".
IsFeatureDisabledError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 330002 - HTTP code: 403 - message: "Feature Disabled: %s".
IsFeatureFlagInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 330001 - HTTP code: 400 - message: "The feature flag is invalid: %s".
IsFeatureFlagNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 330000 - HTTP code: 404 - message: "The feature flag could not be found: %s".
IsFileError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 190001 - HTTP code: 400 - message: "File error: %s".
IsFrameworkInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 80001 - HTTP code: 400 - message: "The framework is invalid: %s".
IsFrameworkNameTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 80002 - HTTP code: 400 - message: "The framework name is taken: %s".
IsFrameworkNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 80003 - HTTP code: 404 - message: "The framework could not be found: %s".
IsInstancesError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 220001 - HTTP code: 400 - message: "Instances error: %s".
IsInstancesUnavailableError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 220002 - HTTP code: 503 - message: "Instances information unavailable: %s".
IsInsufficientResourcesError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 170008 - HTTP code: 400 - message: "Insufficient resources".
IsInsufficientRunningResourcesAvailableError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 150003 - HTTP code: 503 - message: "One or more instances could not be started because of insufficient running resources.".
IsInsufficientScopeError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 10007 - HTTP code: 403 - message: "Your token lacks the necessary scopes to access this resource.".
IsInternalDomainCannotBeDeletedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 130009 - HTTP code: 422 - message: "The domain '%s' cannot be deleted.
IsInvalidAuthTokenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 1000 - HTTP code: 401 - message: "Invalid Auth Token".
IsInvalidContentTypeError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 1003 - HTTP code: 400 - message: "Invalid content type, expected: %s".
IsInvalidLoggingServiceBindingError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 90006 - HTTP code: 502 - message: "The service is attempting to stream logs from your application, but is not registered as a logging service.
IsInvalidRelationError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 1002 - HTTP code: 400 - message: "%s".
IsInvalidRequestError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 10004 - HTTP code: 400 - message: "The request is invalid".
IsInvalidTaskAddressError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 170018 - HTTP code: 500 - message: "Invalid config: %s".
IsInvalidTaskRequestError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 170021 - HTTP code: 422 - message: "The task request is invalid: %s".
IsIPBasedRateLimitExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 10014 - HTTP code: 429 - message: "Rate Limit Exceeded: Unauthenticated requests from this IP address have exceeded the limit.
IsJobTimeoutError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 290006 - HTTP code: 524 - message: "The job execution has timed out.".
IsKpackBuilderError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 400003 - HTTP code: 422 - message: "Failed to %s Builder resource: '%s'".
IsKpackImageError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 400002 - HTTP code: 422 - message: "Failed to %s Image resource for staging: '%s'".
IsKubernetesRouteResourceError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 400001 - HTTP code: 422 - message: "Failed to create/update/delete Route resource with guid '%s' on Kubernetes".
IsLabelLimitExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 390020 - HTTP code: 422 - message: "Failed to add %d labels because it would exceed maximum of %d".
IsLastBillingManagerInOrgError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 30005 - HTTP code: 403 - message: "Cannot remove last Billing Manager in org".
IsLastManagerInOrgError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 30004 - HTTP code: 403 - message: "Cannot remove last Org Manager in org".
IsLastUserInOrgError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 30006 - HTTP code: 403 - message: "Cannot remove last User in org".
IsLegacyApiWithoutDefaultSpaceError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 140001 - HTTP code: 400 - message: "A legacy api call requiring a default app space was called, but no default app space is set for the user.".
IsMaintenanceInfoConflictError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 390009 - HTTP code: 422 - message: "maintenance_info.version requested is invalid.
IsMaintenanceInfoNotSemverError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 390007 - HTTP code: 422 - message: "maintenance_info.version should be a semantic version.".
IsMaintenanceInfoNotSupportedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 390006 - HTTP code: 422 - message: "The service broker does not support upgrades for service instances created from this plan.".
IsMaintenanceInfoNotUpdatableWhenChangingPlanError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 390008 - HTTP code: 422 - message: "maintenance_info should not be changed when switching to different plan.".
IsManagedServiceInstanceNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60028 - HTTP code: 404 - message: "The service instance could not be found: %s".
IsMessageParseError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 1001 - HTTP code: 400 - message: "Request invalid due to parse error: %s".
IsMultipleAppPortsMappedDiegoToDeaError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60024 - HTTP code: 400 - message: "The app has routes mapped to multiple ports.
IsNoAppDetectedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 170003 - HTTP code: 400 - message: "An app was not successfully detected by any available buildpack".
IsNoBuildpacksFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 170006 - HTTP code: 400 - message: "There are no buildpacks available".
IsNoCompatibleCellError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 170009 - HTTP code: 400 - message: "Found no compatible cell".
IsNoCurrentEncryptionKeyError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 390015 - HTTP code: 422 - message: "Please set the desired encryption key in the manifest at ‘cc.database_encryption.current_key_label’".
IsNonrecursiveSpaceDeletionFailedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 290011 - HTTP code: 400 - message: "Resource inside space %s must first be deleted, or specify recursive delete.".
IsNotAuthenticatedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 10002 - HTTP code: 401 - message: "Authentication error".
IsNotAuthorizedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 10003 - HTTP code: 403 - message: "You are not authorized to perform the requested action".
IsNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 10000 - HTTP code: 404 - message: "Unknown request".
IsNotStagedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 170002 - HTTP code: 400 - message: "App has not finished staging".
IsOrderByParameterInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 10012 - HTTP code: 500 - message: "Cannot order by: %s".
IsOrganizationAlreadySetError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 30007 - HTTP code: 400 - message: "Cannot change organization".
IsOrganizationDeleteTimeoutError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 290009 - HTTP code: 524 - message: "Delete of organization %s timed out before all resources within could be deleted".
IsOrganizationDeletionFailedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 290010 - HTTP code: 502 - message: "Deletion of organization %s failed because one or more resources within could not be deleted.\n\n%s".
IsOrganizationInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 30001 - HTTP code: 400 - message: "The organization info is invalid: %s".
IsOrganizationNameTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 30002 - HTTP code: 400 - message: "The organization name is taken: %s".
IsOrganizationNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 30003 - HTTP code: 404 - message: "The organization could not be found: %s".
IsOrganizationRolesDeletionFailedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 290014 - HTTP code: 502 - message: "Failed to delete one or more roles for organization %s".
IsOrgQuotaTotalReservedRoutePortsExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 310009 - HTTP code: 400 - message: "You have exceeded the total reserved route ports for your organization's quota.".
IsOrgQuotaTotalRoutesExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 310006 - HTTP code: 400 - message: "You have exceeded the total routes for your organization's quota.".
IsOutOfRouterGroupPortsError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 21008 - HTTP code: 403 - message: "There are no more ports available for router group: %s.
IsPackageBitsAlreadyUploadedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 150004 - HTTP code: 400 - message: "Bits may be uploaded only once.
IsPathInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 130004 - HTTP code: 400 - message: "The path is invalid: %s".
IsPreviouslyUsedAs_ServiceInstancePaidQuotaExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60006 - HTTP code: 400 - message: "You have exceeded your organization's services limit.".
IsProcessInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 350001 - HTTP code: 400 - message: "The process is invalid: %s".
IsProcessNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 350003 - HTTP code: 404 - message: "The process could not be found: %s".
IsProcessUpdateDisabledDuringDeploymentError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 390017 - HTTP code: 422 - message: "Cannot update this process while a deployment is in flight.".
IsQuotaDefinitionInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 240003 - HTTP code: 400 - message: "Quota Definition is invalid: %s".
IsQuotaDefinitionMemoryLimitInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 240004 - HTTP code: 400 - message: "Quota Definition memory limit cannot be less than -1".
IsQuotaDefinitionNameTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 240002 - HTTP code: 400 - message: "Quota Definition is taken: %s".
IsQuotaDefinitionNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 240001 - HTTP code: 404 - message: "Quota Definition could not be found: %s".
IsQuotaInstanceLimitExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 100008 - HTTP code: 400 - message: "You have exceeded the instance limit for your organization's quota.".
IsQuotaInstanceMemoryLimitExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 100007 - HTTP code: 400 - message: "You have exceeded the instance memory limit for your organization's quota.".
IsRateLimitExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 10013 - HTTP code: 429 - message: "Rate Limit Exceeded".
IsResourceNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 10010 - HTTP code: 404 - message: "%s".
IsRevisionsEnabledError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 320006 - HTTP code: 400 - message: "V2 restaging is disabled when your app has revisions enabled".
IsRouteAlreadyBoundToServiceInstanceError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 130007 - HTTP code: 400 - message: "A route may only be bound to a single service instance".
IsRouteHostTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 210003 - HTTP code: 400 - message: "The host is taken: %s".
IsRouteInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 210001 - HTTP code: 400 - message: "The route is invalid: %s".
IsRouteMappingNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 210007 - HTTP code: 404 - message: "The route mapping could not be found: %s".
IsRouteMappingTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 210006 - HTTP code: 400 - message: "The route mapping is taken: %s".
IsRouteNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 210002 - HTTP code: 404 - message: "The route could not be found: %s".
IsRoutePathTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 210004 - HTTP code: 400 - message: "The path is taken: %s".
IsRoutePortNotEnabledOnAppError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60023 - HTTP code: 400 - message: "Routes can only be mapped to ports already enabled for the application.".
IsRoutePortTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 210005 - HTTP code: 400 - message: "The port is taken: %s".
IsRouterGroupNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 210009 - HTTP code: 404 - message: "The router group could not be found: %s".
IsRouteServiceCannotBeBoundToInternalRouteError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 130010 - HTTP code: 400 - message: "Route services cannot be bound to internal routes.".
IsRoutingApiDisabledError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 370003 - HTTP code: 403 - message: "Routing API is disabled".
IsRoutingApiUnavailableError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 370001 - HTTP code: 503 - message: "The Routing API is currently unavailable".
IsRunnerError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 170016 - HTTP code: 500 - message: "Runner error: %s".
IsRunnerInvalidRequestError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 170014 - HTTP code: 500 - message: "Runner invalid request: %s".
IsRunnerUnavailableError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 170015 - HTTP code: 503 - message: "Runner is unavailable: %s".
IsRuntimeInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 70001 - HTTP code: 400 - message: "The runtime is invalid: %s".
IsRuntimeNameTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 70002 - HTTP code: 400 - message: "The runtime name is taken: %s".
IsRuntimeNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 70003 - HTTP code: 404 - message: "The runtime could not be found: %s".
IsScaleDisabledDuringDeploymentError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 390016 - HTTP code: 422 - message: "Cannot scale this process while a deployment is in flight.".
IsSDSNotAvailableError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 180004 - HTTP code: 501 - message: "No serialization service backends available".
IsSecurityGroupInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 300001 - HTTP code: 400 - message: "The security group is invalid: %s".
IsSecurityGroupNameTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 300005 - HTTP code: 400 - message: "The security group name is taken: %s".
IsSecurityGroupNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 300002 - HTTP code: 404 - message: "The security group could not be found: %s".
IsSecurityGroupRunningDefaultInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 300004 - HTTP code: 400 - message: "The security group could not be found: %s".
IsSecurityGroupStagingDefaultInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 300003 - HTTP code: 400 - message: "The security group could not be found: %s".
IsServerError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 10001 - HTTP code: 500 - message: "Server error".
IsServiceBindingAppServiceTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 90003 - HTTP code: 400 - message: "%s".
IsServiceBindingDifferentSpacesError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 90002 - HTTP code: 400 - message: "The app and the service are not in the same app space: %s".
IsServiceBindingInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 90001 - HTTP code: 400 - message: "The service binding is invalid: %s".
IsServiceBindingNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 90004 - HTTP code: 404 - message: "The service binding could not be found: %s".
IsServiceBrokerAsyncRequiredError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 270014 - HTTP code: 400 - message: "This service plan requires client support for asynchronous service operations.".
IsServiceBrokerCatalogIncompatibleError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 270019 - HTTP code: 502 - message: "Service broker catalog is incompatible: %s".
IsServiceBrokerCatalogInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 270012 - HTTP code: 502 - message: "Service broker catalog is invalid: %s".
IsServiceBrokerConcurrencyError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 270018 - HTTP code: 422 - message: "The service broker could not perform this operation in parallel with other running operations".
IsServiceBrokerDashboardClientFailureError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 270013 - HTTP code: 502 - message: "Service broker dashboard clients could not be modified: %s".
IsServiceBrokerInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 270001 - HTTP code: 400 - message: "Service broker is invalid: %s".
IsServiceBrokerNameTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 270002 - HTTP code: 400 - message: "The service broker name is taken".
IsServiceBrokerNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 270004 - HTTP code: 404 - message: "The service broker was not found: %s".
IsServiceBrokerNotRemovableError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 270010 - HTTP code: 400 - message: "Can not remove brokers that have associated service instances: %s".
IsServiceBrokerRateLimitExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 10016 - HTTP code: 429 - message: "Service broker concurrent request limit exceeded".
IsServiceBrokerRequestMalformedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 270021 - HTTP code: 502 - message: "The service broker returned an invalid response: expected valid JSON object in body.
IsServiceBrokerRequestRejectedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 270020 - HTTP code: 502 - message: "The service broker rejected the request.
IsServiceBrokerRespondedAsyncWhenNotAllowedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 270017 - HTTP code: 502 - message: "The service broker responded asynchronously to a request, but the accepts_incomplete query parameter was false or not given.".
IsServiceBrokerUrlBasicAuthNotSupportedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 270016 - HTTP code: 400 - message: "User name and password fields in the broker URI are not supported".
IsServiceBrokerUrlInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 270011 - HTTP code: 400 - message: "%s is not a valid URL".
IsServiceBrokerUrlTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 270003 - HTTP code: 400 - message: "The service broker url is taken: %s".
IsServiceDashboardClientMissingUrlError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 270015 - HTTP code: 502 - message: "Service broker returned dashboard client configuration without a dashboard URL".
IsServiceDoesNotSupportRoutesError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 130006 - HTTP code: 400 - message: "This service does not support route binding.".
IsServiceFetchBindingParametersNotSupportedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 90007 - HTTP code: 400 - message: "This service does not support fetching service binding parameters.".
IsServiceFetchInstanceParametersNotSupportedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 120004 - HTTP code: 400 - message: "This service does not support fetching service instance parameters.".
IsServiceGatewayError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 180002 - HTTP code: 503 - message: "Service gateway internal error: %s".
IsServiceInstanceAlreadyBoundToSameRouteError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 130008 - HTTP code: 400 - message: "The route and service instance are already bound.".
IsServiceInstanceDeletionSharesExistsError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 390002 - HTTP code: 422 - message: "Service instances must be unshared before they can be deleted.
IsServiceInstanceDeprovisionFailedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60011 - HTTP code: 409 - message: "The service broker reported an error during deprovisioning: %s".
IsServiceInstanceDuplicateNotAllowedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60008 - HTTP code: 400 - message: "An instance of this service is already present in this space.
IsServiceInstanceInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60003 - HTTP code: 400 - message: "The service instance is invalid: %s".
IsServiceInstanceNameEmptyError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60001 - HTTP code: 400 - message: "Service instance name is required.".
IsServiceInstanceNameTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60002 - HTTP code: 400 - message: "The service instance name is taken: %s".
IsServiceInstanceNameTooLongError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60009 - HTTP code: 400 - message: "You have requested an invalid service instance name.
IsServiceInstanceNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60004 - HTTP code: 404 - message: "The service instance could not be found: %s".
IsServiceInstanceOrganizationNotAuthorizedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60010 - HTTP code: 403 - message: "A service instance for the selected plan cannot be created in this organization.
IsServiceInstanceProvisionFailedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60030 - HTTP code: 400 - message: "The service broker reported an error during provisioning: %s".
IsServiceInstanceQuotaExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60005 - HTTP code: 400 - message: "You have exceeded your organization's services limit.".
IsServiceInstanceRecursiveDeleteFailedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60027 - HTTP code: 502 - message: "Deletion of service instance %s failed because one or more associated resources could not be deleted.\n\n%s".
IsServiceInstanceRouteBindingSpaceMismatchError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60017 - HTTP code: 400 - message: "The service instance and the route are in different spaces.".
IsServiceInstanceRouteServiceDisabledError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60021 - HTTP code: 403 - message: "Support for route services is disabled".
IsServiceInstanceRouteServiceRequiresDiegoError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60020 - HTTP code: 400 - message: "Route services are only supported for apps on Diego.
IsServiceInstanceRouteServiceURLInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60019 - HTTP code: 400 - message: "The route service URL is invalid: %s".
IsServiceInstanceServicePlanNotAllowedBySpaceQuotaError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60013 - HTTP code: 400 - message: "The service instance cannot be created because paid service plans are not allowed for your space.".
IsServiceInstanceServicePlanNotAllowedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60007 - HTTP code: 400 - message: "The service instance cannot be created because paid service plans are not allowed.".
IsServiceInstanceSpaceChangeNotAllowedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60014 - HTTP code: 400 - message: "Cannot update space for service instance.".
IsServiceInstanceSpaceNotAuthorizedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60018 - HTTP code: 403 - message: "A service instance for the selected plan cannot be created in this space.".
IsServiceInstanceSpaceQuotaExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60012 - HTTP code: 400 - message: "You have exceeded your space's services limit.".
IsServiceInstanceTagsTooLongError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60015 - HTTP code: 400 - message: "Combined length of tags for service %s must be 2048 characters or less.".
IsServiceInstanceUnshareFailedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 390001 - HTTP code: 502 - message: "Unshare of service instance failed: \n\n%s".
IsServiceInstanceWithInaccessiblePlanNotUpdateableError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60029 - HTTP code: 403 - message: "Cannot update %s of a service instance that belongs to inaccessible plan".
IsServiceInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 120001 - HTTP code: 400 - message: "The service is invalid: %s".
IsServiceKeyCredentialStoreUnavailableError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 360005 - HTTP code: 503 - message: "Credential store is unavailable".
IsServiceKeyInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 360002 - HTTP code: 400 - message: "The service key is invalid: %s".
IsServiceKeyNameTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 360001 - HTTP code: 400 - message: "The service key name is taken: %s".
IsServiceKeyNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 360003 - HTTP code: 404 - message: "The service key could not be found: %s".
IsServiceKeyNotSupportedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 360004 - HTTP code: 400 - message: "%s".
IsServiceLabelTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 120002 - HTTP code: 400 - message: "The service label is taken: %s".
IsServiceNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 120003 - HTTP code: 404 - message: "The service could not be found: %s".
IsServiceNotImplementedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 180003 - HTTP code: 501 - message: "Operation not supported for service".
IsServicePlanInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 110001 - HTTP code: 400 - message: "The service plan is invalid: %s".
IsServicePlanNameTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 110002 - HTTP code: 400 - message: "The service plan name is taken: %s".
IsServicePlanNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 110003 - HTTP code: 404 - message: "The service plan could not be found: %s".
IsServicePlanNotUpdateableError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 110004 - HTTP code: 400 - message: "The service does not support changing plans.".
IsServicePlanVisibilityAlreadyExistsError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 260002 - HTTP code: 400 - message: "This combination of ServicePlan and Organization is already taken: %s".
IsServicePlanVisibilityInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 260001 - HTTP code: 400 - message: "Service Plan Visibility is invalid: %s".
IsServicePlanVisibilityNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 260003 - HTTP code: 404 - message: "The service plan visibility could not be found: %s".
IsServiceUnavailableError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 10015 - HTTP code: 503 - message: "%s".
IsSharedServiceInstanceCannotBeRenamedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 390003 - HTTP code: 422 - message: "Service instances that have been shared cannot be renamed".
IsSharedServiceInstanceNotDeletableInTargetSpaceError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 390005 - HTTP code: 403 - message: "You cannot delete service instances that have been shared with you".
IsSharedServiceInstanceNotUpdatableInTargetSpaceError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 390004 - HTTP code: 403 - message: "You cannot update service instances that have been shared with you".
IsSpaceDeleteTimeoutError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 290007 - HTTP code: 524 - message: "Deletion of space %s timed out before all resources within could be deleted".
IsSpaceDeletionFailedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 290008 - HTTP code: 502 - message: "Deletion of space %s failed because one or more resources within could not be deleted.\n\n%s".
IsSpaceInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 40001 - HTTP code: 400 - message: "The app space info is invalid: %s".
IsSpaceNameTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 40002 - HTTP code: 400 - message: "The app space name is taken: %s".
IsSpaceNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 40004 - HTTP code: 404 - message: "The app space could not be found: %s".
IsSpaceQuotaDefinitionInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 310001 - HTTP code: 400 - message: "Space Quota Definition is invalid: %s".
IsSpaceQuotaDefinitionNameTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 310002 - HTTP code: 400 - message: "The space quota definition name is taken: %s".
IsSpaceQuotaDefinitionNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 310007 - HTTP code: 404 - message: "Space Quota Definition could not be found: %s".
IsSpaceQuotaInstanceLimitExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 310008 - HTTP code: 400 - message: "You have exceeded the instance limit for your space's quota.".
IsSpaceQuotaInstanceMemoryLimitExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 310004 - HTTP code: 400 - message: "You have exceeded the instance memory limit for your space's quota.".
IsSpaceQuotaMemoryLimitExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 310003 - HTTP code: 400 - message: "You have exceeded your space's memory limit: %s".
IsSpaceQuotaTotalReservedRoutePortsExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 310010 - HTTP code: 400 - message: "You have exceeded the total reserved route ports for your space's quota.".
IsSpaceQuotaTotalRoutesExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 310005 - HTTP code: 400 - message: "You have exceeded the total routes for your space's quota.".
IsSpaceRolesDeletionFailedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 290016 - HTTP code: 502 - message: "Failed to delete one or more roles for space %s".
IsSpaceRolesDeletionTimeoutError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 290013 - HTTP code: 524 - message: "Deletion of roles for space %s timed out before all roles could be deleted".
IsSpaceUserNotInOrgError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 40003 - HTTP code: 400 - message: "The app space and the user are not in the same org: %s".
IsStackInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 250001 - HTTP code: 400 - message: "The stack is invalid: %s".
IsStackNameTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 250002 - HTTP code: 400 - message: "The stack name is taken: %s".
IsStackNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 250003 - HTTP code: 404 - message: "The stack could not be found: %s".
IsStagerError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 170011 - HTTP code: 500 - message: "Stager error: %s".
IsStagerUnavailableError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 170010 - HTTP code: 503 - message: "Stager is unavailable: %s".
IsStagingBackendInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 320004 - HTTP code: 403 - message: "The request staging completion endpoint only handles apps desired to stage on the Diego backend.".
IsStagingError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 170001 - HTTP code: 400 - message: "Staging error: %s".
IsStagingInProgressError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 170017 - HTTP code: 422 - message: "Only one build can be STAGING at a time per application.".
IsStagingTimeExpiredError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 170007 - HTTP code: 504 - message: "Staging time expired: %s".
IsStatsError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 200001 - HTTP code: 400 - message: "Stats error: %s".
IsStatsUnavailableError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 200002 - HTTP code: 503 - message: "Stats unavailable: %s".
IsStopDisabledDuringDeploymentError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 390024 - HTTP code: 422 - message: "Cannot stop the app while it is deploying, please cancel the deployment before stopping the app.".
IsTaskError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 170019 - HTTP code: 500 - message: "Task failed: %s".
IsTaskWorkersUnavailableError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 170020 - HTTP code: 503 - message: "Task workers are unavailable: %s".
IsTotalPrivateDomainsExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 130005 - HTTP code: 400 - message: "The number of private domains exceeds the quota for organization: %s".
IsUaaEndpointDisabledError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 20005 - HTTP code: 501 - message: "The UAA endpoint needed is disabled".
IsUaaIdTakenError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 20002 - HTTP code: 400 - message: "The UAA ID is taken: %s".
IsUaaUnavailableError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 20004 - HTTP code: 503 - message: "The UAA service is currently unavailable".
IsUnableToDeleteError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 350002 - HTTP code: 400 - message: "Unable to perform delete action: %s".
IsUnableToPerformError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 10009 - HTTP code: 400 - message: "%s could not be completed: %s".
IsUnbindableServiceError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 90005 - HTTP code: 400 - message: "The service instance doesn't support binding.".
IsUnprocessableEntityError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 10008 - HTTP code: 422 - message: "%s".
IsUserInvalidError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 20001 - HTTP code: 400 - message: "The user info is invalid: %s".
IsUserIsInMultipleOriginsError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 20006 - HTTP code: 400 - message: "The user exists in multiple origins.
IsUserNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 20003 - HTTP code: 404 - message: "The user could not be found: %s".
IsUserProvidedServiceInstanceHandlerNeededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 340002 - HTTP code: 400 - message: "Please use the User Provided Services API to manage this resource.".
IsUserProvidedServiceInstanceNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 340001 - HTTP code: 404 - message: "The service instance could not be found: %s".
IsUserWithOriginNotFoundError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 20007 - HTTP code: 404 - message: "The user could not be found, %s".
IsVolumeMountServiceDisabledError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 60025 - HTTP code: 403 - message: "Support for volume mount services is disabled".
NewAnnotationLimitExceededError returns a new CloudFoundryError that IsAnnotationLimitExceededError will return true for.
NewAppBitsCopyInvalidError returns a new CloudFoundryError that IsAppBitsCopyInvalidError will return true for.
NewAppBitsUploadInvalidError returns a new CloudFoundryError that IsAppBitsUploadInvalidError will return true for.
NewAppInvalidError returns a new CloudFoundryError that IsAppInvalidError will return true for.
NewAppMemoryInsufficientForSidecarsError returns a new CloudFoundryError that IsAppMemoryInsufficientForSidecarsError will return true for.
NewAppMemoryInvalidError returns a new CloudFoundryError that IsAppMemoryInvalidError will return true for.
NewAppMemoryQuotaExceededError returns a new CloudFoundryError that IsAppMemoryQuotaExceededError will return true for.
NewAppNameTakenError returns a new CloudFoundryError that IsAppNameTakenError will return true for.
NewAppNotFoundError returns a new CloudFoundryError that IsAppNotFoundError will return true for.
NewAppPackageInvalidError returns a new CloudFoundryError that IsAppPackageInvalidError will return true for.
NewAppPackageNotFoundError returns a new CloudFoundryError that IsAppPackageNotFoundError will return true for.
NewAppPortMappingRequiresDiegoError returns a new CloudFoundryError that IsAppPortMappingRequiresDiegoError will return true for.
NewAppRecursiveDeleteFailedError returns a new CloudFoundryError that IsAppRecursiveDeleteFailedError will return true for.
NewAppResourcesFileModeInvalidError returns a new CloudFoundryError that IsAppResourcesFileModeInvalidError will return true for.
NewAppResourcesFilePathInvalidError returns a new CloudFoundryError that IsAppResourcesFilePathInvalidError will return true for.
NewAppStoppedStatsError returns a new CloudFoundryError that IsAppStoppedStatsError will return true for.
NewAssociationNotEmptyError returns a new CloudFoundryError that IsAssociationNotEmptyError will return true for.
NewAsyncServiceBindingOperationInProgressError returns a new CloudFoundryError that IsAsyncServiceBindingOperationInProgressError will return true for.
NewAsyncServiceInstanceOperationInProgressError returns a new CloudFoundryError that IsAsyncServiceInstanceOperationInProgressError will return true for.
NewBackendSelectionNotAuthorizedError returns a new CloudFoundryError that IsBackendSelectionNotAuthorizedError will return true for.
NewBadQueryParameterError returns a new CloudFoundryError that IsBadQueryParameterError will return true for.
NewBadRequestError returns a new CloudFoundryError that IsBadRequestError will return true for.
NewBitsServiceError returns a new CloudFoundryError that IsBitsServiceError will return true for.
NewBlobstoreError returns a new CloudFoundryError that IsBlobstoreError will return true for.
NewBlobstoreNotLocalError returns a new CloudFoundryError that IsBlobstoreNotLocalError will return true for.
NewBlobstoreUnavailableError returns a new CloudFoundryError that IsBlobstoreUnavailableError will return true for.
NewBuildpackBitsUploadInvalidError returns a new CloudFoundryError that IsBuildpackBitsUploadInvalidError will return true for.
NewBuildpackCompileFailedError returns a new CloudFoundryError that IsBuildpackCompileFailedError will return true for.
NewBuildpackInvalidError returns a new CloudFoundryError that IsBuildpackInvalidError will return true for.
NewBuildpackLockedError returns a new CloudFoundryError that IsBuildpackLockedError will return true for.
NewBuildpackNameStackTakenError returns a new CloudFoundryError that IsBuildpackNameStackTakenError will return true for.
NewBuildpackNameTakenError returns a new CloudFoundryError that IsBuildpackNameTakenError will return true for.
NewBuildpackReleaseFailedError returns a new CloudFoundryError that IsBuildpackReleaseFailedError will return true for.
NewBuildpackStackDoesNotExistError returns a new CloudFoundryError that IsBuildpackStackDoesNotExistError will return true for.
NewBuildpackStacksDontMatchError returns a new CloudFoundryError that IsBuildpackStacksDontMatchError will return true for.
NewBuildpackZipError returns a new CloudFoundryError that IsBuildpackZipError will return true for.
NewClient returns a new client.
CF APIs v3 can return multiple errors, we take the first one and convert it into a V2 model.
No description provided by the author
No description provided by the author
NewCustomBuildpacksDisabledError returns a new CloudFoundryError that IsCustomBuildpacksDisabledError will return true for.
NewDatabaseError returns a new CloudFoundryError that IsDatabaseError will return true for.
NewDeploymentsDisabledError returns a new CloudFoundryError that IsDeploymentsDisabledError will return true for.
NewDiegoDisabledError returns a new CloudFoundryError that IsDiegoDisabledError will return true for.
NewDiegoDockerBuildpackConflictError returns a new CloudFoundryError that IsDiegoDockerBuildpackConflictError will return true for.
NewDockerAppToDeaError returns a new CloudFoundryError that IsDockerAppToDeaError will return true for.
NewDockerDisabledError returns a new CloudFoundryError that IsDockerDisabledError will return true for.
NewDockerImageMissingError returns a new CloudFoundryError that IsDockerImageMissingError will return true for.
NewDomainInvalidError returns a new CloudFoundryError that IsDomainInvalidError will return true for.
NewDomainNameTakenError returns a new CloudFoundryError that IsDomainNameTakenError will return true for.
NewDomainNotFoundError returns a new CloudFoundryError that IsDomainNotFoundError will return true for.
NewDropletUploadInvalidError returns a new CloudFoundryError that IsDropletUploadInvalidError will return true for.
NewEiriniLRPError returns a new CloudFoundryError that IsEiriniLRPError will return true for.
NewEnvironmentVariableGroupInvalidError returns a new CloudFoundryError that IsEnvironmentVariableGroupInvalidError will return true for.
NewEventNotFoundError returns a new CloudFoundryError that IsEventNotFoundError will return true for.
NewFeatureDisabledError returns a new CloudFoundryError that IsFeatureDisabledError will return true for.
NewFeatureFlagInvalidError returns a new CloudFoundryError that IsFeatureFlagInvalidError will return true for.
NewFeatureFlagNotFoundError returns a new CloudFoundryError that IsFeatureFlagNotFoundError will return true for.
NewFileError returns a new CloudFoundryError that IsFileError will return true for.
NewFrameworkInvalidError returns a new CloudFoundryError that IsFrameworkInvalidError will return true for.
NewFrameworkNameTakenError returns a new CloudFoundryError that IsFrameworkNameTakenError will return true for.
NewFrameworkNotFoundError returns a new CloudFoundryError that IsFrameworkNotFoundError will return true for.
NewInstancesError returns a new CloudFoundryError that IsInstancesError will return true for.
NewInstancesUnavailableError returns a new CloudFoundryError that IsInstancesUnavailableError will return true for.
NewInsufficientResourcesError returns a new CloudFoundryError that IsInsufficientResourcesError will return true for.
NewInsufficientRunningResourcesAvailableError returns a new CloudFoundryError that IsInsufficientRunningResourcesAvailableError will return true for.
NewInsufficientScopeError returns a new CloudFoundryError that IsInsufficientScopeError will return true for.
NewInternalDomainCannotBeDeletedError returns a new CloudFoundryError that IsInternalDomainCannotBeDeletedError will return true for.
NewInvalidAuthTokenError returns a new CloudFoundryError that IsInvalidAuthTokenError will return true for.
NewInvalidContentTypeError returns a new CloudFoundryError that IsInvalidContentTypeError will return true for.
NewInvalidLoggingServiceBindingError returns a new CloudFoundryError that IsInvalidLoggingServiceBindingError will return true for.
NewInvalidRelationError returns a new CloudFoundryError that IsInvalidRelationError will return true for.
NewInvalidRequestError returns a new CloudFoundryError that IsInvalidRequestError will return true for.
NewInvalidTaskAddressError returns a new CloudFoundryError that IsInvalidTaskAddressError will return true for.
NewInvalidTaskRequestError returns a new CloudFoundryError that IsInvalidTaskRequestError will return true for.
NewIPBasedRateLimitExceededError returns a new CloudFoundryError that IsIPBasedRateLimitExceededError will return true for.
NewJobTimeoutError returns a new CloudFoundryError that IsJobTimeoutError will return true for.
NewKpackBuilderError returns a new CloudFoundryError that IsKpackBuilderError will return true for.
NewKpackImageError returns a new CloudFoundryError that IsKpackImageError will return true for.
NewKubernetesRouteResourceError returns a new CloudFoundryError that IsKubernetesRouteResourceError will return true for.
NewLabelLimitExceededError returns a new CloudFoundryError that IsLabelLimitExceededError will return true for.
NewLastBillingManagerInOrgError returns a new CloudFoundryError that IsLastBillingManagerInOrgError will return true for.
NewLastManagerInOrgError returns a new CloudFoundryError that IsLastManagerInOrgError will return true for.
NewLastUserInOrgError returns a new CloudFoundryError that IsLastUserInOrgError will return true for.
NewLegacyApiWithoutDefaultSpaceError returns a new CloudFoundryError that IsLegacyApiWithoutDefaultSpaceError will return true for.
NewMaintenanceInfoConflictError returns a new CloudFoundryError that IsMaintenanceInfoConflictError will return true for.
NewMaintenanceInfoNotSemverError returns a new CloudFoundryError that IsMaintenanceInfoNotSemverError will return true for.
NewMaintenanceInfoNotSupportedError returns a new CloudFoundryError that IsMaintenanceInfoNotSupportedError will return true for.
NewMaintenanceInfoNotUpdatableWhenChangingPlanError returns a new CloudFoundryError that IsMaintenanceInfoNotUpdatableWhenChangingPlanError will return true for.
NewManagedServiceInstanceNotFoundError returns a new CloudFoundryError that IsManagedServiceInstanceNotFoundError will return true for.
NewMessageParseError returns a new CloudFoundryError that IsMessageParseError will return true for.
NewMultipleAppPortsMappedDiegoToDeaError returns a new CloudFoundryError that IsMultipleAppPortsMappedDiegoToDeaError will return true for.
NewNoAppDetectedError returns a new CloudFoundryError that IsNoAppDetectedError will return true for.
NewNoBuildpacksFoundError returns a new CloudFoundryError that IsNoBuildpacksFoundError will return true for.
NewNoCompatibleCellError returns a new CloudFoundryError that IsNoCompatibleCellError will return true for.
NewNoCurrentEncryptionKeyError returns a new CloudFoundryError that IsNoCurrentEncryptionKeyError will return true for.
NewNonrecursiveSpaceDeletionFailedError returns a new CloudFoundryError that IsNonrecursiveSpaceDeletionFailedError will return true for.
NewNotAuthenticatedError returns a new CloudFoundryError that IsNotAuthenticatedError will return true for.
NewNotAuthorizedError returns a new CloudFoundryError that IsNotAuthorizedError will return true for.
NewNotFoundError returns a new CloudFoundryError that IsNotFoundError will return true for.
NewNotStagedError returns a new CloudFoundryError that IsNotStagedError will return true for.
NewOrderByParameterInvalidError returns a new CloudFoundryError that IsOrderByParameterInvalidError will return true for.
NewOrganizationAlreadySetError returns a new CloudFoundryError that IsOrganizationAlreadySetError will return true for.
NewOrganizationDeleteTimeoutError returns a new CloudFoundryError that IsOrganizationDeleteTimeoutError will return true for.
NewOrganizationDeletionFailedError returns a new CloudFoundryError that IsOrganizationDeletionFailedError will return true for.
NewOrganizationInvalidError returns a new CloudFoundryError that IsOrganizationInvalidError will return true for.
NewOrganizationNameTakenError returns a new CloudFoundryError that IsOrganizationNameTakenError will return true for.
NewOrganizationNotFoundError returns a new CloudFoundryError that IsOrganizationNotFoundError will return true for.
NewOrganizationRolesDeletionFailedError returns a new CloudFoundryError that IsOrganizationRolesDeletionFailedError will return true for.
NewOrgQuotaTotalReservedRoutePortsExceededError returns a new CloudFoundryError that IsOrgQuotaTotalReservedRoutePortsExceededError will return true for.
NewOrgQuotaTotalRoutesExceededError returns a new CloudFoundryError that IsOrgQuotaTotalRoutesExceededError will return true for.
NewOutOfRouterGroupPortsError returns a new CloudFoundryError that IsOutOfRouterGroupPortsError will return true for.
NewPackageBitsAlreadyUploadedError returns a new CloudFoundryError that IsPackageBitsAlreadyUploadedError will return true for.
NewPathInvalidError returns a new CloudFoundryError that IsPathInvalidError will return true for.
NewPreviouslyUsedAs_ServiceInstancePaidQuotaExceededError returns a new CloudFoundryError that IsPreviouslyUsedAs_ServiceInstancePaidQuotaExceededError will return true for.
NewProcessInvalidError returns a new CloudFoundryError that IsProcessInvalidError will return true for.
NewProcessNotFoundError returns a new CloudFoundryError that IsProcessNotFoundError will return true for.
NewProcessUpdateDisabledDuringDeploymentError returns a new CloudFoundryError that IsProcessUpdateDisabledDuringDeploymentError will return true for.
NewQuotaDefinitionInvalidError returns a new CloudFoundryError that IsQuotaDefinitionInvalidError will return true for.
NewQuotaDefinitionMemoryLimitInvalidError returns a new CloudFoundryError that IsQuotaDefinitionMemoryLimitInvalidError will return true for.
NewQuotaDefinitionNameTakenError returns a new CloudFoundryError that IsQuotaDefinitionNameTakenError will return true for.
NewQuotaDefinitionNotFoundError returns a new CloudFoundryError that IsQuotaDefinitionNotFoundError will return true for.
NewQuotaInstanceLimitExceededError returns a new CloudFoundryError that IsQuotaInstanceLimitExceededError will return true for.
NewQuotaInstanceMemoryLimitExceededError returns a new CloudFoundryError that IsQuotaInstanceMemoryLimitExceededError will return true for.
NewRateLimitExceededError returns a new CloudFoundryError that IsRateLimitExceededError will return true for.
NewResourceNotFoundError returns a new CloudFoundryError that IsResourceNotFoundError will return true for.
NewRevisionsEnabledError returns a new CloudFoundryError that IsRevisionsEnabledError will return true for.
NewRouteAlreadyBoundToServiceInstanceError returns a new CloudFoundryError that IsRouteAlreadyBoundToServiceInstanceError will return true for.
NewRouteHostTakenError returns a new CloudFoundryError that IsRouteHostTakenError will return true for.
NewRouteInvalidError returns a new CloudFoundryError that IsRouteInvalidError will return true for.
NewRouteMappingNotFoundError returns a new CloudFoundryError that IsRouteMappingNotFoundError will return true for.
NewRouteMappingTakenError returns a new CloudFoundryError that IsRouteMappingTakenError will return true for.
NewRouteNotFoundError returns a new CloudFoundryError that IsRouteNotFoundError will return true for.
NewRoutePathTakenError returns a new CloudFoundryError that IsRoutePathTakenError will return true for.
NewRoutePortNotEnabledOnAppError returns a new CloudFoundryError that IsRoutePortNotEnabledOnAppError will return true for.
NewRoutePortTakenError returns a new CloudFoundryError that IsRoutePortTakenError will return true for.
NewRouterGroupNotFoundError returns a new CloudFoundryError that IsRouterGroupNotFoundError will return true for.
NewRouteServiceCannotBeBoundToInternalRouteError returns a new CloudFoundryError that IsRouteServiceCannotBeBoundToInternalRouteError will return true for.
NewRoutingApiDisabledError returns a new CloudFoundryError that IsRoutingApiDisabledError will return true for.
NewRoutingApiUnavailableError returns a new CloudFoundryError that IsRoutingApiUnavailableError will return true for.
NewRunnerError returns a new CloudFoundryError that IsRunnerError will return true for.
NewRunnerInvalidRequestError returns a new CloudFoundryError that IsRunnerInvalidRequestError will return true for.
NewRunnerUnavailableError returns a new CloudFoundryError that IsRunnerUnavailableError will return true for.
NewRuntimeInvalidError returns a new CloudFoundryError that IsRuntimeInvalidError will return true for.
NewRuntimeNameTakenError returns a new CloudFoundryError that IsRuntimeNameTakenError will return true for.
NewRuntimeNotFoundError returns a new CloudFoundryError that IsRuntimeNotFoundError will return true for.
NewScaleDisabledDuringDeploymentError returns a new CloudFoundryError that IsScaleDisabledDuringDeploymentError will return true for.
NewSDSNotAvailableError returns a new CloudFoundryError that IsSDSNotAvailableError will return true for.
NewSecurityGroupInvalidError returns a new CloudFoundryError that IsSecurityGroupInvalidError will return true for.
NewSecurityGroupNameTakenError returns a new CloudFoundryError that IsSecurityGroupNameTakenError will return true for.
NewSecurityGroupNotFoundError returns a new CloudFoundryError that IsSecurityGroupNotFoundError will return true for.
NewSecurityGroupRunningDefaultInvalidError returns a new CloudFoundryError that IsSecurityGroupRunningDefaultInvalidError will return true for.
NewSecurityGroupStagingDefaultInvalidError returns a new CloudFoundryError that IsSecurityGroupStagingDefaultInvalidError will return true for.
NewServerError returns a new CloudFoundryError that IsServerError will return true for.
NewServiceBindingAppServiceTakenError returns a new CloudFoundryError that IsServiceBindingAppServiceTakenError will return true for.
NewServiceBindingDifferentSpacesError returns a new CloudFoundryError that IsServiceBindingDifferentSpacesError will return true for.
NewServiceBindingInvalidError returns a new CloudFoundryError that IsServiceBindingInvalidError will return true for.
NewServiceBindingNotFoundError returns a new CloudFoundryError that IsServiceBindingNotFoundError will return true for.
NewServiceBrokerAsyncRequiredError returns a new CloudFoundryError that IsServiceBrokerAsyncRequiredError will return true for.
NewServiceBrokerCatalogIncompatibleError returns a new CloudFoundryError that IsServiceBrokerCatalogIncompatibleError will return true for.
NewServiceBrokerCatalogInvalidError returns a new CloudFoundryError that IsServiceBrokerCatalogInvalidError will return true for.
NewServiceBrokerConcurrencyError returns a new CloudFoundryError that IsServiceBrokerConcurrencyError will return true for.
NewServiceBrokerDashboardClientFailureError returns a new CloudFoundryError that IsServiceBrokerDashboardClientFailureError will return true for.
NewServiceBrokerInvalidError returns a new CloudFoundryError that IsServiceBrokerInvalidError will return true for.
NewServiceBrokerNameTakenError returns a new CloudFoundryError that IsServiceBrokerNameTakenError will return true for.
NewServiceBrokerNotFoundError returns a new CloudFoundryError that IsServiceBrokerNotFoundError will return true for.
NewServiceBrokerNotRemovableError returns a new CloudFoundryError that IsServiceBrokerNotRemovableError will return true for.
NewServiceBrokerRateLimitExceededError returns a new CloudFoundryError that IsServiceBrokerRateLimitExceededError will return true for.
NewServiceBrokerRequestMalformedError returns a new CloudFoundryError that IsServiceBrokerRequestMalformedError will return true for.
NewServiceBrokerRequestRejectedError returns a new CloudFoundryError that IsServiceBrokerRequestRejectedError will return true for.
NewServiceBrokerRespondedAsyncWhenNotAllowedError returns a new CloudFoundryError that IsServiceBrokerRespondedAsyncWhenNotAllowedError will return true for.
NewServiceBrokerUrlBasicAuthNotSupportedError returns a new CloudFoundryError that IsServiceBrokerUrlBasicAuthNotSupportedError will return true for.
NewServiceBrokerUrlInvalidError returns a new CloudFoundryError that IsServiceBrokerUrlInvalidError will return true for.
NewServiceBrokerUrlTakenError returns a new CloudFoundryError that IsServiceBrokerUrlTakenError will return true for.
NewServiceDashboardClientMissingUrlError returns a new CloudFoundryError that IsServiceDashboardClientMissingUrlError will return true for.
NewServiceDoesNotSupportRoutesError returns a new CloudFoundryError that IsServiceDoesNotSupportRoutesError will return true for.
NewServiceFetchBindingParametersNotSupportedError returns a new CloudFoundryError that IsServiceFetchBindingParametersNotSupportedError will return true for.
NewServiceFetchInstanceParametersNotSupportedError returns a new CloudFoundryError that IsServiceFetchInstanceParametersNotSupportedError will return true for.
NewServiceGatewayError returns a new CloudFoundryError that IsServiceGatewayError will return true for.
NewServiceInstanceAlreadyBoundToSameRouteError returns a new CloudFoundryError that IsServiceInstanceAlreadyBoundToSameRouteError will return true for.
NewServiceInstanceDeletionSharesExistsError returns a new CloudFoundryError that IsServiceInstanceDeletionSharesExistsError will return true for.
NewServiceInstanceDeprovisionFailedError returns a new CloudFoundryError that IsServiceInstanceDeprovisionFailedError will return true for.
NewServiceInstanceDuplicateNotAllowedError returns a new CloudFoundryError that IsServiceInstanceDuplicateNotAllowedError will return true for.
NewServiceInstanceInvalidError returns a new CloudFoundryError that IsServiceInstanceInvalidError will return true for.
NewServiceInstanceNameEmptyError returns a new CloudFoundryError that IsServiceInstanceNameEmptyError will return true for.
NewServiceInstanceNameTakenError returns a new CloudFoundryError that IsServiceInstanceNameTakenError will return true for.
NewServiceInstanceNameTooLongError returns a new CloudFoundryError that IsServiceInstanceNameTooLongError will return true for.
NewServiceInstanceNotFoundError returns a new CloudFoundryError that IsServiceInstanceNotFoundError will return true for.
NewServiceInstanceOrganizationNotAuthorizedError returns a new CloudFoundryError that IsServiceInstanceOrganizationNotAuthorizedError will return true for.
NewServiceInstanceProvisionFailedError returns a new CloudFoundryError that IsServiceInstanceProvisionFailedError will return true for.
NewServiceInstanceQuotaExceededError returns a new CloudFoundryError that IsServiceInstanceQuotaExceededError will return true for.
NewServiceInstanceRecursiveDeleteFailedError returns a new CloudFoundryError that IsServiceInstanceRecursiveDeleteFailedError will return true for.
NewServiceInstanceRouteBindingSpaceMismatchError returns a new CloudFoundryError that IsServiceInstanceRouteBindingSpaceMismatchError will return true for.
NewServiceInstanceRouteServiceDisabledError returns a new CloudFoundryError that IsServiceInstanceRouteServiceDisabledError will return true for.
NewServiceInstanceRouteServiceRequiresDiegoError returns a new CloudFoundryError that IsServiceInstanceRouteServiceRequiresDiegoError will return true for.
NewServiceInstanceRouteServiceURLInvalidError returns a new CloudFoundryError that IsServiceInstanceRouteServiceURLInvalidError will return true for.
NewServiceInstanceServicePlanNotAllowedBySpaceQuotaError returns a new CloudFoundryError that IsServiceInstanceServicePlanNotAllowedBySpaceQuotaError will return true for.
NewServiceInstanceServicePlanNotAllowedError returns a new CloudFoundryError that IsServiceInstanceServicePlanNotAllowedError will return true for.
NewServiceInstanceSpaceChangeNotAllowedError returns a new CloudFoundryError that IsServiceInstanceSpaceChangeNotAllowedError will return true for.
NewServiceInstanceSpaceNotAuthorizedError returns a new CloudFoundryError that IsServiceInstanceSpaceNotAuthorizedError will return true for.
NewServiceInstanceSpaceQuotaExceededError returns a new CloudFoundryError that IsServiceInstanceSpaceQuotaExceededError will return true for.
NewServiceInstanceTagsTooLongError returns a new CloudFoundryError that IsServiceInstanceTagsTooLongError will return true for.
NewServiceInstanceUnshareFailedError returns a new CloudFoundryError that IsServiceInstanceUnshareFailedError will return true for.
NewServiceInstanceWithInaccessiblePlanNotUpdateableError returns a new CloudFoundryError that IsServiceInstanceWithInaccessiblePlanNotUpdateableError will return true for.
NewServiceInvalidError returns a new CloudFoundryError that IsServiceInvalidError will return true for.
NewServiceKeyCredentialStoreUnavailableError returns a new CloudFoundryError that IsServiceKeyCredentialStoreUnavailableError will return true for.
NewServiceKeyInvalidError returns a new CloudFoundryError that IsServiceKeyInvalidError will return true for.
NewServiceKeyNameTakenError returns a new CloudFoundryError that IsServiceKeyNameTakenError will return true for.
NewServiceKeyNotFoundError returns a new CloudFoundryError that IsServiceKeyNotFoundError will return true for.
NewServiceKeyNotSupportedError returns a new CloudFoundryError that IsServiceKeyNotSupportedError will return true for.
NewServiceLabelTakenError returns a new CloudFoundryError that IsServiceLabelTakenError will return true for.
NewServiceNotFoundError returns a new CloudFoundryError that IsServiceNotFoundError will return true for.
NewServiceNotImplementedError returns a new CloudFoundryError that IsServiceNotImplementedError will return true for.
NewServicePlanInvalidError returns a new CloudFoundryError that IsServicePlanInvalidError will return true for.
NewServicePlanNameTakenError returns a new CloudFoundryError that IsServicePlanNameTakenError will return true for.
NewServicePlanNotFoundError returns a new CloudFoundryError that IsServicePlanNotFoundError will return true for.
NewServicePlanNotUpdateableError returns a new CloudFoundryError that IsServicePlanNotUpdateableError will return true for.
NewServicePlanVisibilityAlreadyExistsError returns a new CloudFoundryError that IsServicePlanVisibilityAlreadyExistsError will return true for.
NewServicePlanVisibilityInvalidError returns a new CloudFoundryError that IsServicePlanVisibilityInvalidError will return true for.
NewServicePlanVisibilityNotFoundError returns a new CloudFoundryError that IsServicePlanVisibilityNotFoundError will return true for.
NewServiceUnavailableError returns a new CloudFoundryError that IsServiceUnavailableError will return true for.
NewSharedServiceInstanceCannotBeRenamedError returns a new CloudFoundryError that IsSharedServiceInstanceCannotBeRenamedError will return true for.
NewSharedServiceInstanceNotDeletableInTargetSpaceError returns a new CloudFoundryError that IsSharedServiceInstanceNotDeletableInTargetSpaceError will return true for.
NewSharedServiceInstanceNotUpdatableInTargetSpaceError returns a new CloudFoundryError that IsSharedServiceInstanceNotUpdatableInTargetSpaceError will return true for.
NewSpaceDeleteTimeoutError returns a new CloudFoundryError that IsSpaceDeleteTimeoutError will return true for.
NewSpaceDeletionFailedError returns a new CloudFoundryError that IsSpaceDeletionFailedError will return true for.
NewSpaceInvalidError returns a new CloudFoundryError that IsSpaceInvalidError will return true for.
NewSpaceNameTakenError returns a new CloudFoundryError that IsSpaceNameTakenError will return true for.
NewSpaceNotFoundError returns a new CloudFoundryError that IsSpaceNotFoundError will return true for.
NewSpaceQuotaDefinitionInvalidError returns a new CloudFoundryError that IsSpaceQuotaDefinitionInvalidError will return true for.
NewSpaceQuotaDefinitionNameTakenError returns a new CloudFoundryError that IsSpaceQuotaDefinitionNameTakenError will return true for.
NewSpaceQuotaDefinitionNotFoundError returns a new CloudFoundryError that IsSpaceQuotaDefinitionNotFoundError will return true for.
NewSpaceQuotaInstanceLimitExceededError returns a new CloudFoundryError that IsSpaceQuotaInstanceLimitExceededError will return true for.
NewSpaceQuotaInstanceMemoryLimitExceededError returns a new CloudFoundryError that IsSpaceQuotaInstanceMemoryLimitExceededError will return true for.
NewSpaceQuotaMemoryLimitExceededError returns a new CloudFoundryError that IsSpaceQuotaMemoryLimitExceededError will return true for.
NewSpaceQuotaTotalReservedRoutePortsExceededError returns a new CloudFoundryError that IsSpaceQuotaTotalReservedRoutePortsExceededError will return true for.
NewSpaceQuotaTotalRoutesExceededError returns a new CloudFoundryError that IsSpaceQuotaTotalRoutesExceededError will return true for.
NewSpaceRolesDeletionFailedError returns a new CloudFoundryError that IsSpaceRolesDeletionFailedError will return true for.
NewSpaceRolesDeletionTimeoutError returns a new CloudFoundryError that IsSpaceRolesDeletionTimeoutError will return true for.
NewSpaceUserNotInOrgError returns a new CloudFoundryError that IsSpaceUserNotInOrgError will return true for.
NewStackInvalidError returns a new CloudFoundryError that IsStackInvalidError will return true for.
NewStackNameTakenError returns a new CloudFoundryError that IsStackNameTakenError will return true for.
NewStackNotFoundError returns a new CloudFoundryError that IsStackNotFoundError will return true for.
NewStagerError returns a new CloudFoundryError that IsStagerError will return true for.
NewStagerUnavailableError returns a new CloudFoundryError that IsStagerUnavailableError will return true for.
NewStagingBackendInvalidError returns a new CloudFoundryError that IsStagingBackendInvalidError will return true for.
NewStagingError returns a new CloudFoundryError that IsStagingError will return true for.
NewStagingInProgressError returns a new CloudFoundryError that IsStagingInProgressError will return true for.
NewStagingTimeExpiredError returns a new CloudFoundryError that IsStagingTimeExpiredError will return true for.
NewStatsError returns a new CloudFoundryError that IsStatsError will return true for.
NewStatsUnavailableError returns a new CloudFoundryError that IsStatsUnavailableError will return true for.
NewStopDisabledDuringDeploymentError returns a new CloudFoundryError that IsStopDisabledDuringDeploymentError will return true for.
NewTaskError returns a new CloudFoundryError that IsTaskError will return true for.
NewTaskWorkersUnavailableError returns a new CloudFoundryError that IsTaskWorkersUnavailableError will return true for.
NewTotalPrivateDomainsExceededError returns a new CloudFoundryError that IsTotalPrivateDomainsExceededError will return true for.
NewUaaEndpointDisabledError returns a new CloudFoundryError that IsUaaEndpointDisabledError will return true for.
NewUaaIdTakenError returns a new CloudFoundryError that IsUaaIdTakenError will return true for.
NewUaaUnavailableError returns a new CloudFoundryError that IsUaaUnavailableError will return true for.
NewUnableToDeleteError returns a new CloudFoundryError that IsUnableToDeleteError will return true for.
NewUnableToPerformError returns a new CloudFoundryError that IsUnableToPerformError will return true for.
NewUnbindableServiceError returns a new CloudFoundryError that IsUnbindableServiceError will return true for.
NewUnprocessableEntityError returns a new CloudFoundryError that IsUnprocessableEntityError will return true for.
NewUserInvalidError returns a new CloudFoundryError that IsUserInvalidError will return true for.
NewUserIsInMultipleOriginsError returns a new CloudFoundryError that IsUserIsInMultipleOriginsError will return true for.
NewUserNotFoundError returns a new CloudFoundryError that IsUserNotFoundError will return true for.
NewUserProvidedServiceInstanceHandlerNeededError returns a new CloudFoundryError that IsUserProvidedServiceInstanceHandlerNeededError will return true for.
NewUserProvidedServiceInstanceNotFoundError returns a new CloudFoundryError that IsUserProvidedServiceInstanceNotFoundError will return true for.
NewUserWithOriginNotFoundError returns a new CloudFoundryError that IsUserWithOriginNotFoundError will return true for.
NewVolumeMountServiceDisabledError returns a new CloudFoundryError that IsVolumeMountServiceDisabledError will return true for.

# Constants

No description provided by the author
No description provided by the author
Exported event constants.
Exported event constants.
Exported event constants.
Exported event constants.
Exported event constants.
Exported event constants.
Exported event constants.
Exported event constants.
Exported event constants.
Exported event constants.
Exported event constants.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Exported filter constants.
Exported filter constants.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
ValidOperators global variable for all valid operators in a query.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
The AppEventEntity the actual app event body.
AppEventQuery a struct for defining queries like 'q=filter>value' or 'q=filter IN a,b,c'.
AppEventResource the event resources.
AppEventResponse the entire response.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Client used to communicate with Cloud Foundry.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Config is used to configure the creation of a client.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CreateV3SecurityGroupRequest implements an object that is passed to CreateV3SecurityGroup method.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Event is a type that contains event data.
EventResource is a type that contains metadata and the entity for an event.
EventsResponse is a type that wraps a collection of event resources.
No description provided by the author
Info is metadata about a Cloud Foundry deployment.
No description provided by the author
No description provided by the author
No description provided by the author
Link is a HATEOAS-style link for v3 apis.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Pagination is used by the V3 apis.
Process represents a running process in a container.
ProcessListResponse is the json body returned from the API.
Request is used to help build up a request.
The Resource match Api retruns the response in the following data structure.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Stats represents the stats of a process.
StatsGetResponse is the json body returned from the API.
Task is a description of a task element.
TaskListResponse is the JSON response from the API.
TaskRequest is a v3 JSON object as described in: http://v3-apidocs.cloudfoundry.org/version/3.0.0/index.html#create-a-task.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UpdateV3SecurityGroupRequest implements an object that is passed to UpdateV3SecurityGroup method.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
V3BitsPackage is the data for V3Packages of type bits.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
V3DockerPackage is the data for V3Packages of type docker.
No description provided by the author
V3Droplet is the result of staging an application package.
No description provided by the author
V3GloballyEnabled object controls if the group is applied globally to the lifecycle of all applications.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
V3Role implements role object.
No description provided by the author
V3Rule is an object that provide a rule that will be applied by a security group.
V3SecurityGroup implements the security group object.
V3ServiceCredentialBindings implements the service credential binding object.
No description provided by the author
No description provided by the author
No description provided by the author
V3Stack implements stack object.
V3ToManyRelationships is a relationship to multiple objects.
V3ToOneRelationship is a relationship to a single object.
V3User implements the user object.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author