Questo contenuto non è disponibile nella lingua selezionata.
Chapter 6. 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
-
6.1. Specification
Property | Type | Description |
---|---|---|
|
| APIVersion 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 |
|
| blobs is a map of blob name to metadata about the blob. |
|
| ImageLayerData contains metadata about an image layer. |
|
| images is a map between an image name and the names of the blobs and config that comprise the image. |
|
| ImageBlobReferences describes the blob references within an image. |
|
| Kind 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 |
| metadata is the standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata |
6.1.1. .blobs
- Description
- blobs is a map of blob name to metadata about the blob.
- Type
-
object
6.1.2. .blobs{}
- Description
- ImageLayerData contains metadata about an image layer.
- Type
-
object
- Required
-
size
-
mediaType
-
Property | Type | Description |
---|---|---|
|
| MediaType of the referenced object. |
|
| Size of the layer in bytes as defined by the underlying store. This field is optional if the necessary information about size is not available. |
6.1.3. .images
- Description
- images is a map between an image name and the names of the blobs and config that comprise the image.
- Type
-
object
6.1.4. .images{}
- Description
- ImageBlobReferences describes the blob references within an image.
- Type
-
object
Property | Type | Description |
---|---|---|
|
| 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. |
|
| 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. |
|
| 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. |
|
| 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. |
6.2. 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
-
6.2.1. /apis/image.openshift.io/v1/namespaces/{namespace}/imagestreams/{name}/layers
Parameter | Type | Description |
---|---|---|
|
| name of the ImageStreamLayers |
|
| object name and auth scope, such as for teams and projects |
Parameter | Type | Description |
---|---|---|
|
| If 'true', then the output is pretty printed. |
- HTTP method
-
GET
- Description
- read layers of the specified ImageStream
HTTP code | Reponse body |
---|---|
200 - OK |
|
401 - Unauthorized | Empty |