Package | Description |
---|---|
io.fabric8.kubernetes.api | |
io.fabric8.kubernetes.api.model |
Modifier and Type | Method and Description |
---|---|
PodSchema |
Kubernetes.getPod(String podId)
Get a specific pod
|
PodSchema |
KubernetesClient.getPod(String podId) |
Modifier and Type | Method and Description |
---|---|
static io.fabric8.utils.Filter<PodSchema> |
KubernetesHelper.createPodFilter(Map<String,String> labelSelector)
Creates a filter on a pod using the given set of labels
|
static io.fabric8.utils.Filter<PodSchema> |
KubernetesHelper.createPodFilter(String textFilter)
Creates a filter on a pod using the given text string
|
static Map<String,PodSchema> |
KubernetesHelper.getPodMap(Kubernetes kubernetes) |
static Map<String,PodSchema> |
KubernetesHelper.getPodMap(Kubernetes kubernetes,
String selector) |
static Map<String,PodSchema> |
KubernetesHelper.toPodMap(List<PodSchema> pods)
Returns a map indexed by pod id of the pods
|
static Map<String,PodSchema> |
KubernetesHelper.toPodMap(PodListSchema podSchema)
Returns a map indexed by pod id of the pods
|
static Map<String,PodSchema> |
KubernetesHelper.toPodMap(PodListSchema podSchema,
String selector)
Returns a map indexed by pod id of the pods
|
Modifier and Type | Method and Description |
---|---|
void |
Controller.applyPod(PodSchema podSchema,
String sourceName) |
String |
Kubernetes.createPod(PodSchema entity)
Create a new pod.
|
String |
KubernetesClient.createPod(PodSchema entity) |
static Port |
KubernetesHelper.findContainerPort(PodSchema pod,
Integer portNumber)
Returns the port for the given port number on the pod
|
static Port |
KubernetesHelper.findContainerPortByName(PodSchema pod,
String name)
Returns the port for the given port name
|
static Port |
KubernetesHelper.findContainerPortByNumberOrName(PodSchema pod,
String numberOrName)
Returns the port for the given port number or name
|
static List<ManifestContainer> |
KubernetesHelper.getContainers(PodSchema pod)
Returns all the containers from the given pod
|
static Map<String,PodCurrentContainerInfo> |
KubernetesHelper.getCurrentContainers(PodSchema pod)
Returns all the current containers from the given currentState
|
static String |
KubernetesHelper.getHost(PodSchema pod)
Returns the host of the pod
|
ReplicationControllerSchema |
KubernetesClient.getReplicationControllerForPod(PodSchema pod) |
protected boolean |
Controller.isRunning(PodSchema entity) |
String |
Kubernetes.updatePod(String podId,
PodSchema entity)
Update a pod
|
String |
KubernetesClient.updatePod(String podId,
PodSchema entity) |
Modifier and Type | Method and Description |
---|---|
static Map<String,PodSchema> |
KubernetesHelper.toPodMap(List<PodSchema> pods)
Returns a map indexed by pod id of the pods
|
Modifier and Type | Method and Description |
---|---|
List<PodSchema> |
PodListSchema.getItems() |
Modifier and Type | Method and Description |
---|---|
void |
PodListSchema.setItems(List<PodSchema> items) |
Copyright © 2011–2014 Red Hat. All rights reserved.