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 HTTPHealthCheckInvalidError
- type InvalidRefreshTokenError
- type JobFailedError
- type JobTimeoutError
- type NoOrganizationTargetedError
- type OrganizationNotFoundError
- type RequestLoggerOutput
- type SecurityGroupNotFoundError
- type SpaceNotFoundError
- type StagingFailedError
- type StagingFailedNoAppDetectedError
- type StagingTimeoutError
- type StartupTimeoutError
- type UnsuccessfulStartError
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 HTTPHealthCheckInvalidError ¶
type HTTPHealthCheckInvalidError struct { }
func (HTTPHealthCheckInvalidError) Error ¶
func (e HTTPHealthCheckInvalidError) Error() string
type InvalidRefreshTokenError ¶
type InvalidRefreshTokenError struct { }
func (InvalidRefreshTokenError) Error ¶
func (e InvalidRefreshTokenError) Error() string
type JobFailedError ¶
func (JobFailedError) Error ¶
func (e JobFailedError) Error() string
type JobTimeoutError ¶
func (JobTimeoutError) Error ¶
func (e JobTimeoutError) Error() string
type NoOrganizationTargetedError ¶
type NoOrganizationTargetedError struct{}
func (NoOrganizationTargetedError) Error ¶
func (e NoOrganizationTargetedError) Error() string
type OrganizationNotFoundError ¶
type OrganizationNotFoundError struct {
Name string
}
func (OrganizationNotFoundError) Error ¶
func (e OrganizationNotFoundError) Error() string
type RequestLoggerOutput ¶
type SecurityGroupNotFoundError ¶
type SecurityGroupNotFoundError struct {
Name string
}
func (SecurityGroupNotFoundError) Error ¶
func (e SecurityGroupNotFoundError) Error() string
type SpaceNotFoundError ¶
type SpaceNotFoundError struct {
Name string
}
func (SpaceNotFoundError) Error ¶
func (e SpaceNotFoundError) Error() string
type StagingFailedError ¶
type StagingFailedError struct {
Message string
}
func (StagingFailedError) Error ¶
func (e StagingFailedError) Error() string
type StagingFailedNoAppDetectedError ¶
func (StagingFailedNoAppDetectedError) Error ¶
func (e StagingFailedNoAppDetectedError) Error() string
type StagingTimeoutError ¶
func (StagingTimeoutError) Error ¶
func (e StagingTimeoutError) Error() string
type StartupTimeoutError ¶
func (StartupTimeoutError) Error ¶
func (e StartupTimeoutError) Error() string
type UnsuccessfulStartError ¶
func (UnsuccessfulStartError) Error ¶
func (e UnsuccessfulStartError) Error() string
Click to show internal directories.
Click to hide internal directories.