Documentation ¶
Overview ¶
Package shared should not be imported by external consumers. It was not designed for external use.
Index ¶
- func HandleError(err error) error
- func NewClients(config command.Config, ui command.UI, targetCF bool) (*ccv3.Client, *uaa.Client, error)
- func NewNOAAClient(apiURL string, config command.Config, uaaClient *uaa.Client, ui command.UI) *consumer.Consumer
- func PollStage(buildStream <-chan v3action.Build, warningsStream <-chan v3action.Warnings, ...) (error, string)
- type AssignDropletError
- type DebugPrinter
- type IsolationSegmentNotFoundError
- type OrganizationNotFoundError
- type RequestLoggerOutput
- type RunTaskError
- type StartupTimeoutError
- type V3APIDoesNotExistError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleError ¶
func NewClients ¶
func NewClients(config command.Config, ui command.UI, targetCF bool) (*ccv3.Client, *uaa.Client, error)
NewClients creates a new V3 Cloud Controller client and UAA client using the passed in config.
Types ¶
type AssignDropletError ¶
type AssignDropletError struct { }
AssignDropletError is returned when assigning the current droplet of an app fails
func (AssignDropletError) Error ¶
func (_ AssignDropletError) Error() string
type DebugPrinter ¶
type DebugPrinter struct {
// contains filtered or unexported fields
}
func (DebugPrinter) Print ¶
func (p DebugPrinter) Print(title string, dump string)
type IsolationSegmentNotFoundError ¶
type IsolationSegmentNotFoundError struct {
Name string
}
func (IsolationSegmentNotFoundError) Error ¶
func (_ IsolationSegmentNotFoundError) Error() string
type OrganizationNotFoundError ¶
type OrganizationNotFoundError struct {
Name string
}
func (OrganizationNotFoundError) Error ¶
func (_ OrganizationNotFoundError) Error() string
type RequestLoggerOutput ¶
type RunTaskError ¶
type RunTaskError struct {
Message string
}
func (RunTaskError) Error ¶
func (_ RunTaskError) Error() string
type StartupTimeoutError ¶
type StartupTimeoutError struct {
AppName string
}
StartupTimeoutError is returned when startup timeout is reached waiting for an application to start.
func (StartupTimeoutError) Error ¶
func (e StartupTimeoutError) Error() string
type V3APIDoesNotExistError ¶
type V3APIDoesNotExistError struct {
Message string
}
func (V3APIDoesNotExistError) Error ¶
func (_ V3APIDoesNotExistError) Error() string
Click to show internal directories.
Click to hide internal directories.