v1.ImageStreamTag

You are viewing documentation for a release that is no longer supported. The latest supported version of version 3 is [3.11]. For the most recent version 4, see [4]

You are viewing documentation for a release that is no longer supported. The latest supported version of version 3 is [3.11]. For the most recent version 4, see [4]

Description

ImageStreamTag represents an Image that is retrieved by tag name from an ImageStream.

Object Schema

Expand or mouse-over a field for more information about it.

  1. apiVersion:
  2. conditions:
  3. - generation:
  4. lastTransitionTime:
  5. message:
  6. reason:
  7. status:
  8. type:
  9. generation:
  10. image:
  11. apiVersion:
  12. dockerImageConfig:
  13. dockerImageLayers:
  14. - mediaType:
  15. name:
  16. size:
  17. dockerImageManifest:
  18. dockerImageManifestMediaType:
  19. dockerImageMetadata:
  20. Raw:
  21. dockerImageMetadataVersion:
  22. dockerImageReference:
  23. dockerImageSignatures:
  24. - [string]:
  25. kind:
  26. metadata:
  27. annotations:
  28. [string]:
  29. clusterName:
  30. creationTimestamp:
  31. deletionGracePeriodSeconds:
  32. deletionTimestamp:
  33. finalizers:
  34. - [string]:
  35. generateName:
  36. generation:
  37. initializers:
  38. pending:
  39. - name:
  40. result:
  41. apiVersion:
  42. code:
  43. details:
  44. causes:
  45. - field:
  46. message:
  47. reason:
  48. group:
  49. kind:
  50. name:
  51. retryAfterSeconds:
  52. uid:
  53. kind:
  54. message:
  55. metadata:
  56. resourceVersion:
  57. selfLink:
  58. reason:
  59. status:
  60. labels:
  61. [string]:
  62. name:
  63. namespace:
  64. ownerReferences:
  65. - apiVersion:
  66. blockOwnerDeletion:
  67. controller:
  68. kind:
  69. name:
  70. uid:
  71. resourceVersion:
  72. selfLink:
  73. uid:
  74. signatures:
  75. - apiVersion:
  76. conditions:
  77. - lastProbeTime:
  78. lastTransitionTime:
  79. message:
  80. reason:
  81. status:
  82. type:
  83. content:
  84. created:
  85. imageIdentity:
  86. issuedBy:
  87. commonName:
  88. organization:
  89. issuedTo:
  90. commonName:
  91. organization:
  92. publicKeyID:
  93. kind:
  94. metadata:
  95. annotations:
  96. [string]:
  97. clusterName:
  98. creationTimestamp:
  99. deletionGracePeriodSeconds:
  100. deletionTimestamp:
  101. finalizers:
  102. - [string]:
  103. generateName:
  104. generation:
  105. initializers:
  106. pending:
  107. - name:
  108. result:
  109. apiVersion:
  110. code:
  111. details:
  112. causes:
  113. - field:
  114. message:
  115. reason:
  116. group:
  117. kind:
  118. name:
  119. retryAfterSeconds:
  120. uid:
  121. kind:
  122. message:
  123. metadata:
  124. resourceVersion:
  125. selfLink:
  126. reason:
  127. status:
  128. labels:
  129. [string]:
  130. name:
  131. namespace:
  132. ownerReferences:
  133. - apiVersion:
  134. blockOwnerDeletion:
  135. controller:
  136. kind:
  137. name:
  138. uid:
  139. resourceVersion:
  140. selfLink:
  141. uid:
  142. signedClaims:
  143. [string]:
  144. type:
  145. kind:
  146. lookupPolicy:
  147. local:
  148. metadata:
  149. annotations:
  150. [string]:
  151. clusterName:
  152. creationTimestamp:
  153. deletionGracePeriodSeconds:
  154. deletionTimestamp:
  155. finalizers:
  156. - [string]:
  157. generateName:
  158. generation:
  159. initializers:
  160. pending:
  161. - name:
  162. result:
  163. apiVersion:
  164. code:
  165. details:
  166. causes:
  167. - field:
  168. message:
  169. reason:
  170. group:
  171. kind:
  172. name:
  173. retryAfterSeconds:
  174. uid:
  175. kind:
  176. message:
  177. metadata:
  178. resourceVersion:
  179. selfLink:
  180. reason:
  181. status:
  182. labels:
  183. [string]:
  184. name:
  185. namespace:
  186. ownerReferences:
  187. - apiVersion:
  188. blockOwnerDeletion:
  189. controller:
  190. kind:
  191. name:
  192. uid:
  193. resourceVersion:
  194. selfLink:
  195. uid:
  196. tag:
  197. annotations:
  198. [string]:
  199. from:
  200. apiVersion:
  201. fieldPath:
  202. kind:
  203. name:
  204. namespace:
  205. resourceVersion:
  206. uid:
  207. generation:
  208. importPolicy:
  209. insecure:
  210. scheduled:
  211. name:
  212. reference:
  213. referencePolicy:
  214. type:

