public interface IPod extends IResource
| Modifier and Type | Method and Description |
|---|---|
IContainer |
addContainer(String name)
Adds a container with the given name.
|
Set<IPort> |
getContainerPorts()
Returns the ports that the containers of this pod are using.
|
Collection<IContainer> |
getContainers()
Returns all the containers for this pod.
|
String |
getHost()
Returns the hostname of the host on which the pod is running.
|
Collection<String> |
getImages()
Returns the names of the images that the containers of this pod are using.
|
String |
getIP()
Returns the IP of this pod.
|
String |
getStatus()
Returns the status of the pod.
|
boolean |
isReady()
Returns
true if all containers of this pod are ready. |
addLabel, getAnnotation, getAnnotations, getCapabilities, getCreationTimeStamp, getLabels, getMetadata, getName, getNamespace, getNamespaceName, getProject, getResourceVersion, isAnnotatedWith, removeAnnotation, setAnnotationaccept, getCapability, supportsgetApiVersiontoJson, toJsonString getIP()
String getHost()
Collection<String> getImages()
String getStatus()
Set<IPort> getContainerPorts()
IContainer addContainer(String name)
the - name of the containerCollection<IContainer> getContainers()
boolean isReady()
true if all containers of this pod are ready. false
otherwise.Copyright © 2019 Red Hat, Inc. All Rights Reserved.