Skip to main content

ImageStreamLayers [image.openshift.io/v1]

Description
ImageStreamLayers describes information about the layers referenced by images in this image stream. Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
Type
`object`
Required
  • blobs
  • images

Specification​

PropertyTypeDescription
apiVersionstringAPIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
blobsobjectblobs is a map of blob name to metadata about the blob.
blobs{}objectImageLayerData contains metadata about an image layer.
imagesobjectimages is a map between an image name and the names of the blobs and config that comprise the image.
images{}objectImageBlobReferences describes the blob references within an image.
kindstringKind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadataObjectMetametadata is the standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

.blobs​

Description
blobs is a map of blob name to metadata about the blob.
Type
`object`

.blobs{}​

Description
ImageLayerData contains metadata about an image layer.
Type
`object`
Required
  • size
  • mediaType
PropertyTypeDescription
mediaTypestringmediaType of the referenced object.
sizeintegersize of the layer in bytes as defined by the underlying store. This field is optional if the necessary information about size is not available.

.images​

Description
images is a map between an image name and the names of the blobs and config that comprise the image.
Type
`object`

.images{}​

Description
ImageBlobReferences describes the blob references within an image.
Type
`object`
PropertyTypeDescription
configstringconfig, 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.
imageMissingbooleanimageMissing 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.
layersarray (string)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.
manifestsarray (string)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.

API endpoints​

The following API endpoints are available:

  • /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name}/layers
    • GET: read layers of the specified ImageStream

/apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name}/layers​

Global path parameters

ParameterTypeDescription
namestringname of the ImageStreamLayers
HTTP method
`GET`
Description
read layers of the specified ImageStream

HTTP responses

HTTP codeReponse body
200 - OKImageStreamLayers schema
401 - UnauthorizedEmpty