{"modulePath":"code.cloudfoundry.org/cli-sapi","version":"v6.51.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## Constants\n\n```go\nconst (\n\tMEGABYTE = 1024 * 1024\n\tGIGABYTE = 1024 * MEGABYTE\n\tTERABYTE = 1024 * GIGABYTE\n)\n```\n\n## Functions\n\n```go\nfunc FlagBoolToString(enabled bool) string\n```\n\n```go\nfunc GetNewClientsAndConnectToCF(config command.Config, ui command.UI, minVersionV3 string) (*ccv3.Client, *uaa.Client, error)\n```\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 NewWrappedCloudControllerClient(config command.Config, ui command.UI) (*ccv3.Client, *ccWrapper.UAAAuthentication)\n```\n\n```go\nfunc PollStage(dropletStream \u003c-chan v7action.Droplet, warningsStream \u003c-chan v7action.Warnings, errStream \u003c-chan error, logStream \u003c-chan sharedaction.LogMessage, logErrStream \u003c-chan error, ui command.UI) (v7action.Droplet, error)\n```\n\n## Types\n\n```go\ntype AppStager interface {\n\tStageAndStart(\n\t\tapp v7action.Application,\n\t\tpackageGUID string,\n\t\tstrategy constant.DeploymentStrategy,\n\t\tnoWait bool,\n\t) error\n}\n```\n\n```go\nfunc NewAppStager(actor stagingAndStartActor, ui command.UI, config command.Config, logCache sharedaction.LogCacheClient) AppStager\n```\n\n```go\ntype AppSummaryDisplayer struct {\n\tUI command.UI\n}\n```\n\n```go\nfunc NewAppSummaryDisplayer(ui command.UI) *AppSummaryDisplayer\n```\n\n```go\nfunc (display AppSummaryDisplayer) AppDisplay(summary v7action.DetailedApplicationSummary, displayStartCommand bool)\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 QuotaDisplayer struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewQuotaDisplayer(ui command.UI) QuotaDisplayer\n```\n\n```go\nfunc (displayer QuotaDisplayer) DisplayQuotasTable(quotas []v7action.Quota, emptyMessage string)\n```\n\n```go\nfunc (displayer QuotaDisplayer) DisplaySingleQuota(quota v7action.Quota)\n```\n\n```go\ntype Stager struct {\n\tActor    stagingAndStartActor\n\tUI       command.UI\n\tConfig   command.Config\n\tLogCache sharedaction.LogCacheClient\n}\n```\n\n```go\nfunc (stager *Stager) StageAndStart(\n\tapp v7action.Application,\n\tpackageGUID string,\n\tstrategy constant.DeploymentStrategy,\n\tnoWait bool,\n) error\n```\n\n","path":"code.cloudfoundry.org/cli-sapi/command/v7/shared","name":"shared","synopsis":"Package shared should not be imported by external consumers.","isRedistributable":true}
