validator-labs / validator

validator monitors ValidationResults created by one or more validator plugins and uploads them to a configurable sink.
https://validator-labs.github.io/docs
Apache License 2.0
17 stars 3 forks source link

feat: introduce PluginSpec interface #403

Closed ahmad-ibra closed 2 months ago

ahmad-ibra commented 2 months ago

Issue

Related to https://github.com/validator-labs/validatorctl/issues/178

Description

This introduces a PluginSpec interface that all plugins must implement. Validatorctl will be able to use this spec to collect all crd's that it would directly invoke.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

@@            Coverage Diff             @@
##             main     #403      +/-   ##
==========================================
- Coverage   54.02%   53.78%   -0.24%     
==========================================
  Files          21       22       +1     
  Lines        1131     1136       +5     
==========================================
  Hits          611      611              
- Misses        452      457       +5     
  Partials       68       68              

Continue to review full report in Codecov by Sentry.

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