Class PortForwarder
java.lang.Object
org.arquillian.cube.kubernetes.impl.portforward.PortForwarder
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()forwardPort(int sourcePort, int targetPort) static voidvoidsetPortForwardBindAddress(InetAddress bindAddress)
-
Constructor Details
-
PortForwarder
- Throws:
Exception
-
-
Method Details
-
main
- Throws:
Exception
-
forwardPort
public PortForwarder.PortForwardServer forwardPort(int sourcePort, int targetPort) throws IllegalArgumentException, IOException - Throws:
IllegalArgumentExceptionIOException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
setPortForwardBindAddress
-