Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Proxy ¶
Proxy connects the read and writer with the specified connection. Under typical usage the connection will be to the steps gRPC service listening on api.DefaultSocketPath, and the source and sink will be the stdin and stdout (respectively) of a streaming-text based protocol like `ssh` or `docker exec`.
The proxy should exit immediately if either of the write or read loop finish. Whether proxying was complete and successful cannot be determined here and is up to the caller to determine based on the result of the data/operation being proxied.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.