printport

command
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

README

PrintPort Test Image

This directory contains the test image used in the user-port e2e test.

The image contains a simple Go webserver, printport.go, that will listen on the port defined by environment variable PORT and expose a service at /.

When called, the server emits the port it was called on.

See the example below when the default 8080 port is used:

> curl -H "Host: printport.default.example.com"
http://$IP
8080

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