public interface IPortForwardable extends IBinaryCapability
| Modifier and Type | Interface and Description |
|---|---|
static class |
IPortForwardable.PortPair
Pairing a local port to the remote port of a container.
|
IBinaryCapability.OpenShiftBinaryOption, IBinaryCapability.SkipTlsVerifyOPENSHIFT_BINARY_LOCATION, SKIP_TLS_VERIFY| Modifier and Type | Method and Description |
|---|---|
void |
forwardPorts(Collection<IPortForwardable.PortPair> pairs,
IBinaryCapability.OpenShiftBinaryOption... options)
Forward the ports to a pod.
|
Collection<IPortForwardable.PortPair> |
getPortPairs()
The port pairs.
|
boolean |
isForwarding() |
void |
stop()
Stop forwarding ports, forcibly if necessary
|
getName, isSupportedvoid forwardPorts(Collection<IPortForwardable.PortPair> pairs, IBinaryCapability.OpenShiftBinaryOption... options)
pairs - the pairs of local/remote ports to link togetheroptions - the options to pass to the underlying oc commandOpenShiftException - if unable to forward portsCollection<IPortForwardable.PortPair> getPortPairs()
void stop()
boolean isForwarding()
Copyright © 2020 Red Hat, Inc. All Rights Reserved.