-
Notifications
You must be signed in to change notification settings - Fork 567
Update Keychain interface to accept repo #510
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #510 +/- ##
==========================================
+ Coverage 72.88% 73.15% +0.27%
==========================================
Files 91 92 +1
Lines 3835 3904 +69
==========================================
+ Hits 2795 2856 +61
Misses 689 689
- Partials 351 359 +8
Continue to review full report at Codecov.
|
pkg/authn/keychain.go
Outdated
) | ||
|
||
type Target interface { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Target isn't a great name, document this and members?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better idea than Target
? Principal
? Authority
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
authn.Target
seems fine when qualified. I'm open to better suggestions.
Co-Authored-By: Matt Moore <[email protected]>
Fixes #495
Introduces
authn.Target
which bothname.Repository
andname.Registry
implement, so this should be backwards compat.