Documentation ¶
Index ¶
Constants ¶
View Source
const ( // COUNT_HEADER is the name of the header used to record the sequence number of a request COUNT_HEADER = "TEST-REQUEST-ATTEMPT" // HASH_HEADER is the name of the header used to record the hash of a request body HASH_HEADER = "TEST-REQUEST-HASH" )
Variables ¶
This section is empty.
Functions ¶
func AddTrackingHeaders ¶
func AddTrackingHeaders(ids creds.AzureIDs, inner http.RoundTripper) *requestCounter
func NewReplayRoundTripper ¶
func NewReplayRoundTripper( inner http.RoundTripper, log logr.Logger, ) http.RoundTripper
newReplayRoundTripper creates a new replayRoundTripper that will replay selected requests to improve test resilience.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.