public class PortForwardService extends Object
Constructor and Description |
---|
PortForwardService(io.fabric8.kubernetes.client.KubernetesClient kubernetes,
io.fabric8.maven.docker.util.Logger log) |
Modifier and Type | Method and Description |
---|---|
void |
forwardPort(io.fabric8.maven.docker.util.Logger externalProcessLogger,
String pod,
int remotePort,
int localPort) |
Closeable |
forwardPortAsync(io.fabric8.maven.docker.util.Logger externalProcessLogger,
io.fabric8.kubernetes.api.model.LabelSelector podSelector,
int remotePort,
int localPort)
Forwards a port to the newest pod matching the given selector.
|
ProcessUtil.ProcessExecutionContext |
forwardPortAsync(io.fabric8.maven.docker.util.Logger externalProcessLogger,
String pod,
int remotePort,
int localPort) |
public PortForwardService(io.fabric8.kubernetes.client.KubernetesClient kubernetes, io.fabric8.maven.docker.util.Logger log)
public Closeable forwardPortAsync(io.fabric8.maven.docker.util.Logger externalProcessLogger, io.fabric8.kubernetes.api.model.LabelSelector podSelector, int remotePort, int localPort) throws Fabric8ServiceException
Fabric8ServiceException
public void forwardPort(io.fabric8.maven.docker.util.Logger externalProcessLogger, String pod, int remotePort, int localPort) throws Fabric8ServiceException
Fabric8ServiceException
public ProcessUtil.ProcessExecutionContext forwardPortAsync(io.fabric8.maven.docker.util.Logger externalProcessLogger, String pod, int remotePort, int localPort) throws Fabric8ServiceException
Fabric8ServiceException
Copyright © 2021. All rights reserved.