Operations

Create a ImageStreamTag

Create an ImageStreamTag

HTTP request

  1. POST /apis/image.openshift.io/v1/imagestreamtags HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close
  5. Content-Type: application/json'
  6. {
  7. "kind": "ImageStreamTag",
  8. "apiVersion": "image.openshift.io/v1",
  9. ...
  10. }

Curl request

  1. $ curl -k \
  2. -X POST \
  3. -d @- \
  4. -H "Authorization: Bearer $TOKEN" \
  5. -H 'Accept: application/json' \
  6. -H 'Content-Type: application/json' \
  7. https://$ENDPOINT/apis/image.openshift.io/v1/imagestreamtags <<'EOF'
  8. {
  9. "kind": "ImageStreamTag",
  10. "apiVersion": "image.openshift.io/v1",
  11. ...
  12. }
  13. EOF

HTTP body

ParameterSchema

body

v1.ImageStreamTag

Query parameters

ParameterDescription

pretty

If ‘true’, then the output is pretty printed.

Responses

HTTP CodeSchema

200 OK

v1.ImageStreamTag

401 Unauthorized

Consumes

  • */*

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf

Create a ImageStreamTag in a namespace

Create an ImageStreamTag

HTTP request

  1. POST /apis/image.openshift.io/v1/namespaces/$NAMESPACE/imagestreamtags HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close
  5. Content-Type: application/json'
  6. {
  7. "kind": "ImageStreamTag",
  8. "apiVersion": "image.openshift.io/v1",
  9. ...
  10. }

Curl request

  1. $ curl -k \
  2. -X POST \
  3. -d @- \
  4. -H "Authorization: Bearer $TOKEN" \
  5. -H 'Accept: application/json' \
  6. -H 'Content-Type: application/json' \
  7. https://$ENDPOINT/apis/image.openshift.io/v1/namespaces/$NAMESPACE/imagestreamtags <<'EOF'
  8. {
  9. "kind": "ImageStreamTag",
  10. "apiVersion": "image.openshift.io/v1",
  11. ...
  12. }
  13. EOF

HTTP body

ParameterSchema

body

v1.ImageStreamTag

Path parameters

ParameterDescription

namespace

object name and auth scope, such as for teams and projects

Query parameters

ParameterDescription

pretty

If ‘true’, then the output is pretty printed.

Responses

HTTP CodeSchema

200 OK

v1.ImageStreamTag

401 Unauthorized

Consumes

  • */*

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf

Get a ImageStreamTag in a namespace

Read the specified ImageStreamTag

HTTP request

  1. GET /apis/image.openshift.io/v1/namespaces/$NAMESPACE/imagestreamtags/$NAME HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close

Curl request

  1. $ curl -k \
  2. -H "Authorization: Bearer $TOKEN" \
  3. -H 'Accept: application/json' \
  4. https://$ENDPOINT/apis/image.openshift.io/v1/namespaces/$NAMESPACE/imagestreamtags/$NAME

Path parameters

ParameterDescription

name

name of the ImageStreamTag

namespace

object name and auth scope, such as for teams and projects

Query parameters

ParameterDescription

pretty

If ‘true’, then the output is pretty printed.

Responses

HTTP CodeSchema

200 OK

v1.ImageStreamTag

401 Unauthorized

Consumes

  • */*

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf

Get all ImageStreamTags

List objects of kind ImageStreamTag

HTTP request

  1. GET /apis/image.openshift.io/v1/imagestreamtags HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close

Curl request

  1. $ curl -k \
  2. -H "Authorization: Bearer $TOKEN" \
  3. -H 'Accept: application/json' \
  4. https://$ENDPOINT/apis/image.openshift.io/v1/imagestreamtags

Query parameters

ParameterDescription

pretty

If ‘true’, then the output is pretty printed.

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

includeUninitialized

If true, partially initialized resources are included in the response.

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it’s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.

timeoutSeconds

Timeout for the list/watch call.

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

Responses

HTTP CodeSchema

200 OK

v1.ImageStreamTagList

401 Unauthorized

Consumes

  • */*

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf

  • application/json;stream=watch

  • application/vnd.kubernetes.protobuf;stream=watch

Get all ImageStreamTags in a namespace

List objects of kind ImageStreamTag

HTTP request

  1. GET /apis/image.openshift.io/v1/namespaces/$NAMESPACE/imagestreamtags HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close

