Skip to content
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

Merged
merged 3 commits into from
Sep 22, 2024
Merged

Conversation

WeixinX
Copy link
Contributor

@WeixinX WeixinX commented Sep 22, 2024

Related to #725

Define the sentinel plugin configuration structure

@github-actions github-actions bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 22, 2024
Copy link

codecov bot commented Sep 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.07%. Comparing base (85984ff) to head (47fc70b).
Report is 1 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

}

func (p *Plugin) Type() plugins.PluginType {
return plugins.TypeTransform
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to use Traffic:

TypeTraffic // Plugins do traffic control, like rate limit, circuit breaker, etc.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My carelessness. Done

@WeixinX WeixinX requested a review from spacewander September 22, 2024 09:36
@spacewander spacewander merged commit 4ad6534 into mosn:main Sep 22, 2024
13 checks passed
@spacewander
Copy link
Member

Merged. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants