port-forward-tester

command
v1.9.8 Latest Latest
Warning

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

Go to latest
Published: May 19, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

A tiny binary for testing port forwarding. The following environment variables control the binary's logic:

BIND_PORT - the TCP port to use for the listener EXPECTED_CLIENT_DATA - data that we expect to receive from the client; may be "". CHUNKS - how many chunks of data we should send to the client CHUNK_SIZE - how large each chunk should be CHUNK_INTERVAL - the delay in between sending each chunk

Log messages are written to stdout at various stages of the binary's execution. Test code can retrieve this container's log and validate that the expected behavior is taking place.

Jump to

Keyboard shortcuts

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