Documentation ¶
Index ¶
- type AddPluginRepositoryError
- type AllInstancesCrashedError
- type AppNotFoundInManifestError
- type ApplicationAlreadyExistsError
- type ApplicationInstanceCrashedError
- type ApplicationInstanceFlappingError
- type ApplicationInstancesNotFoundError
- type ApplicationManifestError
- type ApplicationNotFoundError
- type ApplicationNotStartedError
- type AssignDropletError
- type BuildpackAlreadyExistsForStackError
- type BuildpackAlreadyExistsWithoutStackError
- type BuildpackNameTakenError
- type BuildpackNotFoundError
- type BuildpackStackChangeError
- type CommandLineOptionsAndManifestConflictError
- type CommandLineOptionsWithMultipleAppsError
- type DockerPasswordNotSetError
- type DomainNotFoundError
- type DropletNotFoundError
- type DuplicateServiceError
- type EmptyArchiveError
- type EmptyBuildpackDirectoryError
- type EmptyDirectoryError
- type EnvironmentVariableNotSetError
- 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 MissingNameError
- type MultipleBuildpacksFoundError
- type MultipleOrganizationQuotasFoundForNameError
- type MultipleOrganizationsFoundError
- type MultipleSpacesFoundError
- type NOAATimeoutError
- type NoCompatibleBinaryError
- type NoDomainsFoundError
- type NoHostnameAndSharedDomainError
- type NoMatchingDomainError
- type NoOrganizationTargetedError
- type NoRelationshipError
- type NoSpaceTargetedError
- type NonexistentAppPathError
- type NotLoggedInError
- type OrganizationNameTakenError
- type OrganizationNotFoundError
- type OrganizationQuotaNotFoundError
- type OrganizationQuotaNotFoundForNameError
- type OrphanedRoutesNotFoundError
- type PackageProcessingExpiredError
- type PackageProcessingFailedError
- type PasswordGrantTypeLogoutRequiredError
- type PluginBinaryRemoveFailedError
- type PluginCommandsConflictError
- type PluginExecuteError
- type PluginInvalidError
- type PluginNotFoundError
- type PluginNotFoundInAnyRepositoryError
- type PluginNotFoundInRepositoryError
- type PolicyDoesNotExistError
- type PortNotProvidedForQueryError
- type ProcessInstanceNotFoundError
- type ProcessInstanceNotRunningError
- type ProcessNotFoundError
- type PropertyCombinationError
- type RepositoryAlreadyExistsError
- type RepositoryNameTakenError
- type RepositoryNotRegisteredError
- type RouteAlreadyExistsError
- type RouteInDifferentSpaceError
- type RouteNotFoundError
- type RoutePathWithTCPDomainError
- type RouterGroupNotFoundError
- type SSHEndpointNotSetError
- type SSHHostKeyFingerprintNotSetError
- type SecurityGroupNotBoundError
- type SecurityGroupNotFoundError
- type ServiceAndBrokerCombinationNotFoundError
- type ServiceBindingNotFoundError
- type ServiceBrokerNotFoundError
- type ServiceInstanceAlreadySharedError
- type ServiceInstanceNotFoundError
- type ServiceInstanceNotShareableError
- type ServiceInstanceNotSharedToSpaceError
- type ServiceNotFoundError
- type ServicePlanNotFoundError
- type SharedServiceInstanceNotFoundError
- type SpaceNameTakenError
- type SpaceNotFoundError
- type SpaceQuotaNotFoundByNameError
- type SpaceQuotaNotFoundError
- type StackNotFoundError
- type StagingFailedError
- type StagingFailedNoAppDetectedError
- type StagingTimeoutError
- type StartupTimeoutError
- type TCPRouteOptionsNotProvidedError
- type TaskNotFoundError
- type TaskWorkersUnavailableError
- type TriggerLegacyPushError
- type UploadFailedError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddPluginRepositoryError ¶
func (AddPluginRepositoryError) Error ¶
func (e AddPluginRepositoryError) Error() string
type AllInstancesCrashedError ¶
type AllInstancesCrashedError struct { }
func (AllInstancesCrashedError) Error ¶
func (e AllInstancesCrashedError) Error() string
type AppNotFoundInManifestError ¶
type AppNotFoundInManifestError struct {
Name string
}
func (AppNotFoundInManifestError) Error ¶
func (e AppNotFoundInManifestError) Error() string
type ApplicationAlreadyExistsError ¶
type ApplicationAlreadyExistsError struct {
Name string
}
ApplicationAlreadyExistsError represents the error that occurs when the application already exists.
func (ApplicationAlreadyExistsError) Error ¶
func (e ApplicationAlreadyExistsError) Error() string
type ApplicationInstanceCrashedError ¶
type ApplicationInstanceCrashedError struct {
Name string
}
ApplicationInstanceCrashedError is returned when an instance crashes.
func (ApplicationInstanceCrashedError) Error ¶
func (e ApplicationInstanceCrashedError) Error() string
type ApplicationInstanceFlappingError ¶
type ApplicationInstanceFlappingError struct {
Name string
}
ApplicationInstanceFlappingError is returned when an instance crashes.
func (ApplicationInstanceFlappingError) Error ¶
func (e ApplicationInstanceFlappingError) Error() string
type ApplicationInstancesNotFoundError ¶
type ApplicationInstancesNotFoundError struct {
ApplicationGUID string
}
ApplicationInstancesNotFoundError is returned when the application does not have running instances.
func (ApplicationInstancesNotFoundError) Error ¶
func (e ApplicationInstancesNotFoundError) 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 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 BuildpackAlreadyExistsWithoutStackError ¶
type BuildpackAlreadyExistsWithoutStackError struct {
BuildpackName string
}
func (BuildpackAlreadyExistsWithoutStackError) Error ¶
func (e BuildpackAlreadyExistsWithoutStackError) 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 ¶
type DuplicateServiceError struct {
Name string
}
func (DuplicateServiceError) Error ¶
func (e DuplicateServiceError) 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 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 constant.SecurityGroupLifecycle
}
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 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 MultipleOrganizationQuotasFoundForNameError ¶
func (MultipleOrganizationQuotasFoundForNameError) Error ¶
func (e MultipleOrganizationQuotasFoundForNameError) Error() string
type MultipleOrganizationsFoundError ¶
MultipleOrganizationsFoundError represents the scenario when the cloud controller returns multiple organizations when filtering by name. This is a far out edge case and should not happen.
func (MultipleOrganizationsFoundError) Error ¶
func (e MultipleOrganizationsFoundError) Error() string
type MultipleSpacesFoundError ¶
MultipleSpacesFoundError represents the scenario when the cloud controller returns multiple spaces when filtering by name. This is a far out edge case and should not happen.
func (MultipleSpacesFoundError) Error ¶
func (e MultipleSpacesFoundError) Error() string
type NOAATimeoutError ¶
type NOAATimeoutError struct{}
func (NOAATimeoutError) Error ¶
func (NOAATimeoutError) 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 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 OrganizationNameTakenError ¶
type OrganizationNameTakenError struct {
Name string
}
OrganizationNameTakenError represents the error that occurs when creating an organization fails because an organization with that name already exists
func (OrganizationNameTakenError) Error ¶
func (e OrganizationNameTakenError) 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 OrphanedRoutesNotFoundError ¶
type OrphanedRoutesNotFoundError struct{}
OrphanedRoutesNotFoundError is an error wrapper that represents the case when no orphaned routes are found.
func (OrphanedRoutesNotFoundError) Error ¶
func (OrphanedRoutesNotFoundError) Error() string
Error method to display the error message.
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 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 PortNotProvidedForQueryError ¶
type PortNotProvidedForQueryError struct { }
func (PortNotProvidedForQueryError) Error ¶
func (PortNotProvidedForQueryError) Error() string
PortNotProvidedForQueryError is returned when trying to GetRouteByComponents, querying by a tcp domain, but omitting a port
type ProcessInstanceNotFoundError ¶
ProcessInstanceNotFoundError is returned when the proccess 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 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 RouteAlreadyExistsError ¶
type RouteAlreadyExistsError struct {
Route string
}
RouteAlreadyExistsError is returned when a route already exists
func (RouteAlreadyExistsError) Error ¶
func (e RouteAlreadyExistsError) 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 SecurityGroupNotBoundError ¶
type SecurityGroupNotBoundError struct { Lifecycle constant.SecurityGroupLifecycle Name string }
SecurityGroupNotBoundError is returned when a requested security group is not bound in the requested lifecycle phase to the requested space.
func (SecurityGroupNotBoundError) Error ¶
func (e SecurityGroupNotBoundError) 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 ServiceAndBrokerCombinationNotFoundError ¶
func (ServiceAndBrokerCombinationNotFoundError) Error ¶
func (e ServiceAndBrokerCombinationNotFoundError) Error() string
type ServiceBindingNotFoundError ¶
ServiceBindingNotFoundError is returned when a service binding cannot be found.
func (ServiceBindingNotFoundError) Error ¶
func (e ServiceBindingNotFoundError) Error() string
type ServiceBrokerNotFoundError ¶
type ServiceBrokerNotFoundError struct {
Name string
}
func (ServiceBrokerNotFoundError) Error ¶
func (e ServiceBrokerNotFoundError) Error() string
type ServiceInstanceAlreadySharedError ¶
type ServiceInstanceAlreadySharedError struct{}
ServiceInstanceAlreadySharedError is returned when attempting to shared a service instance to a space in which the service instance has already been shared with.
func (ServiceInstanceAlreadySharedError) Error ¶
func (e ServiceInstanceAlreadySharedError) 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 ServiceNotFoundError ¶
type ServiceNotFoundError struct {
Name string
}
func (ServiceNotFoundError) Error ¶
func (e ServiceNotFoundError) Error() string
type ServicePlanNotFoundError ¶
func (ServicePlanNotFoundError) Error ¶
func (e ServicePlanNotFoundError) 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 SpaceNameTakenError ¶
type SpaceNameTakenError struct {
Name string
}
func (SpaceNameTakenError) Error ¶
func (err SpaceNameTakenError) 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 SpaceQuotaNotFoundByNameError ¶
type SpaceQuotaNotFoundByNameError struct {
Name string
}
func (SpaceQuotaNotFoundByNameError) Error ¶
func (e SpaceQuotaNotFoundByNameError) Error() string
TODO: confirm error wording with Abby
type SpaceQuotaNotFoundError ¶
type SpaceQuotaNotFoundError struct {
GUID string
}
func (SpaceQuotaNotFoundError) Error ¶
func (e SpaceQuotaNotFoundError) 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 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
Source Files ¶
- add_plugin_repository_error.go
- all_instances_crashed_error.go
- app_not_found_in_manifest_error.go
- application_already_exists_error.go
- application_instance_crashed_error.go
- application_instance_flapping_error.go
- application_instances_not_found_error.go
- application_manifest_error.go
- application_not_found_error.go
- application_not_started_error.go
- assign_droplet_error.go
- buildpack_already_exists_for_stack_error.go
- buildpack_already_exists_without_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
- 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
- empty_archive_error.go
- empty_buildpack_directory_error.go
- empty_directory_error.go
- environment_variable_not_set_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
- missing_name_error.go
- multiple_buildpacks_found_error.go
- multiple_organization_quotas_found_for_name_error.go
- multiple_organizations_found_error.go
- multiple_spaces_found_error.go
- no_compatible_binary_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
- noaa_timeout_error.go
- nonexistent_app_path_error.go
- not_logged_in_error.go
- organization_name_taken_error.go
- organization_not_found_error.go
- organization_quota_not_found_error.go
- organization_quota_not_found_for_name_error.go
- orphaned_routes_not_found_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_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
- port_not_provided_for_query_error.go
- process_instance_not_found_error.go
- process_instance_not_running_error.go
- process_not_found_error.go
- property_combination_error.go
- repository_already_exists_error.go
- repository_name_taken_error.go
- repository_not_registered_error.go
- route_already_exists_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_not_bound_error.go
- security_group_not_found_error.go
- service_and_broker_combination_not_found_error.go
- service_binding_not_found_error.go
- service_broker_not_found_error.go
- service_instance_already_shared_error.go
- service_instance_not_found_error.go
- service_instance_not_shareable_error.go
- service_instance_not_shared_to_space_error.go
- service_not_found_error.go
- service_plan_not_found_error.go
- shared_service_instance_not_found.go
- space_name_taken_error.go
- space_not_found_error.go
- space_quota_not_found_by_name_error.go
- space_quota_not_found_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_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