Package | Description |
---|---|
io.fabric8.kubernetes.api | |
io.fabric8.kubernetes.api.mbeans | |
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.createPodAnnotationFilter(Map<String,String> annotationSelector)
Creates a filter on a pod annotations using the given set of attribute values
|
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 List<PodSchema> |
KubernetesHelper.getPodsForReplicationController(ReplicationControllerSchema replicationController,
Iterable<PodSchema> pods)
Returns the pods for the given replication controller
|
static List<PodSchema> |
KubernetesHelper.getPodsForService(ServiceSchema service,
Iterable<PodSchema> pods)
Returns the pods for the given service
|
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
|
static PodStatus |
KubernetesHelper.getPodStatus(PodSchema pod) |
static String |
KubernetesHelper.getPodStatusText(PodSchema 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 List<PodSchema> |
KubernetesHelper.getPodsForReplicationController(ReplicationControllerSchema replicationController,
Iterable<PodSchema> pods)
Returns the pods for the given replication controller
|
static List<PodSchema> |
KubernetesHelper.getPodsForService(ServiceSchema service,
Iterable<PodSchema> pods)
Returns the pods for the given service
|
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 |
---|---|
Map<String,PodSchema> |
AppViewSnapshot.getPodMap() |
Map<String,PodSchema> |
AppViewDetails.getPods() |
List<PodSchema> |
AppViewSnapshot.podsForReplicationController(ReplicationControllerSchema controller) |
Modifier and Type | Method and Description |
---|---|
void |
AppViewDetails.addPod(PodSchema pod) |
Constructor and Description |
---|
AppPodSummaryDTO(PodSchema pod) |
Constructor and Description |
---|
AppViewSnapshot(Map<String,ServiceSchema> servicesMap,
Map<String,ReplicationControllerSchema> controllerMap,
Map<String,PodSchema> podMap) |
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.