| Package | Description |
|---|---|
| com.openshift.internal.restclient.model | |
| com.openshift.restclient.capability.resources | |
| com.openshift.restclient.model |
| Modifier and Type | Class and Description |
|---|---|
class |
Port |
| Modifier and Type | Method and Description |
|---|---|
Set<IPort> |
Pod.getContainerPorts() |
Set<IPort> |
Container.getPorts() |
| Modifier and Type | Method and Description |
|---|---|
IContainer |
ReplicationController.addContainer(DockerImageURI tag,
Set<IPort> containerPorts,
Map<String,String> envVars) |
IContainer |
ReplicationController.addContainer(String name,
DockerImageURI tag,
Set<IPort> containerPorts,
Map<String,String> envVars,
List<String> emptyDirVolumes) |
void |
Container.setPorts(Set<IPort> ports) |
| Constructor and Description |
|---|
Port(org.jboss.dmr.ModelNode node,
IPort port) |
| Constructor and Description |
|---|
PortPair(int localPort,
IPort remotePort)
Forward traffic on the local port to the remote port.
|
PortPair(IPort remotePort)
Forward traffic to/from the specified port
|
| Modifier and Type | Method and Description |
|---|---|
Set<IPort> |
IPod.getContainerPorts()
Returns the ports that the containers of this pod are using.
|
Set<IPort> |
IContainer.getPorts() |
| Modifier and Type | Method and Description |
|---|---|
IContainer |
IReplicationController.addContainer(DockerImageURI tag,
Set<IPort> containerPorts,
Map<String,String> envVars)
Add a container to the pod that will be spun up as part of this deployment,
defaulting the name to the image name
|
IContainer |
IReplicationController.addContainer(String name,
DockerImageURI tag,
Set<IPort> containerPorts,
Map<String,String> envVars,
List<String> volumes)
Add a container to the pod that will be spun up as part of this deployment.
|
void |
IContainer.setPorts(Set<IPort> ports)
replaces the set of ports
|
Copyright © 2020 Red Hat, Inc. All Rights Reserved.