Versions in this module Expand all Collapse all v0 v0.13.3 Sep 29, 2022 v0.13.2 Sep 28, 2022 v0.13.1 Sep 28, 2022 v0.13.0 Sep 4, 2022 Changes in this version + type Client struct + Config Config + Endpoint Endpoints + func NewClient(config *Config) (client *Client, err error) + func (c *Client) DoRequest(r *Request) (*http.Response, error) + func (c *Client) NewRequest(method, path string) *Request + func (c *Client) NewRequestWithBody(method, path string, body io.Reader) *Request + type CloudFoundryError struct + Code int + Detail string + Title string + func CloudFoundryToHttpError(cfErrors CloudFoundryErrors) CloudFoundryError + func (cfErr CloudFoundryError) Error() string + type CloudFoundryErrors struct + Errors []CloudFoundryError + type CloudFoundryHTTPError struct + Body []byte + Status string + StatusCode int + func (e CloudFoundryHTTPError) Error() string + type Config struct + ApiAddress string + ClientID string + ClientSecret string + HttpClient *http.Client + Origin string + Password string + SkipSslValidation bool + Token string + TokenSource oauth2.TokenSource + UserAgent string + Username string + func DefaultConfig() *Config + type EndpointUrl struct + URL string + type Endpoints struct + Links Links + type Links struct + AuthEndpoint EndpointUrl + TokenEndpoint EndpointUrl + type LoginHint struct + Origin string + type Request struct