timeout

command
v0.42.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: Apache-2.0 Imports: 6 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 outside 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