package
3.0.0-alpha.9
Repository: https://github.com/cloudfoundry/go-cfclient.git
Documentation: pkg.go.dev

# Functions

CheckRedirect checks the redirect policy for the HTTP client.
DecodeBody unmarshalls the JSON response body if the result is non nil.
No description provided by the author
DecodeJobID returns the jobGUID if specified in the Location response header.
DecodeJobIDAndBody returns the jobGUID if specified in the Location response header and unmarshalls the JSON response body to result if available.
DecodeJobIDOrBody returns the jobGUID if specified in the Location response header or unmarshalls the JSON response body if no job ID and result is non nil.
No description provided by the author
IgnoreRedirect sets a flag in the request's context to indicate that redirects should be ignored.
IsIgnoredRedirect checks if the 'ignore redirect' flag is set in the request's context.
No description provided by the author
No description provided by the author
No description provided by the author
NewAuthenticatedClient creates a new http.Client with a retryableAuthTransport that supports re-authentication and request retry should a request cause a 401.

# Constants

No description provided by the author
No description provided by the author

# Interfaces

OAuthTokenSourceCreator implementations create OAuth2 TokenSources.