-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
v1.0.0-beta.1Features & bug fixes to be released in version 1.0.0-alpha.1Features & bug fixes to be released in version 1.0.0-alpha.1
Description
Overview
The terms "image name" and "repository" can be thought of as interchangeable in the CNCF distribution registry spec (at least how I understand it). There is an API endpoint in the CNCF distribution registry spec for listing all tags for a given image name (aka repository).
GET /v2/<name>/tags/list
For reference:
The return value of this endpoint
{
"name": <name>,
"tags": [
<tag>,
...
]
}is included in the output of skopeo inspect in the RepoTags property.
{
"RepoTags": [
<tag>,
...
]
}Hence, in order to develop equivalent functionality to skopeo inspect we must develop client functionality to reach this endpoint.
Acceptance
- A client method in the
ContainerImageRegistryClientclass are written to interact with this API endpoint generically - A method in the
ContainerImageclass is written to list the tags for an image - The
ContainerImageInspectschema is updated to require theRepoTagsparameter - The
inspectmethod in theContainerImageclass is updated to call the list tags method and include it in theContainerImageInspectdict - Unit tests are written for the new functionality, and the unit tests all pass
Metadata
Metadata
Assignees
Labels
v1.0.0-beta.1Features & bug fixes to be released in version 1.0.0-alpha.1Features & bug fixes to be released in version 1.0.0-alpha.1