Package io.fabric8.openshift.api.model
Class ImageBlobReferences
- java.lang.Object
-
- io.fabric8.openshift.api.model.ImageBlobReferences
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ImageBlobReferencesBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ImageBlobReferences extends Object implements io.fabric8.kubernetes.api.builder.Editable<ImageBlobReferencesBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ImageBlobReferences describes the blob references within an image.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImageBlobReferences()No args constructor for use in serializationImageBlobReferences(String config, Boolean imageMissing, List<String> layers, List<String> manifests)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageBlobReferencesBuilderedit()Map<String,Object>getAdditionalProperties()StringgetConfig()config, if set, is the blob that contains the image config.BooleangetImageMissing()imageMissing is true if the image is referenced by the image stream but the image object has been deleted from the API by an administrator.List<String>getLayers()layers is the list of blobs that compose this image, from base layer to top layer.List<String>getManifests()manifests is the list of other image names that this image points to.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConfig(String config)config, if set, is the blob that contains the image config.voidsetImageMissing(Boolean imageMissing)imageMissing is true if the image is referenced by the image stream but the image object has been deleted from the API by an administrator.voidsetLayers(List<String> layers)layers is the list of blobs that compose this image, from base layer to top layer.voidsetManifests(List<String> manifests)manifests is the list of other image names that this image points to.ImageBlobReferencesBuildertoBuilder()
-
-
-
Method Detail
-
getConfig
public String getConfig()
config, if set, is the blob that contains the image config. Some images do not have separate config blobs and this field will be set to nil if so.
-
setConfig
public void setConfig(String config)
config, if set, is the blob that contains the image config. Some images do not have separate config blobs and this field will be set to nil if so.
-
getImageMissing
public Boolean getImageMissing()
imageMissing is true if the image is referenced by the image stream but the image object has been deleted from the API by an administrator. When this field is set, layers and config fields may be empty and callers that depend on the image metadata should consider the image to be unavailable for download or viewing.
-
setImageMissing
public void setImageMissing(Boolean imageMissing)
imageMissing is true if the image is referenced by the image stream but the image object has been deleted from the API by an administrator. When this field is set, layers and config fields may be empty and callers that depend on the image metadata should consider the image to be unavailable for download or viewing.
-
getLayers
public List<String> getLayers()
layers is the list of blobs that compose this image, from base layer to top layer. All layers referenced by this array will be defined in the blobs map. Some images may have zero layers.
-
setLayers
public void setLayers(List<String> layers)
layers is the list of blobs that compose this image, from base layer to top layer. All layers referenced by this array will be defined in the blobs map. Some images may have zero layers.
-
getManifests
public List<String> getManifests()
manifests is the list of other image names that this image points to. For a single architecture image, it is empty. For a multi-arch image, it consists of the digests of single architecture images, such images shouldn't have layers nor config.
-
setManifests
public void setManifests(List<String> manifests)
manifests is the list of other image names that this image points to. For a single architecture image, it is empty. For a multi-arch image, it consists of the digests of single architecture images, such images shouldn't have layers nor config.
-
edit
public ImageBlobReferencesBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ImageBlobReferencesBuilder>
-
toBuilder
public ImageBlobReferencesBuilder toBuilder()
-
-