httpproxy

command
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

README

HTTPproxy test image

This directory contains the test image used in the e2e test to verify service-to-service call within cluster.

The image contains a simple Go webserver, httproxy.go, that will, by default, listen on port 8080 and expose a service at /.

When called, the proxy server redirects request to the target server.

To use this image, users need to first set the host of the target server that the proxy redirects request to by setting environment variable TARGET_HOST.

Trying out

To run the image as a Service outisde of the test suite:

ko apply -f service.yaml

Building

For details about building and adding new images, see the section about test images.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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