Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEdgeGatewayApiTestingSuite ¶
func NewEdgeGatewayApiTestingSuite(ctx context.Context, testInst *e2e.TestInstallation) suite.TestingSuite
The port routing suite sets up in the following order
SetupSuite:
- Create the setup apps (curl, nginx, etc.)
- Create Virtual Service
Each port routing test:
- Create Service with different port/targetport definition per test, and create corresponding Upstream resource
- Remove Upstream and Service, gloo proxy still exists with VirtualService, but no Upstream or Service
TearDownSuite:
- Deletes the setup apps (curl, nginx, etc.)
- Delete Virtual Service
func NewK8sGatewayTestingSuite ¶
func NewK8sGatewayTestingSuite(ctx context.Context, testInst *e2e.TestInstallation) suite.TestingSuite
The port routing suite sets up in the following order
SetupSuite:
- Create the setup apps (curl, nginx, etc.)
- Create k8s Gateway
- Proxy provisioned (k8s deployment created and checked)
Each port routing test:
- Attach HttpRoute with different port/targetport definition per test
- Remove HttpRoute, proxy still exists without any routes
TearDownSuite:
- Deletes the setup apps (curl, nginx, etc.)
- Deletes the k8s Gateway
- Proxy de-provisioned (k8s deployment deleted)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.