timeout

command
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

README

Timeout test image

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

When called, the server sleeps for the amount of milliseconds passed in via the query parameter timeout and responds with "Slept for X milliseconds` where X is the amount of milliseconds passed in.

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