Package | Description |
---|---|
io.fabric8.kubernetes.api | |
io.fabric8.kubernetes.api.model |
Modifier and Type | Method and Description |
---|---|
Pod |
KubernetesClient.getPod(String podId) |
Pod |
Kubernetes.getPod(String podId)
Get a specific pod
|
Modifier and Type | Method and Description |
---|---|
static io.fabric8.utils.Filter<Pod> |
KubernetesHelper.createPodAnnotationFilter(Map<String,String> annotationSelector)
Creates a filter on a pod annotations using the given set of attribute values
|
static io.fabric8.utils.Filter<Pod> |
KubernetesHelper.createPodFilter(Map<String,String> labelSelector)
Creates a filter on a pod using the given set of labels
|
static io.fabric8.utils.Filter<Pod> |
KubernetesHelper.createPodFilter(String textFilter)
Creates a filter on a pod using the given text string
|
protected Collection<Pod> |
KubernetesClient.getPodList() |
static Map<String,Pod> |
KubernetesHelper.getPodMap(Kubernetes kubernetes) |
static Map<String,Pod> |
KubernetesHelper.getPodMap(Kubernetes kubernetes,
String selector) |
List<Pod> |
KubernetesClient.getPodsForReplicationController(ReplicationController service) |
static List<Pod> |
KubernetesHelper.getPodsForReplicationController(ReplicationController replicationController,
Iterable<Pod> pods)
Returns the pods for the given replication controller
|
List<Pod> |
KubernetesClient.getPodsForReplicationController(String replicationControllerId) |
List<Pod> |
KubernetesClient.getPodsForService(Service service) |
static List<Pod> |
KubernetesHelper.getPodsForService(Service service,
Iterable<Pod> pods)
Returns the pods for the given service
|
List<Pod> |
KubernetesClient.getPodsForService(String serviceId) |
static Map<String,Pod> |
KubernetesHelper.toPodMap(List<Pod> pods)
Returns a map indexed by pod id of the pods
|
static Map<String,Pod> |
KubernetesHelper.toPodMap(PodList podSchema)
Returns a map indexed by pod id of the pods
|
static Map<String,Pod> |
KubernetesHelper.toPodMap(PodList podSchema,
String selector)
Returns a map indexed by pod id of the pods
|
Modifier and Type | Method and Description |
---|---|
void |
Controller.applyPod(Pod podSchema,
String sourceName) |
String |
KubernetesClient.createPod(Pod entity) |
String |
Kubernetes.createPod(Pod entity)
Create a new pod.
|
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
|
static List<Container> |
KubernetesHelper.getContainers(Pod pod)
Returns all the containers from the given pod
|
static Map<String,ContainerStatus> |
KubernetesHelper.getCurrentContainers(Pod pod)
Returns all the current containers from the given currentState
|
static String |
KubernetesHelper.getHost(Pod pod)
Returns the host of the pod
|
static String |
KubernetesHelper.getId(Pod entity) |
static PodStatus |
KubernetesHelper.getPodStatus(Pod pod) |
static String |
KubernetesHelper.getPodStatusText(Pod pod) |
ReplicationController |
KubernetesClient.getReplicationControllerForPod(Pod pod) |
static boolean |
KubernetesHelper.isPodRunning(Pod pod)
Returns true if the pod is running
|
protected boolean |
Controller.isRunning(Pod entity) |
String |
KubernetesClient.updatePod(String podId,
Pod entity) |
String |
Kubernetes.updatePod(String podId,
Pod entity)
Update a pod
|
Modifier and Type | Method and Description |
---|---|
static List<Pod> |
KubernetesHelper.getPodsForReplicationController(ReplicationController replicationController,
Iterable<Pod> pods)
Returns the pods for the given replication controller
|
static List<Pod> |
KubernetesHelper.getPodsForService(Service service,
Iterable<Pod> pods)
Returns the pods for the given service
|
static Map<String,Pod> |
KubernetesHelper.toPodMap(List<Pod> pods)
Returns a map indexed by pod id of the pods
|
Modifier and Type | Method and Description |
---|---|
List<Pod> |
PodList.getItems() |
Modifier and Type | Method and Description |
---|---|
void |
PodList.setItems(List<Pod> items) |
Copyright © 2011–2015 Red Hat. All rights reserved.