package
0.20240110.1182513
Repository: https://github.com/tombuildsstuff/go-azure-sdk.git
Documentation: pkg.go.dev

# Packages

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

# Functions

NewClient returns a new Client configured with sensible defaults.
RequestRetryAll wraps multiple RequestRetryFuncs and calls them in turn, only returning true if all funcs return true.
RequestRetryAny wraps multiple RequestRetryFuncs and calls them in turn, returning true if any func returns true.
RetryableErrorHandler simply returns the resp and err, this is needed to make the Do() method of retryablehttp client return early with the response body not drained.
RetryOn404ConsistencyFailureFunc can be used to retry a request when a 404 response is received.

# Structs

Client is a base client to be used by API-specific clients.
Headers is a representation of the HTTP headers to be sent with a Request.
QueryParams is a representation of the URL query parameters to be sent with a Request.
Request embeds *http.Request and adds useful metadata.
No description provided by the author
Response embeds *http.Response and adds useful methods.

# Interfaces

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

# Type aliases

RequestMiddleware can manipulate or log a request before it is sent.
RequestRetryFunc is a function that determines whether an HTTP request has failed due to eventual consistency and should be retried.
ResponseMiddleware can manipulate or log a response before it is parsed and returned.
ValidStatusFunc is a function that tests whether an HTTP response is considered valid for the particular request.