Curl request

  1. $ curl -k \
  2. -H "Authorization: Bearer $TOKEN" \
  3. -H 'Accept: application/json' \
  4. https://$ENDPOINT/apis/image.openshift.io/v1/namespaces/$NAMESPACE/imagestreamtags

Path parameters

ParameterDescription

namespace

object name and auth scope, such as for teams and projects

Query parameters

ParameterDescription

pretty

If ‘true’, then the output is pretty printed.

fieldSelector

A selector to restrict the list of returned objects by their fields. Defaults to everything.

includeUninitialized

If true, partially initialized resources are included in the response.

labelSelector

A selector to restrict the list of returned objects by their labels. Defaults to everything.

resourceVersion

When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it’s 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.

timeoutSeconds

Timeout for the list/watch call.

watch

Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.

Responses

HTTP CodeSchema

200 OK

v1.ImageStreamTagList

401 Unauthorized

Consumes

  • */*

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf

  • application/json;stream=watch

  • application/vnd.kubernetes.protobuf;stream=watch

Update a ImageStreamTag in a namespace

Replace the specified ImageStreamTag

HTTP request

  1. PUT /apis/image.openshift.io/v1/namespaces/$NAMESPACE/imagestreamtags/$NAME HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close
  5. Content-Type: application/json'
  6. {
  7. "kind": "ImageStreamTag",
  8. "apiVersion": "image.openshift.io/v1",
  9. ...
  10. }

Curl request

  1. $ curl -k \
  2. -X PUT \
  3. -d @- \
  4. -H "Authorization: Bearer $TOKEN" \
  5. -H 'Accept: application/json' \
  6. -H 'Content-Type: application/json' \
  7. https://$ENDPOINT/apis/image.openshift.io/v1/namespaces/$NAMESPACE/imagestreamtags/$NAME <<'EOF'
  8. {
  9. "kind": "ImageStreamTag",
  10. "apiVersion": "image.openshift.io/v1",
  11. ...
  12. }
  13. EOF

HTTP body

ParameterSchema

body

v1.ImageStreamTag

Path parameters

ParameterDescription

name

name of the ImageStreamTag

namespace

object name and auth scope, such as for teams and projects

Query parameters

ParameterDescription

pretty

If ‘true’, then the output is pretty printed.

Responses

HTTP CodeSchema

200 OK

v1.ImageStreamTag

401 Unauthorized

Consumes

  • */*

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf

Patch a ImageStreamTag in a namespace

Partially update the specified ImageStreamTag

HTTP request

  1. PATCH /apis/image.openshift.io/v1/namespaces/$NAMESPACE/imagestreamtags/$NAME HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close
  5. Content-Type: application/json-patch+json'
  6. {
  7. ...
  8. }

Curl request

  1. $ curl -k \
  2. -X PATCH \
  3. -d @- \
  4. -H "Authorization: Bearer $TOKEN" \
  5. -H 'Accept: application/json' \
  6. -H 'Content-Type: application/json-patch+json' \
  7. https://$ENDPOINT/apis/image.openshift.io/v1/namespaces/$NAMESPACE/imagestreamtags/$NAME <<'EOF'
  8. {
  9. ...
  10. }
  11. EOF

HTTP body

ParameterSchema

body

v1.Patch

Path parameters

ParameterDescription

name

name of the ImageStreamTag

namespace

object name and auth scope, such as for teams and projects

Query parameters

ParameterDescription

pretty

If ‘true’, then the output is pretty printed.

Responses

HTTP CodeSchema

200 OK

v1.ImageStreamTag

401 Unauthorized

Consumes

  • application/json-patch+json

  • application/merge-patch+json

  • application/strategic-merge-patch+json

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf

Delete a ImageStreamTag in a namespace

Delete an ImageStreamTag

HTTP request

  1. DELETE /apis/image.openshift.io/v1/namespaces/$NAMESPACE/imagestreamtags/$NAME HTTP/1.1
  2. Authorization: Bearer $TOKEN
  3. Accept: application/json
  4. Connection: close

Curl request

  1. $ curl -k \
  2. -X DELETE \
  3. -H "Authorization: Bearer $TOKEN" \
  4. -H 'Accept: application/json' \
  5. https://$ENDPOINT/apis/image.openshift.io/v1/namespaces/$NAMESPACE/imagestreamtags/$NAME

Path parameters

ParameterDescription

name

name of the ImageStreamTag

namespace

object name and auth scope, such as for teams and projects

Query parameters

ParameterDescription

pretty

If ‘true’, then the output is pretty printed.

Responses

HTTP CodeSchema

200 OK

v1.Status

401 Unauthorized

Consumes

  • */*

Produces

  • application/json

  • application/yaml

  • application/vnd.kubernetes.protobuf