zot
zot copied to clipboard
feat: Implement API to return supported authentication methods, close…
…s #749
Signed-off-by: Petu Eusebiu [email protected]
What type of PR is this?
Which issue does this PR fix:
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:
Automation added to e2e:
Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Codecov Report
Merging #853 (2c4be02) into main (1b618f3) will increase coverage by
0.01%
. The diff coverage is96.62%
.
:exclamation: Current head 2c4be02 differs from pull request most recent head ddd4bcd. Consider uploading reports for the commit ddd4bcd to get more accurate results
@@ Coverage Diff @@
## main #853 +/- ##
==========================================
+ Coverage 89.62% 89.63% +0.01%
==========================================
Files 90 92 +2
Lines 18434 18534 +100
==========================================
+ Hits 16521 16613 +92
- Misses 1456 1462 +6
- Partials 457 459 +2
Impacted Files | Coverage Δ | |
---|---|---|
pkg/debug/swagger/swagger_disabled.go | 100.00% <ø> (ø) |
|
pkg/extensions/extension_metrics_disabled.go | 100.00% <ø> (ø) |
|
pkg/api/authn.go | 84.57% <66.66%> (-1.14%) |
:arrow_down: |
pkg/extensions/extension_mgmt.go | 93.44% <93.44%> (ø) |
|
pkg/api/authz.go | 98.19% <100.00%> (-0.10%) |
:arrow_down: |
pkg/api/config/config.go | 93.69% <100.00%> (+4.14%) |
:arrow_up: |
pkg/api/controller.go | 90.84% <100.00%> (ø) |
|
pkg/api/routes.go | 94.46% <100.00%> (+0.01%) |
:arrow_up: |
pkg/cli/root.go | 95.44% <100.00%> (+0.08%) |
:arrow_up: |
pkg/extensions/extension_metrics.go | 100.00% <100.00%> (ø) |
|
... and 3 more |
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
ideally, this URI should only accept localhost
connections
ideally, this URI should only accept
localhost
connections
done
When building without debug tag then it will filtered out external connections When building with debug, it will accept all connections
rebase this pls
done
ok, will fix
Superseded by https://github.com/project-zot/zot/pull/1198