public interface IPortForwardable extends ICapability
Modifier and Type | Interface and Description |
---|---|
static class |
IPortForwardable.PortPair
Pairing a local port to the remote port of a container.
|
OPENSHIFT_BINARY_LOCATION
Modifier and Type | Method and Description |
---|---|
void |
forwardPorts(IPortForwardable.PortPair... pairs)
Forward the ports to a pod.
|
IPortForwardable.PortPair[] |
getPortPairs()
The port pairs.
|
boolean |
isForwarding() |
void |
stop()
Stop forwarding ports, forcibly if necessary
|
getName, isSupported
void forwardPorts(IPortForwardable.PortPair... pairs)
pairs
- OpenShiftException
- if unable to forward portsIPortForwardable.PortPair[] getPortPairs()
void stop()
boolean isForwarding()
Copyright © 2016 Red Hat, Inc. All rights reserved.