Interface PortForwarder
-
- All Known Implementing Classes:
PortForwarderWebsocket
public interface PortForwarder
Allows to forward local ports (or nio channels) to remote ports in Kubernetes pods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocalPortForward
forward(URL resourceBaseUrl, int port)
LocalPortForward
forward(URL resourceBaseUrl, int port, int localPort)
LocalPortForward
forward(URL resourceBaseUrl, int port, InetAddress localHost, int localPort)
PortForward
forward(URL resourceBaseUrl, int port, ReadableByteChannel in, WritableByteChannel out)
-
-
-
Method Detail
-
forward
LocalPortForward forward(URL resourceBaseUrl, int port)
-
forward
LocalPortForward forward(URL resourceBaseUrl, int port, int localPort)
-
forward
LocalPortForward forward(URL resourceBaseUrl, int port, InetAddress localHost, int localPort)
-
forward
PortForward forward(URL resourceBaseUrl, int port, ReadableByteChannel in, WritableByteChannel out)
-
-