Documentation ¶
Overview ¶
Package translatableerror contains all the command layer translatable errors.
In order to prevent future import cycles, this package should **not** have any non-builtin dependancies!!!
Index ¶
- Constants
- func ConvertToTranslatableError(err error) error
- type APINotFoundError
- type APIRequestError
- type AddPluginRepositoryError
- type AppNotFoundInManifestError
- type ApplicationNotFoundError
- type ApplicationNotStartedError
- type ArgumentCombinationError
- type AssignDropletError
- type AuthorizationEndpointNotFoundError
- type BuildpackNotFoundError
- type CFNetworkingEndpointNotFoundError
- type CommandLineArgsWithMultipleAppsError
- type CommandLineOptionsAndManifestConflictError
- type ConflictingBuildpacksError
- type DockerPasswordNotSetError
- type DomainNotFoundError
- type DownloadPluginHTTPError
- type EmptyBuildpackDirectoryError
- type EmptyBuildpacksError
- type EmptyConfigError
- type EmptyDirectoryError
- type FetchingPluginInfoFromRepositoriesError
- type FileChangedError
- type FileNotFoundError
- type GettingPluginRepositoryError
- type HTTPHealthCheckInvalidError
- type HTTPStatusError
- type HealthCheckTypeUnsupportedError
- type HostAndPathNotAllowedWithTCPDomainError
- type HostnameWithTCPDomainError
- type InterpolationError
- type InvalidBuildpacksError
- type InvalidChecksumError
- type InvalidRefreshTokenError
- type InvalidRouteError
- type InvalidSSLCertError
- type IsolationSegmentNotFoundError
- type JSONSyntaxError
- type JobFailedError
- type JobTimeoutError
- type LifecycleMinimumAPIVersionNotMetError
- type ManifestCreationError
- type ManifestFileNotFoundInDirectoryError
- type MinimumCFAPIVersionNotMetError
- type MinimumCLIVersionNotMetError
- type MinimumUAAAPIVersionNotMetError
- type MissingCredentialsError
- type MultiError
- type MultipleBuildpacksFoundError
- type NetworkPolicyProtocolOrPortNotProvidedError
- type NoAPISetError
- type NoCompatibleBinaryError
- type NoDomainsFoundError
- type NoHostnameAndSharedDomainError
- type NoMatchingDomainError
- type NoOrganizationTargetedError
- type NoPluginRepositoriesError
- type NoSpaceTargetedError
- type NotLoggedInError
- type OrganizationNotFoundError
- type OrganizationQuotaNotFoundForNameError
- type ParseArgumentError
- type PasswordGrantTypeLogoutRequiredError
- type PluginAlreadyInstalledError
- type PluginBinaryRemoveFailedError
- type PluginBinaryUninstallError
- type PluginCommandsConflictError
- type PluginInvalidError
- type PluginNotFoundError
- type PluginNotFoundInRepositoryError
- type PluginNotFoundOnDiskOrInAnyRepositoryError
- type PortNotAllowedWithHTTPDomainError
- type ProcessInstanceNotFoundError
- type ProcessInstanceNotRunningError
- type ProcessNotFoundError
- type PropertyCombinationError
- type RepositoryNameTakenError
- type RepositoryNotRegisteredError
- type RequiredArgumentError
- type RequiredFlagsError
- type RequiredNameForPushError
- type RouteInDifferentSpaceError
- type RoutePathWithTCPDomainError
- type RouterGroupNotFoundError
- type RunTaskError
- type SSHUnableToAuthenticateError
- type SSLCertError
- type SecurityGroupNotFoundError
- type ServiceInstanceNotFoundError
- type ServiceInstanceNotShareableError
- type ServiceInstanceNotSharedToSpaceError
- type SharedServiceInstanceNotFoundError
- type SpaceNotFoundError
- type SpaceQuotaNotFoundByNameError
- type StackNotFoundError
- type StagingFailedError
- type StagingFailedNoAppDetectedError
- type StagingTimeoutError
- type StartupTimeoutError
- type TCPRouteOptionsNotProvidedError
- type ThreeRequiredArgumentsError
- type TranslatableError
- type TriggerLegacyPushError
- type UAAEndpointNotFoundError
- type UnauthorizedError
- type UnauthorizedToPerformActionError
- type UnrefactoredCommandError
- type UnsuccessfulStartError
- type UnsupportedURLSchemeError
- type UploadFailedError
- type V3APIDoesNotExistError
- type V3V2SwitchError
Constants ¶
const ( BadCredentialMessage = "Bad credentials" InvalidOriginMessage = "The origin provided in the login hint is invalid." UnmatchedOriginMessage = "The origin provided in the login_hint does not match an active Identity Provider, that supports password grant." )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APINotFoundError ¶
type APINotFoundError struct {
URL string
}
func (APINotFoundError) Error ¶
func (APINotFoundError) Error() string
type APIRequestError ¶
type APIRequestError struct {
Err error
}
func (APIRequestError) Error ¶
func (APIRequestError) Error() string
type AddPluginRepositoryError ¶
func (AddPluginRepositoryError) Error ¶
func (AddPluginRepositoryError) Error() string
type AppNotFoundInManifestError ¶
type AppNotFoundInManifestError struct {
Name string
}
func (AppNotFoundInManifestError) Error ¶
func (AppNotFoundInManifestError) Error() string
type ApplicationNotFoundError ¶
func (ApplicationNotFoundError) Error ¶
func (e ApplicationNotFoundError) Error() string
type ApplicationNotStartedError ¶
type ApplicationNotStartedError struct {
Name string
}
func (ApplicationNotStartedError) Error ¶
func (ApplicationNotStartedError) Error() string
type ArgumentCombinationError ¶
type ArgumentCombinationError struct {
Args []string
}
ArgumentCombinationError represent an error caused by using two command line arguments that cannot be used together.
func (ArgumentCombinationError) DisplayUsage ¶
func (ArgumentCombinationError) DisplayUsage()
func (ArgumentCombinationError) Error ¶
func (ArgumentCombinationError) 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 (AssignDropletError) Error() string
type AuthorizationEndpointNotFoundError ¶
type AuthorizationEndpointNotFoundError struct { }
func (AuthorizationEndpointNotFoundError) Error ¶
func (AuthorizationEndpointNotFoundError) Error() string
type BuildpackNotFoundError ¶
func (BuildpackNotFoundError) Error ¶
func (e BuildpackNotFoundError) Error() string
type CFNetworkingEndpointNotFoundError ¶
type CFNetworkingEndpointNotFoundError struct { }
func (CFNetworkingEndpointNotFoundError) Error ¶
func (CFNetworkingEndpointNotFoundError) Error() string
type CommandLineArgsWithMultipleAppsError ¶
type CommandLineArgsWithMultipleAppsError struct { }
func (CommandLineArgsWithMultipleAppsError) Error ¶
func (CommandLineArgsWithMultipleAppsError) Error() string
type CommandLineOptionsAndManifestConflictError ¶
type CommandLineOptionsAndManifestConflictError struct { ManifestAttribute string CommandLineOptions []string }
func (CommandLineOptionsAndManifestConflictError) Error ¶
func (e CommandLineOptionsAndManifestConflictError) Error() string
type ConflictingBuildpacksError ¶
type ConflictingBuildpacksError struct { }
func (ConflictingBuildpacksError) Error ¶
func (ConflictingBuildpacksError) Error() string
type DockerPasswordNotSetError ¶
type DockerPasswordNotSetError struct{}
func (DockerPasswordNotSetError) Error ¶
func (DockerPasswordNotSetError) Error() string
type DomainNotFoundError ¶
func (DomainNotFoundError) Error ¶
func (e DomainNotFoundError) Error() string
type DownloadPluginHTTPError ¶
type DownloadPluginHTTPError struct {
Message string
}
func (DownloadPluginHTTPError) Error ¶
func (DownloadPluginHTTPError) Error() string
type EmptyBuildpackDirectoryError ¶
type EmptyBuildpackDirectoryError struct {
Path string
}
func (EmptyBuildpackDirectoryError) Error ¶
func (EmptyBuildpackDirectoryError) Error() string
type EmptyBuildpacksError ¶
type EmptyBuildpacksError struct{}
func (EmptyBuildpacksError) Error ¶
func (EmptyBuildpacksError) Error() string
type EmptyConfigError ¶
type EmptyConfigError struct {
FilePath string
}
func (EmptyConfigError) Error ¶
func (EmptyConfigError) Error() string
type EmptyDirectoryError ¶
type EmptyDirectoryError struct {
Path string
}
func (EmptyDirectoryError) Error ¶
func (e EmptyDirectoryError) Error() string
type FetchingPluginInfoFromRepositoriesError ¶
func (FetchingPluginInfoFromRepositoriesError) Error ¶
func (FetchingPluginInfoFromRepositoriesError) Error() string
type FileChangedError ¶
type FileChangedError struct {
Filename string
}
func (FileChangedError) Error ¶
func (e FileChangedError) Error() string
type FileNotFoundError ¶
type FileNotFoundError struct {
Path string
}
FileNotFoundError is returned when a local plugin binary is not found during installation.
func (FileNotFoundError) Error ¶
func (FileNotFoundError) Error() string
type GettingPluginRepositoryError ¶
GettingPluginRepositoryError is returned when there's an error accessing the plugin repository
func (GettingPluginRepositoryError) Error ¶
func (GettingPluginRepositoryError) Error() string
type HTTPHealthCheckInvalidError ¶
type HTTPHealthCheckInvalidError struct { }
func (HTTPHealthCheckInvalidError) Error ¶
func (HTTPHealthCheckInvalidError) Error() string
type HTTPStatusError ¶
type HTTPStatusError struct {
Status string
}
func (HTTPStatusError) Error ¶
func (e HTTPStatusError) Error() string
type HealthCheckTypeUnsupportedError ¶
type HealthCheckTypeUnsupportedError struct {
SupportedTypes []string
}
func (HealthCheckTypeUnsupportedError) Error ¶
func (HealthCheckTypeUnsupportedError) Error() string
type HostAndPathNotAllowedWithTCPDomainError ¶
type HostAndPathNotAllowedWithTCPDomainError struct {
Domain string
}
func (HostAndPathNotAllowedWithTCPDomainError) Error ¶
func (HostAndPathNotAllowedWithTCPDomainError) Error() string
type HostnameWithTCPDomainError ¶
type HostnameWithTCPDomainError struct{}
func (HostnameWithTCPDomainError) Error ¶
func (HostnameWithTCPDomainError) Error() string
type InterpolationError ¶
type InterpolationError struct {
Err error
}
func (InterpolationError) Error ¶
func (e InterpolationError) Error() string
type InvalidBuildpacksError ¶
type InvalidBuildpacksError struct{}
func (InvalidBuildpacksError) Error ¶
func (InvalidBuildpacksError) Error() string
type InvalidChecksumError ¶
type InvalidChecksumError struct{}
func (InvalidChecksumError) Error ¶
func (InvalidChecksumError) Error() string
type InvalidRefreshTokenError ¶
type InvalidRefreshTokenError struct { }
func (InvalidRefreshTokenError) Error ¶
func (InvalidRefreshTokenError) Error() string
type InvalidRouteError ¶
type InvalidRouteError struct {
Route string
}
func (InvalidRouteError) Error ¶
func (InvalidRouteError) Error() string
type InvalidSSLCertError ¶
type InvalidSSLCertError struct {
URL string
}
func (InvalidSSLCertError) Error ¶
func (InvalidSSLCertError) Error() string
type IsolationSegmentNotFoundError ¶
type IsolationSegmentNotFoundError struct {
Name string
}
func (IsolationSegmentNotFoundError) Error ¶
func (IsolationSegmentNotFoundError) Error() string
type JSONSyntaxError ¶
type JSONSyntaxError struct {
Err error
}
func (JSONSyntaxError) Error ¶
func (e JSONSyntaxError) Error() string
type JobFailedError ¶
func (JobFailedError) Error ¶
func (JobFailedError) Error() string
type JobTimeoutError ¶
func (JobTimeoutError) Error ¶
func (JobTimeoutError) Error() string
type LifecycleMinimumAPIVersionNotMetError ¶
func (LifecycleMinimumAPIVersionNotMetError) Error ¶
func (LifecycleMinimumAPIVersionNotMetError) Error() string
type ManifestCreationError ¶
type ManifestCreationError struct {
Err error
}
func (ManifestCreationError) Error ¶
func (ManifestCreationError) Error() string
type ManifestFileNotFoundInDirectoryError ¶
type ManifestFileNotFoundInDirectoryError struct {
PathToManifest string
}
func (ManifestFileNotFoundInDirectoryError) Error ¶
func (ManifestFileNotFoundInDirectoryError) Error() string
type MinimumCFAPIVersionNotMetError ¶
type MinimumCFAPIVersionNotMetError struct { Command string CurrentVersion string MinimumVersion string }
func (MinimumCFAPIVersionNotMetError) Error ¶
func (e MinimumCFAPIVersionNotMetError) Error() string
type MinimumCLIVersionNotMetError ¶
type MinimumCLIVersionNotMetError struct { APIVersion string MinCLIVersion string BinaryVersion string }
func (MinimumCLIVersionNotMetError) Error ¶
func (e MinimumCLIVersionNotMetError) Error() string
type MinimumUAAAPIVersionNotMetError ¶
func (MinimumUAAAPIVersionNotMetError) Error ¶
func (e MinimumUAAAPIVersionNotMetError) Error() string
type MissingCredentialsError ¶
func (MissingCredentialsError) DisplayUsage ¶
func (MissingCredentialsError) DisplayUsage()
func (MissingCredentialsError) Error ¶
func (e MissingCredentialsError) Error() string
type MultiError ¶
type MultiError struct {
Messages []string
}
func (MultiError) Error ¶
func (MultiError) Error() string
type MultipleBuildpacksFoundError ¶
type MultipleBuildpacksFoundError struct {
BuildpackName string
}
func (MultipleBuildpacksFoundError) Error ¶
func (MultipleBuildpacksFoundError) Error() string
type NetworkPolicyProtocolOrPortNotProvidedError ¶
type NetworkPolicyProtocolOrPortNotProvidedError struct{}
func (NetworkPolicyProtocolOrPortNotProvidedError) DisplayUsage ¶
func (NetworkPolicyProtocolOrPortNotProvidedError) DisplayUsage()
func (NetworkPolicyProtocolOrPortNotProvidedError) Error ¶
func (NetworkPolicyProtocolOrPortNotProvidedError) Error() string
type NoAPISetError ¶
type NoAPISetError struct {
BinaryName string
}
func (NoAPISetError) Error ¶
func (NoAPISetError) Error() string
type NoCompatibleBinaryError ¶
type NoCompatibleBinaryError struct { }
func (NoCompatibleBinaryError) Error ¶
func (e NoCompatibleBinaryError) Error() string
type NoDomainsFoundError ¶
type NoDomainsFoundError struct { }
func (NoDomainsFoundError) Error ¶
func (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
}
func (NoOrganizationTargetedError) Error ¶
func (NoOrganizationTargetedError) Error() string
type NoPluginRepositoriesError ¶
type NoPluginRepositoriesError struct{}
func (NoPluginRepositoriesError) Error ¶
func (NoPluginRepositoriesError) Error() string
type NoSpaceTargetedError ¶
type NoSpaceTargetedError struct {
BinaryName string
}
func (NoSpaceTargetedError) Error ¶
func (NoSpaceTargetedError) Error() string
type NotLoggedInError ¶
type NotLoggedInError struct {
BinaryName string
}
func (NotLoggedInError) Error ¶
func (NotLoggedInError) Error() string
type OrganizationNotFoundError ¶
func (OrganizationNotFoundError) Error ¶
func (OrganizationNotFoundError) Error() string
type OrganizationQuotaNotFoundForNameError ¶
type OrganizationQuotaNotFoundForNameError struct {
Name string
}
OrganizationQuotaNotFoundForNameError is returned when a quota with the given name can't be found.
func (OrganizationQuotaNotFoundForNameError) Error ¶
func (e OrganizationQuotaNotFoundForNameError) Error() string
type ParseArgumentError ¶
func (ParseArgumentError) DisplayUsage ¶
func (ParseArgumentError) DisplayUsage()
func (ParseArgumentError) Error ¶
func (ParseArgumentError) Error() string
type PasswordGrantTypeLogoutRequiredError ¶
type PasswordGrantTypeLogoutRequiredError struct{}
func (PasswordGrantTypeLogoutRequiredError) Error ¶
func (PasswordGrantTypeLogoutRequiredError) Error() string
type PluginAlreadyInstalledError ¶
PluginAlreadyInstalledError is returned when the plugin has the same name as an installed plugin.
func (PluginAlreadyInstalledError) Error ¶
func (PluginAlreadyInstalledError) Error() string
type PluginBinaryRemoveFailedError ¶
type PluginBinaryRemoveFailedError struct {
Err error
}
PluginBinaryRemoveFailedError is returned when the removal of a plugin binary fails.
func (PluginBinaryRemoveFailedError) Error ¶
func (e PluginBinaryRemoveFailedError) Error() string
type PluginBinaryUninstallError ¶
type PluginBinaryUninstallError struct {
Err error
}
PluginBinaryUninstallError is returned when running the plugin's uninstall hook fails.
func (PluginBinaryUninstallError) Error ¶
func (e PluginBinaryUninstallError) 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 native or existing plugin command name.
func (PluginCommandsConflictError) Error ¶
func (e PluginCommandsConflictError) 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 (e PluginInvalidError) Error() string
type PluginNotFoundError ¶
type PluginNotFoundError struct {
PluginName string
}
func (PluginNotFoundError) Error ¶
func (e PluginNotFoundError) Error() string
type PluginNotFoundInRepositoryError ¶
type PluginNotFoundInRepositoryError struct { BinaryName string PluginName string RepositoryName string }
func (PluginNotFoundInRepositoryError) Error ¶
func (e PluginNotFoundInRepositoryError) Error() string
type PluginNotFoundOnDiskOrInAnyRepositoryError ¶
func (PluginNotFoundOnDiskOrInAnyRepositoryError) Error ¶
func (e PluginNotFoundOnDiskOrInAnyRepositoryError) Error() string
type PortNotAllowedWithHTTPDomainError ¶
type PortNotAllowedWithHTTPDomainError struct {
Domain string
}
func (PortNotAllowedWithHTTPDomainError) Error ¶
func (PortNotAllowedWithHTTPDomainError) Error() string
type ProcessInstanceNotFoundError ¶
ProcessInstanceNotFoundError is returned when a proccess type or process instance can't be found
func (ProcessInstanceNotFoundError) Error ¶
func (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 (ProcessInstanceNotRunningError) Error() string
type ProcessNotFoundError ¶
type ProcessNotFoundError struct {
ProcessType string
}
ProcessNotFoundError is returned when a proccess type can't be found
func (ProcessNotFoundError) Error ¶
func (ProcessNotFoundError) Error() string
type PropertyCombinationError ¶
func (PropertyCombinationError) Error ¶
func (e PropertyCombinationError) Error() string
type RepositoryNameTakenError ¶
type RepositoryNameTakenError struct {
Name string
}
RepositoryNameTakenError is returned when adding a plugin repository fails due to a repository already existing with the same name
func (RepositoryNameTakenError) Error ¶
func (RepositoryNameTakenError) Error() string
type RepositoryNotRegisteredError ¶
type RepositoryNotRegisteredError struct {
Name string
}
func (RepositoryNotRegisteredError) Error ¶
func (RepositoryNotRegisteredError) Error() string
type RequiredArgumentError ¶
type RequiredArgumentError struct {
ArgumentName string
}
func (RequiredArgumentError) DisplayUsage ¶
func (RequiredArgumentError) DisplayUsage()
func (RequiredArgumentError) Error ¶
func (RequiredArgumentError) Error() string
type RequiredFlagsError ¶
RequiredFlagsError represent an error caused by using a command line argument that requires another flags to be used.
func (RequiredFlagsError) DisplayUsage ¶
func (RequiredFlagsError) DisplayUsage()
func (RequiredFlagsError) Error ¶
func (RequiredFlagsError) Error() string
type RequiredNameForPushError ¶
type RequiredNameForPushError struct { }
func (RequiredNameForPushError) DisplayUsage ¶
func (RequiredNameForPushError) DisplayUsage()
func (RequiredNameForPushError) Error ¶
func (RequiredNameForPushError) Error() string
type RouteInDifferentSpaceError ¶
type RouteInDifferentSpaceError struct {
Route string
}
func (RouteInDifferentSpaceError) Error ¶
func (e RouteInDifferentSpaceError) 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 (e RouterGroupNotFoundError) Error() string
type RunTaskError ¶
type RunTaskError struct {
Message string
}
func (RunTaskError) Error ¶
func (RunTaskError) Error() string
type SSHUnableToAuthenticateError ¶
type SSHUnableToAuthenticateError struct{}
func (SSHUnableToAuthenticateError) Error ¶
func (SSHUnableToAuthenticateError) Error() string
type SSLCertError ¶
type SSLCertError struct {
Message string
}
func (SSLCertError) Error ¶
func (SSLCertError) Error() string
type SecurityGroupNotFoundError ¶
type SecurityGroupNotFoundError struct {
Name string
}
func (SecurityGroupNotFoundError) Error ¶
func (SecurityGroupNotFoundError) 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 SharedServiceInstanceNotFoundError ¶
type SharedServiceInstanceNotFoundError struct { }
func (SharedServiceInstanceNotFoundError) Error ¶
func (SharedServiceInstanceNotFoundError) Error() string
type SpaceNotFoundError ¶
type SpaceNotFoundError struct {
Name string
}
func (SpaceNotFoundError) Error ¶
func (SpaceNotFoundError) Error() string
type SpaceQuotaNotFoundByNameError ¶
type SpaceQuotaNotFoundByNameError struct {
Name string
}
func (SpaceQuotaNotFoundByNameError) Error ¶
func (SpaceQuotaNotFoundByNameError) Error() string
type StackNotFoundError ¶
func (StackNotFoundError) Error ¶
func (e StackNotFoundError) Error() string
type StagingFailedError ¶
type StagingFailedError struct {
Message string
}
func (StagingFailedError) Error ¶
func (StagingFailedError) Error() string
type StagingFailedNoAppDetectedError ¶
func (StagingFailedNoAppDetectedError) Error ¶
func (StagingFailedNoAppDetectedError) Error() string
type StagingTimeoutError ¶
func (StagingTimeoutError) Error ¶
func (StagingTimeoutError) Error() string
type StartupTimeoutError ¶
func (StartupTimeoutError) Error ¶
func (StartupTimeoutError) Error() string
type TCPRouteOptionsNotProvidedError ¶
type TCPRouteOptionsNotProvidedError struct { }
func (TCPRouteOptionsNotProvidedError) Error ¶
func (e TCPRouteOptionsNotProvidedError) Error() string
type ThreeRequiredArgumentsError ¶
type ThreeRequiredArgumentsError struct { ArgumentName1 string ArgumentName2 string ArgumentName3 string }
func (ThreeRequiredArgumentsError) DisplayUsage ¶
func (ThreeRequiredArgumentsError) DisplayUsage()
func (ThreeRequiredArgumentsError) Error ¶
func (ThreeRequiredArgumentsError) Error() string
type TranslatableError ¶
type TranslatableError interface { // Returns the untranslated error string Error() string Translate(func(string, ...interface{}) string) string }
TranslatableError it wraps the error interface adding a way to set the translation function on the error
type TriggerLegacyPushError ¶
type TriggerLegacyPushError struct { DomainHostRelated []string GlobalRelated []string InheritanceRelated bool RandomRouteRelated bool }
func (TriggerLegacyPushError) Error ¶
func (e TriggerLegacyPushError) Error() string
func (TriggerLegacyPushError) LegacyMain ¶
func (TriggerLegacyPushError) LegacyMain()
type UAAEndpointNotFoundError ¶
type UAAEndpointNotFoundError struct { }
func (UAAEndpointNotFoundError) Error ¶
func (UAAEndpointNotFoundError) Error() string
type UnauthorizedError ¶
type UnauthorizedError struct {
}func (UnauthorizedError) Error ¶
func (e UnauthorizedError) Error() string
type UnauthorizedToPerformActionError ¶
type UnauthorizedToPerformActionError struct { }
func (UnauthorizedToPerformActionError) Error ¶
func (UnauthorizedToPerformActionError) Error() string
type UnrefactoredCommandError ¶
type UnrefactoredCommandError struct{}
func (UnrefactoredCommandError) Error ¶
func (e UnrefactoredCommandError) Error() string
func (UnrefactoredCommandError) LegacyMain ¶
func (UnrefactoredCommandError) LegacyMain()
type UnsuccessfulStartError ¶
func (UnsuccessfulStartError) Error ¶
func (UnsuccessfulStartError) Error() string
type UnsupportedURLSchemeError ¶
type UnsupportedURLSchemeError struct {
UnsupportedURL string
}
func (UnsupportedURLSchemeError) Error ¶
func (e UnsupportedURLSchemeError) Error() string
type UploadFailedError ¶
type UploadFailedError struct {
Err error
}
func (UploadFailedError) Error ¶
func (UploadFailedError) Error() string
type V3APIDoesNotExistError ¶
type V3APIDoesNotExistError struct {
Message string
}
func (V3APIDoesNotExistError) Error ¶
func (V3APIDoesNotExistError) Error() string
type V3V2SwitchError ¶
type V3V2SwitchError struct { }
func (V3V2SwitchError) Error ¶
func (e V3V2SwitchError) Error() string
Source Files ¶
- add_plugin_repository_error.go
- api_not_found_error.go
- api_request_error.go
- app_not_found_in_manifest_error.go
- application_not_found_error.go
- application_not_started_error.go
- argument_combination_error.go
- assign_droplet_error.go
- authorization_endpoint_not_found_error.go
- buildpack_not_found_error.go
- cfnetworking_endpoint_not_found_error.go
- command_line_args_with_multiple_apps_error.go
- command_line_options_and_manifest_conflict_error.go
- conflicting_buildpacks_error.go
- convert_to_translatable_error.go
- docker_password_not_set_error.go
- domain_not_found_error.go
- download_plugin_http_error.go
- empty_buildpack_directory_error.go
- empty_buildpacks_error.go
- empty_config_error.go
- empty_directory_error.go
- fetching_plugin_info_from_repositories_error.go
- file_changed_error.go
- file_not_found_error.go
- getting_plugin_repository_error.go
- godoc.go
- health_check_type_unsupported_error.go
- host_and_path_not_allowed_with_tcp_domain_error.go
- hostname_with_tcp_domain_error.go
- http_health_check_invalid_error.go
- http_status_error.go
- interpolation_error.go
- invalid_buildpacks_error.go
- invalid_checksum_error.go
- invalid_refresh_token_error.go
- invalid_route_error.go
- invalid_ssl_cert_error.go
- isolation_segment_not_found_error.go
- job_failed_error.go
- job_timeout_error.go
- json_syntax_error.go
- lifecycle_minimum_api_version_not_met_error.go
- manifest_creation_error.go
- manifest_file_not_found_in_directory_error.go
- minimum_cf_api_version_not_met_error.go
- minimum_cli_version_not_met_error.go
- minimum_uaa_api_version_not_met_error.go
- missing_credentials_error.go
- multi_error.go
- multiple_buildpacks_found_error.go
- network_policy_protocol_or_port_not_provided_error.go
- no_api_set_error.go
- no_compatible_binary_error.go
- no_domains_found_error.go
- no_hostname_shared_domain_error.go
- no_matching_domain_error.go
- no_organization_targeted_error.go
- no_plugin_repositories_error.go
- no_space_targeted_error.go
- not_logged_in_error.go
- organization_not_found_error.go
- organization_quota_not_found_for_name_error.go
- parse_argument_error.go
- password_grant_type_logout_required_error.go
- plugin_already_installed_error.go
- plugin_binarly_uninstall_error.go
- plugin_binary_remove_failed_error.go
- plugin_commands_conflict_error.go
- plugin_invalid_error.go
- plugin_not_found_error.go
- plugin_not_found_in_repository_error.go
- plugin_not_found_on_disk_or_in_any_repository_error.go
- port_not_allowed_with_http_domain_error.go
- process_instance_not_found_error.go
- process_instance_not_running_error.go
- process_not_found_error.go
- property_combination_error.go
- repository_name_taken_error.go
- repository_not_registered_error.go
- required_argument_error.go
- required_flags_error.go
- required_name_for_push_error.go
- route_in_different_space_error.go
- route_path_with_tcp_domain_error.go
- router_group_not_found_error.go
- run_task_error.go
- security_group_not_found_error.go
- service_instance_not_found_error.go
- service_instance_not_shareable_error.go
- service_instance_not_shared_to_space_error.go
- shared_service_instance_not_found_error.go
- space_not_found_error.go
- space_quota_not_found_by_name_error.go
- ssh_unable_to_authenticate_error.go
- ssl_cert_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
- tcp_route_options_not_provided_error.go
- three_required_arguments_error.go
- translatable_error.go
- trigger_legacy_push_error.go
- uaa_endpoint_not_found_error.go
- unauthorized_error.go
- unauthorized_to_perform_action_error.go
- unrefactored_command_error.go
- unsuccessful_stat_error.go
- unsupported_url_scheme_error.go
- upload_failed_error.go
- v3_api_does_not_exist_error.go
- v3_v2_switch_error.go