| Package | Description |
|---|---|
| io.fabric8.kubernetes.api | |
| io.fabric8.kubernetes.api.model |
| Modifier and Type | Method and Description |
|---|---|
static Port |
KubernetesHelper.findContainerPort(Pod pod,
Integer portNumber)
Returns the port for the given port number on the pod
|
static Port |
KubernetesHelper.findContainerPortByName(Pod pod,
String name)
Returns the port for the given port name
|
static Port |
KubernetesHelper.findContainerPortByNumberOrName(Pod pod,
String numberOrName)
Returns the port for the given port number or name
|
| Modifier and Type | Method and Description |
|---|---|
List<Port> |
Container.getPorts() |
| Modifier and Type | Method and Description |
|---|---|
void |
Container.setPorts(List<Port> ports) |
Copyright © 2011–2015 Red Hat. All rights reserved.