public interface IImageStream extends IResource
| 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
|
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 imageUri)
Set the image repository uri abstracted by this
image stream
|
void |
setDockerImageRepository(String imageUri)
Set the image repository uri abstracted by this
image stream
|
void |
setTag(String newTag,
String fromTag)
Sets a new tag in an image stream
|
addLabel, getAnnotation, getAnnotations, getCapabilities, getCreationTimeStamp, getLabels, getMetadata, getName, getNamespace, getProject, getResourceVersion, isAnnotatedWith, removeAnnotation, setAnnotationaccept, getCapability, supportsgetApiVersiontoJson, toJsonDockerImageURI getDockerImageRepository()
void setDockerImageRepository(DockerImageURI imageUri)
void setDockerImageRepository(String imageUri)
void setTag(String newTag, String fromTag)
newTag - the new tag to createfromTag - existing tag the new tag is based fromITagReference addTag(String name, String fromKind, String fromName)
name - fromKind - fromName - ITagReference addTag(String name, String fromKind, String fromName, String fromNamespace)
name - fromKind - fromName - fromNamespace - String getImageId(String tagName)
tagName - name of the image stream tag to interrogateCollection<ITagReference> getTags()
Collection<String> getTagNames()
Copyright © 2017 Red Hat, Inc. All Rights Reserved.