ekristen / libnuke

Common Golang Packages for use by the Various Cloud Nuke Tools
MIT License
22 stars 3 forks source link

feat: filter groups #71

Open ekristen opened 3 weeks ago

ekristen commented 3 weeks ago

This adds the filter group feature to libnuke.

By default if group is not specified, all filters are part of the default group.

All filters within a group are OR operator together. All filter groups are AND together.

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 92.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 97.64%. Comparing base (71dd5d0) to head (5f865e9).

Files Patch % Lines
pkg/filter/filter.go 60.00% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #71 +/- ## ========================================== - Coverage 97.78% 97.64% -0.14% ========================================== Files 17 17 Lines 1084 1105 +21 ========================================== + Hits 1060 1079 +19 - Misses 13 14 +1 - Partials 11 12 +1 ```

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