shared

package
v6.47.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package shared should not be imported by external consumers. It was not designed for external use.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNewClientsAndConnectToCF

func GetNewClientsAndConnectToCF(config command.Config, ui command.UI, minVersionV3 string) (*ccv3.Client, *uaa.Client, error)

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 NewWrappedCloudControllerClient

func NewWrappedCloudControllerClient(config command.Config, ui command.UI) (*ccv3.Client, *ccWrapper.UAAAuthentication)

func PollStage

func PollStage(dropletStream <-chan v7action.Droplet, warningsStream <-chan v7action.Warnings, errStream <-chan error, logStream <-chan *v7action.LogMessage, logErrStream <-chan error, ui command.UI) (v7action.Droplet, error)

Types

type AppSummaryDisplayer

type AppSummaryDisplayer struct {
	UI command.UI
}

func NewAppSummaryDisplayer

func NewAppSummaryDisplayer(ui command.UI) *AppSummaryDisplayer

func (AppSummaryDisplayer) AppDisplay

func (display AppSummaryDisplayer) AppDisplay(summary v7action.DetailedApplicationSummary, displayStartCommand bool)

type NOAADebugPrinter

type NOAADebugPrinter struct {
	// contains filtered or unexported fields
}

func (NOAADebugPrinter) Print

func (p NOAADebugPrinter) 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 RequestLoggerOutput interface {
	Start() error
	Stop() error
	DisplayType(name string, requestDate time.Time) error
	DisplayDump(dump string) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL