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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addLabel, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCreationTimeStamp, getKind, getLabels, getName, getNamespace, getProject, isAnnotatedWith, setAnnotation, toJson, toJson
accept, getCapability, supports
public String getHost()
IPod
public Collection<String> getImages()
IPod
public String getStatus()
IPod
public Set<IPort> getContainerPorts()
IPod
getContainerPorts
in interface IPod
Copyright © 2016 Red Hat, Inc. All rights reserved.