public class ImageStreamImport extends KubernetesResource implements IImageStreamImport
| Modifier and Type | Field and Description |
|---|---|
static String |
IMAGE_DOCKER_IMAGE_REFERENCE |
static String |
STATUS_IMAGES |
ANNOTATIONS, APIVERSION, CREATION_TIMESTAMP, FROM, GROUP, KIND, LABELS, METADATA, METADATA_NAME, METADATA_NAMESPACE, METADATA_RESOURCE_VERSION, METADATA_UID, NAME, NAMESPACE, OBJECTS, PORTS, PROTOCOL, RESOURCE_VERSION, TYPE, VALUE, VERBS, VERSION| Constructor and Description |
|---|
ImageStreamImport(org.jboss.dmr.ModelNode node,
IClient client,
Map<String,String[]> overrideProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addImage(String fromKind,
DockerImageURI imageUri)
Add image info those being imorted
|
String |
getImageJsonFor(DockerImageURI uri)
Get the raw json docker metadata for the given uir.
|
String |
getImageJsonFor(String tag)
Get the raw json docker metadata for the given tag.
|
Collection<IStatus> |
getImageStatus()
The status of the image retrieval
|
boolean |
isImport()
Are the tags to be imported for the imagestream
|
void |
setImport(boolean importTags)
Set to true to import tags for the imagestream; false to just retrieve
|
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, getNamespaceName, 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, getNamespaceName, getProject, getResourceVersion, isAnnotatedWith, removeAnnotation, setAnnotationaccept, getCapability, supportsgetApiVersiontoJson, toJsonpublic static final String IMAGE_DOCKER_IMAGE_REFERENCE
public static final String STATUS_IMAGES
public void setImport(boolean importTags)
IImageStreamImportsetImport in interface IImageStreamImportpublic boolean isImport()
IImageStreamImportisImport in interface IImageStreamImportpublic void addImage(String fromKind, DockerImageURI imageUri)
IImageStreamImportaddImage in interface IImageStreamImportfromKind - The indirection of where to find the image. Typically is
DockerImage, ImageStreamTagpublic Collection<IStatus> getImageStatus()
IImageStreamImportgetImageStatus in interface IImageStreamImportpublic String getImageJsonFor(DockerImageURI uri)
IImageStreamImportgetImageJsonFor in interface IImageStreamImportpublic String getImageJsonFor(String tag)
IImageStreamImportgetImageJsonFor in interface IImageStreamImporttag - a tag for the imageCopyright © 2020 Red Hat, Inc. All Rights Reserved.