public class Pod extends KubernetesResource implements IPod
ANNOTATIONS, APIVERSION, CREATION_TIMESTAMP, KIND, LABELS, METADATA_NAME, NAME, NAMESPACE, OBJECTS, PORTS, PROTOCOL, TYPE, VALUE| Constructor and Description |
|---|
Pod(org.jboss.dmr.ModelNode node,
IClient client,
Map<String,String[]> propertyKeys) |
| Modifier and Type | Method and Description |
|---|---|
Set<IPort> |
getContainerPorts()
Retrieve the set of ports that the
containers are using
|
String |
getHost()
Gets the name of the host on which
the pod is running
|
Collection<String> |
getImages()
Gets the collection of image names
for the pod containers
|
String |
getIP()
Gets the IP of the Pod
|
String |
getStatus()
Gets the status of the pod
|
accept, addLabel, asBoolean, asInt, asInt, asMap, asString, asString, equals, get, get, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCapability, getClient, getCreationTimeStamp, getEnvMap, getKind, getLabels, getModifiableCapabilities, getName, getNamespace, getNode, getPath, getProject, hashCode, isAnnotatedWith, refresh, set, set, set, set, set, set, set, setAnnotation, setEnvMap, setName, setNamespace, supports, toJson, toJson, toPrettyString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddLabel, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCreationTimeStamp, getKind, getLabels, getName, getNamespace, getProject, isAnnotatedWith, setAnnotation, toJson, toJsonaccept, getCapability, supportspublic String getHost()
IPodpublic Collection<String> getImages()
IPodpublic String getStatus()
IPodpublic Set<IPort> getContainerPorts()
IPodgetContainerPorts in interface IPodCopyright © 2016 Red Hat, Inc. All rights reserved.