claircore icon indicating copy to clipboard operation
claircore copied to clipboard

jsonblob: Support individual record iteration

Open jvdm opened this issue 9 months ago • 1 comments

Add a per-record iterator interface using rangefunc-style to jsonblob. This conveniently aligns jsonblob to be used with the Vulnerability and Enrichment datastore iterator interfaces.

jvdm avatar May 03 '24 19:05 jvdm

Codecov Report

Attention: Patch coverage is 78.57143% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 55.82%. Comparing base (0831b93) to head (ef03423).

Files Patch % Lines
libvuln/jsonblob/jsonblob.go 78.57% 5 Missing and 4 partials :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1334      +/-   ##
==========================================
+ Coverage   55.76%   55.82%   +0.06%     
==========================================
  Files         266      266              
  Lines       16759    16801      +42     
==========================================
+ Hits         9345     9379      +34     
- Misses       6445     6448       +3     
- Partials      969      974       +5     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 03 '24 19:05 codecov[bot]