crowdsec icon indicating copy to clipboard operation
crowdsec copied to clipboard

refact pkg/acquisition: split docker.go

Open mmetc opened this issue 1 month ago • 3 comments

mmetc avatar Nov 18 '25 15:11 mmetc

@mmetc: There are no 'kind' label on this PR. You need a 'kind' label to generate the release automatically.

  • /kind feature
  • /kind enhancement
  • /kind refactoring
  • /kind fix
  • /kind chore
  • /kind dependencies
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

github-actions[bot] avatar Nov 18 '25 15:11 github-actions[bot]

@mmetc: There are no area labels on this PR. You can add as many areas as you see fit.

  • /area agent
  • /area local-api
  • /area cscli
  • /area appsec
  • /area security
  • /area configuration
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

github-actions[bot] avatar Nov 18 '25 15:11 github-actions[bot]

Codecov Report

:x: Patch coverage is 63.56275% with 90 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 62.90%. Comparing base (8a7af21) to head (710e7c1). :warning: Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
pkg/acquisition/modules/docker/config.go 68.75% 39 Missing and 11 partials :warning:
pkg/acquisition/modules/docker/source.go 49.20% 25 Missing and 7 partials :warning:
pkg/acquisition/modules/docker/metrics.go 0.00% 6 Missing :warning:
pkg/acquisition/modules/docker/run.go 88.23% 2 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4065      +/-   ##
==========================================
- Coverage   62.92%   62.90%   -0.02%     
==========================================
  Files         464      467       +3     
  Lines       33348    33348              
==========================================
- Hits        20983    20978       -5     
- Misses      10241    10245       +4     
- Partials     2124     2125       +1     
Flag Coverage Δ
bats 46.14% <13.76%> (-0.02%) :arrow_down:
unit-linux 35.75% <61.94%> (-0.02%) :arrow_down:
unit-windows 25.06% <61.53%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Nov 18 '25 15:11 codecov[bot]