timeout

command
v0.5.2 Latest Latest
Warning

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

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

README

Timeout test image

This directory contains the test image used in the destroy pod e2e test.

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