public interface IPod extends IResource
| Modifier and Type | Method and Description |
|---|---|
IContainer |
addContainer(String name)
Add a container with the given name.
|
Set<IPort> |
getContainerPorts()
Retrieve the set of ports that the
containers are using
|
Collection<IContainer> |
getContainers()
Retrieve all the containers spec'd
for the pod
|
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
|
addLabel, getAnnotation, getAnnotations, getCapabilities, getCreationTimeStamp, getLabels, getMetadata, getName, getNamespace, getProject, getResourceVersion, isAnnotatedWith, removeAnnotation, setAnnotationaccept, getCapability, supportsgetApiVersiontoJson, toJsonString getIP()
String getHost()
Collection<String> getImages()
String getStatus()
Set<IPort> getContainerPorts()
IContainer addContainer(String name)
name - Collection<IContainer> getContainers()
Copyright © 2018 Red Hat, Inc. All Rights Reserved.