Documentation ¶
Index ¶
- func EnrichAPIErrors(e error) error
- func NewServiceKeyNotFoundError(keyName, serviceInstanceName string) error
- type ActiveDeploymentNotFoundError
- type AddPluginRepositoryError
- type AllInstancesCrashedError
- type AmbiguousUserError
- type AppNotFoundInManifestError
- type ApplicationManifestError
- type ApplicationNotFoundError
- type ApplicationNotStartedError
- type ApplicationsNotFoundError
- type AssignDropletError
- type BuildpackAlreadyExistsForStackError
- type BuildpackNameTakenError
- type BuildpackNotFoundError
- type BuildpackStackChangeError
- type CommandLineOptionsAndManifestConflictError
- type CommandLineOptionsWithMultipleAppsError
- type DockerPasswordNotSetError
- type DomainNotFoundError
- type DropletNotFoundError
- type DuplicateServiceError
- type DuplicateServicePlanError
- type EmptyArchiveError
- type EmptyBuildpackDirectoryError
- type EmptyDirectoryError
- type EnvironmentVariableNotSetError
- type FeatureFlagNotFoundError
- type FetchingPluginInfoFromRepositoryError
- type FileChangedError
- type GettingPluginRepositoryError
- type HTTPHealthCheckInvalidError
- type HostnameWithTCPDomainError
- type InvalidBuildpacksError
- type InvalidCommandError
- type InvalidHTTPRouteSettings
- type InvalidLifecycleError
- type InvalidRouteError
- type InvalidTCPRouteSettings
- type IsolationSegmentAlreadyExistsError
- type IsolationSegmentNotFoundError
- type LogCacheTimeoutError
- type MissingNameError
- type MultipleBuildpacksFoundError
- type MultipleUAAUsersFoundError
- type NoCompatibleBinaryError
- type NoDomainsFoundError
- type NoEligiblePackagesError
- type NoHostnameAndSharedDomainError
- type NoMatchingDomainError
- type NoOrganizationTargetedError
- type NoRelationshipError
- type NoSpaceTargetedError
- type NonexistentAppPathError
- type NotLoggedInError
- type OrganizationNotFoundError
- type OrganizationQuotaNotFoundError
- type OrganizationQuotaNotFoundForNameError
- type PackageNotFoundInAppError
- type PackageProcessingExpiredError
- type PackageProcessingFailedError
- type PasswordGrantTypeLogoutRequiredError
- type PluginBinaryRemoveFailedError
- type PluginCommandsConflictError
- type PluginExecuteError
- type PluginInvalidError
- type PluginInvalidLibraryVersionError
- type PluginNotFoundError
- type PluginNotFoundInAnyRepositoryError
- type PluginNotFoundInRepositoryError
- type PolicyDoesNotExistError
- type ProcessInstanceNotFoundError
- type ProcessInstanceNotRunningError
- type ProcessNotFoundError
- type PropertyCombinationError
- type QuotaNotFoundForNameError
- type RepositoryAlreadyExistsError
- type RepositoryNameTakenError
- type RepositoryNotRegisteredError
- type ResourceAlreadyExistsError
- type RevisionAmbiguousError
- type RevisionNotFoundError
- type RouteAlreadyExistsError
- type RouteBindingNotFoundError
- type RouteBoundToMultipleAppsError
- type RouteDestinationNotFoundError
- type RouteInDifferentSpaceError
- type RouteNotFoundError
- type RoutePathWithTCPDomainError
- type RouterGroupNotFoundError
- type SSHEndpointNotSetError
- type SSHHostKeyFingerprintNotSetError
- type SecurityGroupJsonSyntaxError
- type SecurityGroupNotBoundToSpaceError
- type SecurityGroupNotFoundError
- type ServiceBindingNotFoundError
- type ServiceBrokerNameRequiredError
- type ServiceBrokerNotFoundError
- type ServiceInstanceNotFoundError
- type ServiceInstanceNotShareableError
- type ServiceInstanceNotSharedToSpaceError
- type ServiceInstanceParamsFetchingNotSupportedError
- type ServiceInstanceTypeError
- type ServiceInstanceUpdateIsNoop
- type ServiceInstanceUpgradeNotAvailableError
- type ServiceKeyNotFoundError
- type ServiceNotFoundError
- type ServiceOfferingNameAmbiguityError
- type ServicePlanNotFoundError
- type ServicePlanVisibilityTypeError
- type SharedServiceInstanceNotFoundError
- type SpaceAlreadyExistsError
- type SpaceNotFoundError
- type SpaceQuotaNotFoundError
- type SpaceQuotaNotFoundForNameError
- type SpaceSSHAlreadyDisabledError
- type SpaceSSHAlreadyEnabledError
- type StackNotFoundError
- type StagingFailedError
- type StagingFailedNoAppDetectedError
- type StagingTimeoutError
- type StartupTimeoutError
- type TCPRouteOptionsNotProvidedError
- type TaskFailedError
- type TaskNotFoundError
- type TaskWorkersUnavailableError
- type TriggerLegacyPushError
- type UploadFailedError
- type UserNotFoundError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnrichAPIErrors ¶
Types ¶
type ActiveDeploymentNotFoundError ¶
type ActiveDeploymentNotFoundError struct { }
ActiveDeploymentNotFoundError is an error wrapper that represents the case when the deployment is not found.
func (ActiveDeploymentNotFoundError) Error ¶
func (e ActiveDeploymentNotFoundError) Error() string
Error method to display the error message.
type AddPluginRepositoryError ¶
func (AddPluginRepositoryError) Error ¶
func (e AddPluginRepositoryError) Error() string
type AllInstancesCrashedError ¶
type AllInstancesCrashedError struct { }
func (AllInstancesCrashedError) Error ¶
func (e AllInstancesCrashedError) Error() string
type AmbiguousUserError ¶
func (AmbiguousUserError) Error ¶
func (e AmbiguousUserError) Error() string
type AppNotFoundInManifestError ¶
type AppNotFoundInManifestError struct {
Name string
}
func (AppNotFoundInManifestError) Error ¶
func (e AppNotFoundInManifestError) Error() string
type ApplicationManifestError ¶
type ApplicationManifestError struct {
Message string
}
ApplicationManifestError when applying the manifest fails
func (ApplicationManifestError) Error ¶
func (a ApplicationManifestError) Error() string
type ApplicationNotFoundError ¶
ApplicationNotFoundError is returned when a requested application is not found.
func (ApplicationNotFoundError) Error ¶
func (e ApplicationNotFoundError) Error() string
type ApplicationNotStartedError ¶
type ApplicationNotStartedError struct {
Name string
}
ApplicationNotStartedError is returned when trying to ssh to an application that is not STARTED.
func (ApplicationNotStartedError) Error ¶
func (e ApplicationNotStartedError) Error() string
type ApplicationsNotFoundError ¶
type ApplicationsNotFoundError struct { }
ApplicationsNotFoundError is returned when requested applications are not found.
func (ApplicationsNotFoundError) Error ¶
func (e ApplicationsNotFoundError) Error() string
type AssignDropletError ¶
type AssignDropletError struct {
Message string
}
AssignDropletError is returned when assigning the current droplet of an app fails
func (AssignDropletError) Error ¶
func (a AssignDropletError) Error() string
type BuildpackAlreadyExistsForStackError ¶
type BuildpackAlreadyExistsForStackError struct {
Message string
}
func (BuildpackAlreadyExistsForStackError) Error ¶
func (e BuildpackAlreadyExistsForStackError) Error() string
type BuildpackNameTakenError ¶
type BuildpackNameTakenError struct {
Name string
}
func (BuildpackNameTakenError) Error ¶
func (e BuildpackNameTakenError) Error() string
type BuildpackNotFoundError ¶
BuildpackNotFoundError is returned when a requested buildpack is not found.
func (BuildpackNotFoundError) Error ¶
func (e BuildpackNotFoundError) Error() string
type BuildpackStackChangeError ¶
func (BuildpackStackChangeError) Error ¶
func (e BuildpackStackChangeError) Error() string
type CommandLineOptionsAndManifestConflictError ¶
type CommandLineOptionsAndManifestConflictError struct { ManifestAttribute string CommandLineOptions []string }
func (CommandLineOptionsAndManifestConflictError) Error ¶
func (e CommandLineOptionsAndManifestConflictError) Error() string
type CommandLineOptionsWithMultipleAppsError ¶
type CommandLineOptionsWithMultipleAppsError struct{}
func (CommandLineOptionsWithMultipleAppsError) Error ¶
func (CommandLineOptionsWithMultipleAppsError) Error() string
type DockerPasswordNotSetError ¶
type DockerPasswordNotSetError struct { }
func (DockerPasswordNotSetError) Error ¶
func (DockerPasswordNotSetError) Error() string
type DomainNotFoundError ¶
DomainNotFoundError is an error wrapper that represents the case when the domain is not found.
func (DomainNotFoundError) Error ¶
func (e DomainNotFoundError) Error() string
Error method to display the error message.
type DropletNotFoundError ¶
type DropletNotFoundError struct {
AppGUID string
}
DropletNotFoundError is returned when a requested droplet from an application is not found.
func (DropletNotFoundError) Error ¶
func (e DropletNotFoundError) Error() string
type DuplicateServiceError ¶
func (DuplicateServiceError) Error ¶
func (e DuplicateServiceError) Error() string
type DuplicateServicePlanError ¶
type DuplicateServicePlanError struct { Name string ServiceOfferingName string ServiceBrokerName string }
func (DuplicateServicePlanError) Error ¶
func (e DuplicateServicePlanError) Error() string
type EmptyArchiveError ¶
type EmptyArchiveError struct {
Path string
}
func (EmptyArchiveError) Error ¶
func (e EmptyArchiveError) Error() string
type EmptyBuildpackDirectoryError ¶
type EmptyBuildpackDirectoryError struct {
Path string
}
EmptyBuildpackDirectoryError represents the error when a user tries to upload new buildpack bits but specifies an empty directory as the path to these bits.
func (EmptyBuildpackDirectoryError) Error ¶
func (e EmptyBuildpackDirectoryError) Error() string
type EmptyDirectoryError ¶
type EmptyDirectoryError struct {
Path string
}
func (EmptyDirectoryError) Error ¶
func (e EmptyDirectoryError) Error() string
type EnvironmentVariableNotSetError ¶
type EnvironmentVariableNotSetError struct {
EnvironmentVariableName string
}
EnvironmentVariableNotSetError is returned when trying to unset env variable that was not previously set.
func (EnvironmentVariableNotSetError) Error ¶
func (e EnvironmentVariableNotSetError) Error() string
type FeatureFlagNotFoundError ¶
type FeatureFlagNotFoundError struct {
FeatureFlagName string
}
FeatureFlagNotFoundError is returned when a requested feature flag is not found.
func (FeatureFlagNotFoundError) Error ¶
func (e FeatureFlagNotFoundError) Error() string
type FetchingPluginInfoFromRepositoryError ¶
FetchingPluginInfoFromRepositoryError is returned an error is encountered getting plugin info from a repository.
func (FetchingPluginInfoFromRepositoryError) Error ¶
func (e FetchingPluginInfoFromRepositoryError) Error() string
type FileChangedError ¶
type FileChangedError struct {
Filename string
}
func (FileChangedError) Error ¶
func (e FileChangedError) Error() string
type GettingPluginRepositoryError ¶
GettingPluginRepositoryError is returned when there's an error accessing the plugin repository.
func (GettingPluginRepositoryError) Error ¶
func (e GettingPluginRepositoryError) Error() string
type HTTPHealthCheckInvalidError ¶
type HTTPHealthCheckInvalidError struct { }
HTTPHealthCheckInvalidError is returned when an HTTP endpoint is used with a health check type that is not HTTP.
func (HTTPHealthCheckInvalidError) Error ¶
func (e HTTPHealthCheckInvalidError) Error() string
type HostnameWithTCPDomainError ¶
type HostnameWithTCPDomainError struct { }
func (HostnameWithTCPDomainError) Error ¶
func (HostnameWithTCPDomainError) Error() string
type InvalidBuildpacksError ¶
type InvalidBuildpacksError struct { }
func (InvalidBuildpacksError) Error ¶
func (err InvalidBuildpacksError) Error() string
type InvalidCommandError ¶
type InvalidCommandError struct {
CommandName string
}
InvalidCommandError represents an error that happens when help is called with an invalid command.
func (InvalidCommandError) Error ¶
func (err InvalidCommandError) Error() string
type InvalidHTTPRouteSettings ¶
type InvalidHTTPRouteSettings struct {
Domain string
}
func (InvalidHTTPRouteSettings) Error ¶
func (e InvalidHTTPRouteSettings) Error() string
type InvalidLifecycleError ¶
type InvalidLifecycleError struct {
Lifecycle string
}
InvalidLifecycleError is returned when the lifecycle specified is neither running nor staging.
func (InvalidLifecycleError) Error ¶
func (e InvalidLifecycleError) Error() string
type InvalidRouteError ¶
type InvalidRouteError struct {
Route string
}
InvalidRouteError is returned when a route is provided that isn't properly formed URL.
func (InvalidRouteError) Error ¶
func (err InvalidRouteError) Error() string
type InvalidTCPRouteSettings ¶
type InvalidTCPRouteSettings struct {
Domain string
}
func (InvalidTCPRouteSettings) Error ¶
func (e InvalidTCPRouteSettings) Error() string
type IsolationSegmentAlreadyExistsError ¶
type IsolationSegmentAlreadyExistsError struct {
Name string
}
IsolationSegmentAlreadyExistsError gets returned when an isolation segment already exists.
func (IsolationSegmentAlreadyExistsError) Error ¶
func (e IsolationSegmentAlreadyExistsError) Error() string
type IsolationSegmentNotFoundError ¶
type IsolationSegmentNotFoundError struct {
Name string
}
IsolationSegmentNotFoundError represents the error that occurs when the isolation segment is not found.
func (IsolationSegmentNotFoundError) Error ¶
func (e IsolationSegmentNotFoundError) Error() string
type LogCacheTimeoutError ¶
type LogCacheTimeoutError struct{}
func (LogCacheTimeoutError) Error ¶
func (LogCacheTimeoutError) Error() string
type MissingNameError ¶
type MissingNameError struct{}
func (MissingNameError) Error ¶
func (MissingNameError) Error() string
type MultipleBuildpacksFoundError ¶
type MultipleBuildpacksFoundError struct {
BuildpackName string
}
MultipleBuildpacksFoundError represents the scenario when the cloud controller returns multiple buildpacks when filtering by name.
func (MultipleBuildpacksFoundError) Error ¶
func (e MultipleBuildpacksFoundError) Error() string
type MultipleUAAUsersFoundError ¶
func (MultipleUAAUsersFoundError) Error ¶
func (e MultipleUAAUsersFoundError) Error() string
type NoCompatibleBinaryError ¶
type NoCompatibleBinaryError struct { }
NoCompatibleBinaryError is returned when a repository contains a specified plugin but not for the specified platform.
func (NoCompatibleBinaryError) Error ¶
func (e NoCompatibleBinaryError) Error() string
type NoDomainsFoundError ¶
type NoDomainsFoundError struct {
OrganizationGUID string
}
NoDomainsFoundError is returned when there are no private or shared domains accessible to an organization.
func (NoDomainsFoundError) Error ¶
func (e NoDomainsFoundError) Error() string
type NoEligiblePackagesError ¶
func (NoEligiblePackagesError) Error ¶
func (e NoEligiblePackagesError) Error() string
type NoHostnameAndSharedDomainError ¶
type NoHostnameAndSharedDomainError struct{}
func (NoHostnameAndSharedDomainError) Error ¶
func (NoHostnameAndSharedDomainError) Error() string
type NoMatchingDomainError ¶
type NoMatchingDomainError struct {
Route string
}
func (NoMatchingDomainError) Error ¶
func (e NoMatchingDomainError) Error() string
type NoOrganizationTargetedError ¶
type NoOrganizationTargetedError struct {
BinaryName string
}
NoOrganizationTargetedError represents the scenario when an org is not targeted.
func (NoOrganizationTargetedError) Error ¶
func (NoOrganizationTargetedError) Error() string
type NoRelationshipError ¶
type NoRelationshipError struct { }
func (NoRelationshipError) Error ¶
func (e NoRelationshipError) Error() string
type NoSpaceTargetedError ¶
type NoSpaceTargetedError struct {
BinaryName string
}
NoSpaceTargetedError represents the scenario when a space is not targeted.
func (NoSpaceTargetedError) Error ¶
func (NoSpaceTargetedError) Error() string
type NonexistentAppPathError ¶
type NonexistentAppPathError struct {
Path string
}
func (NonexistentAppPathError) Error ¶
func (e NonexistentAppPathError) Error() string
type NotLoggedInError ¶
type NotLoggedInError struct {
BinaryName string
}
NotLoggedInError represents the scenario when the user is not logged in.
func (NotLoggedInError) Error ¶
func (NotLoggedInError) Error() string
type OrganizationNotFoundError ¶
OrganizationNotFoundError represents the error that occurs when the organization is not found.
func (OrganizationNotFoundError) Error ¶
func (e OrganizationNotFoundError) Error() string
type OrganizationQuotaNotFoundError ¶
type OrganizationQuotaNotFoundError struct {
GUID string
}
func (OrganizationQuotaNotFoundError) Error ¶
func (e OrganizationQuotaNotFoundError) Error() string
type OrganizationQuotaNotFoundForNameError ¶
type OrganizationQuotaNotFoundForNameError struct {
Name string
}
func (OrganizationQuotaNotFoundForNameError) Error ¶
func (e OrganizationQuotaNotFoundForNameError) Error() string
type PackageNotFoundInAppError ¶
func (PackageNotFoundInAppError) Error ¶
func (e PackageNotFoundInAppError) Error() string
type PackageProcessingExpiredError ¶
type PackageProcessingExpiredError struct{}
func (PackageProcessingExpiredError) Error ¶
func (PackageProcessingExpiredError) Error() string
type PackageProcessingFailedError ¶
type PackageProcessingFailedError struct{}
func (PackageProcessingFailedError) Error ¶
func (PackageProcessingFailedError) Error() string
type PasswordGrantTypeLogoutRequiredError ¶
type PasswordGrantTypeLogoutRequiredError struct{}
PasswordGrantTypeLogoutRequiredError is returned when a user tries to authenticate with the password grant type, but a previous user had authenticated with the client grant type
func (PasswordGrantTypeLogoutRequiredError) Error ¶
func (PasswordGrantTypeLogoutRequiredError) Error() string
type PluginBinaryRemoveFailedError ¶
type PluginBinaryRemoveFailedError struct {
Err error
}
PluginBinaryRemoveFailedError is returned when running the plugin binary fails.
func (PluginBinaryRemoveFailedError) Error ¶
func (e PluginBinaryRemoveFailedError) Error() string
type PluginCommandsConflictError ¶
type PluginCommandsConflictError struct { PluginName string PluginVersion string CommandNames []string CommandAliases []string }
PluginCommandsConflictError is returned when a plugin command name conflicts with a core or existing plugin command name.
func (PluginCommandsConflictError) Error ¶
func (PluginCommandsConflictError) Error() string
type PluginExecuteError ¶
type PluginExecuteError struct {
Err error
}
PluginExecuteError is returned when running the plugin binary fails.
func (PluginExecuteError) Error ¶
func (e PluginExecuteError) Error() string
type PluginInvalidError ¶
type PluginInvalidError struct {
Err error
}
PluginInvalidError is returned with a plugin is invalid because it is missing a name or has 0 commands.
func (PluginInvalidError) Error ¶
func (PluginInvalidError) Error() string
type PluginInvalidLibraryVersionError ¶
type PluginInvalidLibraryVersionError struct { }
PluginInvalidLibraryVersionError is returned with a plugin is invalid because it is compiled with an incompatible version of the library.
func (PluginInvalidLibraryVersionError) Error ¶
func (PluginInvalidLibraryVersionError) Error() string
type PluginNotFoundError ¶
type PluginNotFoundError struct {
PluginName string
}
PluginNotFoundError is an error returned when a plugin is not found.
func (PluginNotFoundError) Error ¶
func (e PluginNotFoundError) Error() string
Error outputs a plugin not found error message.
type PluginNotFoundInAnyRepositoryError ¶
type PluginNotFoundInAnyRepositoryError struct {
PluginName string
}
PluginNotFoundInAnyRepositoryError is an error returned when a plugin cannot be found in any repositories.
func (PluginNotFoundInAnyRepositoryError) Error ¶
func (e PluginNotFoundInAnyRepositoryError) Error() string
Error outputs that the plugin cannot be found in any repositories.
type PluginNotFoundInRepositoryError ¶
PluginNotFoundInRepositoryError is an error returned when a plugin is not found.
func (PluginNotFoundInRepositoryError) Error ¶
func (e PluginNotFoundInRepositoryError) Error() string
Error outputs the plugin not found in repository error message.
type PolicyDoesNotExistError ¶
type PolicyDoesNotExistError struct{}
func (PolicyDoesNotExistError) Error ¶
func (PolicyDoesNotExistError) Error() string
type ProcessInstanceNotFoundError ¶
ProcessInstanceNotFoundError is returned when the process type or process instance cannot be found
func (ProcessInstanceNotFoundError) Error ¶
func (e ProcessInstanceNotFoundError) Error() string
type ProcessInstanceNotRunningError ¶
ProcessInstanceNotRunningError is returned when trying to perform an action on an instance that is not running
func (ProcessInstanceNotRunningError) Error ¶
func (e ProcessInstanceNotRunningError) Error() string
type ProcessNotFoundError ¶
type ProcessNotFoundError struct {
ProcessType string
}
ProcessNotFoundError is returned when a requested application is not found.
func (ProcessNotFoundError) Error ¶
func (e ProcessNotFoundError) Error() string
type PropertyCombinationError ¶
func (PropertyCombinationError) Error ¶
func (e PropertyCombinationError) Error() string
type QuotaNotFoundForNameError ¶
type QuotaNotFoundForNameError struct {
Name string
}
func (QuotaNotFoundForNameError) Error ¶
func (e QuotaNotFoundForNameError) Error() string
type RepositoryAlreadyExistsError ¶
func (RepositoryAlreadyExistsError) Error ¶
func (e RepositoryAlreadyExistsError) Error() string
type RepositoryNameTakenError ¶
type RepositoryNameTakenError struct {
Name string
}
func (RepositoryNameTakenError) Error ¶
func (e RepositoryNameTakenError) Error() string
type RepositoryNotRegisteredError ¶
type RepositoryNotRegisteredError struct {
Name string
}
func (RepositoryNotRegisteredError) Error ¶
func (e RepositoryNotRegisteredError) Error() string
type ResourceAlreadyExistsError ¶
type ResourceAlreadyExistsError struct {
Message string
}
ResourceAlreadyExistsError is returned when an identical resource already exists
func (ResourceAlreadyExistsError) Error ¶
func (e ResourceAlreadyExistsError) Error() string
type RevisionAmbiguousError ¶
type RevisionAmbiguousError struct {
Version int
}
RevisionAmbiguousError is returned when multiple revisions with the same version are returned
func (RevisionAmbiguousError) Error ¶
func (e RevisionAmbiguousError) Error() string
type RevisionNotFoundError ¶
type RevisionNotFoundError struct {
Version int
}
RevisionNotFoundError is returned when a requested revision is not found.
func (RevisionNotFoundError) Error ¶
func (e RevisionNotFoundError) Error() string
type RouteAlreadyExistsError ¶
RouteAlreadyExistsError is returned when a route already exists
func (RouteAlreadyExistsError) Error ¶
func (e RouteAlreadyExistsError) Error() string
type RouteBindingNotFoundError ¶
type RouteBindingNotFoundError struct{}
func (RouteBindingNotFoundError) Error ¶
func (e RouteBindingNotFoundError) Error() string
type RouteBoundToMultipleAppsError ¶
RouteBoundToMultipleAppsError is returned when a route is mapped to more than one app
func (RouteBoundToMultipleAppsError) Error ¶
func (e RouteBoundToMultipleAppsError) Error() string
type RouteDestinationNotFoundError ¶
RouteDestinationNotFoundError is returned when a route destination cannot be found
func (RouteDestinationNotFoundError) Error ¶
func (e RouteDestinationNotFoundError) Error() string
type RouteInDifferentSpaceError ¶
type RouteInDifferentSpaceError struct {
Route string
}
RouteInDifferentSpaceError is returned when the route exists in a different space than the one requesting it.
func (RouteInDifferentSpaceError) Error ¶
func (RouteInDifferentSpaceError) Error() string
type RouteNotFoundError ¶
RouteNotFoundError is returned when a route cannot be found
func (RouteNotFoundError) Error ¶
func (e RouteNotFoundError) Error() string
type RoutePathWithTCPDomainError ¶
type RoutePathWithTCPDomainError struct { }
func (RoutePathWithTCPDomainError) Error ¶
func (RoutePathWithTCPDomainError) Error() string
type RouterGroupNotFoundError ¶
type RouterGroupNotFoundError struct {
Name string
}
func (RouterGroupNotFoundError) Error ¶
func (err RouterGroupNotFoundError) Error() string
type SSHEndpointNotSetError ¶
type SSHEndpointNotSetError struct { }
SSHEndpointNotSetError is returned when staging an application fails.
func (SSHEndpointNotSetError) Error ¶
func (e SSHEndpointNotSetError) Error() string
type SSHHostKeyFingerprintNotSetError ¶
type SSHHostKeyFingerprintNotSetError struct { }
SSHHostKeyFingerprintNotSetError is returned when staging an application fails.
func (SSHHostKeyFingerprintNotSetError) Error ¶
func (e SSHHostKeyFingerprintNotSetError) Error() string
type SecurityGroupJsonSyntaxError ¶
type SecurityGroupJsonSyntaxError struct {
Path string
}
func (SecurityGroupJsonSyntaxError) Error ¶
func (e SecurityGroupJsonSyntaxError) Error() string
type SecurityGroupNotBoundToSpaceError ¶
type SecurityGroupNotBoundToSpaceError struct { Lifecycle constant.SecurityGroupLifecycle Name string Space string }
SecurityGroupNotBoundToSpaceError is returned when a requested security group is not bound in the requested lifecycle phase to the requested space.
func (SecurityGroupNotBoundToSpaceError) Error ¶
func (e SecurityGroupNotBoundToSpaceError) Error() string
type SecurityGroupNotFoundError ¶
type SecurityGroupNotFoundError struct {
Name string
}
SecurityGroupNotFoundError is returned when a requested security group is not found.
func (SecurityGroupNotFoundError) Error ¶
func (e SecurityGroupNotFoundError) Error() string
type ServiceBindingNotFoundError ¶
ServiceBindingNotFoundError is returned when a service binding cannot be found.
func (ServiceBindingNotFoundError) Error ¶
func (e ServiceBindingNotFoundError) Error() string
type ServiceBrokerNameRequiredError ¶
type ServiceBrokerNameRequiredError struct {
ServiceOfferingName string
}
func (ServiceBrokerNameRequiredError) Error ¶
func (e ServiceBrokerNameRequiredError) Error() string
type ServiceBrokerNotFoundError ¶
type ServiceBrokerNotFoundError struct {
Name string
}
func (ServiceBrokerNotFoundError) Error ¶
func (e ServiceBrokerNotFoundError) Error() string
type ServiceInstanceNotFoundError ¶
func (ServiceInstanceNotFoundError) Error ¶
func (e ServiceInstanceNotFoundError) Error() string
type ServiceInstanceNotShareableError ¶
type ServiceInstanceNotShareableError struct {}
ServiceInstanceNotShareableError is returned when either the service_instance_sharing feature flag is disabled or the service broker has disabled sharing
func (ServiceInstanceNotShareableError) Error ¶
func (e ServiceInstanceNotShareableError) Error() string
type ServiceInstanceNotSharedToSpaceError ¶
type ServiceInstanceNotSharedToSpaceError struct {
}ServiceInstanceNotSharedToSpaceError is returned when attempting to unshare a service instance from a space to which it is not shared.
func (ServiceInstanceNotSharedToSpaceError) Error ¶
func (e ServiceInstanceNotSharedToSpaceError) Error() string
type ServiceInstanceParamsFetchingNotSupportedError ¶
type ServiceInstanceParamsFetchingNotSupportedError struct { }
ServiceInstanceParamsFetchingNotSupportedError is returned when service instance is user provided or service instance retrievable is false for a managed service instance
func (ServiceInstanceParamsFetchingNotSupportedError) Error ¶
func (e ServiceInstanceParamsFetchingNotSupportedError) Error() string
type ServiceInstanceTypeError ¶
type ServiceInstanceTypeError struct { Name string RequiredType resources.ServiceInstanceType }
func (ServiceInstanceTypeError) Error ¶
func (e ServiceInstanceTypeError) Error() string
type ServiceInstanceUpdateIsNoop ¶
type ServiceInstanceUpdateIsNoop struct{}
func (ServiceInstanceUpdateIsNoop) Error ¶
func (ServiceInstanceUpdateIsNoop) Error() string
type ServiceInstanceUpgradeNotAvailableError ¶
type ServiceInstanceUpgradeNotAvailableError struct{}
ServiceInstanceUpgradeNotAvailableError is returned when attempting to upgrade a single service instance, but there is no upgrade available on the current service plan, i.e., service instance is already up-to-date.
func (ServiceInstanceUpgradeNotAvailableError) Error ¶
func (e ServiceInstanceUpgradeNotAvailableError) Error() string
type ServiceKeyNotFoundError ¶
func (ServiceKeyNotFoundError) Error ¶
func (e ServiceKeyNotFoundError) Error() string
type ServiceNotFoundError ¶
type ServiceNotFoundError struct {
Name, Broker string
}
func (ServiceNotFoundError) Error ¶
func (e ServiceNotFoundError) Error() string
type ServiceOfferingNameAmbiguityError ¶
type ServiceOfferingNameAmbiguityError struct {
ccerror.ServiceOfferingNameAmbiguityError
}
func (ServiceOfferingNameAmbiguityError) Error ¶
func (e ServiceOfferingNameAmbiguityError) Error() string
type ServicePlanNotFoundError ¶
type ServicePlanNotFoundError struct { PlanName string OfferingName string ServiceBrokerName string }
func (ServicePlanNotFoundError) Error ¶
func (e ServicePlanNotFoundError) Error() string
type ServicePlanVisibilityTypeError ¶
type ServicePlanVisibilityTypeError struct { }
func (ServicePlanVisibilityTypeError) Error ¶
func (e ServicePlanVisibilityTypeError) Error() string
type SharedServiceInstanceNotFoundError ¶
type SharedServiceInstanceNotFoundError struct { }
SharedServiceInstanceNotFoundError is returned when a service instance is not found when performing a share service.
func (SharedServiceInstanceNotFoundError) Error ¶
func (e SharedServiceInstanceNotFoundError) Error() string
type SpaceAlreadyExistsError ¶
SpaceAlreadyExistsError is returned when a space already exists
func (SpaceAlreadyExistsError) Error ¶
func (e SpaceAlreadyExistsError) Error() string
type SpaceNotFoundError ¶
SpaceNotFoundError represents the scenario when the space searched for could not be found.
func (SpaceNotFoundError) Error ¶
func (e SpaceNotFoundError) Error() string
type SpaceQuotaNotFoundError ¶
type SpaceQuotaNotFoundError struct {
GUID string
}
func (SpaceQuotaNotFoundError) Error ¶
func (e SpaceQuotaNotFoundError) Error() string
type SpaceQuotaNotFoundForNameError ¶
type SpaceQuotaNotFoundForNameError struct {
Name string
}
func (SpaceQuotaNotFoundForNameError) Error ¶
func (e SpaceQuotaNotFoundForNameError) Error() string
type SpaceSSHAlreadyDisabledError ¶
SpaceSSHAlreadyDisabledError is returned when ssh is already disabled on the space
func (SpaceSSHAlreadyDisabledError) Error ¶
func (e SpaceSSHAlreadyDisabledError) Error() string
type SpaceSSHAlreadyEnabledError ¶
SpaceSSHAlreadyEnabledError is returned when ssh is already enabled on the space
func (SpaceSSHAlreadyEnabledError) Error ¶
func (e SpaceSSHAlreadyEnabledError) Error() string
type StackNotFoundError ¶
StackNotFoundError is returned when a requested stack is not found.
func (StackNotFoundError) Error ¶
func (e StackNotFoundError) Error() string
type StagingFailedError ¶
type StagingFailedError struct {
Reason string
}
StagingFailedError is returned when staging an application fails.
func (StagingFailedError) Error ¶
func (e StagingFailedError) Error() string
type StagingFailedNoAppDetectedError ¶
type StagingFailedNoAppDetectedError struct {
Reason string
}
StagingFailedNoAppDetectedError is returned when staging an application fails.
func (StagingFailedNoAppDetectedError) Error ¶
func (e StagingFailedNoAppDetectedError) Error() string
type StagingTimeoutError ¶
StagingTimeoutError is returned when staging timeout is reached waiting for an application to stage.
func (StagingTimeoutError) Error ¶
func (e StagingTimeoutError) Error() string
type StartupTimeoutError ¶
type StartupTimeoutError struct {
Name string
}
StartupTimeoutError is returned when startup timeout is reached waiting for an application to start.
func (StartupTimeoutError) Error ¶
func (e StartupTimeoutError) Error() string
type TCPRouteOptionsNotProvidedError ¶
type TCPRouteOptionsNotProvidedError struct {
Domain string
}
func (TCPRouteOptionsNotProvidedError) Error ¶
func (e TCPRouteOptionsNotProvidedError) Error() string
type TaskFailedError ¶
type TaskFailedError struct{}
func (TaskFailedError) Error ¶
func (TaskFailedError) Error() string
type TaskNotFoundError ¶
type TaskNotFoundError struct {
SequenceID int
}
TaskNotFoundError is returned when no tasks matching the filters are found.
func (TaskNotFoundError) Error ¶
func (e TaskNotFoundError) Error() string
type TaskWorkersUnavailableError ¶
type TaskWorkersUnavailableError struct {
}TaskWorkersUnavailableError is returned when there are no workers to run a given task.
func (TaskWorkersUnavailableError) Error ¶
func (e TaskWorkersUnavailableError) Error() string
type TriggerLegacyPushError ¶
type TriggerLegacyPushError struct { DomainHostRelated []string GlobalRelated []string InheritanceRelated bool RandomRouteRelated bool }
func (TriggerLegacyPushError) Error ¶
func (e TriggerLegacyPushError) Error() string
type UploadFailedError ¶
type UploadFailedError struct {
Err error
}
func (UploadFailedError) Error ¶
func (UploadFailedError) Error() string
type UserNotFoundError ¶
UserNotFoundError is an error wrapper that represents the case when the user is not found in UAA.
func (UserNotFoundError) Error ¶
func (e UserNotFoundError) Error() string
Error method to display the error message.
Source Files ¶
- add_plugin_repository_error.go
- all_instances_crashed_error.go
- ambiguous_user_error.go
- app_not_found_in_manifest_error.go
- application_manifest_error.go
- application_not_found_error.go
- application_not_started_error.go
- applications_not_found_error.go
- assign_droplet_error.go
- buildpack_already_exists_for_stack_error.go
- buildpack_name_taken_error.go
- buildpack_not_found_error.go
- buildpack_stack_change_error.go
- command_line_options_and_manifest_conflict_error.go
- command_line_options_with_multiple_apps_error.go
- deployment_not_found_error.go
- docker_password_not_set_error.go
- domain_not_found_error.go
- domains_not_found_error.go
- droplet_not_found_error.go
- duplicate_service_error.go
- duplicate_service_plan_error.go
- empty_archive_error.go
- empty_buildpack_directory_error.go
- empty_directory_error.go
- enrich_api_errors.go
- environment_variable_not_set_error.go
- feature_flag_not_found_error.go
- fetching_plugin_info_from_repository_error.go
- file_changed_error.go
- getting_plugin_repository_error.go
- hostname_with_tcp_domain_error.go
- http_health_check_invalid_error.go
- invalid_buildpacks_error.go
- invalid_command_error.go
- invalid_http_route_settings.go
- invalid_lifecycle_error.go
- invalid_route_error.go
- invalid_tcp_route_settings.go
- isolation_segment_already_exists_error.go
- isolation_segment_not_found_error.go
- log_cache_timeout_error.go
- missing_name_error.go
- multiple_buildpacks_found_error.go
- multiple_uaa_users_found_error.go
- no_compatible_binary_error.go
- no_eligible_packages_error.go
- no_hostname_and_shared_domain_error.go
- no_matching_domain_error.go
- no_organization_targeted_error.go
- no_relationship_error.go
- no_space_targeted_error.go
- nonexistent_app_path_error.go
- not_logged_in_error.go
- organization_not_found_error.go
- organization_quota_not_found_error.go
- organization_quota_not_found_for_name_error.go
- package_not_found_in_app_error.go
- package_processing_expired_error.go
- package_processing_failed_error.go
- password_grant_type_logout_required.go
- plugin_binary_remove_failed_error.go
- plugin_commands_conflict_error.go
- plugin_execute_error.go
- plugin_invalid_error.go
- plugin_invalid_library_version_error.go
- plugin_not_found_error.go
- plugin_not_found_in_any_repository_error.go
- plugin_not_found_in_repository_error.go
- policy_does_not_exist_error.go
- process_instance_not_found_error.go
- process_instance_not_running_error.go
- process_not_found_error.go
- property_combination_error.go
- quota_not_found_for_name_error.go
- repository_already_exists_error.go
- repository_name_taken_error.go
- repository_not_registered_error.go
- resource_already_exists_error.go
- revision_ambiguous.go
- revision_not_found.go
- route_already_exists_error.go
- route_binding_not_found_error.go
- route_bound_to_multiple_apps_error.go
- route_destination_not_found_error.go
- route_in_different_space_error.go
- route_not_found_error.go
- route_path_with_tcp_domain_error.go
- router_group_not_found.go
- security_group_json_syntax_error.go
- security_group_not_bound_to_space_error.go
- security_group_not_found_error.go
- service_binding_not_found_error.go
- service_broker_name_required_error.go
- service_broker_not_found_error.go
- service_instance_not_found_error.go
- service_instance_not_shareable_error.go
- service_instance_not_shared_to_space_error.go
- service_instance_params_fetching_not_supported_error.go
- service_instance_type_error.go
- service_instance_update_is_noop.go
- service_key_not_found_error.go
- service_not_found_error.go
- service_offering_name_ambiguity_error.go
- service_plan_not_found_error.go
- service_upgrade_not_available_error.go
- service_visibility_type_error.go
- shared_service_instance_not_found.go
- space_already_exists_error.go
- space_not_found_error.go
- space_quota_not_found_error.go
- space_quota_not_found_for_name_error.go
- space_ssh_already_disabled_error.go
- space_ssh_already_enabled_error.go
- ssh_endpoint_not_set_error.go
- ssh_hostkey_fingerprint_not_set_error.go
- stack_not_found_error.go
- staging_failed_error.go
- staging_failed_no_app_detected_error.go
- staging_timeout_error.go
- startup_timeout_error.go
- task_failed_error.go
- task_not_found_error.go
- task_workers_unavailable_error.go
- tcp_route_options_not_provided_error.go
- trigger_legacy_push_error.go
- upload_failed_error.go
- user_not_found.go