# Functions

GetRollbackRetriesLimit returns the rollback retries limit.
IsHTTPError checks if an HTTP status code indicates an error.
IsHTTPSuccess checks if an HTTP status code indicates success.
IsRequestValid checks if an HTTP request is valid.
No description provided by the author
NormalizeWhitespace removes extra whitespace from a string.
RetriesLimitReached determines if the rollback retries limit has been reached.
RollBackEnabled determines if the rollback retries limit is enabled.
SetRequestResourceStatus sets the status of a resource.
ShouldRetry determines if the request should be retried based on the status of the request and the rollback retries limit.
WaitTimeout returns the wait timeout duration.

# Constants

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

# Structs

RequestResource is a struct that holds the resource, request context, http response, http request, and local client.

# Interfaces

CacheSetter is an interface that defines the method to set the cache of a resource.
ErrorSetter is an interface that defines the method to set the error of a resource.
LastReconcileTimeSetter is an interface that defines the method to set the last reconcile time of a resource.
RequestDetailsSetter is an interface that defines the method to set the request details of a resource.
ResetFailures is an interface that defines the method to reset the failures of a resource.
ResponseSetter is an interface that defines the methods to set the status code, headers, and body of a resource.
SyncedSetter is an interface that defines the method to set the synced status of a resource.

# Type aliases

SetRequestStatusFunc is a function that sets the status of a resource.