# Functions

No description provided by the author
DefaultHTTPClient returns a client that should be used by default in tests.
DistributionOfMapValues returns a map of the values in the given counter map and the relative frequency of each value.
EventuallyExpectHTTP404WithNoRoute is used to check whether a given http response is (specifically) a Kong 404.
EventuallyGETPath makes a GET request to the Kong proxy multiple times until either the request starts to respond with the given status code and contents present in the response body, or until timeout occurrs according to ingressWait time limits.
GenerateKongBuilder returns a Kong KTF addon builder, a string slice of controller arguments needed to interact with the addon and an error.
GetKongDBMode returns kong dbmode using the provided Admin API URL.
GetKongRootConfig gets version and root configurations of Kong from / endpoint of the provided Admin API URL.
GetKongRouterFlavor gets router flavor of Kong using the provided Admin API URL.
GetKongVersion returns kong version using the provided Admin API URL.
LabelValueForTest returns a sanitized test name that can be used as kubernetes label value.
MatchRespByStatusAndContent returns a responseMatcher that matches the given status code and body contents.
MustHTTPRequest creates a request with provided parameters and it fails the test that it was called in when request creation fails.
MustParseURL parses a string format URL to *url.URL.
Namespace provides the Namespace provisioned for each test case given their t.Name as the "testCase".
No description provided by the author
RemoveCluster removes the cluster if it was created by the test suite.
RetryableHTTPClient wraps a client with retry logic.
Setup is a test helper function which: - creates a cluster cleaner which will be used to to clean up test resources automatically after the test finishes and creates a new namespace for the test to use.
TeardownCluster dumps the diagnostics from the test cluster if the test failed and performs a cluster removal.

# Structs

No description provided by the author
TCPProxy is a simple server that forwards TCP connections to a given destination.

# Type aliases

ResponseMatcher is a function that returns match-name and whether the response matches the provided criteria.