-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
k8s: add method to proxy connection to container's TCP port
Extent the Client implementation introducing a new method which allows to proxy a connection to a TCP port inside a container. This mimics the behavior of the port-forward implementation, but it directly provides access to the forwarded stream (through a ReadWriteCloser interface), rather than exposing it through a local port. Signed-off-by: Marco Iorio <[email protected]>
- Loading branch information
1 parent
9f8496f
commit ca3037f
Showing
1 changed file
with
93 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters