public class ImageStream extends KubernetesResource implements IImageStream
ANNOTATIONS, APIVERSION, CREATION_TIMESTAMP, FROM, KIND, LABELS, METADATA, METADATA_NAME, METADATA_NAMESPACE, METADATA_RESOURCE_VERSION, NAME, NAMESPACE, OBJECTS, PORTS, PROTOCOL, RESOURCE_VERSION, TYPE, VALUE| Constructor and Description |
|---|
ImageStream() |
ImageStream(org.jboss.dmr.ModelNode node,
IClient client,
Map<String,String[]> propertyKeys) |
| Modifier and Type | Method and Description |
|---|---|
ITagReference |
addTag(String name,
String fromKind,
String fromName)
Add a tag to the list with the given name, and reference
to the given kind and name.
|
ITagReference |
addTag(String name,
String fromKind,
String fromName,
String fromNamespace)
Add a tag to the list with the given name, namespace, and reference
to the given kind, namespace, and name.
|
DockerImageURI |
getDockerImageRepository()
Get the image repository uri abstracted by this
image stream
|
protected String |
getImageId(List<org.jboss.dmr.ModelNode> itemWrappers) |
String |
getImageId(String tagName)
Gets the long imagae id for the provided tag
|
Collection<String> |
getTagNames()
The collection of tag names as listed
in status.tags
|
Collection<ITagReference> |
getTags()
The collection of tag references for this imagestream
|
void |
setDockerImageRepository(DockerImageURI uri)
Set the image repository uri abstracted by this
image stream
|
void |
setDockerImageRepository(String uri)
Set the image repository uri abstracted by this
image stream
|
void |
setTag(String newTag,
String fromTag)
Sets a new tag in an image stream
|
accept, addLabel, asBoolean, asBoolean, asInt, asInt, asMap, asSet, asString, asString, equals, get, get, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCapability, getClient, getCreationTimeStamp, getEnvMap, getKind, getLabels, getMetadata, getModifiableCapabilities, getName, getNamespace, getNode, getPath, getProject, getPropertyKeys, getResourceVersion, has, hashCode, isAnnotatedWith, refresh, removeAnnotation, set, set, set, set, set, set, set, set, set, setAnnotation, setEnvMap, setName, setNamespace, setNode, supports, toJson, toJson, toPrettyString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddLabel, getAnnotation, getAnnotations, getCapabilities, getCreationTimeStamp, getLabels, getMetadata, getName, getNamespace, getProject, getResourceVersion, isAnnotatedWith, removeAnnotation, setAnnotationaccept, getCapability, supportsgetApiVersiontoJson, toJsonpublic void setDockerImageRepository(DockerImageURI uri)
IImageStreamsetDockerImageRepository in interface IImageStreampublic void setDockerImageRepository(String uri)
IImageStreamsetDockerImageRepository in interface IImageStreampublic DockerImageURI getDockerImageRepository()
IImageStreamgetDockerImageRepository in interface IImageStreampublic Collection<String> getTagNames()
IImageStreamgetTagNames in interface IImageStreampublic Collection<ITagReference> getTags()
IImageStreamgetTags in interface IImageStreampublic ITagReference addTag(String name, String fromKind, String fromName)
IImageStreamaddTag in interface IImageStreampublic ITagReference addTag(String name, String fromKind, String fromName, String fromNamespace)
IImageStreamaddTag in interface IImageStreampublic void setTag(String newTag, String fromTag)
IImageStreamsetTag in interface IImageStreamnewTag - the new tag to createfromTag - existing tag the new tag is based frompublic String getImageId(String tagName)
IImageStreamgetImageId in interface IImageStreamtagName - name of the image stream tag to interrogateCopyright © 2018 Red Hat, Inc. All Rights Reserved.