Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewErrorWrapper ¶
func NewErrorWrapper() *errorWrapper
Types ¶
type Connection ¶
Connection creates and executes http requests
type NetworkingConnection ¶
NetworkingConnection represents a connection to the Cloud Controller server.
func NewConnection ¶
func NewConnection(config Config) *NetworkingConnection
NewConnection returns a new NetworkingConnection with provided configuration.
type ReadSeeker ¶
type ReadSeeker interface {
io.ReadSeeker
}
type Request ¶
Request represents the request of the cloud controller.
func NewRequest ¶
func NewRequest(request *http.Request, body io.ReadSeeker) *Request
type Response ¶
type Response struct {
// Result represents the resource entity type that is expected in the
// response JSON.
Result interface{}
// RawResponse represents the response body.
RawResponse []byte
// Warnings represents warnings parsed from the custom warnings headers of a
// Cloud Controller response.
Warnings []string
// HTTPResponse represents the HTTP response object.
HTTPResponse *http.Response
// ResourceLocationURL represents the Location header value
ResourceLocationURL string
}
Response represents a Cloud Controller response object.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cfnetv1 represents a CF Networking V1 client.
|
Package cfnetv1 represents a CF Networking V1 client. |
|
cfnetv1fakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
|
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
|
wrapperfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.