Documentation
¶
Overview ¶
Package portrelay carries one TCP connection to a port of the container's own loopback over stdio: the runner execs it in the Coding agent's tools server for each connection to a port published on the person's computer. It reaches the container's own network namespace only, so it works however the container's network is set, and it imports only the standard library: the runner image compiles it from its embedded sources.
Index ¶
Constants ¶
View Source
const Role = "port-relay"
Role is the runner binary's mode that runs Pipe.
Variables ¶
This section is empty.
Functions ¶
func ParsePort ¶
ParsePort reads a published port's number: 1024 to 65535, the ports a program in the container serves without privilege.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.