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 GetApplicationChanges(appConfig pushaction.ApplicationConfig) []ui.Change
- func MegabytesToString(value uint64) string
- 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
- func SelectNonBlankValue(str ...string) string
- type ApplicationSummaryActor
- type DebugPrinter
- type RequestLoggerOutput
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 GetApplicationChanges ¶
func GetApplicationChanges(appConfig pushaction.ApplicationConfig) []ui.Change
func MegabytesToString ¶
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.
func NewNOAAClient ¶
func NewNOAAClient(apiURL string, config command.Config, uaaClient *uaa.Client, ui command.UI) *consumer.Consumer
NewNOAAClient returns back a configured NOAA Client.
func SelectNonBlankValue ¶
Types ¶
type ApplicationSummaryActor ¶
type ApplicationSummaryActor interface { CloudControllerV3APIVersion() string GetApplicationSummaryByNameAndSpace(appName string, spaceGUID string, withObfuscatedValues bool) (v2v3action.ApplicationSummary, v2v3action.Warnings, error) }
type DebugPrinter ¶
type DebugPrinter struct {
// contains filtered or unexported fields
}
func (DebugPrinter) Print ¶
func (p DebugPrinter) Print(title string, dump string)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.