Documentation ¶
Overview ¶
Package shared should not be imported by external consumers. It was not designed for external use.
Index ¶
- Constants
- func FlagBoolToString(enabled bool) string
- func GetNewClientsAndConnectToCF(config command.Config, ui command.UI, minVersionV3 string) (*ccv3.Client, *uaa.Client, error)
- func NewNetworkingClient(apiURL string, config command.Config, uaaClient *uaa.Client, ui command.UI) (*cfnetv1.Client, error)
- func NewWrappedCloudControllerClient(config command.Config, ui command.UI) (*ccv3.Client, *ccWrapper.UAAAuthentication)
- func PollStage(dropletStream <-chan v7action.Droplet, warningsStream <-chan v7action.Warnings, ...) (v7action.Droplet, error)
- type AppStager
- type AppSummaryDisplayer
- type PackageDisplayer
- type QuotaDisplayer
- type Stager
Constants ¶
View Source
const ( MEGABYTE = 1024 * 1024 GIGABYTE = 1024 * MEGABYTE TERABYTE = 1024 * GIGABYTE )
Variables ¶
This section is empty.
Functions ¶
func FlagBoolToString ¶
func NewNetworkingClient ¶
func NewNetworkingClient(apiURL string, config command.Config, uaaClient *uaa.Client, ui command.UI) (*cfnetv1.Client, error)
NewNetworkingClient creates a new cfnetworking client.
Types ¶
type AppStager ¶
type AppStager interface { StageAndStart( app v7action.Application, packageGUID string, strategy constant.DeploymentStrategy, noWait bool, ) error }
func NewAppStager ¶
func NewAppStager(actor stagingAndStartActor, ui command.UI, config command.Config, logCache sharedaction.LogCacheClient) AppStager
type AppSummaryDisplayer ¶
func NewAppSummaryDisplayer ¶
func NewAppSummaryDisplayer(ui command.UI) *AppSummaryDisplayer
func (AppSummaryDisplayer) AppDisplay ¶
func (display AppSummaryDisplayer) AppDisplay(summary v7action.DetailedApplicationSummary, displayStartCommand bool)
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 QuotaDisplayer ¶
type QuotaDisplayer struct {
// contains filtered or unexported fields
}
func NewQuotaDisplayer ¶
func NewQuotaDisplayer(ui command.UI) QuotaDisplayer
func (QuotaDisplayer) DisplayQuotasTable ¶
func (displayer QuotaDisplayer) DisplayQuotasTable(quotas []v7action.Quota, emptyMessage string)
func (QuotaDisplayer) DisplaySingleQuota ¶
func (displayer QuotaDisplayer) DisplaySingleQuota(quota v7action.Quota)
type Stager ¶
type Stager struct { Actor stagingAndStartActor UI command.UI Config command.Config LogCache sharedaction.LogCacheClient }
func (*Stager) StageAndStart ¶
func (stager *Stager) StageAndStart( app v7action.Application, packageGUID string, strategy constant.DeploymentStrategy, noWait bool, ) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.