Documentation ¶
Overview ¶
Package shared should not be imported by external consumers. It was not designed for external use.
Index ¶
- func DisplayAppSummary(ui command.UI, appSummary v2action.ApplicationSummary, ...)
- func HandleError(err error) error
- func NewClients(config command.Config, ui command.UI, targetCF bool) (*ccv2.Client, *uaa.Client, error)
- func NewNOAAClient(apiURL string, config command.Config, uaaClient *uaa.Client, ui command.UI) *consumer.Consumer
- func PollStart(ui command.UI, config command.Config, messages <-chan *v2action.LogMessage, ...) error
- type DebugPrinter
- type EmptyDirectoryError
- type FileChangedError
- type HTTPHealthCheckInvalidError
- type InvalidRefreshTokenError
- type JobFailedError
- type JobTimeoutError
- type NoDomainsFoundError
- type OrganizationNotFoundError
- type RequestLoggerOutput
- type RouteInDifferentSpaceError
- type SecurityGroupNotFoundError
- type SpaceNotFoundError
- type StagingFailedError
- type StagingFailedNoAppDetectedError
- type StagingTimeoutError
- type StartupTimeoutError
- type UnsuccessfulStartError
- type UploadFailedError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisplayAppSummary ¶
func DisplayAppSummary(ui command.UI, appSummary v2action.ApplicationSummary, displayStartCommand bool)
DisplayAppSummary displays the application summary to the UI, and optionally the command to start the app.
func HandleError ¶
func NewClients ¶
func NewClients(config command.Config, ui command.UI, targetCF bool) (*ccv2.Client, *uaa.Client, error)
NewClients creates a new V2 Cloud Controller client and UAA client using the passed in config.
Types ¶
type DebugPrinter ¶
type DebugPrinter struct {
// contains filtered or unexported fields
}
func (DebugPrinter) Print ¶
func (p DebugPrinter) Print(title string, dump string)
type EmptyDirectoryError ¶
type EmptyDirectoryError struct {
Path string
}
func (EmptyDirectoryError) Error ¶
func (e EmptyDirectoryError) Error() string
type FileChangedError ¶
type FileChangedError struct {
Filename string
}
func (FileChangedError) Error ¶
func (e FileChangedError) Error() string
type HTTPHealthCheckInvalidError ¶
type HTTPHealthCheckInvalidError struct { }
func (HTTPHealthCheckInvalidError) Error ¶
func (_ HTTPHealthCheckInvalidError) Error() string
type InvalidRefreshTokenError ¶
type InvalidRefreshTokenError struct { }
func (InvalidRefreshTokenError) Error ¶
func (_ InvalidRefreshTokenError) Error() string
type JobFailedError ¶
func (JobFailedError) Error ¶
func (_ JobFailedError) Error() string
type JobTimeoutError ¶
func (JobTimeoutError) Error ¶
func (_ JobTimeoutError) Error() string
type NoDomainsFoundError ¶
type NoDomainsFoundError struct { }
func (NoDomainsFoundError) Error ¶
func (_ NoDomainsFoundError) Error() string
type OrganizationNotFoundError ¶
type OrganizationNotFoundError struct {
Name string
}
func (OrganizationNotFoundError) Error ¶
func (_ OrganizationNotFoundError) Error() string
type RequestLoggerOutput ¶
type RouteInDifferentSpaceError ¶
type RouteInDifferentSpaceError struct {
Route string
}
func (RouteInDifferentSpaceError) Error ¶
func (e RouteInDifferentSpaceError) Error() string
type SecurityGroupNotFoundError ¶
type SecurityGroupNotFoundError struct {
Name string
}
func (SecurityGroupNotFoundError) Error ¶
func (_ SecurityGroupNotFoundError) Error() string
type SpaceNotFoundError ¶
type SpaceNotFoundError struct {
Name string
}
func (SpaceNotFoundError) Error ¶
func (_ SpaceNotFoundError) 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 UnsuccessfulStartError ¶
func (UnsuccessfulStartError) Error ¶
func (_ UnsuccessfulStartError) Error() string
type UploadFailedError ¶
type UploadFailedError struct {
Err error
}
func (UploadFailedError) Error ¶
func (_ UploadFailedError) Error() string
Click to show internal directories.
Click to hide internal directories.