Documentation ¶
Overview ¶
Package shared should not be imported by external consumers. It was not designed for external use.
Index ¶
- func GetApplicationChanges(appConfig pushaction.ApplicationConfig) []ui.Change
- func GetCreatedTime(summary v3action.ApplicationSummary) time.Time
- func GetNewClientsAndConnectToCF(config command.Config, ui command.UI) (*ccv2.Client, *uaa.Client, error)
- func MegabytesToString(value uint64) string
- func NewNOAAClient(apiURL string, config command.Config, uaaClient *uaa.Client, ui command.UI) *consumer.Consumer
- func NewNetworkingClient(apiURL string, config command.Config, uaaClient *uaa.Client, ui command.UI) (*cfnetv1.Client, error)
- func NewRouterClient(config command.Config, ui command.UI, uaaClient *uaa.Client) (*router.Client, error)
- func NewV3BasedClients(config command.Config, ui command.UI, targetCF bool) (*ccv3.Client, *uaa.Client, error)
- func NewV3BasedClientsWithAuthorizationEndpoint(config command.Config, ui command.UI, targetCF bool, ...) (*ccv3.Client, *uaa.Client, error)
- func NewWrappedCloudControllerClient(config command.Config, ui command.UI) (*ccv2.Client, *ccWrapper.UAAAuthentication)
- func PollStage(dropletStream <-chan v3action.Droplet, warningsStream <-chan v3action.Warnings, ...) (v3action.Droplet, error)
- func PollStart(ui command.UI, config command.Config, messages <-chan sharedaction.LogMessage, ...) (apiError error)
- func SelectNonBlankValue(str ...string) string
- type AppSummaryDisplayer
- type AppSummaryDisplayer2
- type ApplicationSummaryActor
- type DebugPrinter
- type PackageDisplayer
- type RequestLoggerOutput
- type V2AppActor
- type V3AppSummaryActor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetApplicationChanges ¶
func GetApplicationChanges(appConfig pushaction.ApplicationConfig) []ui.Change
func GetCreatedTime ¶
func GetCreatedTime(summary v3action.ApplicationSummary) time.Time
func MegabytesToString ¶
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 NewNetworkingClient ¶
func NewNetworkingClient(apiURL string, config command.Config, uaaClient *uaa.Client, ui command.UI) (*cfnetv1.Client, error)
NewNetworkingClient creates a new cfnetworking client.
func NewRouterClient ¶
func NewV3BasedClients ¶
func NewV3BasedClients(config command.Config, ui command.UI, targetCF bool) (*ccv3.Client, *uaa.Client, error)
NewV3BasedClients creates a new V3 Cloud Controller client and UAA client using the passed in config.
func NewV3BasedClientsWithAuthorizationEndpoint ¶
func NewV3BasedClientsWithAuthorizationEndpoint(config command.Config, ui command.UI, targetCF bool, authorizationEndpoint string) (*ccv3.Client, *uaa.Client, error)
NewV3BasedClientsWithAuthorizationEndpoint creates a new V3 Cloud Controller client and UAA client using the passed in config.
func PollStart ¶
func PollStart(ui command.UI, config command.Config, messages <-chan sharedaction.LogMessage, logErrs <-chan error, appState <-chan v2action.ApplicationStateChange, apiWarnings <-chan string, apiErrs <-chan error, stopStreaming context.CancelFunc) (apiError error)
func SelectNonBlankValue ¶
Types ¶
type AppSummaryDisplayer ¶
type AppSummaryDisplayer struct { UI command.UI Config command.Config Actor V3AppSummaryActor V2AppActor V2AppActor AppName string }
func (AppSummaryDisplayer) DisplayAppInfo ¶
func (display AppSummaryDisplayer) DisplayAppInfo() error
func (AppSummaryDisplayer) DisplayAppProcessInfo ¶
func (display AppSummaryDisplayer) DisplayAppProcessInfo() error
type AppSummaryDisplayer2 ¶
func NewAppSummaryDisplayer2 ¶
func NewAppSummaryDisplayer2(ui command.UI) *AppSummaryDisplayer2
func (AppSummaryDisplayer2) AppDisplay ¶
func (display AppSummaryDisplayer2) AppDisplay(summary v2v3action.ApplicationSummary, displayStartCommand bool)
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)
type PackageDisplayer ¶
type PackageDisplayer struct {
// contains filtered or unexported fields
}
func NewPackageDisplayer ¶
func NewPackageDisplayer(ui command.UI, config command.Config) PackageDisplayer
func (PackageDisplayer) DisplaySetupMessage ¶
func (display PackageDisplayer) DisplaySetupMessage(appName string, isDockerImage bool) error
type RequestLoggerOutput ¶
type V2AppActor ¶
type V3AppSummaryActor ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.