{"modulePath":"github.com/swisscom/cloudfoundry-cli","version":"v7.1.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package shared\n\nPackage shared should not be imported by external consumers. It was not designed for external use.\n\n## Functions\n\n```go\nfunc GetApplicationChanges(appConfig pushaction.ApplicationConfig) []ui.Change\n```\n\n```go\nfunc GetCreatedTime(summary v3action.ApplicationSummary) time.Time\n```\n\n```go\nfunc GetNewClientsAndConnectToCF(config command.Config, ui command.UI) (*ccv2.Client, *uaa.Client, error)\n```\n\n```go\nfunc MegabytesToString(value uint64) string\n```\n\n```go\nfunc NewNOAAClient(apiURL string, config command.Config, uaaClient *uaa.Client, ui command.UI) *consumer.Consumer\n```\nNewNOAAClient returns back a configured NOAA Client.\n\n```go\nfunc NewNetworkingClient(apiURL string, config command.Config, uaaClient *uaa.Client, ui command.UI) (*cfnetv1.Client, error)\n```\nNewNetworkingClient creates a new cfnetworking client.\n\n```go\nfunc NewRouterClient(config command.Config, ui command.UI, uaaClient *uaa.Client) (*router.Client, error)\n```\n\n```go\nfunc NewV3BasedClients(config command.Config, ui command.UI, targetCF bool) (*ccv3.Client, *uaa.Client, error)\n```\nNewV3BasedClients creates a new V3 Cloud Controller client and UAA client using the passed in config.\n\n```go\nfunc NewWrappedCloudControllerClient(config command.Config, ui command.UI) (*ccv2.Client, *ccWrapper.UAAAuthentication)\n```\n\n```go\nfunc PollStage(dropletStream \u003c-chan v3action.Droplet, warningsStream \u003c-chan v3action.Warnings, errStream \u003c-chan error, logStream \u003c-chan *v3action.LogMessage, logErrStream \u003c-chan error, ui command.UI) (v3action.Droplet, error)\n```\n\n```go\nfunc PollStart(ui command.UI, config command.Config,\n\tmessages \u003c-chan sharedaction.LogMessage,\n\tlogErrs \u003c-chan error,\n\tappState \u003c-chan v2action.ApplicationStateChange,\n\tapiWarnings \u003c-chan string,\n\tapiErrs \u003c-chan error,\n\tstopStreaming context.CancelFunc) (apiError error)\n```\n\n```go\nfunc SelectNonBlankValue(str ...string) string\n```\n\n## Types\n\n```go\ntype AppSummaryDisplayer struct {\n\tUI         command.UI\n\tConfig     command.Config\n\tActor      V3AppSummaryActor\n\tV2AppActor V2AppActor\n\tAppName    string\n}\n```\n\n```go\nfunc (display AppSummaryDisplayer) DisplayAppInfo() error\n```\n\n```go\nfunc (display AppSummaryDisplayer) DisplayAppProcessInfo() error\n```\n\n```go\ntype AppSummaryDisplayer2 struct {\n\tUI command.UI\n}\n```\n\n```go\nfunc NewAppSummaryDisplayer2(ui command.UI) *AppSummaryDisplayer2\n```\n\n```go\nfunc (display AppSummaryDisplayer2) AppDisplay(summary v2v3action.ApplicationSummary, displayStartCommand bool)\n```\n\n```go\ntype ApplicationSummaryActor interface {\n\tCloudControllerV3APIVersion() string\n\tGetApplicationSummaryByNameAndSpace(appName string, spaceGUID string, withObfuscatedValues bool) (v2v3action.ApplicationSummary, v2v3action.Warnings, error)\n}\n```\n\n```go\ntype DebugPrinter struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (p DebugPrinter) Print(title string, dump string)\n```\n\n```go\ntype PackageDisplayer struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewPackageDisplayer(ui command.UI, config command.Config) PackageDisplayer\n```\n\n```go\nfunc (display PackageDisplayer) DisplaySetupMessage(appName string, isDockerImage bool) error\n```\n\n```go\ntype RequestLoggerOutput interface {\n\tStart() error\n\tStop() error\n\tDisplayType(name string, requestDate time.Time) error\n\tDisplayDump(dump string) error\n}\n```\n\n```go\ntype V2AppActor interface {\n\tGetApplicationRoutes(appGUID string) (v2action.Routes, v2action.Warnings, error)\n\tGetApplicationInstancesWithStatsByApplication(guid string) ([]v2action.ApplicationInstanceWithStats, v2action.Warnings, error)\n}\n```\n\n```go\ntype V3AppSummaryActor interface {\n\tGetApplicationSummaryByNameAndSpace(appName string, spaceGUID string, withObfuscatedValues bool) (v3action.ApplicationSummary, v3action.Warnings, error)\n}\n```\n\n","path":"github.com/swisscom/cloudfoundry-cli/command/v6/shared","name":"shared","synopsis":"Package shared should not be imported by external consumers.","isRedistributable":true}
