Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Create common interface for docker daemon and docker registry #8

Closed
MeneDev opened this issue Oct 1, 2018 · 1 comment
Closed

Create common interface for docker daemon and docker registry #8

MeneDev opened this issue Oct 1, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request hacktoberfest

Comments

@MeneDev
Copy link
Owner

MeneDev commented Oct 1, 2018

The interface should allow to query all tags and their digest.
Blocked by #1 and #2

This was referenced Oct 1, 2018
@MeneDev MeneDev self-assigned this Oct 19, 2018
@MeneDev
Copy link
Owner Author

MeneDev commented Oct 19, 2018

I created a first draft in dockref.Repository also instead of returning strings ImageNameProcessor now returns (dockref.Reference, error) and dockref.Reference contains it's format which allows toggling different components (e.g. tag).

While the interface contains only one function Resolve(reference Reference) (Reference, error) it might be enough as a first step, allowing to resolve e.g. nginx to something like nginx:1.2@sha256….

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

1 participant