shared

package
v6.24.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2017 License: Apache-2.0 Imports: 8 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 HandleError

func HandleError(err error) error

func NewClients

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

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

Types

type ClientTargetError

type ClientTargetError struct {
	Message string
}

func (ClientTargetError) Error

func (e ClientTargetError) Error() string

func (ClientTargetError) Translate

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

type RunTaskError

type RunTaskError struct {
	Message string
}

func (RunTaskError) Error

func (e RunTaskError) Error() string

func (RunTaskError) Translate

func (e RunTaskError) 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