use of io.fabric8.kubernetes.client.LocalPortForward in project syndesis-qe by syndesisio.
the class TestUtils method createLocalPortForward.
public static LocalPortForward createLocalPortForward(String podName, int remotePort, int localPort) {
final Pod podToForward = OpenShiftUtils.getInstance().getAnyPod("component", podName);
final LocalPortForward lpf = OpenShiftUtils.portForward(podToForward, remotePort, localPort);
return lpf;
}
Aggregations