public final class PortForwarder extends Object implements Closeable
| Modifier and Type | Class and Description |
|---|---|
class |
PortForwarder.PortForwardServer |
| Constructor and Description |
|---|
PortForwarder(io.fabric8.kubernetes.clnt.v2_2.Config config,
String podName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
PortForwarder.PortForwardServer |
forwardPort(int sourcePort,
int targetPort) |
static void |
main(String[] args) |
void |
setPortForwardBindAddress(InetAddress bindAddress) |
public PortForwarder.PortForwardServer forwardPort(int sourcePort, int targetPort) throws IllegalArgumentException, IOException
IllegalArgumentExceptionIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic void setPortForwardBindAddress(InetAddress bindAddress)
Copyright © 2017 JBoss by Red Hat. All rights reserved.