Documentation ¶
Index ¶
- Constants
- func IsAnnotationLimitExceededError(err error) bool
- func IsAppBitsCopyInvalidError(err error) bool
- func IsAppBitsUploadInvalidError(err error) bool
- func IsAppInvalidError(err error) bool
- func IsAppMemoryInsufficientForSidecarsError(err error) bool
- func IsAppMemoryInvalidError(err error) bool
- func IsAppMemoryQuotaExceededError(err error) bool
- func IsAppNameTakenError(err error) bool
- func IsAppNotFoundError(err error) bool
- func IsAppPackageInvalidError(err error) bool
- func IsAppPackageNotFoundError(err error) bool
- func IsAppPortMappingRequiresDiegoError(err error) bool
- func IsAppRecursiveDeleteFailedError(err error) bool
- func IsAppResourcesFileModeInvalidError(err error) bool
- func IsAppResourcesFilePathInvalidError(err error) bool
- func IsAppStoppedStatsError(err error) bool
- func IsAssociationNotEmptyError(err error) bool
- func IsAsyncServiceBindingOperationInProgressError(err error) bool
- func IsAsyncServiceInstanceOperationInProgressError(err error) bool
- func IsBackendSelectionNotAuthorizedError(err error) bool
- func IsBadQueryParameterError(err error) bool
- func IsBadRequestError(err error) bool
- func IsBlobstoreError(err error) bool
- func IsBlobstoreNotLocalError(err error) bool
- func IsBlobstoreUnavailableError(err error) bool
- func IsBuildpackBitsUploadInvalidError(err error) bool
- func IsBuildpackCompileFailedError(err error) bool
- func IsBuildpackInvalidError(err error) bool
- func IsBuildpackLockedError(err error) bool
- func IsBuildpackNameStackTakenError(err error) bool
- func IsBuildpackNameTakenError(err error) bool
- func IsBuildpackReleaseFailedError(err error) bool
- func IsBuildpackStackDoesNotExistError(err error) bool
- func IsBuildpackStacksDontMatchError(err error) bool
- func IsBuildpackZipError(err error) bool
- func IsCustomBuildpacksDisabledError(err error) bool
- func IsDatabaseError(err error) bool
- func IsDeploymentsDisabledError(err error) bool
- func IsDiegoDisabledError(err error) bool
- func IsDiegoDockerBuildpackConflictError(err error) bool
- func IsDockerAppToDeaError(err error) bool
- func IsDockerDisabledError(err error) bool
- func IsDockerImageMissingError(err error) bool
- func IsDomainInvalidError(err error) bool
- func IsDomainNameTakenError(err error) bool
- func IsDomainNotFoundError(err error) bool
- func IsDropletUploadInvalidError(err error) bool
- func IsEiriniLRPError(err error) bool
- func IsEnvironmentVariableGroupInvalidError(err error) bool
- func IsEventNotFoundError(err error) bool
- func IsFeatureDisabledError(err error) bool
- func IsFeatureFlagInvalidError(err error) bool
- func IsFeatureFlagNotFoundError(err error) bool
- func IsFileError(err error) bool
- func IsFrameworkInvalidError(err error) bool
- func IsFrameworkNameTakenError(err error) bool
- func IsFrameworkNotFoundError(err error) bool
- func IsIPBasedRateLimitExceededError(err error) bool
- func IsInstancesError(err error) bool
- func IsInstancesUnavailableError(err error) bool
- func IsInsufficientResourcesError(err error) bool
- func IsInsufficientRunningResourcesAvailableError(err error) bool
- func IsInsufficientScopeError(err error) bool
- func IsInternalDomainCannotBeDeletedError(err error) bool
- func IsInvalidAuthTokenError(err error) bool
- func IsInvalidContentTypeError(err error) bool
- func IsInvalidLoggingServiceBindingError(err error) bool
- func IsInvalidRelationError(err error) bool
- func IsInvalidRequestError(err error) bool
- func IsInvalidTaskAddressError(err error) bool
- func IsInvalidTaskRequestError(err error) bool
- func IsJobTimeoutError(err error) bool
- func IsKpackBuilderError(err error) bool
- func IsKpackImageError(err error) bool
- func IsKubernetesRouteResourceError(err error) bool
- func IsLabelLimitExceededError(err error) bool
- func IsLastBillingManagerInOrgError(err error) bool
- func IsLastManagerInOrgError(err error) bool
- func IsLastUserInOrgError(err error) bool
- func IsLegacyApiWithoutDefaultSpaceError(err error) bool
- func IsMaintenanceInfoConflictError(err error) bool
- func IsMaintenanceInfoNotSemverError(err error) bool
- func IsMaintenanceInfoNotSupportedError(err error) bool
- func IsMaintenanceInfoNotUpdatableWhenChangingPlanError(err error) bool
- func IsManagedServiceInstanceNotFoundError(err error) bool
- func IsMessageParseError(err error) bool
- func IsMultipleAppPortsMappedDiegoToDeaError(err error) bool
- func IsNoAppDetectedError(err error) bool
- func IsNoBuildpacksFoundError(err error) bool
- func IsNoCompatibleCellError(err error) bool
- func IsNoCurrentEncryptionKeyError(err error) bool
- func IsNonrecursiveSpaceDeletionFailedError(err error) bool
- func IsNotAuthenticatedError(err error) bool
- func IsNotAuthorizedError(err error) bool
- func IsNotFoundError(err error) bool
- func IsNotStagedError(err error) bool
- func IsOrderByParameterInvalidError(err error) bool
- func IsOrgQuotaLogRateLimitExceededError(err error) bool
- func IsOrgQuotaTotalReservedRoutePortsExceededError(err error) bool
- func IsOrgQuotaTotalRoutesExceededError(err error) bool
- func IsOrgSuspendedError(err error) bool
- func IsOrganizationAlreadySetError(err error) bool
- func IsOrganizationDeleteTimeoutError(err error) bool
- func IsOrganizationDeletionFailedError(err error) bool
- func IsOrganizationInvalidError(err error) bool
- func IsOrganizationNameTakenError(err error) bool
- func IsOrganizationNotFoundError(err error) bool
- func IsOrganizationRolesDeletionFailedError(err error) bool
- func IsOutOfRouterGroupPortsError(err error) bool
- func IsPackageBitsAlreadyUploadedError(err error) bool
- func IsPathInvalidError(err error) bool
- func IsPreviouslyUsedAs_ServiceInstancePaidQuotaExceededError(err error) bool
- func IsProcessInvalidError(err error) bool
- func IsProcessNotFoundError(err error) bool
- func IsProcessUpdateDisabledDuringDeploymentError(err error) bool
- func IsQuotaDefinitionInvalidError(err error) bool
- func IsQuotaDefinitionMemoryLimitInvalidError(err error) bool
- func IsQuotaDefinitionNameTakenError(err error) bool
- func IsQuotaDefinitionNotFoundError(err error) bool
- func IsQuotaInstanceLimitExceededError(err error) bool
- func IsQuotaInstanceMemoryLimitExceededError(err error) bool
- func IsRateLimitExceededError(err error) bool
- func IsRateLimitV2APIExceededError(err error) bool
- func IsResourceNotFoundError(err error) bool
- func IsRevisionsEnabledError(err error) bool
- func IsRouteAlreadyBoundToServiceInstanceError(err error) bool
- func IsRouteHostTakenError(err error) bool
- func IsRouteInvalidError(err error) bool
- func IsRouteMappingNotFoundError(err error) bool
- func IsRouteMappingTakenError(err error) bool
- func IsRouteNotFoundError(err error) bool
- func IsRoutePathTakenError(err error) bool
- func IsRoutePortNotEnabledOnAppError(err error) bool
- func IsRoutePortTakenError(err error) bool
- func IsRouteServiceCannotBeBoundToInternalRouteError(err error) bool
- func IsRouterGroupNotFoundError(err error) bool
- func IsRoutingApiDisabledError(err error) bool
- func IsRoutingApiUnavailableError(err error) bool
- func IsRunnerError(err error) bool
- func IsRunnerInvalidRequestError(err error) bool
- func IsRunnerUnavailableError(err error) bool
- func IsRuntimeInvalidError(err error) bool
- func IsRuntimeNameTakenError(err error) bool
- func IsRuntimeNotFoundError(err error) bool
- func IsSDSNotAvailableError(err error) bool
- func IsScaleDisabledDuringDeploymentError(err error) bool
- func IsSecurityGroupInvalidError(err error) bool
- func IsSecurityGroupNameTakenError(err error) bool
- func IsSecurityGroupNotFoundError(err error) bool
- func IsSecurityGroupRunningDefaultInvalidError(err error) bool
- func IsSecurityGroupStagingDefaultInvalidError(err error) bool
- func IsServerError(err error) bool
- func IsServiceBindingAppServiceTakenError(err error) bool
- func IsServiceBindingDifferentSpacesError(err error) bool
- func IsServiceBindingInvalidError(err error) bool
- func IsServiceBindingNotFoundError(err error) bool
- func IsServiceBrokerAsyncRequiredError(err error) bool
- func IsServiceBrokerCatalogIncompatibleError(err error) bool
- func IsServiceBrokerCatalogInvalidError(err error) bool
- func IsServiceBrokerConcurrencyError(err error) bool
- func IsServiceBrokerDashboardClientFailureError(err error) bool
- func IsServiceBrokerInvalidError(err error) bool
- func IsServiceBrokerNameTakenError(err error) bool
- func IsServiceBrokerNotFoundError(err error) bool
- func IsServiceBrokerNotRemovableError(err error) bool
- func IsServiceBrokerRateLimitExceededError(err error) bool
- func IsServiceBrokerRequestMalformedError(err error) bool
- func IsServiceBrokerRequestRejectedError(err error) bool
- func IsServiceBrokerRespondedAsyncWhenNotAllowedError(err error) bool
- func IsServiceBrokerSyncFailedError(err error) bool
- func IsServiceBrokerURLBasicAuthNotSupportedError(err error) bool
- func IsServiceBrokerURLInvalidError(err error) bool
- func IsServiceBrokerURLTakenError(err error) bool
- func IsServiceDashboardClientMissingURLError(err error) bool
- func IsServiceDoesNotSupportRoutesError(err error) bool
- func IsServiceFetchBindingParametersNotSupportedError(err error) bool
- func IsServiceFetchInstanceParametersNotSupportedError(err error) bool
- func IsServiceGatewayError(err error) bool
- func IsServiceInstanceAlreadyBoundToSameRouteError(err error) bool
- func IsServiceInstanceDeletionSharesExistsError(err error) bool
- func IsServiceInstanceDeprovisionFailedError(err error) bool
- func IsServiceInstanceDuplicateNotAllowedError(err error) bool
- func IsServiceInstanceInvalidError(err error) bool
- func IsServiceInstanceNameEmptyError(err error) bool
- func IsServiceInstanceNameTakenError(err error) bool
- func IsServiceInstanceNameTooLongError(err error) bool
- func IsServiceInstanceNotFoundError(err error) bool
- func IsServiceInstanceOrganizationNotAuthorizedError(err error) bool
- func IsServiceInstanceProvisionFailedError(err error) bool
- func IsServiceInstanceQuotaExceededError(err error) bool
- func IsServiceInstanceRecursiveDeleteFailedError(err error) bool
- func IsServiceInstanceRouteBindingSpaceMismatchError(err error) bool
- func IsServiceInstanceRouteServiceDisabledError(err error) bool
- func IsServiceInstanceRouteServiceRequiresDiegoError(err error) bool
- func IsServiceInstanceRouteServiceURLInvalidError(err error) bool
- func IsServiceInstanceServicePlanNotAllowedBySpaceQuotaError(err error) bool
- func IsServiceInstanceServicePlanNotAllowedError(err error) bool
- func IsServiceInstanceSpaceChangeNotAllowedError(err error) bool
- func IsServiceInstanceSpaceNotAuthorizedError(err error) bool
- func IsServiceInstanceSpaceQuotaExceededError(err error) bool
- func IsServiceInstanceTagsTooLongError(err error) bool
- func IsServiceInstanceUnshareFailedError(err error) bool
- func IsServiceInstanceWithInaccessiblePlanNotUpdateableError(err error) bool
- func IsServiceInvalidError(err error) bool
- func IsServiceKeyCredentialStoreUnavailableError(err error) bool
- func IsServiceKeyInvalidError(err error) bool
- func IsServiceKeyNameTakenError(err error) bool
- func IsServiceKeyNotFoundError(err error) bool
- func IsServiceKeyNotSupportedError(err error) bool
- func IsServiceLabelTakenError(err error) bool
- func IsServiceNotFoundError(err error) bool
- func IsServiceNotImplementedError(err error) bool
- func IsServicePlanInvalidError(err error) bool
- func IsServicePlanNameTakenError(err error) bool
- func IsServicePlanNotFoundError(err error) bool
- func IsServicePlanNotUpdateableError(err error) bool
- func IsServicePlanVisibilityAlreadyExistsError(err error) bool
- func IsServicePlanVisibilityInvalidError(err error) bool
- func IsServicePlanVisibilityNotFoundError(err error) bool
- func IsServiceUnavailableError(err error) bool
- func IsSharedServiceInstanceCannotBeRenamedError(err error) bool
- func IsSharedServiceInstanceNotDeletableInTargetSpaceError(err error) bool
- func IsSharedServiceInstanceNotUpdatableInTargetSpaceError(err error) bool
- func IsSpaceDeleteTimeoutError(err error) bool
- func IsSpaceDeletionFailedError(err error) bool
- func IsSpaceInvalidError(err error) bool
- func IsSpaceNameTakenError(err error) bool
- func IsSpaceNotFoundError(err error) bool
- func IsSpaceQuotaDefinitionInvalidError(err error) bool
- func IsSpaceQuotaDefinitionNameTakenError(err error) bool
- func IsSpaceQuotaDefinitionNotFoundError(err error) bool
- func IsSpaceQuotaInstanceLimitExceededError(err error) bool
- func IsSpaceQuotaInstanceMemoryLimitExceededError(err error) bool
- func IsSpaceQuotaLogRateLimitExceededError(err error) bool
- func IsSpaceQuotaMemoryLimitExceededError(err error) bool
- func IsSpaceQuotaTotalReservedRoutePortsExceededError(err error) bool
- func IsSpaceQuotaTotalRoutesExceededError(err error) bool
- func IsSpaceRolesDeletionFailedError(err error) bool
- func IsSpaceRolesDeletionTimeoutError(err error) bool
- func IsSpaceUserNotInOrgError(err error) bool
- func IsStackInvalidError(err error) bool
- func IsStackNameTakenError(err error) bool
- func IsStackNotFoundError(err error) bool
- func IsStagerError(err error) bool
- func IsStagerUnavailableError(err error) bool
- func IsStagingBackendInvalidError(err error) bool
- func IsStagingError(err error) bool
- func IsStagingInProgressError(err error) bool
- func IsStagingTimeExpiredError(err error) bool
- func IsStatsError(err error) bool
- func IsStatsUnavailableError(err error) bool
- func IsStopDisabledDuringDeploymentError(err error) bool
- func IsTaskError(err error) bool
- func IsTaskWorkersUnavailableError(err error) bool
- func IsTotalPrivateDomainsExceededError(err error) bool
- func IsUAAEndpointDisabledError(err error) bool
- func IsUAAIDTakenError(err error) bool
- func IsUAAUnavailableError(err error) bool
- func IsUnableToDeleteError(err error) bool
- func IsUnableToPerformError(err error) bool
- func IsUnbindableServiceError(err error) bool
- func IsUnprocessableEntityError(err error) bool
- func IsUserInvalidError(err error) bool
- func IsUserIsInMultipleOriginsError(err error) bool
- func IsUserNotFoundError(err error) bool
- func IsUserProvidedServiceInstanceHandlerNeededError(err error) bool
- func IsUserProvidedServiceInstanceNotFoundError(err error) bool
- func IsUserWithOriginNotFoundError(err error) bool
- func IsVolumeMountServiceDisabledError(err error) bool
- type App
- type AppCreate
- type AppEnvironment
- type AppFeature
- type AppFeatureList
- type AppFeatureUpdate
- type AppIncludeType
- type AppIncluded
- type AppList
- type AppPermissions
- type AppRelationship
- type AppSSHEnabled
- type AppUpdate
- type AppUsage
- type AppUsageCurrentPreviousInt
- type AppUsageCurrentPreviousString
- type AppUsageGUIDName
- type AppUsageGUIDType
- type AppUsageList
- type AppWithIncluded
- type AppsQuota
- type AuditEvent
- type AuditEventList
- type AuditEventRelatedObject
- type BitsOrDockerPackage
- type BitsPackage
- type BitsPackageChecksum
- type Build
- type BuildCreate
- type BuildList
- type BuildState
- type BuildUpdate
- type Buildpack
- type BuildpackCreateOrUpdate
- func (bp *BuildpackCreateOrUpdate) WithEnabled(enabled bool) *BuildpackCreateOrUpdate
- func (bp *BuildpackCreateOrUpdate) WithLocked(locked bool) *BuildpackCreateOrUpdate
- func (bp *BuildpackCreateOrUpdate) WithName(name string) *BuildpackCreateOrUpdate
- func (bp *BuildpackCreateOrUpdate) WithPosition(position int) *BuildpackCreateOrUpdate
- func (bp *BuildpackCreateOrUpdate) WithStack(stack string) *BuildpackCreateOrUpdate
- type BuildpackLifecycle
- type BuildpackList
- type CloudFoundryError
- func NewAnnotationLimitExceededError() CloudFoundryError
- func NewAppBitsCopyInvalidError() CloudFoundryError
- func NewAppBitsUploadInvalidError() CloudFoundryError
- func NewAppInvalidError() CloudFoundryError
- func NewAppMemoryInsufficientForSidecarsError() CloudFoundryError
- func NewAppMemoryInvalidError() CloudFoundryError
- func NewAppMemoryQuotaExceededError() CloudFoundryError
- func NewAppNameTakenError() CloudFoundryError
- func NewAppNotFoundError() CloudFoundryError
- func NewAppPackageInvalidError() CloudFoundryError
- func NewAppPackageNotFoundError() CloudFoundryError
- func NewAppPortMappingRequiresDiegoError() CloudFoundryError
- func NewAppRecursiveDeleteFailedError() CloudFoundryError
- func NewAppResourcesFileModeInvalidError() CloudFoundryError
- func NewAppResourcesFilePathInvalidError() CloudFoundryError
- func NewAppStoppedStatsError() CloudFoundryError
- func NewAssociationNotEmptyError() CloudFoundryError
- func NewAsyncServiceBindingOperationInProgressError() CloudFoundryError
- func NewAsyncServiceInstanceOperationInProgressError() CloudFoundryError
- func NewBackendSelectionNotAuthorizedError() CloudFoundryError
- func NewBadQueryParameterError() CloudFoundryError
- func NewBadRequestError() CloudFoundryError
- func NewBlobstoreError() CloudFoundryError
- func NewBlobstoreNotLocalError() CloudFoundryError
- func NewBlobstoreUnavailableError() CloudFoundryError
- func NewBuildpackBitsUploadInvalidError() CloudFoundryError
- func NewBuildpackCompileFailedError() CloudFoundryError
- func NewBuildpackInvalidError() CloudFoundryError
- func NewBuildpackLockedError() CloudFoundryError
- func NewBuildpackNameStackTakenError() CloudFoundryError
- func NewBuildpackNameTakenError() CloudFoundryError
- func NewBuildpackReleaseFailedError() CloudFoundryError
- func NewBuildpackStackDoesNotExistError() CloudFoundryError
- func NewBuildpackStacksDontMatchError() CloudFoundryError
- func NewBuildpackZipError() CloudFoundryError
- func NewCustomBuildpacksDisabledError() CloudFoundryError
- func NewDatabaseError() CloudFoundryError
- func NewDeploymentsDisabledError() CloudFoundryError
- func NewDiegoDisabledError() CloudFoundryError
- func NewDiegoDockerBuildpackConflictError() CloudFoundryError
- func NewDockerAppToDeaError() CloudFoundryError
- func NewDockerDisabledError() CloudFoundryError
- func NewDockerImageMissingError() CloudFoundryError
- func NewDomainInvalidError() CloudFoundryError
- func NewDomainNameTakenError() CloudFoundryError
- func NewDomainNotFoundError() CloudFoundryError
- func NewDropletUploadInvalidError() CloudFoundryError
- func NewEiriniLRPError() CloudFoundryError
- func NewEnvironmentVariableGroupInvalidError() CloudFoundryError
- func NewEventNotFoundError() CloudFoundryError
- func NewFeatureDisabledError() CloudFoundryError
- func NewFeatureFlagInvalidError() CloudFoundryError
- func NewFeatureFlagNotFoundError() CloudFoundryError
- func NewFileError() CloudFoundryError
- func NewFrameworkInvalidError() CloudFoundryError
- func NewFrameworkNameTakenError() CloudFoundryError
- func NewFrameworkNotFoundError() CloudFoundryError
- func NewIPBasedRateLimitExceededError() CloudFoundryError
- func NewInstancesError() CloudFoundryError
- func NewInstancesUnavailableError() CloudFoundryError
- func NewInsufficientResourcesError() CloudFoundryError
- func NewInsufficientRunningResourcesAvailableError() CloudFoundryError
- func NewInsufficientScopeError() CloudFoundryError
- func NewInternalDomainCannotBeDeletedError() CloudFoundryError
- func NewInvalidAuthTokenError() CloudFoundryError
- func NewInvalidContentTypeError() CloudFoundryError
- func NewInvalidLoggingServiceBindingError() CloudFoundryError
- func NewInvalidRelationError() CloudFoundryError
- func NewInvalidRequestError() CloudFoundryError
- func NewInvalidTaskAddressError() CloudFoundryError
- func NewInvalidTaskRequestError() CloudFoundryError
- func NewJobTimeoutError() CloudFoundryError
- func NewKpackBuilderError() CloudFoundryError
- func NewKpackImageError() CloudFoundryError
- func NewKubernetesRouteResourceError() CloudFoundryError
- func NewLabelLimitExceededError() CloudFoundryError
- func NewLastBillingManagerInOrgError() CloudFoundryError
- func NewLastManagerInOrgError() CloudFoundryError
- func NewLastUserInOrgError() CloudFoundryError
- func NewLegacyApiWithoutDefaultSpaceError() CloudFoundryError
- func NewMaintenanceInfoConflictError() CloudFoundryError
- func NewMaintenanceInfoNotSemverError() CloudFoundryError
- func NewMaintenanceInfoNotSupportedError() CloudFoundryError
- func NewMaintenanceInfoNotUpdatableWhenChangingPlanError() CloudFoundryError
- func NewManagedServiceInstanceNotFoundError() CloudFoundryError
- func NewMessageParseError() CloudFoundryError
- func NewMultipleAppPortsMappedDiegoToDeaError() CloudFoundryError
- func NewNoAppDetectedError() CloudFoundryError
- func NewNoBuildpacksFoundError() CloudFoundryError
- func NewNoCompatibleCellError() CloudFoundryError
- func NewNoCurrentEncryptionKeyError() CloudFoundryError
- func NewNonrecursiveSpaceDeletionFailedError() CloudFoundryError
- func NewNotAuthenticatedError() CloudFoundryError
- func NewNotAuthorizedError() CloudFoundryError
- func NewNotFoundError() CloudFoundryError
- func NewNotStagedError() CloudFoundryError
- func NewOrderByParameterInvalidError() CloudFoundryError
- func NewOrgQuotaLogRateLimitExceededError() CloudFoundryError
- func NewOrgQuotaTotalReservedRoutePortsExceededError() CloudFoundryError
- func NewOrgQuotaTotalRoutesExceededError() CloudFoundryError
- func NewOrgSuspendedError() CloudFoundryError
- func NewOrganizationAlreadySetError() CloudFoundryError
- func NewOrganizationDeleteTimeoutError() CloudFoundryError
- func NewOrganizationDeletionFailedError() CloudFoundryError
- func NewOrganizationInvalidError() CloudFoundryError
- func NewOrganizationNameTakenError() CloudFoundryError
- func NewOrganizationNotFoundError() CloudFoundryError
- func NewOrganizationRolesDeletionFailedError() CloudFoundryError
- func NewOutOfRouterGroupPortsError() CloudFoundryError
- func NewPackageBitsAlreadyUploadedError() CloudFoundryError
- func NewPathInvalidError() CloudFoundryError
- func NewPreviouslyUsedAs_ServiceInstancePaidQuotaExceededError() CloudFoundryError
- func NewProcessInvalidError() CloudFoundryError
- func NewProcessNotFoundError() CloudFoundryError
- func NewProcessUpdateDisabledDuringDeploymentError() CloudFoundryError
- func NewQuotaDefinitionInvalidError() CloudFoundryError
- func NewQuotaDefinitionMemoryLimitInvalidError() CloudFoundryError
- func NewQuotaDefinitionNameTakenError() CloudFoundryError
- func NewQuotaDefinitionNotFoundError() CloudFoundryError
- func NewQuotaInstanceLimitExceededError() CloudFoundryError
- func NewQuotaInstanceMemoryLimitExceededError() CloudFoundryError
- func NewRateLimitExceededError() CloudFoundryError
- func NewRateLimitV2APIExceededError() CloudFoundryError
- func NewResourceNotFoundError() CloudFoundryError
- func NewRevisionsEnabledError() CloudFoundryError
- func NewRouteAlreadyBoundToServiceInstanceError() CloudFoundryError
- func NewRouteHostTakenError() CloudFoundryError
- func NewRouteInvalidError() CloudFoundryError
- func NewRouteMappingNotFoundError() CloudFoundryError
- func NewRouteMappingTakenError() CloudFoundryError
- func NewRouteNotFoundError() CloudFoundryError
- func NewRoutePathTakenError() CloudFoundryError
- func NewRoutePortNotEnabledOnAppError() CloudFoundryError
- func NewRoutePortTakenError() CloudFoundryError
- func NewRouteServiceCannotBeBoundToInternalRouteError() CloudFoundryError
- func NewRouterGroupNotFoundError() CloudFoundryError
- func NewRoutingApiDisabledError() CloudFoundryError
- func NewRoutingApiUnavailableError() CloudFoundryError
- func NewRunnerError() CloudFoundryError
- func NewRunnerInvalidRequestError() CloudFoundryError
- func NewRunnerUnavailableError() CloudFoundryError
- func NewRuntimeInvalidError() CloudFoundryError
- func NewRuntimeNameTakenError() CloudFoundryError
- func NewRuntimeNotFoundError() CloudFoundryError
- func NewSDSNotAvailableError() CloudFoundryError
- func NewScaleDisabledDuringDeploymentError() CloudFoundryError
- func NewSecurityGroupInvalidError() CloudFoundryError
- func NewSecurityGroupNameTakenError() CloudFoundryError
- func NewSecurityGroupNotFoundError() CloudFoundryError
- func NewSecurityGroupRunningDefaultInvalidError() CloudFoundryError
- func NewSecurityGroupStagingDefaultInvalidError() CloudFoundryError
- func NewServerError() CloudFoundryError
- func NewServiceBindingAppServiceTakenError() CloudFoundryError
- func NewServiceBindingDifferentSpacesError() CloudFoundryError
- func NewServiceBindingInvalidError() CloudFoundryError
- func NewServiceBindingNotFoundError() CloudFoundryError
- func NewServiceBrokerAsyncRequiredError() CloudFoundryError
- func NewServiceBrokerCatalogIncompatibleError() CloudFoundryError
- func NewServiceBrokerCatalogInvalidError() CloudFoundryError
- func NewServiceBrokerConcurrencyError() CloudFoundryError
- func NewServiceBrokerDashboardClientFailureError() CloudFoundryError
- func NewServiceBrokerInvalidError() CloudFoundryError
- func NewServiceBrokerNameTakenError() CloudFoundryError
- func NewServiceBrokerNotFoundError() CloudFoundryError
- func NewServiceBrokerNotRemovableError() CloudFoundryError
- func NewServiceBrokerRateLimitExceededError() CloudFoundryError
- func NewServiceBrokerRequestMalformedError() CloudFoundryError
- func NewServiceBrokerRequestRejectedError() CloudFoundryError
- func NewServiceBrokerRespondedAsyncWhenNotAllowedError() CloudFoundryError
- func NewServiceBrokerSyncFailedError() CloudFoundryError
- func NewServiceBrokerURLBasicAuthNotSupportedError() CloudFoundryError
- func NewServiceBrokerURLInvalidError() CloudFoundryError
- func NewServiceBrokerURLTakenError() CloudFoundryError
- func NewServiceDashboardClientMissingURLError() CloudFoundryError
- func NewServiceDoesNotSupportRoutesError() CloudFoundryError
- func NewServiceFetchBindingParametersNotSupportedError() CloudFoundryError
- func NewServiceFetchInstanceParametersNotSupportedError() CloudFoundryError
- func NewServiceGatewayError() CloudFoundryError
- func NewServiceInstanceAlreadyBoundToSameRouteError() CloudFoundryError
- func NewServiceInstanceDeletionSharesExistsError() CloudFoundryError
- func NewServiceInstanceDeprovisionFailedError() CloudFoundryError
- func NewServiceInstanceDuplicateNotAllowedError() CloudFoundryError
- func NewServiceInstanceInvalidError() CloudFoundryError
- func NewServiceInstanceNameEmptyError() CloudFoundryError
- func NewServiceInstanceNameTakenError() CloudFoundryError
- func NewServiceInstanceNameTooLongError() CloudFoundryError
- func NewServiceInstanceNotFoundError() CloudFoundryError
- func NewServiceInstanceOrganizationNotAuthorizedError() CloudFoundryError
- func NewServiceInstanceProvisionFailedError() CloudFoundryError
- func NewServiceInstanceQuotaExceededError() CloudFoundryError
- func NewServiceInstanceRecursiveDeleteFailedError() CloudFoundryError
- func NewServiceInstanceRouteBindingSpaceMismatchError() CloudFoundryError
- func NewServiceInstanceRouteServiceDisabledError() CloudFoundryError
- func NewServiceInstanceRouteServiceRequiresDiegoError() CloudFoundryError
- func NewServiceInstanceRouteServiceURLInvalidError() CloudFoundryError
- func NewServiceInstanceServicePlanNotAllowedBySpaceQuotaError() CloudFoundryError
- func NewServiceInstanceServicePlanNotAllowedError() CloudFoundryError
- func NewServiceInstanceSpaceChangeNotAllowedError() CloudFoundryError
- func NewServiceInstanceSpaceNotAuthorizedError() CloudFoundryError
- func NewServiceInstanceSpaceQuotaExceededError() CloudFoundryError
- func NewServiceInstanceTagsTooLongError() CloudFoundryError
- func NewServiceInstanceUnshareFailedError() CloudFoundryError
- func NewServiceInstanceWithInaccessiblePlanNotUpdateableError() CloudFoundryError
- func NewServiceInvalidError() CloudFoundryError
- func NewServiceKeyCredentialStoreUnavailableError() CloudFoundryError
- func NewServiceKeyInvalidError() CloudFoundryError
- func NewServiceKeyNameTakenError() CloudFoundryError
- func NewServiceKeyNotFoundError() CloudFoundryError
- func NewServiceKeyNotSupportedError() CloudFoundryError
- func NewServiceLabelTakenError() CloudFoundryError
- func NewServiceNotFoundError() CloudFoundryError
- func NewServiceNotImplementedError() CloudFoundryError
- func NewServicePlanInvalidError() CloudFoundryError
- func NewServicePlanNameTakenError() CloudFoundryError
- func NewServicePlanNotFoundError() CloudFoundryError
- func NewServicePlanNotUpdateableError() CloudFoundryError
- func NewServicePlanVisibilityAlreadyExistsError() CloudFoundryError
- func NewServicePlanVisibilityInvalidError() CloudFoundryError
- func NewServicePlanVisibilityNotFoundError() CloudFoundryError
- func NewServiceUnavailableError() CloudFoundryError
- func NewSharedServiceInstanceCannotBeRenamedError() CloudFoundryError
- func NewSharedServiceInstanceNotDeletableInTargetSpaceError() CloudFoundryError
- func NewSharedServiceInstanceNotUpdatableInTargetSpaceError() CloudFoundryError
- func NewSpaceDeleteTimeoutError() CloudFoundryError
- func NewSpaceDeletionFailedError() CloudFoundryError
- func NewSpaceInvalidError() CloudFoundryError
- func NewSpaceNameTakenError() CloudFoundryError
- func NewSpaceNotFoundError() CloudFoundryError
- func NewSpaceQuotaDefinitionInvalidError() CloudFoundryError
- func NewSpaceQuotaDefinitionNameTakenError() CloudFoundryError
- func NewSpaceQuotaDefinitionNotFoundError() CloudFoundryError
- func NewSpaceQuotaInstanceLimitExceededError() CloudFoundryError
- func NewSpaceQuotaInstanceMemoryLimitExceededError() CloudFoundryError
- func NewSpaceQuotaLogRateLimitExceededError() CloudFoundryError
- func NewSpaceQuotaMemoryLimitExceededError() CloudFoundryError
- func NewSpaceQuotaTotalReservedRoutePortsExceededError() CloudFoundryError
- func NewSpaceQuotaTotalRoutesExceededError() CloudFoundryError
- func NewSpaceRolesDeletionFailedError() CloudFoundryError
- func NewSpaceRolesDeletionTimeoutError() CloudFoundryError
- func NewSpaceUserNotInOrgError() CloudFoundryError
- func NewStackInvalidError() CloudFoundryError
- func NewStackNameTakenError() CloudFoundryError
- func NewStackNotFoundError() CloudFoundryError
- func NewStagerError() CloudFoundryError
- func NewStagerUnavailableError() CloudFoundryError
- func NewStagingBackendInvalidError() CloudFoundryError
- func NewStagingError() CloudFoundryError
- func NewStagingInProgressError() CloudFoundryError
- func NewStagingTimeExpiredError() CloudFoundryError
- func NewStatsError() CloudFoundryError
- func NewStatsUnavailableError() CloudFoundryError
- func NewStopDisabledDuringDeploymentError() CloudFoundryError
- func NewTaskError() CloudFoundryError
- func NewTaskWorkersUnavailableError() CloudFoundryError
- func NewTotalPrivateDomainsExceededError() CloudFoundryError
- func NewUAAEndpointDisabledError() CloudFoundryError
- func NewUAAIDTakenError() CloudFoundryError
- func NewUAAUnavailableError() CloudFoundryError
- func NewUnableToDeleteError() CloudFoundryError
- func NewUnableToPerformError() CloudFoundryError
- func NewUnbindableServiceError() CloudFoundryError
- func NewUnprocessableEntityError() CloudFoundryError
- func NewUserInvalidError() CloudFoundryError
- func NewUserIsInMultipleOriginsError() CloudFoundryError
- func NewUserNotFoundError() CloudFoundryError
- func NewUserProvidedServiceInstanceHandlerNeededError() CloudFoundryError
- func NewUserProvidedServiceInstanceNotFoundError() CloudFoundryError
- func NewUserWithOriginNotFoundError() CloudFoundryError
- func NewVolumeMountServiceDisabledError() CloudFoundryError
- type CloudFoundryErrors
- type CloudFoundryHTTPError
- type CreatedBy
- type Deployment
- type DeploymentCreate
- type DeploymentList
- type DeploymentRevision
- type DeploymentStatus
- type DeploymentUpdate
- type DetectedBuildpack
- type DockerCredentials
- type DockerPackage
- type Domain
- type DomainCreate
- type DomainList
- type DomainRelationships
- type DomainUpdate
- type DomainsQuota
- type Droplet
- type DropletCopy
- type DropletCreate
- type DropletCurrent
- type DropletList
- type DropletState
- type DropletUpdate
- type EnvVar
- type EnvVarGroup
- type EnvVarGroupUpdate
- type EnvVarResponse
- type FeatureFlag
- type FeatureFlagList
- type FeatureFlagType
- type FeatureFlagUpdate
- type InterfaceAppEnvironment
- type InterfaceEnvVar
- type IsolationSegment
- type IsolationSegmentCreate
- type IsolationSegmentList
- type IsolationSegmentRelationship
- type IsolationSegmentUpdate
- type Job
- type JobState
- type JobWarning
- type LastOperation
- type Lifecycle
- type LifecycleType
- type Link
- type Links
- type ManifestDiff
- type ManifestDiffItem
- type Metadata
- func (m *Metadata) Clear()
- func (m *Metadata) RemoveAnnotation(prefix, key string)
- func (m *Metadata) RemoveLabel(prefix, key string)
- func (m *Metadata) SetAnnotation(prefix, key string, v string)
- func (m *Metadata) SetLabel(prefix, key string, v string)
- func (m *Metadata) WithAnnotation(prefix, key string, v string) *Metadata
- func (m *Metadata) WithLabel(prefix, key string, v string) *Metadata
- type NullableRelationship
- type NullableToOneRelationship
- type Organization
- type OrganizationCreate
- type OrganizationList
- type OrganizationQuota
- type OrganizationQuotaCreateOrUpdate
- func (q *OrganizationQuotaCreateOrUpdate) WithAppsTotalMemoryInMB(mb int) *OrganizationQuotaCreateOrUpdate
- func (q *OrganizationQuotaCreateOrUpdate) WithDomains(count int) *OrganizationQuotaCreateOrUpdate
- func (q *OrganizationQuotaCreateOrUpdate) WithLogRateLimitInBytesPerSecond(bytes int) *OrganizationQuotaCreateOrUpdate
- func (q *OrganizationQuotaCreateOrUpdate) WithName(name string) *OrganizationQuotaCreateOrUpdate
- func (q *OrganizationQuotaCreateOrUpdate) WithOrganizations(orgGUIDs ...string) *OrganizationQuotaCreateOrUpdate
- func (q *OrganizationQuotaCreateOrUpdate) WithPaidServicesAllowed(allowed bool) *OrganizationQuotaCreateOrUpdate
- func (q *OrganizationQuotaCreateOrUpdate) WithPerAppTasks(count int) *OrganizationQuotaCreateOrUpdate
- func (q *OrganizationQuotaCreateOrUpdate) WithPerProcessMemoryInMB(mb int) *OrganizationQuotaCreateOrUpdate
- func (q *OrganizationQuotaCreateOrUpdate) WithTotalInstances(count int) *OrganizationQuotaCreateOrUpdate
- func (q *OrganizationQuotaCreateOrUpdate) WithTotalReservedPorts(count int) *OrganizationQuotaCreateOrUpdate
- func (q *OrganizationQuotaCreateOrUpdate) WithTotalRoutes(count int) *OrganizationQuotaCreateOrUpdate
- func (q *OrganizationQuotaCreateOrUpdate) WithTotalServiceInstances(count int) *OrganizationQuotaCreateOrUpdate
- func (q *OrganizationQuotaCreateOrUpdate) WithTotalServiceKeys(count int) *OrganizationQuotaCreateOrUpdate
- type OrganizationQuotaList
- type OrganizationQuotaRelationships
- type OrganizationRoleType
- type OrganizationUpdate
- type OrganizationUsageSummary
- type Package
- type PackageCopy
- type PackageCreate
- type PackageList
- type PackageState
- type PackageUpdate
- type Pagination
- type Process
- type ProcessHealthCheck
- type ProcessHealthCheckData
- type ProcessList
- type ProcessReadinessCheck
- type ProcessReadinessCheckData
- type ProcessReference
- type ProcessRelationships
- type ProcessScale
- type ProcessStat
- type ProcessStats
- type ProcessUpdate
- func (p *ProcessUpdate) WithCommand(cmd string) *ProcessUpdate
- func (p *ProcessUpdate) WithHealthCheckEndpoint(endpoint string) *ProcessUpdate
- func (p *ProcessUpdate) WithHealthCheckInterval(interval int) *ProcessUpdate
- func (p *ProcessUpdate) WithHealthCheckInvocationTimeout(timeout int) *ProcessUpdate
- func (p *ProcessUpdate) WithHealthCheckTimeout(timeout int) *ProcessUpdate
- func (p *ProcessUpdate) WithHealthCheckType(hcType string) *ProcessUpdate
- func (p *ProcessUpdate) WithReadinessCheckEndpoint(endpoint string) *ProcessUpdate
- func (p *ProcessUpdate) WithReadinessCheckInterval(interval int) *ProcessUpdate
- func (p *ProcessUpdate) WithReadinessCheckInvocationTimeout(timeout int) *ProcessUpdate
- func (p *ProcessUpdate) WithReadinessCheckType(hcType string) *ProcessUpdate
- type QuotaRelationship
- type Relationship
- type Resource
- type ResourceMatch
- type ResourceMatchChecksum
- type ResourceMatches
- type Revision
- type RevisionList
- type RevisionProcess
- type RevisionProcesses
- type RevisionSidecar
- type RevisionUpdate
- type Role
- type RoleIncludeType
- type RoleIncluded
- type RoleList
- type RoleOrganizationCreate
- type RoleOrganizationUserRelationships
- type RoleSpaceCreate
- type RoleSpaceUserOrganizationRelationships
- type RoleSpaceUserRelationships
- type RoleUserData
- type RoleWithIncluded
- type Root
- type RootAppSSH
- type RootCloudController
- type RootLinks
- type Route
- type RouteCreate
- type RouteDestination
- type RouteDestinationApp
- type RouteDestinationAppProcess
- type RouteDestinationInsertOrReplace
- func (r *RouteDestinationInsertOrReplace) WithPort(port int) *RouteDestinationInsertOrReplace
- func (r *RouteDestinationInsertOrReplace) WithProcessType(processType string) *RouteDestinationInsertOrReplace
- func (r *RouteDestinationInsertOrReplace) WithProtocol(protocol string) *RouteDestinationInsertOrReplace
- func (r *RouteDestinationInsertOrReplace) WithWeight(weight int) *RouteDestinationInsertOrReplace
- type RouteDestinationProtocolUpdate
- type RouteDestinationWithLinks
- type RouteDestinations
- type RouteDestinationsInsertOrReplace
- type RouteIncludeType
- type RouteIncluded
- type RouteList
- type RouteRelationships
- type RouteSharedSpaceRelationships
- type RouteUpdate
- type RouteWithIncluded
- type RoutesQuota
- type SecurityGroup
- type SecurityGroupCreate
- type SecurityGroupGloballyEnabled
- type SecurityGroupList
- type SecurityGroupRule
- func NewSecurityGroupRuleAll(destination string) *SecurityGroupRule
- func NewSecurityGroupRuleICMP(destination string, icmpType, icmpCode int) *SecurityGroupRule
- func NewSecurityGroupRuleTCP(destination string, enableLogging bool) *SecurityGroupRule
- func NewSecurityGroupRuleUDP(destination string) *SecurityGroupRule
- type SecurityGroupUpdate
- type SecurityGroupsRelationships
- type ServiceBroker
- type ServiceBrokerBasicAuthCredentials
- type ServiceBrokerCreate
- type ServiceBrokerCredentials
- type ServiceBrokerList
- type ServiceBrokerRelationship
- type ServiceBrokerUpdate
- type ServiceCredentialBinding
- type ServiceCredentialBindingCreate
- type ServiceCredentialBindingDetails
- type ServiceCredentialBindingIncludeType
- type ServiceCredentialBindingIncluded
- type ServiceCredentialBindingList
- type ServiceCredentialBindingRelationships
- type ServiceCredentialBindingUpdate
- type ServiceCredentialBindingWithIncluded
- type ServiceInstance
- type ServiceInstanceList
- type ServiceInstanceMaintenanceInfo
- type ServiceInstanceManagedCreate
- type ServiceInstanceManagedUpdate
- func (u *ServiceInstanceManagedUpdate) WithMaintenanceInfo(version, description string) *ServiceInstanceManagedUpdate
- func (u *ServiceInstanceManagedUpdate) WithName(name string) *ServiceInstanceManagedUpdate
- func (u *ServiceInstanceManagedUpdate) WithParameters(parameters json.RawMessage) *ServiceInstanceManagedUpdate
- func (u *ServiceInstanceManagedUpdate) WithServicePlan(servicePlanGUID string) *ServiceInstanceManagedUpdate
- func (u *ServiceInstanceManagedUpdate) WithTags(tags []string) *ServiceInstanceManagedUpdate
- type ServiceInstanceRelationships
- type ServiceInstanceSharedSpaceRelationships
- type ServiceInstanceSpaceUsageSummary
- type ServiceInstanceUsageSummary
- type ServiceInstanceUserPermissions
- type ServiceInstanceUserProvidedCreate
- func (u *ServiceInstanceUserProvidedCreate) WithCredentials(credentials json.RawMessage) *ServiceInstanceUserProvidedCreate
- func (u *ServiceInstanceUserProvidedCreate) WithRouteServiceURL(url string) *ServiceInstanceUserProvidedCreate
- func (u *ServiceInstanceUserProvidedCreate) WithSyslogDrainURL(url string) *ServiceInstanceUserProvidedCreate
- func (u *ServiceInstanceUserProvidedCreate) WithTags(tags []string) *ServiceInstanceUserProvidedCreate
- type ServiceInstanceUserProvidedUpdate
- func (u *ServiceInstanceUserProvidedUpdate) WithCredentials(credentials json.RawMessage) *ServiceInstanceUserProvidedUpdate
- func (u *ServiceInstanceUserProvidedUpdate) WithName(name string) *ServiceInstanceUserProvidedUpdate
- func (u *ServiceInstanceUserProvidedUpdate) WithRouteServiceURL(url string) *ServiceInstanceUserProvidedUpdate
- func (u *ServiceInstanceUserProvidedUpdate) WithSyslogDrainURL(url string) *ServiceInstanceUserProvidedUpdate
- func (u *ServiceInstanceUserProvidedUpdate) WithTags(tags []string) *ServiceInstanceUserProvidedUpdate
- type ServiceOffering
- type ServiceOfferingBrokerCatalog
- type ServiceOfferingFeatures
- type ServiceOfferingList
- type ServiceOfferingUpdate
- type ServicePlan
- type ServicePlanBrokerCatalog
- type ServicePlanCosts
- type ServicePlanFeatures
- type ServicePlanIncludeType
- type ServicePlanIncluded
- type ServicePlanList
- type ServicePlanMaintenanceInfo
- type ServicePlanRelationship
- type ServicePlanSchemaCreateOrUpdate
- type ServicePlanSchemas
- type ServicePlanServiceBinding
- type ServicePlanServiceInstance
- type ServicePlanUpdate
- type ServicePlanVisibility
- type ServicePlanVisibilityRelation
- type ServicePlanVisibilityType
- type ServicePlanWithIncluded
- type ServiceRouteBinding
- type ServiceRouteBindingCreate
- type ServiceRouteBindingIncludeType
- type ServiceRouteBindingIncluded
- type ServiceRouteBindingList
- type ServiceRouteBindingRelationships
- type ServiceRouteBindingUpdate
- type ServiceRouteBindingWithIncluded
- type ServiceUsage
- type ServiceUsageGUIDName
- type ServiceUsageGUIDNameType
- type ServiceUsageList
- type ServicesQuota
- type Sidecar
- type SidecarCreate
- type SidecarList
- type SidecarUpdate
- type Space
- type SpaceCreate
- type SpaceFeature
- type SpaceFeatureUpdate
- type SpaceIncludeType
- type SpaceIncluded
- type SpaceList
- type SpaceQuota
- type SpaceQuotaCreateOrUpdate
- func (s *SpaceQuotaCreateOrUpdate) WithLogRateLimitInBytesPerSecond(mbps int) *SpaceQuotaCreateOrUpdate
- func (s *SpaceQuotaCreateOrUpdate) WithName(name string) *SpaceQuotaCreateOrUpdate
- func (s *SpaceQuotaCreateOrUpdate) WithPaidServicesAllowed(allowed bool) *SpaceQuotaCreateOrUpdate
- func (s *SpaceQuotaCreateOrUpdate) WithPerAppTasks(count int) *SpaceQuotaCreateOrUpdate
- func (s *SpaceQuotaCreateOrUpdate) WithPerProcessMemoryInMB(mb int) *SpaceQuotaCreateOrUpdate
- func (s *SpaceQuotaCreateOrUpdate) WithSpaces(spaceGUIDs ...string) *SpaceQuotaCreateOrUpdate
- func (s *SpaceQuotaCreateOrUpdate) WithTotalInstances(count int) *SpaceQuotaCreateOrUpdate
- func (s *SpaceQuotaCreateOrUpdate) WithTotalMemoryInMB(mb int) *SpaceQuotaCreateOrUpdate
- func (s *SpaceQuotaCreateOrUpdate) WithTotalReservedPorts(count int) *SpaceQuotaCreateOrUpdate
- func (s *SpaceQuotaCreateOrUpdate) WithTotalRoutes(count int) *SpaceQuotaCreateOrUpdate
- func (s *SpaceQuotaCreateOrUpdate) WithTotalServiceInstances(count int) *SpaceQuotaCreateOrUpdate
- func (s *SpaceQuotaCreateOrUpdate) WithTotalServiceKeys(count int) *SpaceQuotaCreateOrUpdate
- type SpaceQuotaList
- type SpaceQuotaRelationships
- type SpaceRelationship
- type SpaceRelationships
- type SpaceRoleType
- type SpaceUpdate
- type SpaceWithIncluded
- type Stack
- type StackCreate
- type StackList
- type StackUpdate
- type Task
- type TaskCreate
- func (t *TaskCreate) WithDiskInMB(mb int) *TaskCreate
- func (t *TaskCreate) WithDropletGUID(dropletGUID string) *TaskCreate
- func (t *TaskCreate) WithLogRateLimitInBytesPerSecond(mbps int) *TaskCreate
- func (t *TaskCreate) WithMemoryInMB(mb int) *TaskCreate
- func (t *TaskCreate) WithName(name string) *TaskCreate
- type TaskList
- type TaskProcess
- type TaskResult
- type TaskTemplate
- type TaskUpdate
- type ToManyRelationships
- type ToOneRelationship
- type Usage
- type UsageSummary
- type User
- type UserCreate
- type UserData
- type UserList
- type UserUpdate
- type V3Root
Constants ¶
const ( IncludeNone = "" IncludeSpaceOrganization = "space.organization" IncludeSpace = "Space" IncludeUser = "user" IncludeOrganization = "organization" IncludeDomain = "domain" IncludeServiceOffering = "service_offering" IncludeApp = "app" IncludeServiceInstance = "service_instance" IncludeRoute = "route" )
Variables ¶
This section is empty.
Functions ¶
func IsAnnotationLimitExceededError ¶
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"
func IsAppBitsCopyInvalidError ¶
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"
func IsAppBitsUploadInvalidError ¶
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"
func IsAppInvalidError ¶
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"
func IsAppMemoryInsufficientForSidecarsError ¶
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."
func IsAppMemoryInvalidError ¶
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."
func IsAppMemoryQuotaExceededError ¶
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"
func IsAppNameTakenError ¶
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"
func IsAppNotFoundError ¶
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"
func IsAppPackageInvalidError ¶
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"
func IsAppPackageNotFoundError ¶
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"
func IsAppPortMappingRequiresDiegoError ¶
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."
func IsAppRecursiveDeleteFailedError ¶
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"
func IsAppResourcesFileModeInvalidError ¶
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"
func IsAppResourcesFilePathInvalidError ¶
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"
func IsAppStoppedStatsError ¶
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"
func IsAssociationNotEmptyError ¶
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."
func IsAsyncServiceBindingOperationInProgressError ¶
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."
func IsAsyncServiceInstanceOperationInProgressError ¶
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."
func IsBackendSelectionNotAuthorizedError ¶
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"
func IsBadQueryParameterError ¶
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"
func IsBadRequestError ¶
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"
func IsBlobstoreError ¶
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."
func IsBlobstoreNotLocalError ¶
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."
func IsBlobstoreUnavailableError ¶
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."
func IsBuildpackBitsUploadInvalidError ¶
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"
func IsBuildpackCompileFailedError ¶
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"
func IsBuildpackInvalidError ¶
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"
func IsBuildpackLockedError ¶
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"
func IsBuildpackNameStackTakenError ¶
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"
func IsBuildpackNameTakenError ¶
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"
func IsBuildpackReleaseFailedError ¶
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"
func IsBuildpackStackDoesNotExistError ¶
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"
func IsBuildpackStacksDontMatchError ¶
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"
func IsBuildpackZipError ¶
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"
func IsCustomBuildpacksDisabledError ¶
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"
func IsDatabaseError ¶
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"
func IsDeploymentsDisabledError ¶
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'"
func IsDiegoDisabledError ¶
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."
func IsDiegoDockerBuildpackConflictError ¶
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."
func IsDockerAppToDeaError ¶
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"
func IsDockerDisabledError ¶
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."
func IsDockerImageMissingError ¶
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'"
func IsDomainInvalidError ¶
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"
func IsDomainNameTakenError ¶
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"
func IsDomainNotFoundError ¶
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"
func IsDropletUploadInvalidError ¶
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"
func IsEiriniLRPError ¶
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'"
func IsEnvironmentVariableGroupInvalidError ¶
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"
func IsEventNotFoundError ¶
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"
func IsFeatureDisabledError ¶
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"
func IsFeatureFlagInvalidError ¶
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"
func IsFeatureFlagNotFoundError ¶
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"
func IsFileError ¶
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"
func IsFrameworkInvalidError ¶
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"
func IsFrameworkNameTakenError ¶
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"
func IsFrameworkNotFoundError ¶
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"
func IsIPBasedRateLimitExceededError ¶
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. Please log in."
func IsInstancesError ¶
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"
func IsInstancesUnavailableError ¶
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"
func IsInsufficientResourcesError ¶
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"
func IsInsufficientRunningResourcesAvailableError ¶
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."
func IsInsufficientScopeError ¶
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."
func IsInternalDomainCannotBeDeletedError ¶
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. It is reserved by the platform."
func IsInvalidAuthTokenError ¶
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"
func IsInvalidContentTypeError ¶
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"
func IsInvalidLoggingServiceBindingError ¶
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. Please contact the service provider."
func IsInvalidRelationError ¶
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"
func IsInvalidRequestError ¶
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"
func IsInvalidTaskAddressError ¶
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"
func IsInvalidTaskRequestError ¶
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"
func IsJobTimeoutError ¶
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."
func IsKpackBuilderError ¶
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'"
func IsKpackImageError ¶
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'"
func IsKubernetesRouteResourceError ¶
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"
func IsLabelLimitExceededError ¶
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"
func IsLastBillingManagerInOrgError ¶
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"
func IsLastManagerInOrgError ¶
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"
func IsLastUserInOrgError ¶
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"
func IsLegacyApiWithoutDefaultSpaceError ¶
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."
func IsMaintenanceInfoConflictError ¶
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. Please ensure the catalog is up to date and you are providing a version supported by this service plan."
func IsMaintenanceInfoNotSemverError ¶
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."
func IsMaintenanceInfoNotSupportedError ¶
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."
func IsMaintenanceInfoNotUpdatableWhenChangingPlanError ¶
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."
func IsManagedServiceInstanceNotFoundError ¶
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"
func IsMessageParseError ¶
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"
func IsMultipleAppPortsMappedDiegoToDeaError ¶
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. Multiple ports are supported for Diego only. Please unmap routes from all but one app port. Multiple routes can be mapped to the same port if desired."
func IsNoAppDetectedError ¶
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"
func IsNoBuildpacksFoundError ¶
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"
func IsNoCompatibleCellError ¶
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"
func IsNoCurrentEncryptionKeyError ¶
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’"
func IsNonrecursiveSpaceDeletionFailedError ¶
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."
func IsNotAuthenticatedError ¶
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"
func IsNotAuthorizedError ¶
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"
func IsNotFoundError ¶
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"
func IsNotStagedError ¶
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"
func IsOrderByParameterInvalidError ¶
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"
func IsOrgQuotaLogRateLimitExceededError ¶
IsOrgQuotaLogRateLimitExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 100010 - HTTP code: 400 - message: "You have exceeded your organization's log rate limit: %s"
func IsOrgQuotaTotalReservedRoutePortsExceededError ¶
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."
func IsOrgQuotaTotalRoutesExceededError ¶
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."
func IsOrgSuspendedError ¶
IsOrgSuspendedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 10017 - HTTP code: 403 - message: "The organization is suspended"
func IsOrganizationAlreadySetError ¶
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"
func IsOrganizationDeleteTimeoutError ¶
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"
func IsOrganizationDeletionFailedError ¶
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"
func IsOrganizationInvalidError ¶
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"
func IsOrganizationNameTakenError ¶
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"
func IsOrganizationNotFoundError ¶
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"
func IsOrganizationRolesDeletionFailedError ¶
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"
func IsOutOfRouterGroupPortsError ¶
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. Please contact your administrator for more information."
func IsPackageBitsAlreadyUploadedError ¶
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. Create a new package to upload different bits."
func IsPathInvalidError ¶
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"
func IsPreviouslyUsedAs_ServiceInstancePaidQuotaExceededError ¶
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."
func IsProcessInvalidError ¶
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"
func IsProcessNotFoundError ¶
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"
func IsProcessUpdateDisabledDuringDeploymentError ¶
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."
func IsQuotaDefinitionInvalidError ¶
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"
func IsQuotaDefinitionMemoryLimitInvalidError ¶
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"
func IsQuotaDefinitionNameTakenError ¶
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"
func IsQuotaDefinitionNotFoundError ¶
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"
func IsQuotaInstanceLimitExceededError ¶
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."
func IsQuotaInstanceMemoryLimitExceededError ¶
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."
func IsRateLimitExceededError ¶
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"
func IsRateLimitV2APIExceededError ¶
IsRateLimitV2APIExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 10018 - HTTP code: 429 - message: "Rate Limit of V2 API Exceeded. Please consider using the V3 API"
func IsResourceNotFoundError ¶
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"
func IsRevisionsEnabledError ¶
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"
func IsRouteAlreadyBoundToServiceInstanceError ¶
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"
func IsRouteHostTakenError ¶
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"
func IsRouteInvalidError ¶
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"
func IsRouteMappingNotFoundError ¶
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"
func IsRouteMappingTakenError ¶
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"
func IsRouteNotFoundError ¶
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"
func IsRoutePathTakenError ¶
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"
func IsRoutePortNotEnabledOnAppError ¶
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."
func IsRoutePortTakenError ¶
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"
func IsRouteServiceCannotBeBoundToInternalRouteError ¶
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."
func IsRouterGroupNotFoundError ¶
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"
func IsRoutingApiDisabledError ¶
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"
func IsRoutingApiUnavailableError ¶
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"
func IsRunnerError ¶
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"
func IsRunnerInvalidRequestError ¶
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"
func IsRunnerUnavailableError ¶
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"
func IsRuntimeInvalidError ¶
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"
func IsRuntimeNameTakenError ¶
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"
func IsRuntimeNotFoundError ¶
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"
func IsSDSNotAvailableError ¶
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"
func IsScaleDisabledDuringDeploymentError ¶
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."
func IsSecurityGroupInvalidError ¶
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"
func IsSecurityGroupNameTakenError ¶
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"
func IsSecurityGroupNotFoundError ¶
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"
func IsSecurityGroupRunningDefaultInvalidError ¶
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"
func IsSecurityGroupStagingDefaultInvalidError ¶
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"
func IsServerError ¶
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"
func IsServiceBindingAppServiceTakenError ¶
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"
func IsServiceBindingDifferentSpacesError ¶
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"
func IsServiceBindingInvalidError ¶
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"
func IsServiceBindingNotFoundError ¶
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"
func IsServiceBrokerAsyncRequiredError ¶
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."
func IsServiceBrokerCatalogIncompatibleError ¶
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"
func IsServiceBrokerCatalogInvalidError ¶
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"
func IsServiceBrokerConcurrencyError ¶
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"
func IsServiceBrokerDashboardClientFailureError ¶
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"
func IsServiceBrokerInvalidError ¶
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"
func IsServiceBrokerNameTakenError ¶
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"
func IsServiceBrokerNotFoundError ¶
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"
func IsServiceBrokerNotRemovableError ¶
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"
func IsServiceBrokerRateLimitExceededError ¶
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"
func IsServiceBrokerRequestMalformedError ¶
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. Please check that the URL points to a valid service broker."
func IsServiceBrokerRequestRejectedError ¶
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. Status Code: %s. Please check that the URL points to a valid service broker."
func IsServiceBrokerRespondedAsyncWhenNotAllowedError ¶
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."
func IsServiceBrokerSyncFailedError ¶
IsServiceBrokerSyncFailedError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 270022 - HTTP code: 502 - message: "Encountered an error while attempting to sync cloud controller with the service broker's catalog: %s"
func IsServiceBrokerURLBasicAuthNotSupportedError ¶
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"
func IsServiceBrokerURLInvalidError ¶
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"
func IsServiceBrokerURLTakenError ¶
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"
func IsServiceDashboardClientMissingURLError ¶
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"
func IsServiceDoesNotSupportRoutesError ¶
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."
func IsServiceFetchBindingParametersNotSupportedError ¶
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."
func IsServiceFetchInstanceParametersNotSupportedError ¶
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."
func IsServiceGatewayError ¶
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"
func IsServiceInstanceAlreadyBoundToSameRouteError ¶
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."
func IsServiceInstanceDeletionSharesExistsError ¶
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. Unsharing %s will automatically delete any bindings that have been made to applications in other spaces."
func IsServiceInstanceDeprovisionFailedError ¶
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"
func IsServiceInstanceDuplicateNotAllowedError ¶
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. Some services only support one instance per space."
func IsServiceInstanceInvalidError ¶
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"
func IsServiceInstanceNameEmptyError ¶
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."
func IsServiceInstanceNameTakenError ¶
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"
func IsServiceInstanceNameTooLongError ¶
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. Names are limited to 255 characters."
func IsServiceInstanceNotFoundError ¶
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"
func IsServiceInstanceOrganizationNotAuthorizedError ¶
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. The plan is visible because another organization you belong to has access to it."
func IsServiceInstanceProvisionFailedError ¶
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"
func IsServiceInstanceQuotaExceededError ¶
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."
func IsServiceInstanceRecursiveDeleteFailedError ¶
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"
func IsServiceInstanceRouteBindingSpaceMismatchError ¶
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."
func IsServiceInstanceRouteServiceDisabledError ¶
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"
func IsServiceInstanceRouteServiceRequiresDiegoError ¶
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. Unbind the service instance from the route or enable Diego for the app."
func IsServiceInstanceRouteServiceURLInvalidError ¶
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"
func IsServiceInstanceServicePlanNotAllowedBySpaceQuotaError ¶
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."
func IsServiceInstanceServicePlanNotAllowedError ¶
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."
func IsServiceInstanceSpaceChangeNotAllowedError ¶
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."
func IsServiceInstanceSpaceNotAuthorizedError ¶
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."
func IsServiceInstanceSpaceQuotaExceededError ¶
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."
func IsServiceInstanceTagsTooLongError ¶
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."
func IsServiceInstanceUnshareFailedError ¶
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"
func IsServiceInstanceWithInaccessiblePlanNotUpdateableError ¶
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"
func IsServiceInvalidError ¶
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"
func IsServiceKeyCredentialStoreUnavailableError ¶
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"
func IsServiceKeyInvalidError ¶
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"
func IsServiceKeyNameTakenError ¶
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"
func IsServiceKeyNotFoundError ¶
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"
func IsServiceKeyNotSupportedError ¶
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"
func IsServiceLabelTakenError ¶
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"
func IsServiceNotFoundError ¶
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"
func IsServiceNotImplementedError ¶
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"
func IsServicePlanInvalidError ¶
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"
func IsServicePlanNameTakenError ¶
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"
func IsServicePlanNotFoundError ¶
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"
func IsServicePlanNotUpdateableError ¶
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."
func IsServicePlanVisibilityAlreadyExistsError ¶
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"
func IsServicePlanVisibilityInvalidError ¶
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"
func IsServicePlanVisibilityNotFoundError ¶
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"
func IsServiceUnavailableError ¶
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"
func IsSharedServiceInstanceCannotBeRenamedError ¶
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"
func IsSharedServiceInstanceNotDeletableInTargetSpaceError ¶
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"
func IsSharedServiceInstanceNotUpdatableInTargetSpaceError ¶
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"
func IsSpaceDeleteTimeoutError ¶
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"
func IsSpaceDeletionFailedError ¶
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"
func IsSpaceInvalidError ¶
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"
func IsSpaceNameTakenError ¶
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"
func IsSpaceNotFoundError ¶
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"
func IsSpaceQuotaDefinitionInvalidError ¶
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"
func IsSpaceQuotaDefinitionNameTakenError ¶
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"
func IsSpaceQuotaDefinitionNotFoundError ¶
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"
func IsSpaceQuotaInstanceLimitExceededError ¶
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."
func IsSpaceQuotaInstanceMemoryLimitExceededError ¶
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."
func IsSpaceQuotaLogRateLimitExceededError ¶
IsSpaceQuotaLogRateLimitExceededError returns a boolean indicating whether the error is known to report the Cloud Foundry error: - Cloud Foundry code: 310011 - HTTP code: 400 - message: "You have exceeded your space's log rate limit: %s"
func IsSpaceQuotaMemoryLimitExceededError ¶
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"
func IsSpaceQuotaTotalReservedRoutePortsExceededError ¶
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."
func IsSpaceQuotaTotalRoutesExceededError ¶
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."
func IsSpaceRolesDeletionFailedError ¶
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"
func IsSpaceRolesDeletionTimeoutError ¶
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"
func IsSpaceUserNotInOrgError ¶
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"
func IsStackInvalidError ¶
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"
func IsStackNameTakenError ¶
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"
func IsStackNotFoundError ¶
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"
func IsStagerError ¶
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"
func IsStagerUnavailableError ¶
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"
func IsStagingBackendInvalidError ¶
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."
func IsStagingError ¶
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"
func IsStagingInProgressError ¶
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."
func IsStagingTimeExpiredError ¶
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"
func IsStatsError ¶
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"
func IsStatsUnavailableError ¶
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"
func IsStopDisabledDuringDeploymentError ¶
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."
func IsTaskError ¶
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"
func IsTaskWorkersUnavailableError ¶
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"
func IsTotalPrivateDomainsExceededError ¶
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"
func IsUAAEndpointDisabledError ¶
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"
func IsUAAIDTakenError ¶
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"
func IsUAAUnavailableError ¶
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"
func IsUnableToDeleteError ¶
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"
func IsUnableToPerformError ¶
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"
func IsUnbindableServiceError ¶
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."
func IsUnprocessableEntityError ¶
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"
func IsUserInvalidError ¶
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"
func IsUserIsInMultipleOriginsError ¶
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. Specify an origin for the requested user from: %s"
func IsUserNotFoundError ¶
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"
func IsUserProvidedServiceInstanceHandlerNeededError ¶
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."
func IsUserProvidedServiceInstanceNotFoundError ¶
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"
func IsUserWithOriginNotFoundError ¶
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"
func IsVolumeMountServiceDisabledError ¶
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"
Types ¶
type AppCreate ¶
type AppCreate struct { Name string `json:"name"` Relationships SpaceRelationship `json:"relationships"` EnvironmentVariables map[string]string `json:"environment_variables,omitempty"` Lifecycle *Lifecycle `json:"lifecycle,omitempty"` Metadata *Metadata `json:"metadata,omitempty"` }
func NewAppCreate ¶
type AppEnvironment ¶
type AppEnvironment struct { EnvVars map[string]string `json:"environment_variables,omitempty"` StagingEnv map[string]string `json:"staging_env_json,omitempty"` RunningEnv map[string]string `json:"running_env_json,omitempty"` SystemEnvVars map[string]json.RawMessage `json:"system_env_json,omitempty"` // VCAP_SERVICES AppEnvVars map[string]json.RawMessage `json:"application_env_json,omitempty"` // VCAP_APPLICATION }
func (*AppEnvironment) UnmarshalJSON ¶
func (f *AppEnvironment) UnmarshalJSON(b []byte) error
type AppFeature ¶
type AppFeatureList ¶
type AppFeatureList struct { Pagination Pagination `json:"pagination"` Resources []*AppFeature `json:"resources"` }
type AppFeatureUpdate ¶
type AppFeatureUpdate struct {
Enabled bool `json:"enabled"`
}
type AppIncludeType ¶
type AppIncludeType int
AppIncludeType https://v3-apidocs.cloudfoundry.org/version/3.126.0/index.html#include
const ( AppIncludeNone AppIncludeType = iota AppIncludeSpace AppIncludeSpaceOrganization )
func (AppIncludeType) String ¶
func (a AppIncludeType) String() string
type AppIncluded ¶
type AppIncluded struct { Organizations []*Organization `json:"organizations"` Spaces []*Space `json:"spaces"` }
type AppList ¶
type AppList struct { Pagination Pagination `json:"pagination"` Resources []*App `json:"resources"` Included *AppIncluded `json:"included"` }
type AppPermissions ¶
type AppRelationship ¶
type AppRelationship struct {
App ToOneRelationship `json:"app"`
}
type AppSSHEnabled ¶
type AppUsage ¶
type AppUsage struct { // the app that this event pertains to, if applicable App AppUsageGUIDName `json:"app"` // the process that this event pertains to, if applicable Process AppUsageGUIDType `json:"process"` // the space that this event pertains to, if applicable Space AppUsageGUIDName `json:"space"` // the organization that this event pertains to, if applicable Organization Relationship `json:"organization"` // the buildpack that this event pertains to, if applicable Buildpack AppUsageGUIDName `json:"buildpack"` // the task that this event pertains to, if applicable Task AppUsageGUIDName `json:"task"` // state of the app that this event pertains to, if applicable State AppUsageCurrentPreviousString `json:"state"` // memory in MB of the app that this event pertains to, if applicable MemoryInMbPerInstance AppUsageCurrentPreviousInt `json:"memory_in_mb_per_instance"` // instance count of the app that this event pertains to, if applicable InstanceCount AppUsageCurrentPreviousInt `json:"instance_count"` Resource `json:",inline"` }
type AppUsageGUIDName ¶
type AppUsageGUIDType ¶
type AppUsageList ¶
type AppUsageList struct { Pagination Pagination `json:"pagination"` Resources []*AppUsage `json:"resources"` }
type AppWithIncluded ¶
type AppWithIncluded struct { App Included *AppIncluded `json:"included"` }
type AppsQuota ¶
type AppsQuota struct { // The collective memory allocation permitted for all initiated processes and active tasks. TotalMemoryInMB *int `json:"total_memory_in_mb"` // The upper limit for memory allocation per individual process or task. PerProcessMemoryInMB *int `json:"per_process_memory_in_mb"` // The cumulative log rate limit permitted for all initiated processes and active tasks. LogRateLimitInBytesPerSecond *int `json:"log_rate_limit_in_bytes_per_second"` // The maximum allowable total instances of all started processes. TotalInstances *int `json:"total_instances"` // The maximum limit for the number of tasks currently running. PerAppTasks *int `json:"per_app_tasks"` }
type AuditEvent ¶
type AuditEvent struct { Type string `json:"type"` Actor AuditEventRelatedObject `json:"actor"` Target AuditEventRelatedObject `json:"target"` Data *json.RawMessage `json:"data"` Space Relationship `json:"space"` Organization Relationship `json:"organization"` Resource `json:",inline"` }
type AuditEventList ¶
type AuditEventList struct { Pagination Pagination `json:"pagination"` Resources []*AuditEvent `json:"resources"` }
type AuditEventRelatedObject ¶
type BitsOrDockerPackage ¶
type BitsOrDockerPackage struct { Bits *BitsPackage Docker *DockerPackage }
type BitsPackage ¶
type BitsPackage struct { Error *string `json:"error"` Checksum BitsPackageChecksum `json:"checksum"` }
BitsPackage is the data for Packages of type bits. It provides an upload link to which a zip file should be uploaded.
type BitsPackageChecksum ¶
type Build ¶
type Build struct { State BuildState `json:"state"` Error *string `json:"error"` StagingMemoryInMB int `json:"staging_memory_in_mb"` StagingDiskInMB int `json:"staging_disk_in_mb"` StagingLogRateLimitBytesPerSecond int `json:"staging_log_rate_limit_bytes_per_second"` Lifecycle Lifecycle `json:"lifecycle"` Package Relationship `json:"package"` Droplet *Relationship `json:"droplet"` CreatedBy CreatedBy `json:"created_by"` Relationships AppRelationship `json:"relationships"` Metadata *Metadata `json:"metadata"` Resource `json:",inline"` }
type BuildCreate ¶
type BuildCreate struct { Package Relationship `json:"package"` Lifecycle *Lifecycle `json:"lifecycle,omitempty"` StagingMemoryInMB int `json:"staging_memory_in_mb,omitempty"` StagingDiskInMB int `json:"staging_disk_in_mb,omitempty"` StagingLogRateLimitBytesPerSecond int `json:"staging_log_rate_limit_bytes_per_second,omitempty"` Metadata *Metadata `json:"metadata,omitempty"` }
func NewBuildCreate ¶
func NewBuildCreate(packageGUID string) *BuildCreate
type BuildList ¶
type BuildList struct { Pagination Pagination `json:"pagination"` Resources []*Build `json:"resources"` }
type BuildState ¶
type BuildState string
const ( BuildStateStaging BuildState = "STAGING" BuildStateStaged BuildState = "STAGED" BuildStateFailed BuildState = "FAILED" )
The 3 lifecycle states
const ( DropletStateAwaitingUpload BuildState = "AWAITING_UPLOAD" DropletStateProcessingUpload BuildState = "PROCESSING_UPLOAD" DropletStateStaged BuildState = "STAGED" DropletStateCopying BuildState = "COPYING" DropletStateFailed BuildState = "FAILED" DropletStateExpired BuildState = "EXPIRED" )
The 3 lifecycle states
func (BuildState) String ¶
func (b BuildState) String() string
type BuildUpdate ¶
type BuildUpdate struct {
Metadata *Metadata `json:"metadata,omitempty"`
}
func NewBuildUpdate ¶
func NewBuildUpdate() *BuildUpdate
type Buildpack ¶
type Buildpack struct { Name string `json:"name"` // The name of the buildpack; to be used by app buildpack field (only alphanumeric characters) State string `json:"state"` // The state of the buildpack Valid value is: AWAITING_UPLOAD Filename *string `json:"filename"` // The filename of the buildpack, if any Stack *string `json:"stack"` // The name of the stack that the buildpack will use Position int `json:"position"` // The order in which the buildpacks are checked during buildpack auto-detection Enabled bool `json:"enabled"` // Whether the buildpack can be used for staging Locked bool `json:"locked"` // Whether the buildpack is locked to prevent updating the bits Metadata *Metadata `json:"metadata"` Resource `json:",inline"` }
type BuildpackCreateOrUpdate ¶
type BuildpackCreateOrUpdate struct { Name *string `json:"name,omitempty"` // The name of the buildpack; to be used by app buildpack field (only alphanumeric characters) Position *int `json:"position,omitempty"` // The order in which the buildpacks are checked during buildpack auto-detection Enabled *bool `json:"enabled,omitempty"` // Whether the buildpack can be used for staging Locked *bool `json:"locked,omitempty"` // Whether the buildpack is locked to prevent updating the bits Stack *string `json:"stack"` // The name of the stack that the buildpack will use Metadata *Metadata `json:"metadata,omitempty"` }
func NewBuildpackCreate ¶
func NewBuildpackCreate(name string) *BuildpackCreateOrUpdate
func NewBuildpackUpdate ¶
func NewBuildpackUpdate() *BuildpackCreateOrUpdate
func (*BuildpackCreateOrUpdate) WithEnabled ¶
func (bp *BuildpackCreateOrUpdate) WithEnabled(enabled bool) *BuildpackCreateOrUpdate
func (*BuildpackCreateOrUpdate) WithLocked ¶
func (bp *BuildpackCreateOrUpdate) WithLocked(locked bool) *BuildpackCreateOrUpdate
func (*BuildpackCreateOrUpdate) WithName ¶
func (bp *BuildpackCreateOrUpdate) WithName(name string) *BuildpackCreateOrUpdate
func (*BuildpackCreateOrUpdate) WithPosition ¶
func (bp *BuildpackCreateOrUpdate) WithPosition(position int) *BuildpackCreateOrUpdate
func (*BuildpackCreateOrUpdate) WithStack ¶
func (bp *BuildpackCreateOrUpdate) WithStack(stack string) *BuildpackCreateOrUpdate
type BuildpackLifecycle ¶
type BuildpackList ¶
type BuildpackList struct { Pagination Pagination `json:"pagination"` Resources []*Buildpack `json:"resources"` }
type CloudFoundryError ¶
type CloudFoundryError struct { Code int `json:"code"` Title string `json:"title"` Detail string `json:"detail"` }
func NewAnnotationLimitExceededError ¶
func NewAnnotationLimitExceededError() CloudFoundryError
NewAnnotationLimitExceededError returns a new CloudFoundryError that IsAnnotationLimitExceededError will return true for
func NewAppBitsCopyInvalidError ¶
func NewAppBitsCopyInvalidError() CloudFoundryError
NewAppBitsCopyInvalidError returns a new CloudFoundryError that IsAppBitsCopyInvalidError will return true for
func NewAppBitsUploadInvalidError ¶
func NewAppBitsUploadInvalidError() CloudFoundryError
NewAppBitsUploadInvalidError returns a new CloudFoundryError that IsAppBitsUploadInvalidError will return true for
func NewAppInvalidError ¶
func NewAppInvalidError() CloudFoundryError
NewAppInvalidError returns a new CloudFoundryError that IsAppInvalidError will return true for
func NewAppMemoryInsufficientForSidecarsError ¶
func NewAppMemoryInsufficientForSidecarsError() CloudFoundryError
NewAppMemoryInsufficientForSidecarsError returns a new CloudFoundryError that IsAppMemoryInsufficientForSidecarsError will return true for
func NewAppMemoryInvalidError ¶
func NewAppMemoryInvalidError() CloudFoundryError
NewAppMemoryInvalidError returns a new CloudFoundryError that IsAppMemoryInvalidError will return true for
func NewAppMemoryQuotaExceededError ¶
func NewAppMemoryQuotaExceededError() CloudFoundryError
NewAppMemoryQuotaExceededError returns a new CloudFoundryError that IsAppMemoryQuotaExceededError will return true for
func NewAppNameTakenError ¶
func NewAppNameTakenError() CloudFoundryError
NewAppNameTakenError returns a new CloudFoundryError that IsAppNameTakenError will return true for
func NewAppNotFoundError ¶
func NewAppNotFoundError() CloudFoundryError
NewAppNotFoundError returns a new CloudFoundryError that IsAppNotFoundError will return true for
func NewAppPackageInvalidError ¶
func NewAppPackageInvalidError() CloudFoundryError
NewAppPackageInvalidError returns a new CloudFoundryError that IsAppPackageInvalidError will return true for
func NewAppPackageNotFoundError ¶
func NewAppPackageNotFoundError() CloudFoundryError
NewAppPackageNotFoundError returns a new CloudFoundryError that IsAppPackageNotFoundError will return true for
func NewAppPortMappingRequiresDiegoError ¶
func NewAppPortMappingRequiresDiegoError() CloudFoundryError
NewAppPortMappingRequiresDiegoError returns a new CloudFoundryError that IsAppPortMappingRequiresDiegoError will return true for
func NewAppRecursiveDeleteFailedError ¶
func NewAppRecursiveDeleteFailedError() CloudFoundryError
NewAppRecursiveDeleteFailedError returns a new CloudFoundryError that IsAppRecursiveDeleteFailedError will return true for
func NewAppResourcesFileModeInvalidError ¶
func NewAppResourcesFileModeInvalidError() CloudFoundryError
NewAppResourcesFileModeInvalidError returns a new CloudFoundryError that IsAppResourcesFileModeInvalidError will return true for
func NewAppResourcesFilePathInvalidError ¶
func NewAppResourcesFilePathInvalidError() CloudFoundryError
NewAppResourcesFilePathInvalidError returns a new CloudFoundryError that IsAppResourcesFilePathInvalidError will return true for
func NewAppStoppedStatsError ¶
func NewAppStoppedStatsError() CloudFoundryError
NewAppStoppedStatsError returns a new CloudFoundryError that IsAppStoppedStatsError will return true for
func NewAssociationNotEmptyError ¶
func NewAssociationNotEmptyError() CloudFoundryError
NewAssociationNotEmptyError returns a new CloudFoundryError that IsAssociationNotEmptyError will return true for
func NewAsyncServiceBindingOperationInProgressError ¶
func NewAsyncServiceBindingOperationInProgressError() CloudFoundryError
NewAsyncServiceBindingOperationInProgressError returns a new CloudFoundryError that IsAsyncServiceBindingOperationInProgressError will return true for
func NewAsyncServiceInstanceOperationInProgressError ¶
func NewAsyncServiceInstanceOperationInProgressError() CloudFoundryError
NewAsyncServiceInstanceOperationInProgressError returns a new CloudFoundryError that IsAsyncServiceInstanceOperationInProgressError will return true for
func NewBackendSelectionNotAuthorizedError ¶
func NewBackendSelectionNotAuthorizedError() CloudFoundryError
NewBackendSelectionNotAuthorizedError returns a new CloudFoundryError that IsBackendSelectionNotAuthorizedError will return true for
func NewBadQueryParameterError ¶
func NewBadQueryParameterError() CloudFoundryError
NewBadQueryParameterError returns a new CloudFoundryError that IsBadQueryParameterError will return true for
func NewBadRequestError ¶
func NewBadRequestError() CloudFoundryError
NewBadRequestError returns a new CloudFoundryError that IsBadRequestError will return true for
func NewBlobstoreError ¶
func NewBlobstoreError() CloudFoundryError
NewBlobstoreError returns a new CloudFoundryError that IsBlobstoreError will return true for
func NewBlobstoreNotLocalError ¶
func NewBlobstoreNotLocalError() CloudFoundryError
NewBlobstoreNotLocalError returns a new CloudFoundryError that IsBlobstoreNotLocalError will return true for
func NewBlobstoreUnavailableError ¶
func NewBlobstoreUnavailableError() CloudFoundryError
NewBlobstoreUnavailableError returns a new CloudFoundryError that IsBlobstoreUnavailableError will return true for
func NewBuildpackBitsUploadInvalidError ¶
func NewBuildpackBitsUploadInvalidError() CloudFoundryError
NewBuildpackBitsUploadInvalidError returns a new CloudFoundryError that IsBuildpackBitsUploadInvalidError will return true for
func NewBuildpackCompileFailedError ¶
func NewBuildpackCompileFailedError() CloudFoundryError
NewBuildpackCompileFailedError returns a new CloudFoundryError that IsBuildpackCompileFailedError will return true for
func NewBuildpackInvalidError ¶
func NewBuildpackInvalidError() CloudFoundryError
NewBuildpackInvalidError returns a new CloudFoundryError that IsBuildpackInvalidError will return true for
func NewBuildpackLockedError ¶
func NewBuildpackLockedError() CloudFoundryError
NewBuildpackLockedError returns a new CloudFoundryError that IsBuildpackLockedError will return true for
func NewBuildpackNameStackTakenError ¶
func NewBuildpackNameStackTakenError() CloudFoundryError
NewBuildpackNameStackTakenError returns a new CloudFoundryError that IsBuildpackNameStackTakenError will return true for
func NewBuildpackNameTakenError ¶
func NewBuildpackNameTakenError() CloudFoundryError
NewBuildpackNameTakenError returns a new CloudFoundryError that IsBuildpackNameTakenError will return true for
func NewBuildpackReleaseFailedError ¶
func NewBuildpackReleaseFailedError() CloudFoundryError
NewBuildpackReleaseFailedError returns a new CloudFoundryError that IsBuildpackReleaseFailedError will return true for
func NewBuildpackStackDoesNotExistError ¶
func NewBuildpackStackDoesNotExistError() CloudFoundryError
NewBuildpackStackDoesNotExistError returns a new CloudFoundryError that IsBuildpackStackDoesNotExistError will return true for
func NewBuildpackStacksDontMatchError ¶
func NewBuildpackStacksDontMatchError() CloudFoundryError
NewBuildpackStacksDontMatchError returns a new CloudFoundryError that IsBuildpackStacksDontMatchError will return true for
func NewBuildpackZipError ¶
func NewBuildpackZipError() CloudFoundryError
NewBuildpackZipError returns a new CloudFoundryError that IsBuildpackZipError will return true for
func NewCustomBuildpacksDisabledError ¶
func NewCustomBuildpacksDisabledError() CloudFoundryError
NewCustomBuildpacksDisabledError returns a new CloudFoundryError that IsCustomBuildpacksDisabledError will return true for
func NewDatabaseError ¶
func NewDatabaseError() CloudFoundryError
NewDatabaseError returns a new CloudFoundryError that IsDatabaseError will return true for
func NewDeploymentsDisabledError ¶
func NewDeploymentsDisabledError() CloudFoundryError
NewDeploymentsDisabledError returns a new CloudFoundryError that IsDeploymentsDisabledError will return true for
func NewDiegoDisabledError ¶
func NewDiegoDisabledError() CloudFoundryError
NewDiegoDisabledError returns a new CloudFoundryError that IsDiegoDisabledError will return true for
func NewDiegoDockerBuildpackConflictError ¶
func NewDiegoDockerBuildpackConflictError() CloudFoundryError
NewDiegoDockerBuildpackConflictError returns a new CloudFoundryError that IsDiegoDockerBuildpackConflictError will return true for
func NewDockerAppToDeaError ¶
func NewDockerAppToDeaError() CloudFoundryError
NewDockerAppToDeaError returns a new CloudFoundryError that IsDockerAppToDeaError will return true for
func NewDockerDisabledError ¶
func NewDockerDisabledError() CloudFoundryError
NewDockerDisabledError returns a new CloudFoundryError that IsDockerDisabledError will return true for
func NewDockerImageMissingError ¶
func NewDockerImageMissingError() CloudFoundryError
NewDockerImageMissingError returns a new CloudFoundryError that IsDockerImageMissingError will return true for
func NewDomainInvalidError ¶
func NewDomainInvalidError() CloudFoundryError
NewDomainInvalidError returns a new CloudFoundryError that IsDomainInvalidError will return true for
func NewDomainNameTakenError ¶
func NewDomainNameTakenError() CloudFoundryError
NewDomainNameTakenError returns a new CloudFoundryError that IsDomainNameTakenError will return true for
func NewDomainNotFoundError ¶
func NewDomainNotFoundError() CloudFoundryError
NewDomainNotFoundError returns a new CloudFoundryError that IsDomainNotFoundError will return true for
func NewDropletUploadInvalidError ¶
func NewDropletUploadInvalidError() CloudFoundryError
NewDropletUploadInvalidError returns a new CloudFoundryError that IsDropletUploadInvalidError will return true for
func NewEiriniLRPError ¶
func NewEiriniLRPError() CloudFoundryError
NewEiriniLRPError returns a new CloudFoundryError that IsEiriniLRPError will return true for
func NewEnvironmentVariableGroupInvalidError ¶
func NewEnvironmentVariableGroupInvalidError() CloudFoundryError
NewEnvironmentVariableGroupInvalidError returns a new CloudFoundryError that IsEnvironmentVariableGroupInvalidError will return true for
func NewEventNotFoundError ¶
func NewEventNotFoundError() CloudFoundryError
NewEventNotFoundError returns a new CloudFoundryError that IsEventNotFoundError will return true for
func NewFeatureDisabledError ¶
func NewFeatureDisabledError() CloudFoundryError
NewFeatureDisabledError returns a new CloudFoundryError that IsFeatureDisabledError will return true for
func NewFeatureFlagInvalidError ¶
func NewFeatureFlagInvalidError() CloudFoundryError
NewFeatureFlagInvalidError returns a new CloudFoundryError that IsFeatureFlagInvalidError will return true for
func NewFeatureFlagNotFoundError ¶
func NewFeatureFlagNotFoundError() CloudFoundryError
NewFeatureFlagNotFoundError returns a new CloudFoundryError that IsFeatureFlagNotFoundError will return true for
func NewFileError ¶
func NewFileError() CloudFoundryError
NewFileError returns a new CloudFoundryError that IsFileError will return true for
func NewFrameworkInvalidError ¶
func NewFrameworkInvalidError() CloudFoundryError
NewFrameworkInvalidError returns a new CloudFoundryError that IsFrameworkInvalidError will return true for
func NewFrameworkNameTakenError ¶
func NewFrameworkNameTakenError() CloudFoundryError
NewFrameworkNameTakenError returns a new CloudFoundryError that IsFrameworkNameTakenError will return true for
func NewFrameworkNotFoundError ¶
func NewFrameworkNotFoundError() CloudFoundryError
NewFrameworkNotFoundError returns a new CloudFoundryError that IsFrameworkNotFoundError will return true for
func NewIPBasedRateLimitExceededError ¶
func NewIPBasedRateLimitExceededError() CloudFoundryError
NewIPBasedRateLimitExceededError returns a new CloudFoundryError that IsIPBasedRateLimitExceededError will return true for
func NewInstancesError ¶
func NewInstancesError() CloudFoundryError
NewInstancesError returns a new CloudFoundryError that IsInstancesError will return true for
func NewInstancesUnavailableError ¶
func NewInstancesUnavailableError() CloudFoundryError
NewInstancesUnavailableError returns a new CloudFoundryError that IsInstancesUnavailableError will return true for
func NewInsufficientResourcesError ¶
func NewInsufficientResourcesError() CloudFoundryError
NewInsufficientResourcesError returns a new CloudFoundryError that IsInsufficientResourcesError will return true for
func NewInsufficientRunningResourcesAvailableError ¶
func NewInsufficientRunningResourcesAvailableError() CloudFoundryError
NewInsufficientRunningResourcesAvailableError returns a new CloudFoundryError that IsInsufficientRunningResourcesAvailableError will return true for
func NewInsufficientScopeError ¶
func NewInsufficientScopeError() CloudFoundryError
NewInsufficientScopeError returns a new CloudFoundryError that IsInsufficientScopeError will return true for
func NewInternalDomainCannotBeDeletedError ¶
func NewInternalDomainCannotBeDeletedError() CloudFoundryError
NewInternalDomainCannotBeDeletedError returns a new CloudFoundryError that IsInternalDomainCannotBeDeletedError will return true for
func NewInvalidAuthTokenError ¶
func NewInvalidAuthTokenError() CloudFoundryError
NewInvalidAuthTokenError returns a new CloudFoundryError that IsInvalidAuthTokenError will return true for
func NewInvalidContentTypeError ¶
func NewInvalidContentTypeError() CloudFoundryError
NewInvalidContentTypeError returns a new CloudFoundryError that IsInvalidContentTypeError will return true for
func NewInvalidLoggingServiceBindingError ¶
func NewInvalidLoggingServiceBindingError() CloudFoundryError
NewInvalidLoggingServiceBindingError returns a new CloudFoundryError that IsInvalidLoggingServiceBindingError will return true for
func NewInvalidRelationError ¶
func NewInvalidRelationError() CloudFoundryError
NewInvalidRelationError returns a new CloudFoundryError that IsInvalidRelationError will return true for
func NewInvalidRequestError ¶
func NewInvalidRequestError() CloudFoundryError
NewInvalidRequestError returns a new CloudFoundryError that IsInvalidRequestError will return true for
func NewInvalidTaskAddressError ¶
func NewInvalidTaskAddressError() CloudFoundryError
NewInvalidTaskAddressError returns a new CloudFoundryError that IsInvalidTaskAddressError will return true for
func NewInvalidTaskRequestError ¶
func NewInvalidTaskRequestError() CloudFoundryError
NewInvalidTaskRequestError returns a new CloudFoundryError that IsInvalidTaskRequestError will return true for
func NewJobTimeoutError ¶
func NewJobTimeoutError() CloudFoundryError
NewJobTimeoutError returns a new CloudFoundryError that IsJobTimeoutError will return true for
func NewKpackBuilderError ¶
func NewKpackBuilderError() CloudFoundryError
NewKpackBuilderError returns a new CloudFoundryError that IsKpackBuilderError will return true for
func NewKpackImageError ¶
func NewKpackImageError() CloudFoundryError
NewKpackImageError returns a new CloudFoundryError that IsKpackImageError will return true for
func NewKubernetesRouteResourceError ¶
func NewKubernetesRouteResourceError() CloudFoundryError
NewKubernetesRouteResourceError returns a new CloudFoundryError that IsKubernetesRouteResourceError will return true for
func NewLabelLimitExceededError ¶
func NewLabelLimitExceededError() CloudFoundryError
NewLabelLimitExceededError returns a new CloudFoundryError that IsLabelLimitExceededError will return true for
func NewLastBillingManagerInOrgError ¶
func NewLastBillingManagerInOrgError() CloudFoundryError
NewLastBillingManagerInOrgError returns a new CloudFoundryError that IsLastBillingManagerInOrgError will return true for
func NewLastManagerInOrgError ¶
func NewLastManagerInOrgError() CloudFoundryError
NewLastManagerInOrgError returns a new CloudFoundryError that IsLastManagerInOrgError will return true for
func NewLastUserInOrgError ¶
func NewLastUserInOrgError() CloudFoundryError
NewLastUserInOrgError returns a new CloudFoundryError that IsLastUserInOrgError will return true for
func NewLegacyApiWithoutDefaultSpaceError ¶
func NewLegacyApiWithoutDefaultSpaceError() CloudFoundryError
NewLegacyApiWithoutDefaultSpaceError returns a new CloudFoundryError that IsLegacyApiWithoutDefaultSpaceError will return true for
func NewMaintenanceInfoConflictError ¶
func NewMaintenanceInfoConflictError() CloudFoundryError
NewMaintenanceInfoConflictError returns a new CloudFoundryError that IsMaintenanceInfoConflictError will return true for
func NewMaintenanceInfoNotSemverError ¶
func NewMaintenanceInfoNotSemverError() CloudFoundryError
NewMaintenanceInfoNotSemverError returns a new CloudFoundryError that IsMaintenanceInfoNotSemverError will return true for
func NewMaintenanceInfoNotSupportedError ¶
func NewMaintenanceInfoNotSupportedError() CloudFoundryError
NewMaintenanceInfoNotSupportedError returns a new CloudFoundryError that IsMaintenanceInfoNotSupportedError will return true for
func NewMaintenanceInfoNotUpdatableWhenChangingPlanError ¶
func NewMaintenanceInfoNotUpdatableWhenChangingPlanError() CloudFoundryError
NewMaintenanceInfoNotUpdatableWhenChangingPlanError returns a new CloudFoundryError that IsMaintenanceInfoNotUpdatableWhenChangingPlanError will return true for
func NewManagedServiceInstanceNotFoundError ¶
func NewManagedServiceInstanceNotFoundError() CloudFoundryError
NewManagedServiceInstanceNotFoundError returns a new CloudFoundryError that IsManagedServiceInstanceNotFoundError will return true for
func NewMessageParseError ¶
func NewMessageParseError() CloudFoundryError
NewMessageParseError returns a new CloudFoundryError that IsMessageParseError will return true for
func NewMultipleAppPortsMappedDiegoToDeaError ¶
func NewMultipleAppPortsMappedDiegoToDeaError() CloudFoundryError
NewMultipleAppPortsMappedDiegoToDeaError returns a new CloudFoundryError that IsMultipleAppPortsMappedDiegoToDeaError will return true for
func NewNoAppDetectedError ¶
func NewNoAppDetectedError() CloudFoundryError
NewNoAppDetectedError returns a new CloudFoundryError that IsNoAppDetectedError will return true for
func NewNoBuildpacksFoundError ¶
func NewNoBuildpacksFoundError() CloudFoundryError
NewNoBuildpacksFoundError returns a new CloudFoundryError that IsNoBuildpacksFoundError will return true for
func NewNoCompatibleCellError ¶
func NewNoCompatibleCellError() CloudFoundryError
NewNoCompatibleCellError returns a new CloudFoundryError that IsNoCompatibleCellError will return true for
func NewNoCurrentEncryptionKeyError ¶
func NewNoCurrentEncryptionKeyError() CloudFoundryError
NewNoCurrentEncryptionKeyError returns a new CloudFoundryError that IsNoCurrentEncryptionKeyError will return true for
func NewNonrecursiveSpaceDeletionFailedError ¶
func NewNonrecursiveSpaceDeletionFailedError() CloudFoundryError
NewNonrecursiveSpaceDeletionFailedError returns a new CloudFoundryError that IsNonrecursiveSpaceDeletionFailedError will return true for
func NewNotAuthenticatedError ¶
func NewNotAuthenticatedError() CloudFoundryError
NewNotAuthenticatedError returns a new CloudFoundryError that IsNotAuthenticatedError will return true for
func NewNotAuthorizedError ¶
func NewNotAuthorizedError() CloudFoundryError
NewNotAuthorizedError returns a new CloudFoundryError that IsNotAuthorizedError will return true for
func NewNotFoundError ¶
func NewNotFoundError() CloudFoundryError
NewNotFoundError returns a new CloudFoundryError that IsNotFoundError will return true for
func NewNotStagedError ¶
func NewNotStagedError() CloudFoundryError
NewNotStagedError returns a new CloudFoundryError that IsNotStagedError will return true for
func NewOrderByParameterInvalidError ¶
func NewOrderByParameterInvalidError() CloudFoundryError
NewOrderByParameterInvalidError returns a new CloudFoundryError that IsOrderByParameterInvalidError will return true for
func NewOrgQuotaLogRateLimitExceededError ¶
func NewOrgQuotaLogRateLimitExceededError() CloudFoundryError
NewOrgQuotaLogRateLimitExceededError returns a new CloudFoundryError that IsOrgQuotaLogRateLimitExceededError will return true for
func NewOrgQuotaTotalReservedRoutePortsExceededError ¶
func NewOrgQuotaTotalReservedRoutePortsExceededError() CloudFoundryError
NewOrgQuotaTotalReservedRoutePortsExceededError returns a new CloudFoundryError that IsOrgQuotaTotalReservedRoutePortsExceededError will return true for
func NewOrgQuotaTotalRoutesExceededError ¶
func NewOrgQuotaTotalRoutesExceededError() CloudFoundryError
NewOrgQuotaTotalRoutesExceededError returns a new CloudFoundryError that IsOrgQuotaTotalRoutesExceededError will return true for
func NewOrgSuspendedError ¶
func NewOrgSuspendedError() CloudFoundryError
NewOrgSuspendedError returns a new CloudFoundryError that IsOrgSuspendedError will return true for
func NewOrganizationAlreadySetError ¶
func NewOrganizationAlreadySetError() CloudFoundryError
NewOrganizationAlreadySetError returns a new CloudFoundryError that IsOrganizationAlreadySetError will return true for
func NewOrganizationDeleteTimeoutError ¶
func NewOrganizationDeleteTimeoutError() CloudFoundryError
NewOrganizationDeleteTimeoutError returns a new CloudFoundryError that IsOrganizationDeleteTimeoutError will return true for
func NewOrganizationDeletionFailedError ¶
func NewOrganizationDeletionFailedError() CloudFoundryError
NewOrganizationDeletionFailedError returns a new CloudFoundryError that IsOrganizationDeletionFailedError will return true for
func NewOrganizationInvalidError ¶
func NewOrganizationInvalidError() CloudFoundryError
NewOrganizationInvalidError returns a new CloudFoundryError that IsOrganizationInvalidError will return true for
func NewOrganizationNameTakenError ¶
func NewOrganizationNameTakenError() CloudFoundryError
NewOrganizationNameTakenError returns a new CloudFoundryError that IsOrganizationNameTakenError will return true for
func NewOrganizationNotFoundError ¶
func NewOrganizationNotFoundError() CloudFoundryError
NewOrganizationNotFoundError returns a new CloudFoundryError that IsOrganizationNotFoundError will return true for
func NewOrganizationRolesDeletionFailedError ¶
func NewOrganizationRolesDeletionFailedError() CloudFoundryError
NewOrganizationRolesDeletionFailedError returns a new CloudFoundryError that IsOrganizationRolesDeletionFailedError will return true for
func NewOutOfRouterGroupPortsError ¶
func NewOutOfRouterGroupPortsError() CloudFoundryError
NewOutOfRouterGroupPortsError returns a new CloudFoundryError that IsOutOfRouterGroupPortsError will return true for
func NewPackageBitsAlreadyUploadedError ¶
func NewPackageBitsAlreadyUploadedError() CloudFoundryError
NewPackageBitsAlreadyUploadedError returns a new CloudFoundryError that IsPackageBitsAlreadyUploadedError will return true for
func NewPathInvalidError ¶
func NewPathInvalidError() CloudFoundryError
NewPathInvalidError returns a new CloudFoundryError that IsPathInvalidError will return true for
func NewPreviouslyUsedAs_ServiceInstancePaidQuotaExceededError ¶
func NewPreviouslyUsedAs_ServiceInstancePaidQuotaExceededError() CloudFoundryError
NewPreviouslyUsedAs_ServiceInstancePaidQuotaExceededError returns a new CloudFoundryError that IsPreviouslyUsedAs_ServiceInstancePaidQuotaExceededError will return true for
func NewProcessInvalidError ¶
func NewProcessInvalidError() CloudFoundryError
NewProcessInvalidError returns a new CloudFoundryError that IsProcessInvalidError will return true for
func NewProcessNotFoundError ¶
func NewProcessNotFoundError() CloudFoundryError
NewProcessNotFoundError returns a new CloudFoundryError that IsProcessNotFoundError will return true for
func NewProcessUpdateDisabledDuringDeploymentError ¶
func NewProcessUpdateDisabledDuringDeploymentError() CloudFoundryError
NewProcessUpdateDisabledDuringDeploymentError returns a new CloudFoundryError that IsProcessUpdateDisabledDuringDeploymentError will return true for
func NewQuotaDefinitionInvalidError ¶
func NewQuotaDefinitionInvalidError() CloudFoundryError
NewQuotaDefinitionInvalidError returns a new CloudFoundryError that IsQuotaDefinitionInvalidError will return true for
func NewQuotaDefinitionMemoryLimitInvalidError ¶
func NewQuotaDefinitionMemoryLimitInvalidError() CloudFoundryError
NewQuotaDefinitionMemoryLimitInvalidError returns a new CloudFoundryError that IsQuotaDefinitionMemoryLimitInvalidError will return true for
func NewQuotaDefinitionNameTakenError ¶
func NewQuotaDefinitionNameTakenError() CloudFoundryError
NewQuotaDefinitionNameTakenError returns a new CloudFoundryError that IsQuotaDefinitionNameTakenError will return true for
func NewQuotaDefinitionNotFoundError ¶
func NewQuotaDefinitionNotFoundError() CloudFoundryError
NewQuotaDefinitionNotFoundError returns a new CloudFoundryError that IsQuotaDefinitionNotFoundError will return true for
func NewQuotaInstanceLimitExceededError ¶
func NewQuotaInstanceLimitExceededError() CloudFoundryError
NewQuotaInstanceLimitExceededError returns a new CloudFoundryError that IsQuotaInstanceLimitExceededError will return true for
func NewQuotaInstanceMemoryLimitExceededError ¶
func NewQuotaInstanceMemoryLimitExceededError() CloudFoundryError
NewQuotaInstanceMemoryLimitExceededError returns a new CloudFoundryError that IsQuotaInstanceMemoryLimitExceededError will return true for
func NewRateLimitExceededError ¶
func NewRateLimitExceededError() CloudFoundryError
NewRateLimitExceededError returns a new CloudFoundryError that IsRateLimitExceededError will return true for
func NewRateLimitV2APIExceededError ¶
func NewRateLimitV2APIExceededError() CloudFoundryError
NewRateLimitV2APIExceededError returns a new CloudFoundryError that IsRateLimitV2APIExceededError will return true for
func NewResourceNotFoundError ¶
func NewResourceNotFoundError() CloudFoundryError
NewResourceNotFoundError returns a new CloudFoundryError that IsResourceNotFoundError will return true for
func NewRevisionsEnabledError ¶
func NewRevisionsEnabledError() CloudFoundryError
NewRevisionsEnabledError returns a new CloudFoundryError that IsRevisionsEnabledError will return true for
func NewRouteAlreadyBoundToServiceInstanceError ¶
func NewRouteAlreadyBoundToServiceInstanceError() CloudFoundryError
NewRouteAlreadyBoundToServiceInstanceError returns a new CloudFoundryError that IsRouteAlreadyBoundToServiceInstanceError will return true for
func NewRouteHostTakenError ¶
func NewRouteHostTakenError() CloudFoundryError
NewRouteHostTakenError returns a new CloudFoundryError that IsRouteHostTakenError will return true for
func NewRouteInvalidError ¶
func NewRouteInvalidError() CloudFoundryError
NewRouteInvalidError returns a new CloudFoundryError that IsRouteInvalidError will return true for
func NewRouteMappingNotFoundError ¶
func NewRouteMappingNotFoundError() CloudFoundryError
NewRouteMappingNotFoundError returns a new CloudFoundryError that IsRouteMappingNotFoundError will return true for
func NewRouteMappingTakenError ¶
func NewRouteMappingTakenError() CloudFoundryError
NewRouteMappingTakenError returns a new CloudFoundryError that IsRouteMappingTakenError will return true for
func NewRouteNotFoundError ¶
func NewRouteNotFoundError() CloudFoundryError
NewRouteNotFoundError returns a new CloudFoundryError that IsRouteNotFoundError will return true for
func NewRoutePathTakenError ¶
func NewRoutePathTakenError() CloudFoundryError
NewRoutePathTakenError returns a new CloudFoundryError that IsRoutePathTakenError will return true for
func NewRoutePortNotEnabledOnAppError ¶
func NewRoutePortNotEnabledOnAppError() CloudFoundryError
NewRoutePortNotEnabledOnAppError returns a new CloudFoundryError that IsRoutePortNotEnabledOnAppError will return true for
func NewRoutePortTakenError ¶
func NewRoutePortTakenError() CloudFoundryError
NewRoutePortTakenError returns a new CloudFoundryError that IsRoutePortTakenError will return true for
func NewRouteServiceCannotBeBoundToInternalRouteError ¶
func NewRouteServiceCannotBeBoundToInternalRouteError() CloudFoundryError
NewRouteServiceCannotBeBoundToInternalRouteError returns a new CloudFoundryError that IsRouteServiceCannotBeBoundToInternalRouteError will return true for
func NewRouterGroupNotFoundError ¶
func NewRouterGroupNotFoundError() CloudFoundryError
NewRouterGroupNotFoundError returns a new CloudFoundryError that IsRouterGroupNotFoundError will return true for
func NewRoutingApiDisabledError ¶
func NewRoutingApiDisabledError() CloudFoundryError
NewRoutingApiDisabledError returns a new CloudFoundryError that IsRoutingApiDisabledError will return true for
func NewRoutingApiUnavailableError ¶
func NewRoutingApiUnavailableError() CloudFoundryError
NewRoutingApiUnavailableError returns a new CloudFoundryError that IsRoutingApiUnavailableError will return true for
func NewRunnerError ¶
func NewRunnerError() CloudFoundryError
NewRunnerError returns a new CloudFoundryError that IsRunnerError will return true for
func NewRunnerInvalidRequestError ¶
func NewRunnerInvalidRequestError() CloudFoundryError
NewRunnerInvalidRequestError returns a new CloudFoundryError that IsRunnerInvalidRequestError will return true for
func NewRunnerUnavailableError ¶
func NewRunnerUnavailableError() CloudFoundryError
NewRunnerUnavailableError returns a new CloudFoundryError that IsRunnerUnavailableError will return true for
func NewRuntimeInvalidError ¶
func NewRuntimeInvalidError() CloudFoundryError
NewRuntimeInvalidError returns a new CloudFoundryError that IsRuntimeInvalidError will return true for
func NewRuntimeNameTakenError ¶
func NewRuntimeNameTakenError() CloudFoundryError
NewRuntimeNameTakenError returns a new CloudFoundryError that IsRuntimeNameTakenError will return true for
func NewRuntimeNotFoundError ¶
func NewRuntimeNotFoundError() CloudFoundryError
NewRuntimeNotFoundError returns a new CloudFoundryError that IsRuntimeNotFoundError will return true for
func NewSDSNotAvailableError ¶
func NewSDSNotAvailableError() CloudFoundryError
NewSDSNotAvailableError returns a new CloudFoundryError that IsSDSNotAvailableError will return true for
func NewScaleDisabledDuringDeploymentError ¶
func NewScaleDisabledDuringDeploymentError() CloudFoundryError
NewScaleDisabledDuringDeploymentError returns a new CloudFoundryError that IsScaleDisabledDuringDeploymentError will return true for
func NewSecurityGroupInvalidError ¶
func NewSecurityGroupInvalidError() CloudFoundryError
NewSecurityGroupInvalidError returns a new CloudFoundryError that IsSecurityGroupInvalidError will return true for
func NewSecurityGroupNameTakenError ¶
func NewSecurityGroupNameTakenError() CloudFoundryError
NewSecurityGroupNameTakenError returns a new CloudFoundryError that IsSecurityGroupNameTakenError will return true for
func NewSecurityGroupNotFoundError ¶
func NewSecurityGroupNotFoundError() CloudFoundryError
NewSecurityGroupNotFoundError returns a new CloudFoundryError that IsSecurityGroupNotFoundError will return true for
func NewSecurityGroupRunningDefaultInvalidError ¶
func NewSecurityGroupRunningDefaultInvalidError() CloudFoundryError
NewSecurityGroupRunningDefaultInvalidError returns a new CloudFoundryError that IsSecurityGroupRunningDefaultInvalidError will return true for
func NewSecurityGroupStagingDefaultInvalidError ¶
func NewSecurityGroupStagingDefaultInvalidError() CloudFoundryError
NewSecurityGroupStagingDefaultInvalidError returns a new CloudFoundryError that IsSecurityGroupStagingDefaultInvalidError will return true for
func NewServerError ¶
func NewServerError() CloudFoundryError
NewServerError returns a new CloudFoundryError that IsServerError will return true for
func NewServiceBindingAppServiceTakenError ¶
func NewServiceBindingAppServiceTakenError() CloudFoundryError
NewServiceBindingAppServiceTakenError returns a new CloudFoundryError that IsServiceBindingAppServiceTakenError will return true for
func NewServiceBindingDifferentSpacesError ¶
func NewServiceBindingDifferentSpacesError() CloudFoundryError
NewServiceBindingDifferentSpacesError returns a new CloudFoundryError that IsServiceBindingDifferentSpacesError will return true for
func NewServiceBindingInvalidError ¶
func NewServiceBindingInvalidError() CloudFoundryError
NewServiceBindingInvalidError returns a new CloudFoundryError that IsServiceBindingInvalidError will return true for
func NewServiceBindingNotFoundError ¶
func NewServiceBindingNotFoundError() CloudFoundryError
NewServiceBindingNotFoundError returns a new CloudFoundryError that IsServiceBindingNotFoundError will return true for
func NewServiceBrokerAsyncRequiredError ¶
func NewServiceBrokerAsyncRequiredError() CloudFoundryError
NewServiceBrokerAsyncRequiredError returns a new CloudFoundryError that IsServiceBrokerAsyncRequiredError will return true for
func NewServiceBrokerCatalogIncompatibleError ¶
func NewServiceBrokerCatalogIncompatibleError() CloudFoundryError
NewServiceBrokerCatalogIncompatibleError returns a new CloudFoundryError that IsServiceBrokerCatalogIncompatibleError will return true for
func NewServiceBrokerCatalogInvalidError ¶
func NewServiceBrokerCatalogInvalidError() CloudFoundryError
NewServiceBrokerCatalogInvalidError returns a new CloudFoundryError that IsServiceBrokerCatalogInvalidError will return true for
func NewServiceBrokerConcurrencyError ¶
func NewServiceBrokerConcurrencyError() CloudFoundryError
NewServiceBrokerConcurrencyError returns a new CloudFoundryError that IsServiceBrokerConcurrencyError will return true for
func NewServiceBrokerDashboardClientFailureError ¶
func NewServiceBrokerDashboardClientFailureError() CloudFoundryError
NewServiceBrokerDashboardClientFailureError returns a new CloudFoundryError that IsServiceBrokerDashboardClientFailureError will return true for
func NewServiceBrokerInvalidError ¶
func NewServiceBrokerInvalidError() CloudFoundryError
NewServiceBrokerInvalidError returns a new CloudFoundryError that IsServiceBrokerInvalidError will return true for
func NewServiceBrokerNameTakenError ¶
func NewServiceBrokerNameTakenError() CloudFoundryError
NewServiceBrokerNameTakenError returns a new CloudFoundryError that IsServiceBrokerNameTakenError will return true for
func NewServiceBrokerNotFoundError ¶
func NewServiceBrokerNotFoundError() CloudFoundryError
NewServiceBrokerNotFoundError returns a new CloudFoundryError that IsServiceBrokerNotFoundError will return true for
func NewServiceBrokerNotRemovableError ¶
func NewServiceBrokerNotRemovableError() CloudFoundryError
NewServiceBrokerNotRemovableError returns a new CloudFoundryError that IsServiceBrokerNotRemovableError will return true for
func NewServiceBrokerRateLimitExceededError ¶
func NewServiceBrokerRateLimitExceededError() CloudFoundryError
NewServiceBrokerRateLimitExceededError returns a new CloudFoundryError that IsServiceBrokerRateLimitExceededError will return true for
func NewServiceBrokerRequestMalformedError ¶
func NewServiceBrokerRequestMalformedError() CloudFoundryError
NewServiceBrokerRequestMalformedError returns a new CloudFoundryError that IsServiceBrokerRequestMalformedError will return true for
func NewServiceBrokerRequestRejectedError ¶
func NewServiceBrokerRequestRejectedError() CloudFoundryError
NewServiceBrokerRequestRejectedError returns a new CloudFoundryError that IsServiceBrokerRequestRejectedError will return true for
func NewServiceBrokerRespondedAsyncWhenNotAllowedError ¶
func NewServiceBrokerRespondedAsyncWhenNotAllowedError() CloudFoundryError
NewServiceBrokerRespondedAsyncWhenNotAllowedError returns a new CloudFoundryError that IsServiceBrokerRespondedAsyncWhenNotAllowedError will return true for
func NewServiceBrokerSyncFailedError ¶
func NewServiceBrokerSyncFailedError() CloudFoundryError
NewServiceBrokerSyncFailedError returns a new CloudFoundryError that IsServiceBrokerSyncFailedError will return true for
func NewServiceBrokerURLBasicAuthNotSupportedError ¶
func NewServiceBrokerURLBasicAuthNotSupportedError() CloudFoundryError
NewServiceBrokerURLBasicAuthNotSupportedError returns a new CloudFoundryError that IsServiceBrokerURLBasicAuthNotSupportedError will return true for
func NewServiceBrokerURLInvalidError ¶
func NewServiceBrokerURLInvalidError() CloudFoundryError
NewServiceBrokerURLInvalidError returns a new CloudFoundryError that IsServiceBrokerURLInvalidError will return true for
func NewServiceBrokerURLTakenError ¶
func NewServiceBrokerURLTakenError() CloudFoundryError
NewServiceBrokerURLTakenError returns a new CloudFoundryError that IsServiceBrokerURLTakenError will return true for
func NewServiceDashboardClientMissingURLError ¶
func NewServiceDashboardClientMissingURLError() CloudFoundryError
NewServiceDashboardClientMissingURLError returns a new CloudFoundryError that IsServiceDashboardClientMissingURLError will return true for
func NewServiceDoesNotSupportRoutesError ¶
func NewServiceDoesNotSupportRoutesError() CloudFoundryError
NewServiceDoesNotSupportRoutesError returns a new CloudFoundryError that IsServiceDoesNotSupportRoutesError will return true for
func NewServiceFetchBindingParametersNotSupportedError ¶
func NewServiceFetchBindingParametersNotSupportedError() CloudFoundryError
NewServiceFetchBindingParametersNotSupportedError returns a new CloudFoundryError that IsServiceFetchBindingParametersNotSupportedError will return true for
func NewServiceFetchInstanceParametersNotSupportedError ¶
func NewServiceFetchInstanceParametersNotSupportedError() CloudFoundryError
NewServiceFetchInstanceParametersNotSupportedError returns a new CloudFoundryError that IsServiceFetchInstanceParametersNotSupportedError will return true for
func NewServiceGatewayError ¶
func NewServiceGatewayError() CloudFoundryError
NewServiceGatewayError returns a new CloudFoundryError that IsServiceGatewayError will return true for
func NewServiceInstanceAlreadyBoundToSameRouteError ¶
func NewServiceInstanceAlreadyBoundToSameRouteError() CloudFoundryError
NewServiceInstanceAlreadyBoundToSameRouteError returns a new CloudFoundryError that IsServiceInstanceAlreadyBoundToSameRouteError will return true for
func NewServiceInstanceDeletionSharesExistsError ¶
func NewServiceInstanceDeletionSharesExistsError() CloudFoundryError
NewServiceInstanceDeletionSharesExistsError returns a new CloudFoundryError that IsServiceInstanceDeletionSharesExistsError will return true for
func NewServiceInstanceDeprovisionFailedError ¶
func NewServiceInstanceDeprovisionFailedError() CloudFoundryError
NewServiceInstanceDeprovisionFailedError returns a new CloudFoundryError that IsServiceInstanceDeprovisionFailedError will return true for
func NewServiceInstanceDuplicateNotAllowedError ¶
func NewServiceInstanceDuplicateNotAllowedError() CloudFoundryError
NewServiceInstanceDuplicateNotAllowedError returns a new CloudFoundryError that IsServiceInstanceDuplicateNotAllowedError will return true for
func NewServiceInstanceInvalidError ¶
func NewServiceInstanceInvalidError() CloudFoundryError
NewServiceInstanceInvalidError returns a new CloudFoundryError that IsServiceInstanceInvalidError will return true for
func NewServiceInstanceNameEmptyError ¶
func NewServiceInstanceNameEmptyError() CloudFoundryError
NewServiceInstanceNameEmptyError returns a new CloudFoundryError that IsServiceInstanceNameEmptyError will return true for
func NewServiceInstanceNameTakenError ¶
func NewServiceInstanceNameTakenError() CloudFoundryError
NewServiceInstanceNameTakenError returns a new CloudFoundryError that IsServiceInstanceNameTakenError will return true for
func NewServiceInstanceNameTooLongError ¶
func NewServiceInstanceNameTooLongError() CloudFoundryError
NewServiceInstanceNameTooLongError returns a new CloudFoundryError that IsServiceInstanceNameTooLongError will return true for
func NewServiceInstanceNotFoundError ¶
func NewServiceInstanceNotFoundError() CloudFoundryError
NewServiceInstanceNotFoundError returns a new CloudFoundryError that IsServiceInstanceNotFoundError will return true for
func NewServiceInstanceOrganizationNotAuthorizedError ¶
func NewServiceInstanceOrganizationNotAuthorizedError() CloudFoundryError
NewServiceInstanceOrganizationNotAuthorizedError returns a new CloudFoundryError that IsServiceInstanceOrganizationNotAuthorizedError will return true for
func NewServiceInstanceProvisionFailedError ¶
func NewServiceInstanceProvisionFailedError() CloudFoundryError
NewServiceInstanceProvisionFailedError returns a new CloudFoundryError that IsServiceInstanceProvisionFailedError will return true for
func NewServiceInstanceQuotaExceededError ¶
func NewServiceInstanceQuotaExceededError() CloudFoundryError
NewServiceInstanceQuotaExceededError returns a new CloudFoundryError that IsServiceInstanceQuotaExceededError will return true for
func NewServiceInstanceRecursiveDeleteFailedError ¶
func NewServiceInstanceRecursiveDeleteFailedError() CloudFoundryError
NewServiceInstanceRecursiveDeleteFailedError returns a new CloudFoundryError that IsServiceInstanceRecursiveDeleteFailedError will return true for
func NewServiceInstanceRouteBindingSpaceMismatchError ¶
func NewServiceInstanceRouteBindingSpaceMismatchError() CloudFoundryError
NewServiceInstanceRouteBindingSpaceMismatchError returns a new CloudFoundryError that IsServiceInstanceRouteBindingSpaceMismatchError will return true for
func NewServiceInstanceRouteServiceDisabledError ¶
func NewServiceInstanceRouteServiceDisabledError() CloudFoundryError
NewServiceInstanceRouteServiceDisabledError returns a new CloudFoundryError that IsServiceInstanceRouteServiceDisabledError will return true for
func NewServiceInstanceRouteServiceRequiresDiegoError ¶
func NewServiceInstanceRouteServiceRequiresDiegoError() CloudFoundryError
NewServiceInstanceRouteServiceRequiresDiegoError returns a new CloudFoundryError that IsServiceInstanceRouteServiceRequiresDiegoError will return true for
func NewServiceInstanceRouteServiceURLInvalidError ¶
func NewServiceInstanceRouteServiceURLInvalidError() CloudFoundryError
NewServiceInstanceRouteServiceURLInvalidError returns a new CloudFoundryError that IsServiceInstanceRouteServiceURLInvalidError will return true for
func NewServiceInstanceServicePlanNotAllowedBySpaceQuotaError ¶
func NewServiceInstanceServicePlanNotAllowedBySpaceQuotaError() CloudFoundryError
NewServiceInstanceServicePlanNotAllowedBySpaceQuotaError returns a new CloudFoundryError that IsServiceInstanceServicePlanNotAllowedBySpaceQuotaError will return true for
func NewServiceInstanceServicePlanNotAllowedError ¶
func NewServiceInstanceServicePlanNotAllowedError() CloudFoundryError
NewServiceInstanceServicePlanNotAllowedError returns a new CloudFoundryError that IsServiceInstanceServicePlanNotAllowedError will return true for
func NewServiceInstanceSpaceChangeNotAllowedError ¶
func NewServiceInstanceSpaceChangeNotAllowedError() CloudFoundryError
NewServiceInstanceSpaceChangeNotAllowedError returns a new CloudFoundryError that IsServiceInstanceSpaceChangeNotAllowedError will return true for
func NewServiceInstanceSpaceNotAuthorizedError ¶
func NewServiceInstanceSpaceNotAuthorizedError() CloudFoundryError
NewServiceInstanceSpaceNotAuthorizedError returns a new CloudFoundryError that IsServiceInstanceSpaceNotAuthorizedError will return true for
func NewServiceInstanceSpaceQuotaExceededError ¶
func NewServiceInstanceSpaceQuotaExceededError() CloudFoundryError
NewServiceInstanceSpaceQuotaExceededError returns a new CloudFoundryError that IsServiceInstanceSpaceQuotaExceededError will return true for
func NewServiceInstanceTagsTooLongError ¶
func NewServiceInstanceTagsTooLongError() CloudFoundryError
NewServiceInstanceTagsTooLongError returns a new CloudFoundryError that IsServiceInstanceTagsTooLongError will return true for
func NewServiceInstanceUnshareFailedError ¶
func NewServiceInstanceUnshareFailedError() CloudFoundryError
NewServiceInstanceUnshareFailedError returns a new CloudFoundryError that IsServiceInstanceUnshareFailedError will return true for
func NewServiceInstanceWithInaccessiblePlanNotUpdateableError ¶
func NewServiceInstanceWithInaccessiblePlanNotUpdateableError() CloudFoundryError
NewServiceInstanceWithInaccessiblePlanNotUpdateableError returns a new CloudFoundryError that IsServiceInstanceWithInaccessiblePlanNotUpdateableError will return true for
func NewServiceInvalidError ¶
func NewServiceInvalidError() CloudFoundryError
NewServiceInvalidError returns a new CloudFoundryError that IsServiceInvalidError will return true for
func NewServiceKeyCredentialStoreUnavailableError ¶
func NewServiceKeyCredentialStoreUnavailableError() CloudFoundryError
NewServiceKeyCredentialStoreUnavailableError returns a new CloudFoundryError that IsServiceKeyCredentialStoreUnavailableError will return true for
func NewServiceKeyInvalidError ¶
func NewServiceKeyInvalidError() CloudFoundryError
NewServiceKeyInvalidError returns a new CloudFoundryError that IsServiceKeyInvalidError will return true for
func NewServiceKeyNameTakenError ¶
func NewServiceKeyNameTakenError() CloudFoundryError
NewServiceKeyNameTakenError returns a new CloudFoundryError that IsServiceKeyNameTakenError will return true for
func NewServiceKeyNotFoundError ¶
func NewServiceKeyNotFoundError() CloudFoundryError
NewServiceKeyNotFoundError returns a new CloudFoundryError that IsServiceKeyNotFoundError will return true for
func NewServiceKeyNotSupportedError ¶
func NewServiceKeyNotSupportedError() CloudFoundryError
NewServiceKeyNotSupportedError returns a new CloudFoundryError that IsServiceKeyNotSupportedError will return true for
func NewServiceLabelTakenError ¶
func NewServiceLabelTakenError() CloudFoundryError
NewServiceLabelTakenError returns a new CloudFoundryError that IsServiceLabelTakenError will return true for
func NewServiceNotFoundError ¶
func NewServiceNotFoundError() CloudFoundryError
NewServiceNotFoundError returns a new CloudFoundryError that IsServiceNotFoundError will return true for
func NewServiceNotImplementedError ¶
func NewServiceNotImplementedError() CloudFoundryError
NewServiceNotImplementedError returns a new CloudFoundryError that IsServiceNotImplementedError will return true for
func NewServicePlanInvalidError ¶
func NewServicePlanInvalidError() CloudFoundryError
NewServicePlanInvalidError returns a new CloudFoundryError that IsServicePlanInvalidError will return true for
func NewServicePlanNameTakenError ¶
func NewServicePlanNameTakenError() CloudFoundryError
NewServicePlanNameTakenError returns a new CloudFoundryError that IsServicePlanNameTakenError will return true for
func NewServicePlanNotFoundError ¶
func NewServicePlanNotFoundError() CloudFoundryError
NewServicePlanNotFoundError returns a new CloudFoundryError that IsServicePlanNotFoundError will return true for
func NewServicePlanNotUpdateableError ¶
func NewServicePlanNotUpdateableError() CloudFoundryError
NewServicePlanNotUpdateableError returns a new CloudFoundryError that IsServicePlanNotUpdateableError will return true for
func NewServicePlanVisibilityAlreadyExistsError ¶
func NewServicePlanVisibilityAlreadyExistsError() CloudFoundryError
NewServicePlanVisibilityAlreadyExistsError returns a new CloudFoundryError that IsServicePlanVisibilityAlreadyExistsError will return true for
func NewServicePlanVisibilityInvalidError ¶
func NewServicePlanVisibilityInvalidError() CloudFoundryError
NewServicePlanVisibilityInvalidError returns a new CloudFoundryError that IsServicePlanVisibilityInvalidError will return true for
func NewServicePlanVisibilityNotFoundError ¶
func NewServicePlanVisibilityNotFoundError() CloudFoundryError
NewServicePlanVisibilityNotFoundError returns a new CloudFoundryError that IsServicePlanVisibilityNotFoundError will return true for
func NewServiceUnavailableError ¶
func NewServiceUnavailableError() CloudFoundryError
NewServiceUnavailableError returns a new CloudFoundryError that IsServiceUnavailableError will return true for
func NewSharedServiceInstanceCannotBeRenamedError ¶
func NewSharedServiceInstanceCannotBeRenamedError() CloudFoundryError
NewSharedServiceInstanceCannotBeRenamedError returns a new CloudFoundryError that IsSharedServiceInstanceCannotBeRenamedError will return true for
func NewSharedServiceInstanceNotDeletableInTargetSpaceError ¶
func NewSharedServiceInstanceNotDeletableInTargetSpaceError() CloudFoundryError
NewSharedServiceInstanceNotDeletableInTargetSpaceError returns a new CloudFoundryError that IsSharedServiceInstanceNotDeletableInTargetSpaceError will return true for
func NewSharedServiceInstanceNotUpdatableInTargetSpaceError ¶
func NewSharedServiceInstanceNotUpdatableInTargetSpaceError() CloudFoundryError
NewSharedServiceInstanceNotUpdatableInTargetSpaceError returns a new CloudFoundryError that IsSharedServiceInstanceNotUpdatableInTargetSpaceError will return true for
func NewSpaceDeleteTimeoutError ¶
func NewSpaceDeleteTimeoutError() CloudFoundryError
NewSpaceDeleteTimeoutError returns a new CloudFoundryError that IsSpaceDeleteTimeoutError will return true for
func NewSpaceDeletionFailedError ¶
func NewSpaceDeletionFailedError() CloudFoundryError
NewSpaceDeletionFailedError returns a new CloudFoundryError that IsSpaceDeletionFailedError will return true for
func NewSpaceInvalidError ¶
func NewSpaceInvalidError() CloudFoundryError
NewSpaceInvalidError returns a new CloudFoundryError that IsSpaceInvalidError will return true for
func NewSpaceNameTakenError ¶
func NewSpaceNameTakenError() CloudFoundryError
NewSpaceNameTakenError returns a new CloudFoundryError that IsSpaceNameTakenError will return true for
func NewSpaceNotFoundError ¶
func NewSpaceNotFoundError() CloudFoundryError
NewSpaceNotFoundError returns a new CloudFoundryError that IsSpaceNotFoundError will return true for
func NewSpaceQuotaDefinitionInvalidError ¶
func NewSpaceQuotaDefinitionInvalidError() CloudFoundryError
NewSpaceQuotaDefinitionInvalidError returns a new CloudFoundryError that IsSpaceQuotaDefinitionInvalidError will return true for
func NewSpaceQuotaDefinitionNameTakenError ¶
func NewSpaceQuotaDefinitionNameTakenError() CloudFoundryError
NewSpaceQuotaDefinitionNameTakenError returns a new CloudFoundryError that IsSpaceQuotaDefinitionNameTakenError will return true for
func NewSpaceQuotaDefinitionNotFoundError ¶
func NewSpaceQuotaDefinitionNotFoundError() CloudFoundryError
NewSpaceQuotaDefinitionNotFoundError returns a new CloudFoundryError that IsSpaceQuotaDefinitionNotFoundError will return true for
func NewSpaceQuotaInstanceLimitExceededError ¶
func NewSpaceQuotaInstanceLimitExceededError() CloudFoundryError
NewSpaceQuotaInstanceLimitExceededError returns a new CloudFoundryError that IsSpaceQuotaInstanceLimitExceededError will return true for
func NewSpaceQuotaInstanceMemoryLimitExceededError ¶
func NewSpaceQuotaInstanceMemoryLimitExceededError() CloudFoundryError
NewSpaceQuotaInstanceMemoryLimitExceededError returns a new CloudFoundryError that IsSpaceQuotaInstanceMemoryLimitExceededError will return true for
func NewSpaceQuotaLogRateLimitExceededError ¶
func NewSpaceQuotaLogRateLimitExceededError() CloudFoundryError
NewSpaceQuotaLogRateLimitExceededError returns a new CloudFoundryError that IsSpaceQuotaLogRateLimitExceededError will return true for
func NewSpaceQuotaMemoryLimitExceededError ¶
func NewSpaceQuotaMemoryLimitExceededError() CloudFoundryError
NewSpaceQuotaMemoryLimitExceededError returns a new CloudFoundryError that IsSpaceQuotaMemoryLimitExceededError will return true for
func NewSpaceQuotaTotalReservedRoutePortsExceededError ¶
func NewSpaceQuotaTotalReservedRoutePortsExceededError() CloudFoundryError
NewSpaceQuotaTotalReservedRoutePortsExceededError returns a new CloudFoundryError that IsSpaceQuotaTotalReservedRoutePortsExceededError will return true for
func NewSpaceQuotaTotalRoutesExceededError ¶
func NewSpaceQuotaTotalRoutesExceededError() CloudFoundryError
NewSpaceQuotaTotalRoutesExceededError returns a new CloudFoundryError that IsSpaceQuotaTotalRoutesExceededError will return true for
func NewSpaceRolesDeletionFailedError ¶
func NewSpaceRolesDeletionFailedError() CloudFoundryError
NewSpaceRolesDeletionFailedError returns a new CloudFoundryError that IsSpaceRolesDeletionFailedError will return true for
func NewSpaceRolesDeletionTimeoutError ¶
func NewSpaceRolesDeletionTimeoutError() CloudFoundryError
NewSpaceRolesDeletionTimeoutError returns a new CloudFoundryError that IsSpaceRolesDeletionTimeoutError will return true for
func NewSpaceUserNotInOrgError ¶
func NewSpaceUserNotInOrgError() CloudFoundryError
NewSpaceUserNotInOrgError returns a new CloudFoundryError that IsSpaceUserNotInOrgError will return true for
func NewStackInvalidError ¶
func NewStackInvalidError() CloudFoundryError
NewStackInvalidError returns a new CloudFoundryError that IsStackInvalidError will return true for
func NewStackNameTakenError ¶
func NewStackNameTakenError() CloudFoundryError
NewStackNameTakenError returns a new CloudFoundryError that IsStackNameTakenError will return true for
func NewStackNotFoundError ¶
func NewStackNotFoundError() CloudFoundryError
NewStackNotFoundError returns a new CloudFoundryError that IsStackNotFoundError will return true for
func NewStagerError ¶
func NewStagerError() CloudFoundryError
NewStagerError returns a new CloudFoundryError that IsStagerError will return true for
func NewStagerUnavailableError ¶
func NewStagerUnavailableError() CloudFoundryError
NewStagerUnavailableError returns a new CloudFoundryError that IsStagerUnavailableError will return true for
func NewStagingBackendInvalidError ¶
func NewStagingBackendInvalidError() CloudFoundryError
NewStagingBackendInvalidError returns a new CloudFoundryError that IsStagingBackendInvalidError will return true for
func NewStagingError ¶
func NewStagingError() CloudFoundryError
NewStagingError returns a new CloudFoundryError that IsStagingError will return true for
func NewStagingInProgressError ¶
func NewStagingInProgressError() CloudFoundryError
NewStagingInProgressError returns a new CloudFoundryError that IsStagingInProgressError will return true for
func NewStagingTimeExpiredError ¶
func NewStagingTimeExpiredError() CloudFoundryError
NewStagingTimeExpiredError returns a new CloudFoundryError that IsStagingTimeExpiredError will return true for
func NewStatsError ¶
func NewStatsError() CloudFoundryError
NewStatsError returns a new CloudFoundryError that IsStatsError will return true for
func NewStatsUnavailableError ¶
func NewStatsUnavailableError() CloudFoundryError
NewStatsUnavailableError returns a new CloudFoundryError that IsStatsUnavailableError will return true for
func NewStopDisabledDuringDeploymentError ¶
func NewStopDisabledDuringDeploymentError() CloudFoundryError
NewStopDisabledDuringDeploymentError returns a new CloudFoundryError that IsStopDisabledDuringDeploymentError will return true for
func NewTaskError ¶
func NewTaskError() CloudFoundryError
NewTaskError returns a new CloudFoundryError that IsTaskError will return true for
func NewTaskWorkersUnavailableError ¶
func NewTaskWorkersUnavailableError() CloudFoundryError
NewTaskWorkersUnavailableError returns a new CloudFoundryError that IsTaskWorkersUnavailableError will return true for
func NewTotalPrivateDomainsExceededError ¶
func NewTotalPrivateDomainsExceededError() CloudFoundryError
NewTotalPrivateDomainsExceededError returns a new CloudFoundryError that IsTotalPrivateDomainsExceededError will return true for
func NewUAAEndpointDisabledError ¶
func NewUAAEndpointDisabledError() CloudFoundryError
NewUAAEndpointDisabledError returns a new CloudFoundryError that IsUAAEndpointDisabledError will return true for
func NewUAAIDTakenError ¶
func NewUAAIDTakenError() CloudFoundryError
NewUAAIDTakenError returns a new CloudFoundryError that IsUAAIDTakenError will return true for
func NewUAAUnavailableError ¶
func NewUAAUnavailableError() CloudFoundryError
NewUAAUnavailableError returns a new CloudFoundryError that IsUAAUnavailableError will return true for
func NewUnableToDeleteError ¶
func NewUnableToDeleteError() CloudFoundryError
NewUnableToDeleteError returns a new CloudFoundryError that IsUnableToDeleteError will return true for
func NewUnableToPerformError ¶
func NewUnableToPerformError() CloudFoundryError
NewUnableToPerformError returns a new CloudFoundryError that IsUnableToPerformError will return true for
func NewUnbindableServiceError ¶
func NewUnbindableServiceError() CloudFoundryError
NewUnbindableServiceError returns a new CloudFoundryError that IsUnbindableServiceError will return true for
func NewUnprocessableEntityError ¶
func NewUnprocessableEntityError() CloudFoundryError
NewUnprocessableEntityError returns a new CloudFoundryError that IsUnprocessableEntityError will return true for
func NewUserInvalidError ¶
func NewUserInvalidError() CloudFoundryError
NewUserInvalidError returns a new CloudFoundryError that IsUserInvalidError will return true for
func NewUserIsInMultipleOriginsError ¶
func NewUserIsInMultipleOriginsError() CloudFoundryError
NewUserIsInMultipleOriginsError returns a new CloudFoundryError that IsUserIsInMultipleOriginsError will return true for
func NewUserNotFoundError ¶
func NewUserNotFoundError() CloudFoundryError
NewUserNotFoundError returns a new CloudFoundryError that IsUserNotFoundError will return true for
func NewUserProvidedServiceInstanceHandlerNeededError ¶
func NewUserProvidedServiceInstanceHandlerNeededError() CloudFoundryError
NewUserProvidedServiceInstanceHandlerNeededError returns a new CloudFoundryError that IsUserProvidedServiceInstanceHandlerNeededError will return true for
func NewUserProvidedServiceInstanceNotFoundError ¶
func NewUserProvidedServiceInstanceNotFoundError() CloudFoundryError
NewUserProvidedServiceInstanceNotFoundError returns a new CloudFoundryError that IsUserProvidedServiceInstanceNotFoundError will return true for
func NewUserWithOriginNotFoundError ¶
func NewUserWithOriginNotFoundError() CloudFoundryError
NewUserWithOriginNotFoundError returns a new CloudFoundryError that IsUserWithOriginNotFoundError will return true for
func NewVolumeMountServiceDisabledError ¶
func NewVolumeMountServiceDisabledError() CloudFoundryError
NewVolumeMountServiceDisabledError returns a new CloudFoundryError that IsVolumeMountServiceDisabledError will return true for
func (CloudFoundryError) Error ¶
func (e CloudFoundryError) Error() string
type CloudFoundryErrors ¶
type CloudFoundryErrors struct {
Errors []CloudFoundryError `json:"errors"`
}
func (CloudFoundryErrors) Error ¶
func (e CloudFoundryErrors) Error() string
type CloudFoundryHTTPError ¶
func (CloudFoundryHTTPError) Error ¶
func (e CloudFoundryHTTPError) Error() string
type Deployment ¶
type Deployment struct { Status DeploymentStatus `json:"status"` Strategy string `json:"strategy"` Droplet Relationship `json:"droplet"` PreviousDroplet Relationship `json:"previous_droplet"` NewProcesses []ProcessReference `json:"new_processes"` Revision DeploymentRevision `json:"revision"` Metadata *Metadata `json:"metadata"` Relationships AppRelationship `json:"relationships"` Resource `json:",inline"` }
type DeploymentCreate ¶
type DeploymentCreate struct { Relationships AppRelationship `json:"relationships"` Droplet *Relationship `json:"droplet,omitempty"` Revision *DeploymentRevision `json:"revision,omitempty"` Strategy string `json:"strategy,omitempty"` Metadata *Metadata `json:"metadata,omitempty"` }
func NewDeploymentCreate ¶
func NewDeploymentCreate(appGUID string) *DeploymentCreate
type DeploymentList ¶
type DeploymentList struct { Pagination Pagination `json:"pagination"` Resources []*Deployment `json:"resources"` }
type DeploymentRevision ¶
type DeploymentStatus ¶
type DeploymentUpdate ¶
type DeploymentUpdate struct {
Metadata *Metadata `json:"metadata"`
}
type DetectedBuildpack ¶
type DockerCredentials ¶
type DockerPackage ¶
type DockerPackage struct { Image string `json:"image"` *DockerCredentials }
type Domain ¶
type Domain struct { Name string `json:"name"` Internal bool `json:"internal"` RouterGroup *Relationship `json:"router_group"` SupportedProtocols []string `json:"supported_protocols"` Relationships DomainRelationships `json:"relationships"` Metadata *Metadata `json:"metadata"` Resource `json:",inline"` }
type DomainCreate ¶
type DomainCreate struct { Name string `json:"name"` Internal *bool `json:"internal,omitempty"` RouterGroup *Relationship `json:"router_group,omitempty"` Relationships *DomainRelationships `json:"relationships,omitempty"` Metadata *Metadata `json:"metadata,omitempty"` }
func NewDomainCreate ¶
func NewDomainCreate(name string) *DomainCreate
type DomainList ¶
type DomainList struct { Pagination Pagination `json:"pagination"` Resources []*Domain `json:"resources"` }
type DomainRelationships ¶
type DomainRelationships struct { Organization *ToOneRelationship `json:"organization,omitempty"` }
type DomainUpdate ¶
type DomainUpdate struct {
Metadata *Metadata `json:"metadata"`
}
type DomainsQuota ¶
type DomainsQuota struct { // The maximum number of domains that can be associated with an organization. TotalDomains *int `json:"total_domains"` }
type Droplet ¶
type Droplet struct { State DropletState `json:"state"` Error *string `json:"error"` Lifecycle Lifecycle `json:"lifecycle"` ExecutionMetadata string `json:"execution_metadata"` ProcessTypes map[string]string `json:"process_types"` Metadata *Metadata `json:"metadata"` Relationships AppRelationship `json:"relationships"` // Only specified when the droplet is using the Docker lifecycle. Image *string `json:"image"` // The following fields are specified when the droplet is using // the buildpack lifecycle. Checksum struct { Type string `json:"type"` Value string `json:"value"` } `json:"checksum"` Stack string `json:"stack"` Buildpacks []DetectedBuildpack `json:"buildpacks"` Resource `json:",inline"` }
Droplet is the result of staging an application package. There are two types (lifecycles) of droplets: buildpack and docker. In the case of buildpacks, the droplet contains the bits produced by the buildpack.
type DropletCopy ¶
type DropletCopy struct {
Relationships AppRelationship `json:"relationships"`
}
func NewDropletCopy ¶
func NewDropletCopy(appGUID string) *DropletCopy
type DropletCreate ¶
type DropletCreate struct { Relationships AppRelationship `json:"relationships"` ProcessTypes map[string]string `json:"process_types"` }
func NewDropletCreate ¶
func NewDropletCreate(appGUID string) *DropletCreate
type DropletCurrent ¶
type DropletCurrent struct { Data Relationship `json:"data"` Links map[string]Link `json:"links"` }
type DropletList ¶
type DropletList struct { Pagination Pagination `json:"pagination,omitempty"` Resources []*Droplet `json:"resources,omitempty"` }
type DropletState ¶
type DropletState string
type DropletUpdate ¶
type EnvVar ¶
func (*EnvVar) UnmarshalJSON ¶
type EnvVarGroup ¶
type EnvVarGroupUpdate ¶
type EnvVarResponse ¶
type FeatureFlag ¶
type FeatureFlag struct { Name string `json:"name"` // The name of the feature flag Enabled bool `json:"enabled"` // Whether the feature flag is enabled UpdatedAt time.Time `json:"updated_at"` // The error string returned by the API when a client performs an action disabled by the feature flag CustomErrorMessage string `json:"custom_error_message"` Links map[string]Link `json:"links"` }
type FeatureFlagList ¶
type FeatureFlagList struct { Pagination Pagination `json:"pagination,omitempty"` Resources []*FeatureFlag `json:"resources,omitempty"` }
type FeatureFlagType ¶
type FeatureFlagType int
FeatureFlagType https://v3-apidocs.cloudfoundry.org/version/3.127.0/index.html#the-feature-flag-object
const ( FeatureFlagNone FeatureFlagType = iota // FeatureFlagAppBitsUpload When enabled, space developers can upload app bits. When disabled, // only admin users can upload app bits. FeatureFlagAppBitsUpload // FeatureFlagAppScaling When enabled, space developers can perform scaling operations // (i.e. change memory, disk, log rate, or instances). When disabled, only admins can perform scaling operations. FeatureFlagAppScaling // FeatureFlagDiegoDocker When enabled, Docker applications are supported by Diego. When disabled, // Docker applications will stop running. It will still be possible to stop and delete them and // update their configurations. FeatureFlagDiegoDocker // FeatureFlagEnvVarVisibility When enabled, all users can see their environment variables. // When disabled, no users can see environment variables. FeatureFlagEnvVarVisibility // FeatureFlagHideMarketPlaceFromUnauthenticatedUsers When enabled, service offerings available in // the marketplace will be hidden from unauthenticated users. When disabled, unauthenticated users // will be able to see the service offerings available in the marketplace. FeatureFlagHideMarketPlaceFromUnauthenticatedUsers // FeatureFlagPrivateDomainCreation When enabled, an organization manager can create private domains // for that organization. When disabled, only admin users can create private domains. FeatureFlagPrivateDomainCreation // FeatureFlagResourceMatching When enabled, any user can create resource matches. When disabled, // the resource match endpoint always returns an empty array of matches. The package upload endpoint // will not cache any uploaded packages for resource matching. FeatureFlagResourceMatching // FeatureFlagRouteCreation When enabled, a space developer can create routes in a space. When disabled, // only admin users can create routes. FeatureFlagRouteCreation // FeatureFlagRouteSharing When enabled, Space Developers can share routes between two spaces (even across orgs!) // in which they have the Space Developer role. When disabled, Space Developers cannot share routes between two spaces. FeatureFlagRouteSharing // FeatureFlagServiceInstanceCreation When enabled, a space developer can create service instances // in a space. When disabled, only admin users can create service instances. FeatureFlagServiceInstanceCreation // FeatureFlagServiceInstanceSharing When enabled, Space Developers can share service instances // between two spaces (even across orgs!) in which they have the Space Developer role. When // disabled, Space Developers cannot share service instances between two spaces. FeatureFlagServiceInstanceSharing // FeatureFlagSetRolesByUserName When enabled, Org Managers or Space Managers can add access roles by username. // In order for this feature to be enabled the CF operator must: // 1. Enable the /ids/users/ endpoint for UAA // 2. Create a UAA cloud_controller_username_lookup client with the scim.userids authority FeatureFlagSetRolesByUserName // FeatureFlagSpaceDeveloperEnvVarVisibility When enabled, space developers can perform a get on the // /v2/apps/:guid/env endpoint, and both space developers and space supporters can perform a get on // the /v3/apps/:guid/env and /v3/apps/:guid/environment_variables endpoints. When disabled, neither // space developers nor space supporters can access these endpoints. FeatureFlagSpaceDeveloperEnvVarVisibility // FeatureFlagSpaceScopedPrivateBrokerCreation When enabled, space developers can create space scoped // private brokers. When disabled, only admin users can create create space scoped private brokers. FeatureFlagSpaceScopedPrivateBrokerCreation // FeatureFlagTaskCreation When enabled, space developers can create tasks. When disabled, // only admin users can create tasks. FeatureFlagTaskCreation // FeatureFlagUnsetRolesByUsername When enabled, Org Managers or Space Managers can remove access // roles by username. In order for this feature to be enabled the CF operator must: // 1. Enable the /ids/users/ endpoint for UAA // 2. Create a UAA cloud_controller_username_lookup client with the scim.userids authority FeatureFlagUnsetRolesByUsername // FeatureFlagUserOrgCreation When enabled, any user can create an organization via the API. // When disabled, only admin users can create organizations via the API. FeatureFlagUserOrgCreation )
func (FeatureFlagType) String ¶
func (a FeatureFlagType) String() string
type FeatureFlagUpdate ¶
type FeatureFlagUpdate struct { Enabled *bool `json:"enabled,omitempty"` // Whether the feature flag is enabled // The error string returned by the API when a client performs an action disabled by the feature flag CustomErrorMessage *string `json:"custom_error_message,omitempty"` }
func NewFeatureFlagUpdate ¶
func NewFeatureFlagUpdate() *FeatureFlagUpdate
func (*FeatureFlagUpdate) WithCustomErrorMessage ¶
func (ff *FeatureFlagUpdate) WithCustomErrorMessage(msg string) *FeatureFlagUpdate
func (*FeatureFlagUpdate) WithEnabled ¶
func (ff *FeatureFlagUpdate) WithEnabled(enabled bool) *FeatureFlagUpdate
type InterfaceAppEnvironment ¶
type InterfaceAppEnvironment struct { EnvVars map[string]interface{} `json:"environment_variables,omitempty"` StagingEnv map[string]interface{} `json:"staging_env_json,omitempty"` RunningEnv map[string]interface{} `json:"running_env_json,omitempty"` SystemEnvVars map[string]json.RawMessage `json:"system_env_json,omitempty"` // VCAP_SERVICES AppEnvVars map[string]json.RawMessage `json:"application_env_json,omitempty"` // VCAP_APPLICATION }
type InterfaceEnvVar ¶
type InterfaceEnvVar struct {
Var map[string]interface{} `json:"var"`
}
type IsolationSegment ¶
type IsolationSegmentCreate ¶
type IsolationSegmentCreate struct { Name string `json:"name"` Metadata *Metadata `json:"metadata,omitempty"` }
func NewIsolationSegmentCreate ¶
func NewIsolationSegmentCreate(name string) *IsolationSegmentCreate
type IsolationSegmentList ¶
type IsolationSegmentList struct { Pagination Pagination `json:"pagination"` Resources []*IsolationSegment `json:"resources"` }
type IsolationSegmentRelationship ¶
type IsolationSegmentRelationship struct { Data []Relationship `json:"data"` Links map[string]Link `json:"links"` }
type IsolationSegmentUpdate ¶
type Job ¶
type Job struct { Operation string `json:"operation"` // Current desired operation of the job on a model State JobState `json:"state"` // State of the job; valid values are PROCESSING, POLLING, COMPLETE, or FAILED Errors []CloudFoundryError `json:"errors"` // Array of errors that occurred while processing the job Warnings []JobWarning `json:"warnings"` // Array of warnings that occurred while processing the job Resource `json:",inline"` }
type JobWarning ¶
type JobWarning struct {
Detail string `json:"detail"`
}
type LastOperation ¶
type Lifecycle ¶
type Lifecycle struct { Type string `json:"type,omitempty"` BuildpackData BuildpackLifecycle `json:"data,omitempty"` // TODO: support other lifecycles }
type LifecycleType ¶
type LifecycleType int
LifecycleType https://v3-apidocs.cloudfoundry.org/version/3.126.0/index.html#list-apps
const ( LifecycleNone LifecycleType = iota LifecycleBuildpack LifecycleDocker )
func (LifecycleType) String ¶
func (l LifecycleType) String() string
type ManifestDiff ¶
type ManifestDiff struct {
Diff []ManifestDiffItem `json:"diff"`
}
type ManifestDiffItem ¶
type Metadata ¶
type Metadata struct { Labels map[string]*string `json:"labels"` Annotations map[string]*string `json:"annotations"` }
Metadata allows you to tag API resources with information that does not directly affect its functionality.
func (*Metadata) Clear ¶
func (m *Metadata) Clear()
Clear automatically calls Remove on all annotations and labels present in the metadata instance
func (*Metadata) RemoveAnnotation ¶
RemoveAnnotation removes an annotation by setting the specified key's value to nil which can then be passed to the API
func (*Metadata) RemoveLabel ¶
RemoveLabel removes a label by setting the specified key's value to nil which can then be passed to the API
func (*Metadata) SetAnnotation ¶
SetAnnotation to the metadata instance
The prefix and value are optional and may be an empty string. The key must be at least 1 character in length.
func (*Metadata) SetLabel ¶
SetLabel to the metadata instance
The prefix and value are optional and may be an empty string. The key must be at least 1 character in length.
func (*Metadata) WithAnnotation ¶
WithAnnotation is a fluent method alias for SetAnnotation
type NullableRelationship ¶
type NullableRelationship struct {
GUID *string `json:"guid"`
}
type NullableToOneRelationship ¶
type NullableToOneRelationship struct {
Data *NullableRelationship `json:"data"`
}
type Organization ¶
type Organization struct { Name string `json:"name"` Suspended *bool `json:"suspended,omitempty"` Relationships QuotaRelationship `json:"relationships,omitempty"` Metadata *Metadata `json:"metadata,omitempty"` Resource `json:",inline"` }
type OrganizationCreate ¶
type OrganizationCreate struct { Name string `json:"name"` Suspended *bool `json:"suspended,omitempty"` Metadata *Metadata `json:"metadata,omitempty"` }
func NewOrganizationCreate ¶
func NewOrganizationCreate(name string) *OrganizationCreate
type OrganizationList ¶
type OrganizationList struct { Pagination Pagination `json:"pagination,omitempty"` Resources []*Organization `json:"resources,omitempty"` }
type OrganizationQuota ¶
type OrganizationQuota struct { Name string `json:"name"` Apps AppsQuota `json:"apps"` Services ServicesQuota `json:"services"` Routes RoutesQuota `json:"routes"` Domains DomainsQuota `json:"domains"` Relationships OrganizationQuotaRelationships `json:"relationships"` Resource `json:",inline"` }
type OrganizationQuotaCreateOrUpdate ¶
type OrganizationQuotaCreateOrUpdate struct { Name *string `json:"name,omitempty"` Apps *AppsQuota `json:"apps,omitempty"` Services *ServicesQuota `json:"services,omitempty"` Routes *RoutesQuota `json:"routes,omitempty"` Domains *DomainsQuota `json:"domains,omitempty"` Relationships *OrganizationQuotaRelationships `json:"relationships,omitempty"` }
func NewOrganizationQuotaCreate ¶
func NewOrganizationQuotaCreate(name string) *OrganizationQuotaCreateOrUpdate
func NewOrganizationQuotaUpdate ¶
func NewOrganizationQuotaUpdate() *OrganizationQuotaCreateOrUpdate
func (*OrganizationQuotaCreateOrUpdate) WithAppsTotalMemoryInMB ¶
func (q *OrganizationQuotaCreateOrUpdate) WithAppsTotalMemoryInMB(mb int) *OrganizationQuotaCreateOrUpdate
func (*OrganizationQuotaCreateOrUpdate) WithDomains ¶
func (q *OrganizationQuotaCreateOrUpdate) WithDomains(count int) *OrganizationQuotaCreateOrUpdate
func (*OrganizationQuotaCreateOrUpdate) WithLogRateLimitInBytesPerSecond ¶
func (q *OrganizationQuotaCreateOrUpdate) WithLogRateLimitInBytesPerSecond(bytes int) *OrganizationQuotaCreateOrUpdate
func (*OrganizationQuotaCreateOrUpdate) WithName ¶
func (q *OrganizationQuotaCreateOrUpdate) WithName(name string) *OrganizationQuotaCreateOrUpdate
func (*OrganizationQuotaCreateOrUpdate) WithOrganizations ¶
func (q *OrganizationQuotaCreateOrUpdate) WithOrganizations(orgGUIDs ...string) *OrganizationQuotaCreateOrUpdate
func (*OrganizationQuotaCreateOrUpdate) WithPaidServicesAllowed ¶
func (q *OrganizationQuotaCreateOrUpdate) WithPaidServicesAllowed(allowed bool) *OrganizationQuotaCreateOrUpdate
func (*OrganizationQuotaCreateOrUpdate) WithPerAppTasks ¶
func (q *OrganizationQuotaCreateOrUpdate) WithPerAppTasks(count int) *OrganizationQuotaCreateOrUpdate
func (*OrganizationQuotaCreateOrUpdate) WithPerProcessMemoryInMB ¶
func (q *OrganizationQuotaCreateOrUpdate) WithPerProcessMemoryInMB(mb int) *OrganizationQuotaCreateOrUpdate
func (*OrganizationQuotaCreateOrUpdate) WithTotalInstances ¶
func (q *OrganizationQuotaCreateOrUpdate) WithTotalInstances(count int) *OrganizationQuotaCreateOrUpdate
func (*OrganizationQuotaCreateOrUpdate) WithTotalReservedPorts ¶
func (q *OrganizationQuotaCreateOrUpdate) WithTotalReservedPorts(count int) *OrganizationQuotaCreateOrUpdate
func (*OrganizationQuotaCreateOrUpdate) WithTotalRoutes ¶
func (q *OrganizationQuotaCreateOrUpdate) WithTotalRoutes(count int) *OrganizationQuotaCreateOrUpdate
func (*OrganizationQuotaCreateOrUpdate) WithTotalServiceInstances ¶
func (q *OrganizationQuotaCreateOrUpdate) WithTotalServiceInstances(count int) *OrganizationQuotaCreateOrUpdate
func (*OrganizationQuotaCreateOrUpdate) WithTotalServiceKeys ¶
func (q *OrganizationQuotaCreateOrUpdate) WithTotalServiceKeys(count int) *OrganizationQuotaCreateOrUpdate
type OrganizationQuotaList ¶
type OrganizationQuotaList struct { Pagination Pagination `json:"pagination"` Resources []*OrganizationQuota `json:"resources"` }
type OrganizationQuotaRelationships ¶
type OrganizationQuotaRelationships struct { // A relationship to the organizations where the quota is applied Organizations ToManyRelationships `json:"organizations"` }
type OrganizationRoleType ¶
type OrganizationRoleType int
OrganizationRoleType https://v3-apidocs.cloudfoundry.org/version/3.127.0/index.html#valid-role-types
const ( OrganizationRoleNone OrganizationRoleType = iota OrganizationRoleUser OrganizationRoleAuditor OrganizationRoleManager OrganizationRoleBillingManager )
func (OrganizationRoleType) String ¶
func (or OrganizationRoleType) String() string
type OrganizationUpdate ¶
type OrganizationUsageSummary ¶
type OrganizationUsageSummary struct { UsageSummary UsageSummary `json:"usage_summary"` Links map[string]Link `json:"links,omitempty"` }
type Package ¶
type Package struct { Type string `json:"type"` // bits or docker DataRaw json.RawMessage `json:"data"` Data BitsOrDockerPackage `json:"-"` // depends on value of Type State PackageState `json:"state"` Relationships AppRelationship `json:"relationships"` Metadata *Metadata `json:"metadata"` Resource `json:",inline"` }
func (*Package) UnmarshalJSON ¶
type PackageCopy ¶
type PackageCopy struct {
Relationships AppRelationship `json:"relationships"`
}
func NewPackageCopy ¶
func NewPackageCopy(appGUID string) *PackageCopy
type PackageCreate ¶
type PackageCreate struct { Type string `json:"type"` Relationships AppRelationship `json:"relationships"` Data *DockerPackage `json:"data,omitempty"` Metadata *Metadata `json:"metadata,omitempty"` }
func NewDockerPackageCreate ¶
func NewDockerPackageCreate(appGUID, image, username, password string) *PackageCreate
func NewPackageCreate ¶
func NewPackageCreate(appGUID string) *PackageCreate
type PackageList ¶
type PackageList struct { Pagination Pagination `json:"pagination,omitempty"` Resources []*Package `json:"resources,omitempty"` }
type PackageState ¶
type PackageState string
const ( PackageStateAwaitingUpload PackageState = "AWAITING_UPLOAD" PackageStateProcessingUpload PackageState = "PROCESSING_UPLOAD" PackageStateReady PackageState = "READY" PackageStateFailed PackageState = "FAILED" PackageStateCopying PackageState = "COPYING" PackageStateExpired PackageState = "EXPIRED" )
type PackageUpdate ¶
type PackageUpdate struct {
Metadata *Metadata `json:"metadata,omitempty"`
}
type Pagination ¶
type Pagination struct { TotalResults int `json:"total_results"` TotalPages int `json:"total_pages"` First Link `json:"first"` Last Link `json:"last"` Next Link `json:"next"` Previous Link `json:"previous"` }
Pagination is used by the apis to page list results
type Process ¶
type Process struct { // Process type; a unique identifier for processes belonging to an app: web, task Type string `json:"type"` // The command used to start the process; use null to revert to the buildpack-detected or procfile-provided start command Command *string `json:"command"` // The number of instances to run Instances int `json:"instances"` // The memory in MB allocated per instance MemoryInMB int `json:"memory_in_mb"` // The disk in MB allocated per instance DiskInMB int `json:"disk_in_mb"` // The log rate in bytes per second allocated per instance LogRateLimitInBytesPerSecond int `json:"log_rate_limit_in_bytes_per_second"` HealthCheck ProcessHealthCheck `json:"health_check"` ReadinessCheck ProcessReadinessCheck `json:"readiness_health_check"` Relationships ProcessRelationships `json:"relationships"` Metadata *Metadata `json:"metadata"` Resource `json:",inline"` }
type ProcessHealthCheck ¶
type ProcessHealthCheck struct { // The type of health check to perform; valid values are http, port, and process; default is port Type string `json:"type"` Data ProcessHealthCheckData `json:"data"` }
type ProcessHealthCheckData ¶
type ProcessHealthCheckData struct { // The duration in seconds that health checks can fail before the process is restarted Timeout *int `json:"timeout"` // The timeout in seconds for individual health check requests for http and port health checks InvocationTimeout *int `json:"invocation_timeout,omitempty"` // The interval in seconds between health check requests Interval *int `json:"interval,omitempty"` // The endpoint called to determine if the app is healthy; this key is only present for http health check Endpoint *string `json:"endpoint,omitempty"` }
type ProcessList ¶
type ProcessList struct { Pagination Pagination `json:"pagination"` Resources []*Process `json:"resources"` }
type ProcessReadinessCheck ¶
type ProcessReadinessCheck struct { // The type of health check to perform; valid values are http, port, and process; default is process Type string `json:"type"` Data ProcessReadinessCheckData `json:"data"` }
type ProcessReadinessCheckData ¶
type ProcessReadinessCheckData struct { // The timeout in seconds for individual readiness check requests for http and port health checks InvocationTimeout *int `json:"invocation_timeout,omitempty"` // The interval in seconds between readiness check requests Interval *int `json:"interval,omitempty"` // The endpoint called to determine if the app is ready; this key is only present for http readiness checks Endpoint *string `json:"endpoint,omitempty"` }
type ProcessReference ¶
type ProcessRelationships ¶
type ProcessRelationships struct { App ToOneRelationship `json:"app"` // The app the process belongs to Revision ToOneRelationship `json:"revision"` // The app revision the process is currently running }
type ProcessScale ¶
type ProcessScale struct { // The number of instances to run Instances *int `json:"instances,omitempty"` // The memory in MB allocated per instance MemoryInMB *int `json:"memory_in_mb,omitempty"` // The disk in MB allocated per instance DiskInMB *int `json:"disk_in_mb,omitempty"` // The log rate in bytes per second allocated per instance LogRateLimitInBytesPerSecond *int `json:"log_rate_limit_in_bytes_per_second,omitempty"` }
func NewProcessScale ¶
func NewProcessScale() *ProcessScale
func (*ProcessScale) WithDiskInMB ¶
func (p *ProcessScale) WithDiskInMB(mb int) *ProcessScale
func (*ProcessScale) WithInstances ¶
func (p *ProcessScale) WithInstances(count int) *ProcessScale
func (*ProcessScale) WithLogRateLimitInBytesPerSecond ¶
func (p *ProcessScale) WithLogRateLimitInBytesPerSecond(rate int) *ProcessScale
func (*ProcessScale) WithMemoryInMB ¶
func (p *ProcessScale) WithMemoryInMB(mb int) *ProcessScale
type ProcessStat ¶
type ProcessStat struct { Type string `json:"type"` // Process type; a unique identifier for processes belonging to an app Index int `json:"index"` // The zero-based index of running instances State string `json:"state"` // The state of the instance; valid values are RUNNING, CRASHED, STARTING, DOWN Usage Usage `json:"usage"` Host string `json:"host"` InstancePorts []map[string]int `json:"instance_ports"` Uptime int `json:"uptime"` MemoryQuota int `json:"mem_quota"` DiskQuota int `json:"disk_quota"` FileDescriptorQuota int `json:"fds_quota"` // The current isolation segment that the instance is running on; the value is null when the // instance is not placed on a particular isolation segment IsolationSegment *string `json:"isolation_segment"` // Information about errors placing the instance; the value is null if there are no placement errors Details *string `json:"details"` }
type ProcessStats ¶
type ProcessStats struct {
Stats []ProcessStat `json:"resources"`
}
type ProcessUpdate ¶
type ProcessUpdate struct { Command *string `json:"command"` HealthCheck *ProcessHealthCheck `json:"health_check,omitempty"` ReadinessCheck *ProcessReadinessCheck `json:"readiness_health_check,omitempty"` Metadata *Metadata `json:"metadata,omitempty"` }
func NewProcessUpdate ¶
func NewProcessUpdate() *ProcessUpdate
func (*ProcessUpdate) WithCommand ¶
func (p *ProcessUpdate) WithCommand(cmd string) *ProcessUpdate
func (*ProcessUpdate) WithHealthCheckEndpoint ¶
func (p *ProcessUpdate) WithHealthCheckEndpoint(endpoint string) *ProcessUpdate
func (*ProcessUpdate) WithHealthCheckInterval ¶
func (p *ProcessUpdate) WithHealthCheckInterval(interval int) *ProcessUpdate
func (*ProcessUpdate) WithHealthCheckInvocationTimeout ¶
func (p *ProcessUpdate) WithHealthCheckInvocationTimeout(timeout int) *ProcessUpdate
func (*ProcessUpdate) WithHealthCheckTimeout ¶
func (p *ProcessUpdate) WithHealthCheckTimeout(timeout int) *ProcessUpdate
func (*ProcessUpdate) WithHealthCheckType ¶
func (p *ProcessUpdate) WithHealthCheckType(hcType string) *ProcessUpdate
func (*ProcessUpdate) WithReadinessCheckEndpoint ¶
func (p *ProcessUpdate) WithReadinessCheckEndpoint(endpoint string) *ProcessUpdate
func (*ProcessUpdate) WithReadinessCheckInterval ¶
func (p *ProcessUpdate) WithReadinessCheckInterval(interval int) *ProcessUpdate
func (*ProcessUpdate) WithReadinessCheckInvocationTimeout ¶
func (p *ProcessUpdate) WithReadinessCheckInvocationTimeout(timeout int) *ProcessUpdate
func (*ProcessUpdate) WithReadinessCheckType ¶
func (p *ProcessUpdate) WithReadinessCheckType(hcType string) *ProcessUpdate
type QuotaRelationship ¶
type QuotaRelationship struct {
Quota ToOneRelationship `json:"quota"`
}
type Relationship ¶
type Relationship struct {
GUID string `json:"guid,omitempty"`
}
type ResourceMatch ¶
type ResourceMatch struct { Checksum ResourceMatchChecksum `json:"checksum"` SizeInBytes int `json:"size_in_bytes"` Path string `json:"path"` Mode string `json:"mode"` }
type ResourceMatchChecksum ¶
type ResourceMatchChecksum struct {
Value string `json:"value"`
}
type ResourceMatches ¶
type ResourceMatches struct {
Resources []ResourceMatch `json:"resources"`
}
type Revision ¶
type Revision struct { Version int `json:"version"` Droplet Relationship `json:"droplet"` Processes RevisionProcesses `json:"processes"` Sidecars []RevisionSidecar `json:"sidecars"` Description string `json:"description"` Deployable bool `json:"deployable"` Relationships AppRelationship `json:"relationships"` Metadata *Metadata `json:"metadata"` Resource `json:",inline"` }
type RevisionList ¶
type RevisionList struct { Pagination Pagination `json:"pagination"` Resources []*Revision `json:"resources"` }
type RevisionProcess ¶
type RevisionProcess struct {
Command string `json:"command"`
}
type RevisionProcesses ¶
type RevisionProcesses struct { Web *RevisionProcess `json:"web,omitempty"` Worker *RevisionProcess `json:"worker,omitempty"` }
type RevisionSidecar ¶
type RevisionUpdate ¶
type RevisionUpdate struct {
Metadata *Metadata `json:"metadata"`
}
type Role ¶
type Role struct { Type string `json:"type,omitempty"` Relationships RoleSpaceUserOrganizationRelationships `json:"relationships,omitempty"` Resource `json:",inline"` }
Role implements role object. Roles control access to resources in organizations and spaces. Roles are assigned to users.
type RoleIncludeType ¶
type RoleIncludeType int
RoleIncludeType https://v3-apidocs.cloudfoundry.org/version/3.126.0/index.html#include
const ( RoleIncludeNone RoleIncludeType = iota RoleIncludeUser RoleIncludeSpace RoleIncludeOrganization )
func (RoleIncludeType) String ¶
func (r RoleIncludeType) String() string
type RoleIncluded ¶
type RoleIncluded struct { Users []*User `json:"users"` Organizations []*Organization `json:"organizations"` Spaces []*Space `json:"spaces"` }
type RoleList ¶
type RoleList struct { Pagination Pagination `json:"pagination"` Resources []*Role `json:"resources"` Included *RoleIncluded `json:"included"` }
type RoleOrganizationCreate ¶
type RoleOrganizationCreate struct { RoleType string `json:"type"` Relationships RoleOrganizationUserRelationships `json:"relationships"` }
func NewRoleOrganizationCreate ¶
func NewRoleOrganizationCreate(orgGUID, userGUID string, roleType OrganizationRoleType) *RoleOrganizationCreate
func NewRoleOrganizationCreateWithUserName ¶
func NewRoleOrganizationCreateWithUserName(orgGUID, userName string, roleType OrganizationRoleType, origin string) *RoleOrganizationCreate
type RoleOrganizationUserRelationships ¶
type RoleOrganizationUserRelationships struct { Org ToOneRelationship `json:"organization"` User RoleUserData `json:"user"` }
type RoleSpaceCreate ¶
type RoleSpaceCreate struct { RoleType string `json:"type"` Relationships RoleSpaceUserRelationships `json:"relationships"` }
func NewRoleSpaceCreate ¶
func NewRoleSpaceCreate(spaceGUID, userGUID string, roleType SpaceRoleType) *RoleSpaceCreate
func NewRoleSpaceCreateWithUserName ¶
func NewRoleSpaceCreateWithUserName(spaceGUID, userName string, roleType SpaceRoleType, origin string) *RoleSpaceCreate
type RoleSpaceUserOrganizationRelationships ¶
type RoleSpaceUserOrganizationRelationships struct { Space ToOneRelationship `json:"space"` User ToOneRelationship `json:"user"` Org ToOneRelationship `json:"organization"` }
type RoleSpaceUserRelationships ¶
type RoleSpaceUserRelationships struct { Space ToOneRelationship `json:"space"` User RoleUserData `json:"user"` }
type RoleUserData ¶
type RoleUserData struct {
Data UserData `json:"data"`
}
type RoleWithIncluded ¶
type RoleWithIncluded struct { Role Included *RoleIncluded `json:"included"` }
type Root ¶
type Root struct {
Links RootLinks `json:"links"`
}
Root links to other resources, endpoints, and external services that are relevant to API clients.
type RootAppSSH ¶
type RootCloudController ¶
type RootLinks ¶
type RootLinks struct { Self Link `json:"self"` CloudControllerV2 RootCloudController `json:"cloud_controller_v2"` CloudControllerV3 RootCloudController `json:"cloud_controller_v3"` NetworkPolicyV0 Link `json:"network_policy_v0"` NetworkPolicyV1 Link `json:"network_policy_v1"` Login Link `json:"login"` Uaa Link `json:"uaa"` Credhub Link `json:"credhub"` Routing Link `json:"routing"` Logging Link `json:"logging"` LogCache Link `json:"log_cache"` LogStream Link `json:"log_stream"` AppSSH RootAppSSH `json:"app_ssh"` }
type Route ¶
type Route struct { Host string `json:"host"` Path string `json:"path"` URL string `json:"url"` Protocol string `json:"protocol"` Port *int `json:"port"` Destinations []RouteDestination `json:"destinations"` Metadata *Metadata `json:"metadata"` Relationships RouteRelationships `json:"relationships"` Resource `json:",inline"` }
type RouteCreate ¶
type RouteCreate struct { Relationships RouteRelationships `json:"relationships"` Host *string `json:"host,omitempty"` Path *string `json:"path,omitempty"` Port *int `json:"port"` Metadata *Metadata `json:"metadata,omitempty"` }
func NewRouteCreate ¶
func NewRouteCreate(domainGUID, spaceGUID string) *RouteCreate
func NewRouteCreateWithHost ¶
func NewRouteCreateWithHost(domainGUID, spaceGUID, host, path string, port int) *RouteCreate
type RouteDestination ¶
type RouteDestination struct { GUID *string `json:"guid,omitempty"` App RouteDestinationApp `json:"app"` Weight *int `json:"weight"` Port *int `json:"port,omitempty"` Protocol *string `json:"protocol"` }
type RouteDestinationApp ¶
type RouteDestinationApp struct { GUID *string `json:"guid,omitempty"` Process *RouteDestinationAppProcess `json:"process,omitempty"` }
type RouteDestinationAppProcess ¶
type RouteDestinationAppProcess struct {
Type string `json:"type"`
}
type RouteDestinationInsertOrReplace ¶
type RouteDestinationInsertOrReplace struct { GUID *string `json:"guid,omitempty"` App RouteDestinationApp `json:"app"` Weight *int `json:"weight,omitempty"` Port *int `json:"port,omitempty"` Protocol *string `json:"protocol,omitempty"` }
func NewRouteDestinationInsertOrReplace ¶
func NewRouteDestinationInsertOrReplace(appGUID string) *RouteDestinationInsertOrReplace
func (*RouteDestinationInsertOrReplace) WithPort ¶
func (r *RouteDestinationInsertOrReplace) WithPort(port int) *RouteDestinationInsertOrReplace
func (*RouteDestinationInsertOrReplace) WithProcessType ¶
func (r *RouteDestinationInsertOrReplace) WithProcessType(processType string) *RouteDestinationInsertOrReplace
func (*RouteDestinationInsertOrReplace) WithProtocol ¶
func (r *RouteDestinationInsertOrReplace) WithProtocol(protocol string) *RouteDestinationInsertOrReplace
func (*RouteDestinationInsertOrReplace) WithWeight ¶
func (r *RouteDestinationInsertOrReplace) WithWeight(weight int) *RouteDestinationInsertOrReplace
type RouteDestinationProtocolUpdate ¶
type RouteDestinationProtocolUpdate struct {
Protocol *string `json:"protocol"`
}
type RouteDestinationWithLinks ¶
type RouteDestinationWithLinks struct { RouteDestination Links map[string]Link `json:"links"` }
type RouteDestinations ¶
type RouteDestinations struct { Destinations []*RouteDestination `json:"destinations"` Links map[string]Link `json:"links,omitempty"` }
type RouteDestinationsInsertOrReplace ¶
type RouteDestinationsInsertOrReplace struct {
Destinations []*RouteDestinationInsertOrReplace `json:"destinations"`
}
type RouteIncludeType ¶
type RouteIncludeType int
RouteIncludeType https://v3-apidocs.cloudfoundry.org/version/3.126.0/index.html#include
const ( RouteIncludeNone RouteIncludeType = iota RouteIncludeSpace RouteIncludeSpaceOrganization RouteIncludeDomain )
func (RouteIncludeType) String ¶
func (a RouteIncludeType) String() string
type RouteIncluded ¶
type RouteIncluded struct { Organizations []*Organization `json:"organizations"` Spaces []*Space `json:"spaces"` Domains []*Domain `json:"domains"` }
type RouteList ¶
type RouteList struct { Pagination Pagination `json:"pagination"` Resources []*Route `json:"resources"` Included *RouteIncluded `json:"included"` }
type RouteRelationships ¶
type RouteRelationships struct { Space ToOneRelationship `json:"space"` Domain ToOneRelationship `json:"domain"` }
type RouteSharedSpaceRelationships ¶
type RouteSharedSpaceRelationships struct {}
type RouteUpdate ¶
type RouteUpdate struct {
Metadata *Metadata `json:"metadata"`
}
type RouteWithIncluded ¶
type RouteWithIncluded struct { Route Included *RouteIncluded `json:"included"` }
type RoutesQuota ¶
type SecurityGroup ¶
type SecurityGroup struct { Name string `json:"name"` GloballyEnabled SecurityGroupGloballyEnabled `json:"globally_enabled"` Rules []SecurityGroupRule `json:"rules"` Relationships SecurityGroupsRelationships `json:"relationships"` Resource `json:",inline"` }
SecurityGroup implements the security group object. Security groups are collections of egress traffic rules that can be applied to the staging or running state of applications.
type SecurityGroupCreate ¶
type SecurityGroupCreate struct { Name string `json:"name"` GloballyEnabled *SecurityGroupGloballyEnabled `json:"globally_enabled,omitempty"` Rules []*SecurityGroupRule `json:"rules,omitempty"` Relationships map[string]ToManyRelationships `json:"relationships,omitempty"` }
SecurityGroupCreate implements an object that is passed to Create method
type SecurityGroupGloballyEnabled ¶
type SecurityGroupGloballyEnabled struct { Running *bool `json:"running,omitempty"` Staging *bool `json:"staging,omitempty"` }
SecurityGroupGloballyEnabled object controls if the group is applied globally to the lifecycle of all applications
type SecurityGroupList ¶
type SecurityGroupList struct { Pagination Pagination `json:"pagination,omitempty"` Resources []*SecurityGroup `json:"resources,omitempty"` }
type SecurityGroupRule ¶
type SecurityGroupRule struct { Protocol string `json:"protocol"` Destination string `json:"destination"` Ports *string `json:"ports,omitempty"` Type *int `json:"type,omitempty"` // https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml#icmp-parameters-types Code *int `json:"code,omitempty"` // https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml#icmp-parameters-codes Description *string `json:"description,omitempty"` Log *bool `json:"log,omitempty"` }
SecurityGroupRule is an object that provide a rule that will be applied by a security group
func NewSecurityGroupRuleAll ¶
func NewSecurityGroupRuleAll(destination string) *SecurityGroupRule
func NewSecurityGroupRuleICMP ¶
func NewSecurityGroupRuleICMP(destination string, icmpType, icmpCode int) *SecurityGroupRule
func NewSecurityGroupRuleTCP ¶
func NewSecurityGroupRuleTCP(destination string, enableLogging bool) *SecurityGroupRule
func NewSecurityGroupRuleUDP ¶
func NewSecurityGroupRuleUDP(destination string) *SecurityGroupRule
func (*SecurityGroupRule) WithDescription ¶
func (sg *SecurityGroupRule) WithDescription(description string) *SecurityGroupRule
func (*SecurityGroupRule) WithPorts ¶
func (sg *SecurityGroupRule) WithPorts(ports string) *SecurityGroupRule
type SecurityGroupUpdate ¶
type SecurityGroupUpdate struct { Name string `json:"name,omitempty"` GloballyEnabled *SecurityGroupGloballyEnabled `json:"globally_enabled,omitempty"` Rules []*SecurityGroupRule `json:"rules,omitempty"` }
SecurityGroupUpdate implements an object that is passed to Update method
type SecurityGroupsRelationships ¶
type SecurityGroupsRelationships struct { StagingSpaces ToManyRelationships `json:"staging_spaces"` RunningSpaces ToManyRelationships `json:"running_spaces"` }
type ServiceBroker ¶
type ServiceBroker struct { Name string `json:"name"` URL string `json:"url"` Relationships SpaceRelationship `json:"relationships"` Metadata *Metadata `json:"metadata"` Resource `json:",inline"` }
type ServiceBrokerCreate ¶
type ServiceBrokerCreate struct { Name string `json:"name"` URL string `json:"url"` Authentication ServiceBrokerCredentials `json:"authentication"` Relationships *SpaceRelationship `json:"relationships,omitempty"` Metadata *Metadata `json:"metadata,omitempty"` }
func NewServiceBrokerCreate ¶
func NewServiceBrokerCreate(name, url, username, password string) *ServiceBrokerCreate
func (*ServiceBrokerCreate) WithSpace ¶
func (s *ServiceBrokerCreate) WithSpace(guid string) *ServiceBrokerCreate
type ServiceBrokerCredentials ¶
type ServiceBrokerCredentials struct { Type string `json:"type"` // basic Credentials ServiceBrokerBasicAuthCredentials `json:"credentials"` }
type ServiceBrokerList ¶
type ServiceBrokerList struct { Pagination Pagination `json:"pagination"` Resources []*ServiceBroker `json:"resources"` }
type ServiceBrokerRelationship ¶
type ServiceBrokerRelationship struct {
ServiceBroker ToOneRelationship `json:"service_broker"`
}
type ServiceBrokerUpdate ¶
type ServiceBrokerUpdate struct { Name *string `json:"name,omitempty"` URL *string `json:"url,omitempty"` Authentication *ServiceBrokerCredentials `json:"authentication,omitempty"` Metadata *Metadata `json:"metadata,omitempty"` }
func NewServiceBrokerUpdate ¶
func NewServiceBrokerUpdate() *ServiceBrokerUpdate
func (*ServiceBrokerUpdate) WithCredentials ¶
func (s *ServiceBrokerUpdate) WithCredentials(username, password string) *ServiceBrokerUpdate
func (*ServiceBrokerUpdate) WithName ¶
func (s *ServiceBrokerUpdate) WithName(name string) *ServiceBrokerUpdate
func (*ServiceBrokerUpdate) WithURL ¶
func (s *ServiceBrokerUpdate) WithURL(url string) *ServiceBrokerUpdate
type ServiceCredentialBinding ¶
type ServiceCredentialBinding struct { Name *string `json:"name"` Type string `json:"type"` LastOperation LastOperation `json:"last_operation"` Metadata *Metadata `json:"metadata"` Relationships ServiceCredentialBindingRelationships `json:"relationships"` Resource `json:",inline"` }
ServiceCredentialBinding implements the service credential binding object a credential binding can be a binding between apps and a service instance or a service key
type ServiceCredentialBindingCreate ¶
type ServiceCredentialBindingCreate struct { Type string `json:"type"` // Type of the service credential binding. Valid values are key and app Relationships ServiceCredentialBindingRelationships `json:"relationships"` // The service instance to be bound Name *string `json:"name,omitempty"` // Name of the service credential binding. name is optional when the type is app Parameters *json.RawMessage `json:"parameters,omitempty"` // A JSON object that is passed to the service broker Metadata *Metadata `json:"metadata,omitempty"` }
func NewServiceCredentialBindingCreateApp ¶
func NewServiceCredentialBindingCreateApp(serviceInstanceGUID, appGUID string) *ServiceCredentialBindingCreate
func NewServiceCredentialBindingCreateKey ¶
func NewServiceCredentialBindingCreateKey(serviceInstanceGUID, bindingName string) *ServiceCredentialBindingCreate
func (*ServiceCredentialBindingCreate) WithJSONParameters ¶
func (s *ServiceCredentialBindingCreate) WithJSONParameters(jsonParams string) *ServiceCredentialBindingCreate
func (*ServiceCredentialBindingCreate) WithName ¶
func (s *ServiceCredentialBindingCreate) WithName(name string) *ServiceCredentialBindingCreate
type ServiceCredentialBindingIncludeType ¶
type ServiceCredentialBindingIncludeType int
ServiceCredentialBindingIncludeType https://v3-apidocs.cloudfoundry.org/version/3.126.0/index.html#include
const ( ServiceCredentialBindingIncludeNone ServiceCredentialBindingIncludeType = iota ServiceCredentialBindingIncludeApp ServiceCredentialBindingIncludeServiceInstance )
func (ServiceCredentialBindingIncludeType) String ¶
func (a ServiceCredentialBindingIncludeType) String() string
type ServiceCredentialBindingIncluded ¶
type ServiceCredentialBindingIncluded struct { Apps []*App `json:"apps"` ServiceInstances []*ServiceInstance `json:"service_instances"` }
type ServiceCredentialBindingList ¶
type ServiceCredentialBindingList struct { Pagination Pagination `json:"pagination"` Resources []*ServiceCredentialBinding `json:"resources"` Included *ServiceCredentialBindingIncluded `json:"included"` }
type ServiceCredentialBindingRelationships ¶
type ServiceCredentialBindingRelationships struct { App *ToOneRelationship `json:"app,omitempty"` ServiceInstance *ToOneRelationship `json:"service_instance,omitempty"` }
type ServiceCredentialBindingUpdate ¶
type ServiceCredentialBindingUpdate struct {
Metadata *Metadata `json:"metadata,omitempty"`
}
type ServiceCredentialBindingWithIncluded ¶
type ServiceCredentialBindingWithIncluded struct { ServiceCredentialBinding Included *ServiceCredentialBindingIncluded `json:"included"` }
type ServiceInstance ¶
type ServiceInstance struct { Name string `json:"name"` Tags []string `json:"tags"` // Used by apps to identify service instances; they are shown in the app VCAP_SERVICES env Type string `json:"type"` // Either managed or user-provided LastOperation LastOperation `json:"last_operation"` Relationships ServiceInstanceRelationships `json:"relationships"` Metadata *Metadata `json:"metadata"` // Information about the version of this service instance; only shown when type is managed MaintenanceInfo *ServiceInstanceMaintenanceInfo `json:"maintenance_info,omitempty"` // Whether an upgrade of this service instance is available on the current Service Plan // Details are available in the maintenance_info object; Only shown when type is managed UpgradeAvailable *bool `json:"upgrade_available,omitempty"` // The URL to the service instance dashboard (or null if there is none); only shown when type is managed DashboardURL *string `json:"dashboard_url,omitempty"` // The URL to the syslog drain (or null if there is none); only shown when type is user provided SyslogDrainURL *string `json:"syslog_drain_url,omitempty"` // The URL to the route service (or null if there is none); only shown when type is user provided RouteServiceURL *string `json:"route_service_url,omitempty"` Resource `json:",inline"` }
type ServiceInstanceList ¶
type ServiceInstanceList struct { Pagination Pagination `json:"pagination"` Resources []*ServiceInstance `json:"resources"` }
type ServiceInstanceMaintenanceInfo ¶
type ServiceInstanceMaintenanceInfo struct { // The current semantic version of this service instance // Comparing this version with the version of the Service Plan can be used to determine // whether this service instance is up-to-date with the Service Plan Version string `json:"version"` // A textual explanation associated with this version Description string `json:"description,omitempty"` }
type ServiceInstanceManagedCreate ¶
type ServiceInstanceManagedCreate struct { Type string `json:"type"` // Either managed or user-provided Name string `json:"name"` Relationships ServiceInstanceRelationships `json:"relationships"` Metadata *Metadata `json:"metadata,omitempty"` Parameters *json.RawMessage `json:"parameters,omitempty"` // A JSON object that is passed to the service broker Tags []string `json:"tags,omitempty"` }
func NewServiceInstanceCreateManaged ¶
func NewServiceInstanceCreateManaged(name, spaceGUID, servicePlanGUID string) *ServiceInstanceManagedCreate
func (*ServiceInstanceManagedCreate) WithParameters ¶
func (u *ServiceInstanceManagedCreate) WithParameters(parameters json.RawMessage) *ServiceInstanceManagedCreate
func (*ServiceInstanceManagedCreate) WithTags ¶
func (u *ServiceInstanceManagedCreate) WithTags(tags []string) *ServiceInstanceManagedCreate
type ServiceInstanceManagedUpdate ¶
type ServiceInstanceManagedUpdate struct { Name *string `json:"name,omitempty"` Relationships *ServiceInstanceRelationships `json:"relationships,omitempty"` MaintenanceInfo *ServiceInstanceMaintenanceInfo `json:"maintenance_info,omitempty"` Parameters *json.RawMessage `json:"parameters,omitempty"` // A JSON object that is passed to the service broker Tags []string `json:"tags"` Metadata *Metadata `json:"metadata,omitempty"` }
func NewServiceInstanceManagedUpdate ¶
func NewServiceInstanceManagedUpdate() *ServiceInstanceManagedUpdate
func (*ServiceInstanceManagedUpdate) WithMaintenanceInfo ¶
func (u *ServiceInstanceManagedUpdate) WithMaintenanceInfo(version, description string) *ServiceInstanceManagedUpdate
func (*ServiceInstanceManagedUpdate) WithName ¶
func (u *ServiceInstanceManagedUpdate) WithName(name string) *ServiceInstanceManagedUpdate
func (*ServiceInstanceManagedUpdate) WithParameters ¶
func (u *ServiceInstanceManagedUpdate) WithParameters(parameters json.RawMessage) *ServiceInstanceManagedUpdate
func (*ServiceInstanceManagedUpdate) WithServicePlan ¶
func (u *ServiceInstanceManagedUpdate) WithServicePlan(servicePlanGUID string) *ServiceInstanceManagedUpdate
func (*ServiceInstanceManagedUpdate) WithTags ¶
func (u *ServiceInstanceManagedUpdate) WithTags(tags []string) *ServiceInstanceManagedUpdate
type ServiceInstanceRelationships ¶
type ServiceInstanceRelationships struct { // The service plan the service instance relates to; only shown when type is managed ServicePlan *ToOneRelationship `json:"service_plan,omitempty"` // The space the service instance is contained in Space *ToOneRelationship `json:"space,omitempty"` }
type ServiceInstanceSharedSpaceRelationships ¶
type ServiceInstanceSharedSpaceRelationships struct {}
type ServiceInstanceSpaceUsageSummary ¶
type ServiceInstanceSpaceUsageSummary struct { Space Relationship `json:"space"` BoundAppCount int `json:"bound_app_count"` }
type ServiceInstanceUsageSummary ¶
type ServiceInstanceUsageSummary struct { UsageSummary []ServiceInstanceSpaceUsageSummary `json:"usage_summary"` Links map[string]Link `json:"links,omitempty"` }
type ServiceInstanceUserProvidedCreate ¶
type ServiceInstanceUserProvidedCreate struct { Type string `json:"type"` // Either managed or user-provided Name string `json:"name"` Relationships ServiceInstanceRelationships `json:"relationships"` Metadata *Metadata `json:"metadata,omitempty"` Credentials *json.RawMessage `json:"credentials,omitempty"` // A JSON object SyslogDrainURL *string `json:"syslog_drain_url,omitempty"` RouteServiceURL *string `json:"route_service_url,omitempty"` Tags []string `json:"tags,omitempty"` }
func NewServiceInstanceCreateUserProvided ¶
func NewServiceInstanceCreateUserProvided(name, spaceGUID string) *ServiceInstanceUserProvidedCreate
func (*ServiceInstanceUserProvidedCreate) WithCredentials ¶
func (u *ServiceInstanceUserProvidedCreate) WithCredentials(credentials json.RawMessage) *ServiceInstanceUserProvidedCreate
func (*ServiceInstanceUserProvidedCreate) WithRouteServiceURL ¶
func (u *ServiceInstanceUserProvidedCreate) WithRouteServiceURL(url string) *ServiceInstanceUserProvidedCreate
func (*ServiceInstanceUserProvidedCreate) WithSyslogDrainURL ¶
func (u *ServiceInstanceUserProvidedCreate) WithSyslogDrainURL(url string) *ServiceInstanceUserProvidedCreate
func (*ServiceInstanceUserProvidedCreate) WithTags ¶
func (u *ServiceInstanceUserProvidedCreate) WithTags(tags []string) *ServiceInstanceUserProvidedCreate
type ServiceInstanceUserProvidedUpdate ¶
type ServiceInstanceUserProvidedUpdate struct { Name *string `json:"name,omitempty"` SyslogDrainURL *string `json:"syslog_drain_url"` RouteServiceURL *string `json:"route_service_url"` Credentials *json.RawMessage `json:"credentials,omitempty"` // A JSON object Tags []string `json:"tags"` Metadata *Metadata `json:"metadata,omitempty"` }
func NewServiceInstanceUserProvidedUpdate ¶
func NewServiceInstanceUserProvidedUpdate() *ServiceInstanceUserProvidedUpdate
func (*ServiceInstanceUserProvidedUpdate) WithCredentials ¶
func (u *ServiceInstanceUserProvidedUpdate) WithCredentials(credentials json.RawMessage) *ServiceInstanceUserProvidedUpdate
func (*ServiceInstanceUserProvidedUpdate) WithName ¶
func (u *ServiceInstanceUserProvidedUpdate) WithName(name string) *ServiceInstanceUserProvidedUpdate
func (*ServiceInstanceUserProvidedUpdate) WithRouteServiceURL ¶
func (u *ServiceInstanceUserProvidedUpdate) WithRouteServiceURL(url string) *ServiceInstanceUserProvidedUpdate
func (*ServiceInstanceUserProvidedUpdate) WithSyslogDrainURL ¶
func (u *ServiceInstanceUserProvidedUpdate) WithSyslogDrainURL(url string) *ServiceInstanceUserProvidedUpdate
func (*ServiceInstanceUserProvidedUpdate) WithTags ¶
func (u *ServiceInstanceUserProvidedUpdate) WithTags(tags []string) *ServiceInstanceUserProvidedUpdate
type ServiceOffering ¶
type ServiceOffering struct { Name string `json:"name"` // Name of the service offering Description string `json:"description"` // Description of the service offering Available bool `json:"available"` // Whether the service offering is available Tags []string `json:"tags"` // Descriptive tags for the service offering // A list of permissions that the user would have to give the service, if they provision it; // the only permissions currently supported are syslog_drain, route_forwarding and volume_mount Requires []string `json:"requires"` Shareable bool `json:"shareable"` // URL that points to a documentation page for the service offering, // if provided by the service broker as part of the metadata field DocumentationURL string `json:"documentation_url"` // This object contains information obtained from the service broker catalog BrokerCatalog ServiceOfferingBrokerCatalog `json:"broker_catalog"` Relationships ServiceBrokerRelationship `json:"relationships"` Metadata *Metadata `json:"metadata"` Resource `json:",inline"` }
ServiceOffering represent the services offered by service brokers
type ServiceOfferingBrokerCatalog ¶
type ServiceOfferingBrokerCatalog struct { // The identifier that the service broker provided for this service offering ID string `json:"id"` // https://github.com/openservicebrokerapi/servicebroker/blob/master/profile.md#service-metadata-fields Metadata *json.RawMessage `json:"metadata"` Features ServiceOfferingFeatures `json:"features"` }
type ServiceOfferingFeatures ¶
type ServiceOfferingFeatures struct { // Whether the service offering supports upgrade/downgrade for service plans by default; service plans can override this field PlanUpdateable bool `json:"plan_updateable"` // Specifies whether service Instances of the service can be bound to applications Bindable bool `json:"bindable"` // Specifies whether the Fetching a service instance endpoint is supported for all service plans InstancesRetrievable bool `json:"instances_retrievable"` // Specifies whether the Fetching a service binding endpoint is supported for all service plans BindingsRetrievable bool `json:"bindings_retrievable"` // Specifies whether service instance updates relating only to context are propagated to the service broker AllowContextUpdates bool `json:"allow_context_updates"` }
type ServiceOfferingList ¶
type ServiceOfferingList struct { Pagination Pagination `json:"pagination"` Resources []*ServiceOffering `json:"resources"` }
type ServiceOfferingUpdate ¶
type ServiceOfferingUpdate struct {
Metadata *Metadata `json:"metadata,omitempty"`
}
type ServicePlan ¶
type ServicePlan struct { Name string `json:"name"` Description string `json:"description"` // the visibility of the plan; can be public, admin, organization VisibilityType string `json:"visibility_type"` // Whether the service plan is available Available bool `json:"available"` // Whether the service plan is free of charge Free bool `json:"free"` // The cost of the service plan as obtained from the service broker catalog Costs []ServicePlanCosts `json:"costs"` // Information about the version of this service plan MaintenanceInfo ServicePlanMaintenanceInfo `json:"maintenance_info"` // This object contains information obtained from the service broker catalog BrokerCatalog ServicePlanBrokerCatalog `json:"broker_catalog"` // Schema definitions for service instances and service bindings for the service plan Schemas ServicePlanSchemas `json:"schemas"` // The service offering that this service plan relates to Relationships ServicePlanRelationship `json:"relationships"` Metadata *Metadata `json:"metadata"` Resource `json:",inline"` }
type ServicePlanBrokerCatalog ¶
type ServicePlanBrokerCatalog struct { // The identifier that the service broker provided for this service plan ID string `json:"id"` // Additional information provided by the service broker as specified by OSBAPI // https://github.com/openservicebrokerapi/servicebroker/blob/master/profile.md#plan-metadata-fields Metadata *json.RawMessage `json:"metadata"` // The maximum number of seconds that Cloud Foundry will wait for an asynchronous service broker operation MaximumPollingDuration *int `json:"maximum_polling_duration"` // Features the service plan supports or not Features ServicePlanFeatures `json:"features"` }
type ServicePlanCosts ¶
type ServicePlanFeatures ¶
type ServicePlanFeatures struct { // Whether the service plan supports upgrade/downgrade for service plans // when the catalog does not specify a value, it is inherited from the service offering PlanUpdateable bool `json:"plan_updateable"` // Specifies whether service instances of the service can be bound to applications Bindable bool `json:"bindable"` }
type ServicePlanIncludeType ¶
type ServicePlanIncludeType int
ServicePlanIncludeType https://v3-apidocs.cloudfoundry.org/version/3.126.0/index.html#include
const ( ServicePlanIncludeNone ServicePlanIncludeType = iota ServicePlanIncludeSpaceOrganization ServicePlanIncludeServiceOffering )
func (ServicePlanIncludeType) String ¶
func (a ServicePlanIncludeType) String() string
type ServicePlanIncluded ¶
type ServicePlanIncluded struct { Organizations []*Organization `json:"organizations"` Spaces []*Space `json:"spaces"` ServiceOfferings []*ServiceOffering `json:"service_offerings"` }
type ServicePlanList ¶
type ServicePlanList struct { Pagination Pagination `json:"pagination"` Resources []*ServicePlan `json:"resources"` Included *ServicePlanIncluded `json:"included"` }
type ServicePlanMaintenanceInfo ¶
type ServicePlanMaintenanceInfo struct { // The current semantic version of the service plan // comparing this version with that of a service instance can be used to determine // whether the service instance is up-to-date with this service plan Version string `json:"version"` // A textual explanation associated with this version Description string `json:"description"` }
type ServicePlanRelationship ¶
type ServicePlanRelationship struct {
ServiceOffering ToOneRelationship `json:"service_offering"`
}
type ServicePlanSchemaCreateOrUpdate ¶
type ServicePlanSchemaCreateOrUpdate struct { // The schema definition for the input parameters // each input parameter is expressed as a property within a JSON object Parameters *json.RawMessage `json:"parameters"` }
type ServicePlanSchemas ¶
type ServicePlanSchemas struct { ServiceInstance ServicePlanServiceInstance `json:"service_instance"` ServiceBinding ServicePlanServiceBinding `json:"service_binding"` }
type ServicePlanServiceBinding ¶
type ServicePlanServiceBinding struct { // Schema definition for service Binding creation Create ServicePlanSchemaCreateOrUpdate `json:"create"` }
type ServicePlanServiceInstance ¶
type ServicePlanServiceInstance struct { // Schema definition for service instance creation Create ServicePlanSchemaCreateOrUpdate `json:"create"` // Schema definition for service instance update Update ServicePlanSchemaCreateOrUpdate `json:"update"` }
type ServicePlanUpdate ¶
type ServicePlanUpdate struct {
Metadata *Metadata `json:"metadata,omitempty"`
}
type ServicePlanVisibility ¶
type ServicePlanVisibility struct { // Denotes the visibility of the plan; can be public, admin, organization, space Type string `json:"type"` // List of organizations whose members can access the plan; present if type is organization Organizations []ServicePlanVisibilityRelation `json:"organizations,omitempty"` // space whose members can access the plan; present if type is space Space *ServicePlanVisibilityRelation `json:"space,omitempty"` }
func NewServicePlanVisibilityUpdate ¶
func NewServicePlanVisibilityUpdate(visibilityType ServicePlanVisibilityType) *ServicePlanVisibility
type ServicePlanVisibilityType ¶
type ServicePlanVisibilityType int
const ( ServicePlanVisibilityNone ServicePlanVisibilityType = iota ServicePlanVisibilityPublic ServicePlanVisibilityAdmin ServicePlanVisibilityOrganization ServicePlanVisibilitySpace )
func ParseServicePlanVisibilityType ¶
func ParseServicePlanVisibilityType(visibilityType string) (ServicePlanVisibilityType, error)
func (ServicePlanVisibilityType) String ¶
func (s ServicePlanVisibilityType) String() string
type ServicePlanWithIncluded ¶
type ServicePlanWithIncluded struct { ServicePlan Included *ServicePlanIncluded `json:"included"` }
type ServiceRouteBinding ¶
type ServiceRouteBinding struct { LastOperation LastOperation `json:"last_operation"` // The URL for the route service RouteServiceURL string `json:"route_service_url"` // The route and service instance that the service route is bound to Relationships ServiceRouteBindingRelationships `json:"relationships"` Metadata *Metadata `json:"metadata"` Resource `json:",inline"` }
type ServiceRouteBindingCreate ¶
type ServiceRouteBindingCreate struct { Relationships ServiceRouteBindingRelationships `json:"relationships"` Metadata *Metadata `json:"metadata,omitempty"` Parameters *json.RawMessage `json:"parameters,omitempty"` }
func NewServiceRouteBindingCreate ¶
func NewServiceRouteBindingCreate(routeGUID, serviceInstanceGUID string) *ServiceRouteBindingCreate
type ServiceRouteBindingIncludeType ¶
type ServiceRouteBindingIncludeType int
ServiceRouteBindingIncludeType https://v3-apidocs.cloudfoundry.org/version/3.126.0/index.html#include
const ( ServiceRouteBindingIncludeNone ServiceRouteBindingIncludeType = iota ServiceRouteBindingIncludeRoute ServiceRouteBindingIncludeServiceInstance )
func (ServiceRouteBindingIncludeType) String ¶
func (a ServiceRouteBindingIncludeType) String() string
type ServiceRouteBindingIncluded ¶
type ServiceRouteBindingIncluded struct { Routes []*Route `json:"routes"` ServiceInstances []*ServiceInstance `json:"service_instances"` }
type ServiceRouteBindingList ¶
type ServiceRouteBindingList struct { Pagination Pagination `json:"pagination"` Resources []*ServiceRouteBinding `json:"resources"` Included *ServiceRouteBindingIncluded `json:"included"` }
type ServiceRouteBindingRelationships ¶
type ServiceRouteBindingRelationships struct { // The service instance that the route is bound to ServiceInstance ToOneRelationship `json:"service_instance"` // The route that the service instance is bound to Route ToOneRelationship `json:"route"` }
type ServiceRouteBindingUpdate ¶
type ServiceRouteBindingUpdate struct {
Metadata *Metadata `json:"metadata"`
}
type ServiceRouteBindingWithIncluded ¶
type ServiceRouteBindingWithIncluded struct { ServiceRouteBinding Included *ServiceRouteBindingIncluded `json:"included"` }
type ServiceUsage ¶
type ServiceUsage struct { // Current state of the service that this event pertains to, if applicable State *string `json:"state"` // space that this event pertains to, if applicable Space ServiceUsageGUIDName `json:"space"` // organization that this event pertains to, if applicable Organization NullableRelationship `json:"organization"` // service instance that this event pertains to, if applicable ServiceInstance ServiceUsageGUIDNameType `json:"service_instance"` // service plan that this event pertains to, if applicable ServicePlan ServiceUsageGUIDName `json:"service_plan"` // service offering that this event pertains to, if applicable ServiceOffering ServiceUsageGUIDName `json:"service_offering"` // service broker that this event pertains to, if applicable ServiceBroker ServiceUsageGUIDName `json:"service_broker"` Resource `json:",inline"` }
type ServiceUsageGUIDName ¶
type ServiceUsageList ¶
type ServiceUsageList struct { Pagination Pagination `json:"pagination"` Resources []*ServiceUsage `json:"resources"` }
type ServicesQuota ¶
type ServicesQuota struct { // Specifies if instances of paid service plans are permitted to be created. PaidServicesAllowed *bool `json:"paid_services_allowed,omitempty"` // The maximum number of service instances permitted. TotalServiceInstances *int `json:"total_service_instances"` // The maximum number of service keys permitted within an organization. TotalServiceKeys *int `json:"total_service_keys"` }
type Sidecar ¶
type Sidecar struct { // Human-readable name for the sidecar Name string `json:"name"` // The command used to start the sidecar Command string `json:"command"` // A list of process types the sidecar applies to ProcessTypes []string `json:"process_types"` // Reserved memory for sidecar in MB MemoryInMB int `json:"memory_in_mb"` // Specifies whether the sidecar was created by the user or via the buildpack Origin string `json:"origin"` // The app the sidecar is associated with Relationships AppRelationship `json:"relationships"` Resource `json:",inline"` }
type SidecarCreate ¶
type SidecarCreate struct { // Human-readable name for the sidecar Name string `json:"name"` // The command used to start the sidecar Command string `json:"command"` // A list of process types the sidecar applies to ProcessTypes []string `json:"process_types"` // Reserved memory for sidecar in MB MemoryInMB *int `json:"memory_in_mb,omitempty"` }
func NewSidecarCreate ¶
func NewSidecarCreate(name, command string, processTypes []string) *SidecarCreate
func (*SidecarCreate) WithMemoryInMB ¶
func (s *SidecarCreate) WithMemoryInMB(mb int) *SidecarCreate
type SidecarList ¶
type SidecarList struct { Pagination Pagination `json:"pagination"` Resources []*Sidecar `json:"resources"` }
type SidecarUpdate ¶
type SidecarUpdate struct { // Human-readable name for the sidecar Name *string `json:"name,omitempty"` // The command used to start the sidecar Command *string `json:"command,omitempty"` // A list of process types the sidecar applies to ProcessTypes []string `json:"process_types,omitempty"` // Reserved memory for sidecar in MB MemoryInMB *int `json:"memory_in_mb,omitempty"` }
func NewSidecarUpdate ¶
func NewSidecarUpdate() *SidecarUpdate
func (*SidecarUpdate) WithCommand ¶
func (s *SidecarUpdate) WithCommand(command string) *SidecarUpdate
func (*SidecarUpdate) WithMemoryInMB ¶
func (s *SidecarUpdate) WithMemoryInMB(mb int) *SidecarUpdate
func (*SidecarUpdate) WithName ¶
func (s *SidecarUpdate) WithName(name string) *SidecarUpdate
func (*SidecarUpdate) WithProcessTypes ¶
func (s *SidecarUpdate) WithProcessTypes(processTypes []string) *SidecarUpdate
type Space ¶
type Space struct { Name string `json:"name"` Relationships *SpaceRelationships `json:"relationships"` Metadata *Metadata `json:"metadata"` Resource `json:",inline"` }
type SpaceCreate ¶
type SpaceCreate struct { Name string `json:"name"` Relationships *SpaceRelationships `json:"relationships"` Metadata *Metadata `json:"metadata,omitempty"` }
func NewSpaceCreate ¶
func NewSpaceCreate(name, orgGUID string) *SpaceCreate
type SpaceFeature ¶
type SpaceFeatureUpdate ¶
type SpaceFeatureUpdate struct {
Enabled bool `json:"enabled"`
}
type SpaceIncludeType ¶
type SpaceIncludeType int
const ( SpaceIncludeNone SpaceIncludeType = iota SpaceIncludeOrganization )
func (SpaceIncludeType) String ¶
func (s SpaceIncludeType) String() string
type SpaceIncluded ¶
type SpaceIncluded struct {
Organizations []*Organization `json:"organizations"`
}
type SpaceList ¶
type SpaceList struct { Pagination Pagination `json:"pagination"` Resources []*Space `json:"resources"` Included *SpaceIncluded `json:"included"` }
type SpaceQuota ¶
type SpaceQuota struct { // Name of the quota Name string `json:"name"` // quotas that affect apps Apps AppsQuota `json:"apps"` // quotas that affect services Services ServicesQuota `json:"services"` // quotas that affect routes Routes RoutesQuota `json:"routes"` // relationships to the organization and spaces where the quota belongs Relationships SpaceQuotaRelationships `json:"relationships"` Resource `json:",inline"` }
type SpaceQuotaCreateOrUpdate ¶
type SpaceQuotaCreateOrUpdate struct { // Name of the quota Name *string `json:"name,omitempty"` // relationships to the organization and spaces where the quota belongs Relationships *SpaceQuotaRelationships `json:"relationships,omitempty"` // quotas that affect apps Apps *AppsQuota `json:"apps,omitempty"` // quotas that affect services Services *ServicesQuota `json:"services,omitempty"` // quotas that affect routes Routes *RoutesQuota `json:"routes,omitempty"` }
func NewSpaceQuotaCreate ¶
func NewSpaceQuotaCreate(name, orgGUID string) *SpaceQuotaCreateOrUpdate
func NewSpaceQuotaUpdate ¶
func NewSpaceQuotaUpdate() *SpaceQuotaCreateOrUpdate
func (*SpaceQuotaCreateOrUpdate) WithLogRateLimitInBytesPerSecond ¶
func (s *SpaceQuotaCreateOrUpdate) WithLogRateLimitInBytesPerSecond(mbps int) *SpaceQuotaCreateOrUpdate
func (*SpaceQuotaCreateOrUpdate) WithName ¶
func (s *SpaceQuotaCreateOrUpdate) WithName(name string) *SpaceQuotaCreateOrUpdate
func (*SpaceQuotaCreateOrUpdate) WithPaidServicesAllowed ¶
func (s *SpaceQuotaCreateOrUpdate) WithPaidServicesAllowed(allowed bool) *SpaceQuotaCreateOrUpdate
func (*SpaceQuotaCreateOrUpdate) WithPerAppTasks ¶
func (s *SpaceQuotaCreateOrUpdate) WithPerAppTasks(count int) *SpaceQuotaCreateOrUpdate
func (*SpaceQuotaCreateOrUpdate) WithPerProcessMemoryInMB ¶
func (s *SpaceQuotaCreateOrUpdate) WithPerProcessMemoryInMB(mb int) *SpaceQuotaCreateOrUpdate
func (*SpaceQuotaCreateOrUpdate) WithSpaces ¶
func (s *SpaceQuotaCreateOrUpdate) WithSpaces(spaceGUIDs ...string) *SpaceQuotaCreateOrUpdate
func (*SpaceQuotaCreateOrUpdate) WithTotalInstances ¶
func (s *SpaceQuotaCreateOrUpdate) WithTotalInstances(count int) *SpaceQuotaCreateOrUpdate
func (*SpaceQuotaCreateOrUpdate) WithTotalMemoryInMB ¶
func (s *SpaceQuotaCreateOrUpdate) WithTotalMemoryInMB(mb int) *SpaceQuotaCreateOrUpdate
func (*SpaceQuotaCreateOrUpdate) WithTotalReservedPorts ¶
func (s *SpaceQuotaCreateOrUpdate) WithTotalReservedPorts(count int) *SpaceQuotaCreateOrUpdate
func (*SpaceQuotaCreateOrUpdate) WithTotalRoutes ¶
func (s *SpaceQuotaCreateOrUpdate) WithTotalRoutes(count int) *SpaceQuotaCreateOrUpdate
func (*SpaceQuotaCreateOrUpdate) WithTotalServiceInstances ¶
func (s *SpaceQuotaCreateOrUpdate) WithTotalServiceInstances(count int) *SpaceQuotaCreateOrUpdate
func (*SpaceQuotaCreateOrUpdate) WithTotalServiceKeys ¶
func (s *SpaceQuotaCreateOrUpdate) WithTotalServiceKeys(count int) *SpaceQuotaCreateOrUpdate
type SpaceQuotaList ¶
type SpaceQuotaList struct { Pagination Pagination `json:"pagination"` Resources []*SpaceQuota `json:"resources"` }
type SpaceQuotaRelationships ¶
type SpaceQuotaRelationships struct { Organization *ToOneRelationship `json:"organization,omitempty"` Spaces *ToManyRelationships `json:"spaces,omitempty"` }
type SpaceRelationship ¶
type SpaceRelationship struct {
Space ToOneRelationship `json:"space"`
}
type SpaceRelationships ¶
type SpaceRelationships struct { Organization *ToOneRelationship `json:"organization"` Quota *ToOneRelationship `json:"quota,omitempty"` }
type SpaceRoleType ¶
type SpaceRoleType int
SpaceRoleType https://v3-apidocs.cloudfoundry.org/version/3.127.0/index.html#valid-role-types
const ( SpaceRoleNone SpaceRoleType = iota SpaceRoleAuditor SpaceRoleDeveloper SpaceRoleManager SpaceRoleSupporter )
func (SpaceRoleType) String ¶
func (sr SpaceRoleType) String() string
type SpaceUpdate ¶
type SpaceWithIncluded ¶
type SpaceWithIncluded struct { Space Included *SpaceIncluded `json:"included"` }
type Stack ¶
type Stack struct { Name string `json:"name"` Description *string `json:"description"` RunRootfsImage string `json:"run_rootfs_image"` BuildRootfsImage string `json:"build_rootfs_image"` Default bool `json:"default"` Metadata *Metadata `json:"metadata"` Resource `json:",inline"` }
Stack implements stack object. Stacks are the base operating system and file system that your application will execute in. A stack is how you configure applications to run against different operating systems (like Windows or Linux) and different versions of those operating systems.
type StackCreate ¶
type StackList ¶
type StackList struct { Pagination Pagination `json:"pagination"` Resources []*Stack `json:"resources"` }
type StackUpdate ¶
type StackUpdate struct {
Metadata *Metadata `json:"metadata,omitempty"`
}
type Task ¶
type Task struct { Name string `json:"name"` // User-facing id of the task; this number is unique for every task associated with a given app SequenceID int `json:"sequence_id"` // Command that will be executed; this field may be excluded based on a user’s role Command string `json:"command"` // State of the task Possible states are PENDING, RUNNING, SUCCEEDED, CANCELING, and FAILED State string `json:"state"` // Amount of memory to allocate for the task in MB MemoryInMB int `json:"memory_in_mb"` // Amount of disk to allocate for the task in MB DiskInMB int `json:"disk_in_mb"` // Amount of log rate to allocate for the task in bytes LogRateLimitInBytesPerSecond int `json:"log_rate_limit_in_bytes_per_second"` // Results from the task Result TaskResult `json:"result"` // The guid of the droplet that will be used to run the command DropletGUID string `json:"droplet_guid"` // The app the task belongs to Relationships AppRelationship `json:"relationships"` Metadata *Metadata `json:"metadata"` Resource `json:",inline"` }
type TaskCreate ¶
type TaskCreate struct { // Command that will be executed; NOTE: optional if a template.process.guid is provided Command *string `json:"command,omitempty"` // Name of the task, otherwise auto-generated Name *string `json:"name,omitempty"` // Amount of memory to allocate for the task in MB MemoryInMB *int `json:"memory_in_mb,omitempty"` // Amount of disk to allocate for the task in MB DiskInMB *int `json:"disk_in_mb,omitempty"` // Amount of log rate to allocate for the task in bytes LogRateLimitInBytesPerSecond *int `json:"log_rate_limit_in_bytes_per_second,omitempty"` // The guid of the droplet that will be used to run the command DropletGUID *string `json:"droplet_guid,omitempty"` // The process that will be used as a template Template *TaskTemplate `json:"template,omitempty"` Metadata *Metadata `json:"metadata,omitempty"` }
func NewTaskCreateWithCommand ¶
func NewTaskCreateWithCommand(command string) *TaskCreate
func NewTaskCreateWithProcessTemplate ¶
func NewTaskCreateWithProcessTemplate(processGUID string) *TaskCreate
func (*TaskCreate) WithDiskInMB ¶
func (t *TaskCreate) WithDiskInMB(mb int) *TaskCreate
func (*TaskCreate) WithDropletGUID ¶
func (t *TaskCreate) WithDropletGUID(dropletGUID string) *TaskCreate
func (*TaskCreate) WithLogRateLimitInBytesPerSecond ¶
func (t *TaskCreate) WithLogRateLimitInBytesPerSecond(mbps int) *TaskCreate
func (*TaskCreate) WithMemoryInMB ¶
func (t *TaskCreate) WithMemoryInMB(mb int) *TaskCreate
func (*TaskCreate) WithName ¶
func (t *TaskCreate) WithName(name string) *TaskCreate
type TaskList ¶
type TaskList struct { Pagination Pagination `json:"pagination"` Resources []*Task `json:"resources"` }
type TaskProcess ¶
type TaskProcess struct { // The guid of the process that will be used as a template GUID string `json:"guid"` }
type TaskResult ¶
type TaskResult struct { // nil if the task succeeds, contains the error message if it fails FailureReason *string `json:"failure_reason"` }
type TaskTemplate ¶
type TaskTemplate struct {
Process TaskProcess `json:"process"`
}
type TaskUpdate ¶
type TaskUpdate struct {
Metadata *Metadata `json:"metadata,omitempty"`
}
type ToManyRelationships ¶
type ToManyRelationships struct {
Data []Relationship `json:"data"`
}
ToManyRelationships is a relationship to multiple objects
func NewDomainShare ¶
func NewDomainShare(orgGUID string) *ToManyRelationships
func NewToManyRelationships ¶
func NewToManyRelationships(guids []string) *ToManyRelationships
type ToOneRelationship ¶
type ToOneRelationship struct {
Data *Relationship `json:"data"`
}
ToOneRelationship is a relationship to a single object
type UsageSummary ¶
type User ¶
type User struct { Username string `json:"username"` PresentationName string `json:"presentation_name"` Origin string `json:"origin"` Metadata *Metadata `json:"metadata"` Resource `json:",inline"` }
User implements the user object
type UserCreate ¶
UserCreate is used to create a new user in the Cloud Controller database
Creating a user requires one value, a GUID. This creates a user in the Cloud Controller database. Generally, the GUID should match the GUID of an already-created user in the UAA database, though this is not required.
type UserList ¶
type UserList struct { Pagination Pagination `json:"pagination"` Resources []*User `json:"resources"` }
type UserUpdate ¶
type UserUpdate struct {
Metadata *Metadata `json:"metadata,omitempty"`
}
Source Files ¶
- app.go
- app_feature.go
- app_usage.go
- audit_event.go
- build.go
- buildpack.go
- deployment.go
- domain.go
- droplet.go
- envar_group.go
- error.go
- error_cf.go
- feature_flag.go
- isolation_segment.go
- job.go
- manifest.go
- metadata.go
- organization.go
- organization_quota.go
- package.go
- process.go
- quota.go
- resource_match.go
- revision.go
- role.go
- root.go
- route.go
- security_group.go
- service_broker.go
- service_credential_binding.go
- service_instance.go
- service_offering.go
- service_plan.go
- service_plan_visibility.go
- service_route_binding.go
- service_usage.go
- sidecar.go
- space.go
- space_feature.go
- space_quota.go
- stack.go
- task.go
- types.go
- user.go