port_routing

package
v1.18.0-beta9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

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:

  1. Create the setup apps (curl, nginx, etc.)
  2. Create Virtual Service

Each port routing test:

  1. Create Service with different port/targetport definition per test, and create corresponding Upstream resource
  2. Remove Upstream and Service, gloo proxy still exists with VirtualService, but no Upstream or Service

TearDownSuite:

  1. Deletes the setup apps (curl, nginx, etc.)
  2. 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:

  1. Create the setup apps (curl, nginx, etc.)
  2. Create k8s Gateway
  3. Proxy provisioned (k8s deployment created and checked)

Each port routing test:

  1. Attach HttpRoute with different port/targetport definition per test
  2. Remove HttpRoute, proxy still exists without any routes

TearDownSuite:

  1. Deletes the setup apps (curl, nginx, etc.)
  2. Deletes the k8s Gateway
  3. Proxy de-provisioned (k8s deployment deleted)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL