shared

package
v6.1.3-0...-849d2a4 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2017 License: Apache-2.0 Imports: 10 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, targetCF bool) (*ccv3.Client, error)

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

Types

type IsolationSegmentNotFoundError

type IsolationSegmentNotFoundError struct {
	Name string
}

func (IsolationSegmentNotFoundError) Error

func (IsolationSegmentNotFoundError) Translate

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

type V3APIDoesNotExistError

type V3APIDoesNotExistError struct {
	Message string
}

func (V3APIDoesNotExistError) Error

func (e V3APIDoesNotExistError) Error() string

func (V3APIDoesNotExistError) Translate

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