Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudControllerConnection ¶
type CloudControllerConnection struct { HTTPClient *http.Client URL string // contains filtered or unexported fields }
func NewConnection ¶
func NewConnection(APIURL string, routes rata.Routes, skipSSLValidation bool) *CloudControllerConnection
type Connection ¶
Connection creates and executes http requests
type RawCCError ¶
func (RawCCError) Error ¶
func (r RawCCError) Error() string
type Request ¶
type Request struct { // Header is the set of request headers Header http.Header // URIParams are the list URI route parameters URIParams map[string]string // Query is a list of HTTP query parameters Query url.Values // RequestName is the name of the request (see routes) RequestName string URI string Method string // Body is the request body Body io.Reader }
Request contains all the elements of a Cloud Controller request
type RequestError ¶
type RequestError struct {
Err error
}
func (RequestError) Error ¶
func (e RequestError) Error() string
type UnverifiedServerError ¶
type UnverifiedServerError struct {
URL string
}
UnverifiedServerError replaces x509.UnknownAuthorityError when the server has SSL but the client is unable to verify it's certificate
func (UnverifiedServerError) Error ¶
func (e UnverifiedServerError) Error() string
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package ccv2 represents a Cloud Controller V2 client.
|
Package ccv2 represents a Cloud Controller V2 client. |
ccv2fakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
wrapperfakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.