Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RetryResourceResponse ¶ added in v0.0.23
func RetryResourceResponse[T any](operationWithResourceResponse operationWithResourceResponseData[T]) (T, *http.Response, error)
For requests that return resource info, a response and a error This function combines that into one struct so the retry library can be used and then flattens before returning
func RetryResponse ¶ added in v0.0.23
func RetryResponse(operationWithData backoff.OperationWithData[*http.Response]) (*http.Response, error)
For requests that just return a response and an error
Types ¶
Click to show internal directories.
Click to hide internal directories.