yonahd / kor

A Golang Tool to discover unused Kubernetes Resources
MIT License
974 stars 91 forks source link

fix: refactor exceptions into seperate files #257

Closed pbr0ck3r closed 5 months ago

pbr0ck3r commented 5 months ago

Please read CONTRIBUTING.md for additional information on contributing to this repository!

What this PR does / why we need it

PR Checklist

Github Issue

https://github.com/yonahd/kor/issues/253

Notes for your reviewers

codecov-commenter commented 5 months ago

Codecov Report

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

Project coverage is 43.40%. Comparing base (333b525) to head (9a375ed). Report is 2 commits behind head on main.

Files Patch % Lines
pkg/kor/crds.go 0.00% 4 Missing :warning:
pkg/kor/clusterroles.go 25.00% 1 Missing and 2 partials :warning:
pkg/kor/daemonsets.go 25.00% 1 Missing and 2 partials :warning:
pkg/kor/roles.go 25.00% 1 Missing and 2 partials :warning:
pkg/kor/services.go 25.00% 1 Missing and 2 partials :warning:
pkg/kor/configmaps.go 50.00% 1 Missing and 1 partial :warning:
pkg/kor/kor.go 60.00% 1 Missing and 1 partial :warning:
pkg/kor/secrets.go 50.00% 1 Missing and 1 partial :warning:
pkg/kor/serviceaccounts.go 50.00% 1 Missing and 1 partial :warning:
pkg/kor/storageclasses.go 50.00% 1 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #257 +/- ## ========================================== - Coverage 43.60% 43.40% -0.20% ========================================== Files 58 58 Lines 2768 2806 +38 ========================================== + Hits 1207 1218 +11 - Misses 1382 1398 +16 - Partials 179 190 +11 ```

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