shared

package
v6.25.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2017 License: Apache-2.0 Imports: 16 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 DisplayAppSummary

func DisplayAppSummary(ui command.UI, appSummary v2action.ApplicationSummary, displayStartCommand bool)

DisplayAppSummary displays the application summary to the UI, and optionally the command to start the app.

func HandleError

func HandleError(err error) error

func NewClients

func NewClients(config command.Config, ui command.UI) (*ccv2.Client, *uaa.Client, error)

NewClients creates a new V2 Cloud Controller client and UAA client using the passed in config.

func NewNOAAClient

func NewNOAAClient(apiURL string, config command.Config, uaaClient *uaa.Client, ui command.UI) *consumer.Consumer

NewNOAAClient returns back a configured NOAA Client.

Types

type HTTPHealthCheckInvalidError

type HTTPHealthCheckInvalidError struct {
}

func (HTTPHealthCheckInvalidError) Error

func (HTTPHealthCheckInvalidError) Translate

func (e HTTPHealthCheckInvalidError) Translate(translate func(string, ...interface{}) string) string

type InvalidRefreshTokenError

type InvalidRefreshTokenError struct {
}

func (InvalidRefreshTokenError) Error

func (e InvalidRefreshTokenError) Error() string

func (InvalidRefreshTokenError) Translate

func (e InvalidRefreshTokenError) Translate(translate func(string, ...interface{}) string) string

type JobFailedError

type JobFailedError struct {
	JobGUID string
	Message string
}

func (JobFailedError) Error

func (e JobFailedError) Error() string

func (JobFailedError) Translate

func (e JobFailedError) Translate(translate func(string, ...interface{}) string) string

type JobTimeoutError

type JobTimeoutError struct {
	JobGUID string
	Timeout time.Duration
}

func (JobTimeoutError) Error

func (e JobTimeoutError) Error() string

func (JobTimeoutError) Translate

func (e JobTimeoutError) Translate(translate func(string, ...interface{}) string) string

type NoOrganizationTargetedError

type NoOrganizationTargetedError struct{}

func (NoOrganizationTargetedError) Error

func (NoOrganizationTargetedError) Translate

func (e NoOrganizationTargetedError) Translate(translate func(string, ...interface{}) string) string

type OrganizationNotFoundError

type OrganizationNotFoundError struct {
	Name string
}

func (OrganizationNotFoundError) Error

func (OrganizationNotFoundError) Translate

func (e OrganizationNotFoundError) Translate(translate func(string, ...interface{}) string) string

type SpaceNotFoundError

type SpaceNotFoundError struct {
	Name string
}

func (SpaceNotFoundError) Error

func (e SpaceNotFoundError) Error() string

func (SpaceNotFoundError) Translate

func (e SpaceNotFoundError) Translate(translate func(string, ...interface{}) string) string

type StagingFailedError

type StagingFailedError struct {
	Message    string
	BinaryName string
}

func (StagingFailedError) Error

func (e StagingFailedError) Error() string

func (StagingFailedError) Translate

func (e StagingFailedError) Translate(translate func(string, ...interface{}) string) string

Jump to

Keyboard shortcuts

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