-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: proto of sentinel plugin #736
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #736 +/- ##
==========================================
- Coverage 88.29% 88.07% -0.22%
==========================================
Files 128 128
Lines 6433 6433
==========================================
- Hits 5680 5666 -14
- Misses 538 547 +9
- Partials 215 220 +5 ☔ View full report in Codecov by Sentry. |
types/plugins/sentinel/config.go
Outdated
} | ||
|
||
func (p *Plugin) Type() plugins.PluginType { | ||
return plugins.TypeTransform |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to use Traffic:
Line 27 in 81bc6af
TypeTraffic // Plugins do traffic control, like rate limit, circuit breaker, etc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My carelessness. Done
Merged. Thanks! |
Related to #725
Define the sentinel plugin configuration structure