# Packages
No description provided by the author
# Functions
CreateCA creates a CA that can be used in tests.
CreateCert creates a certificates using the provided CA and its private key.
CreateHTTPClient creates an HTTP client with the given TLS secret and host and returns an error if it fails.
GenerateGateway generates a Gateway to be used in tests.
GenerateGatewayConfiguration generates a GatewayConfiguration to be used in tests.
GenerateHTTPRoute generates an HTTPRoute to be used in tests.
GetAdmissionWebhookListenHost returns the host IP address depends on environment where the test is running.
GetDefaultDataPlaneBaseImage returns the default data plane base image.
GetDefaultDataPlaneImage returns the default data plane image.
MustBuildRequest creates an HTTP request with the given method, URL, and host.
MustCreateHTTPClient creates an HTTP client with the given TLS secret and host.
MustGenerateGatewayClass generates the default GatewayClass to be used in tests.
ParseGoTestFlags is a helper function that allows usage of -run and -skip flags in go test.
RunTestSuite runs all tests from the test suite.
SetDefaultDataPlaneBaseImage sets the default data plane base image.
SetDefaultDataPlaneImage sets the default data plane image.
SetupTestEnv is a helper function for tests which conveniently creates a cluster cleaner (to clean up test resources automatically after the test finishes) and creates a new namespace for the test to use.
TLSSecretData creates TLS secret data that can be then used as Secret.Data field when using certificates secrets in tests.