goharbor / harbor-scanner-clair

Use Clair as a plug-in vulnerability scanner in the Harbor registry
https://goharbor.io/
Apache License 2.0
34 stars 26 forks source link

feat: Process scan requests asynchronously #8

Closed danielpacak closed 4 years ago

danielpacak commented 4 years ago

Signed-off-by: Daniel Pacak pacak.daniel@gmail.com

codecov-io commented 4 years ago

Codecov Report

Merging #8 into master will decrease coverage by 12.83%. The diff coverage is 51.59%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master       #8       +/-   ##
===========================================
- Coverage   68.85%   56.02%   -12.84%     
===========================================
  Files           7       13        +6     
  Lines         350      498      +148     
===========================================
+ Hits          241      279       +38     
- Misses         97      205      +108     
- Partials       12       14        +2
Impacted Files Coverage Δ
pkg/registry/client.go 0% <ø> (ø)
pkg/http/api/base_handler.go 73.91% <ø> (ø) :arrow_up:
pkg/http/api/server.go 0% <0%> (ø) :arrow_up:
pkg/work/work.go 0% <0%> (ø)
pkg/scanner/worker.go 0% <0%> (ø)
pkg/scanner/enqueuer.go 0% <0%> (ø)
pkg/clair/client.go 0% <0%> (ø)
pkg/job/job.go 100% <100%> (ø)
pkg/http/api/v1/handler.go 94.57% <100%> (+1.57%) :arrow_up:
pkg/scanner/transformer.go 93.4% <100%> (ø)
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9c4b36c...9b9783d. Read the comment docs.