public PortForwardResult forward(V1Pod pod, List<Integer> ports)
      throws ApiException, IOException {
    return forward(pod.getMetadata().getNamespace(), pod.getMetadata().getName(), ports);
  }
public PortForwardResult forward ( V1Pod pod , List < Integer > ports ) throws ApiException , IOException { return forward ( pod . getMetadata ( ) . getNamespace ( ) , pod . getMetadata ( ) . getName ( ) , ports ) ; }
PortForward to a container

@param pod The pod where the port forward is run.
@param ports The ports to forward
@return The result of the Port Forward request.