public class KubeCtlPortForwardingStrategy extends Object implements PortForwardingStrategy
| Constructor and Description |
|---|
KubeCtlPortForwardingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected static Integer |
getLocalPortFromOutput(String out) |
ForwardedPort |
portForward(String namespace,
String pod,
int remotePort) |
protected static int |
waitForLocalPort(org.apache.commons.exec.ExecuteWatchdog wd,
ByteArrayOutputStream out,
ByteArrayOutputStream err) |
protected static int waitForLocalPort(org.apache.commons.exec.ExecuteWatchdog wd,
ByteArrayOutputStream out,
ByteArrayOutputStream err)
public ForwardedPort portForward(String namespace, String pod, int remotePort)
portForward in interface PortForwardingStrategyCopyright © 2017. All rights reserved.