-
Notifications
You must be signed in to change notification settings - Fork 100
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
Feature request: Adding repo.ReferrersCapability() in oras-go #423
Comments
We may export pingReferrers() if there is a need. |
Since there are multiple solutions / options, why not start a discussion on the design? |
Exporting |
Yeah, exporting pingReferrers() would simplify the above logic to a 1-line code since it also sets the repo's |
This comment was marked as duplicate.
This comment was marked as duplicate.
This feature was requested for notation to determine which manifest type to pack (OCI Artifact Manifest or OCI Image Manifest). |
As a user, I'd like to check if a remote registry supports the Referrers API. Currently, I need the following code to do so:
the
remoteRepo.Referrers
is an overhead. Applications that want this check need to have something similar, so probably adding arepo.ReferrersCapability()
feature in oras-go might save resources for users?The text was updated successfully, but these errors were encountered: