Skip to content

docr: Update RegistriesService to add all the methods which makes it self-sufficient for all registries operations #814

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 28, 2025

Conversation

rak16
Copy link
Member

@rak16 rak16 commented Mar 28, 2025

Besides adding the full set of methods on RegistriesService, I have made changes to Registries.Create and it now functions the same way Registry.Create does.

…self-sufficient for all registries operations.

Note that except for List, Get, Delete and DockerCredentials, all the method definitions would remain the same between the old and the new service. We decided to just duplicate the code and not go for an abstraction as it was making it unnecessarily complicated, especially because RegistryService is getting deprecated and will eventually be removed. When that happens, it will also be easier to just remove RegistryService code instead of untagling it out of an abstraction.
@rak16 rak16 requested a review from sankalp-r March 28, 2025 09:03
@rak16 rak16 changed the title [WIP] docr: Update RegistriesService to add all the methods which makes it self-sufficient for all registries operations docr: Update RegistriesService to add all the methods which makes it self-sufficient for all registries operations Mar 28, 2025
Copy link

@sankalp-r sankalp-r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rak16 rak16 marked this pull request as ready for review April 4, 2025 09:34
@rak16 rak16 requested a review from andrewsomething April 4, 2025 09:41
@rak16 rak16 requested a review from loosla April 17, 2025 11:52
loosla
loosla previously approved these changes Apr 25, 2025
Copy link
Contributor

@loosla loosla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thank you for the update

@loosla loosla merged commit d679bf0 into digitalocean:main May 28, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants