# Functions
AdminAPIOptFns wraps a variadic list of mocks.AdminAPIHandlerOpt and returns a slice containing all of them.
ConfigForEnvConfig prepares a manager.Config for use in tests It will start a mock Admin API server which will be set in KIC's config and which will be automatically stopped during test cleanup.
CreateNamespace creates namespace using the provided client and returns it.
CreatePod creates pod using the provided client and returns it.
CreateTestLogger creates a logger for use in tests.
DumpLogsIfTestFailed dumps the provided logs the if the test failed.
NewControllerClient returns a new controller-runtime Client for provided runtime.Scheme and rest.Config.
RunManager runs the manager in a goroutine.
Scheme returns a new scheme with the default Kubernetes types registered.
Setup sets up the envtest environment which will be stopped on test cleanup using t.Cleanup().
StartAdminAPIServerMock starts a mock Kong Admin API server.
StartReconcilers creates a controller manager and starts the provided reconciler as its runnable.
WaitForManagerStart waits for the manager to start.
No description provided by the author
No description provided by the author
WithGatewayAPI registers the Gateway API types with the scheme.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithKong registers the Kong types with the scheme.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
ManagerStartupWaitInterval is the interval to wait for the manager to start.
ManagerStartupWaitTime is the time to wait for the manager to start.
PublishServiceName is the name of the publish service used in Gateway API tests.
# Variables
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author