@@ -428,22 +428,28 @@ type ImageStreamLayers struct {
428
428
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
429
429
// blobs is a map of blob name to metadata about the blob.
430
430
Blobs map [string ]ImageLayerData `json:"blobs" protobuf:"bytes,2,rep,name=blobs"`
431
- // images is a map between an image name and the names of the blobs and manifests that
431
+ // images is a map between an image name and the names of the blobs and config that
432
432
// comprise the image.
433
433
Images map [string ]ImageBlobReferences `json:"images" protobuf:"bytes,3,rep,name=images"`
434
434
}
435
435
436
436
// ImageBlobReferences describes the blob references within an image.
437
437
type ImageBlobReferences struct {
438
+ // imageMissing is true if the image is referenced by the image stream but the image
439
+ // object has been deleted from the API by an administrator. When this field is set,
440
+ // layers and config fields may be empty and callers that depend on the image metadata
441
+ // should consider the image to be unavailable for download or viewing.
442
+ // +optional
443
+ ImageMissing bool `json:"imageMissing" protobuf:"varint,3,opt,name=imageMissing"`
438
444
// layers is the list of blobs that compose this image, from base layer to top layer.
439
445
// All layers referenced by this array will be defined in the blobs map. Some images
440
446
// may have zero layers.
441
447
// +optional
442
448
Layers []string `json:"layers" protobuf:"bytes,1,rep,name=layers"`
443
- // manifest , if set, is the blob that contains the image manifest . Some images do
444
- // not have separate manifest blobs and this field will be set to nil if so.
449
+ // config , if set, is the blob that contains the image config . Some images do
450
+ // not have separate config blobs and this field will be set to nil if so.
445
451
// +optional
446
- Manifest * string `json:"manifest " protobuf:"bytes,2,opt,name=manifest "`
452
+ Config * string `json:"config " protobuf:"bytes,2,opt,name=config "`
447
453
}
448
454
449
455
// ImageLayerData contains metadata about an image layer.
0 commit comments