feat: sentinel plugin #740
79.64% of diff hit (target 70.00%)
View this Pull Request on Codecov
79.64% of diff hit (target 70.00%)
Annotations
Check warning on line 74 in plugins/plugins/sentinel/config.go
codecov / codecov/patch
plugins/plugins/sentinel/config.go#L73-L74
Added lines #L73 - L74 were not covered by tests
Check warning on line 78 in plugins/plugins/sentinel/config.go
codecov / codecov/patch
plugins/plugins/sentinel/config.go#L77-L78
Added lines #L77 - L78 were not covered by tests
Check warning on line 104 in plugins/plugins/sentinel/config.go
codecov / codecov/patch
plugins/plugins/sentinel/config.go#L103-L104
Added lines #L103 - L104 were not covered by tests
Check warning on line 108 in plugins/plugins/sentinel/config.go
codecov / codecov/patch
plugins/plugins/sentinel/config.go#L107-L108
Added lines #L107 - L108 were not covered by tests
Check warning on line 112 in plugins/plugins/sentinel/config.go
codecov / codecov/patch
plugins/plugins/sentinel/config.go#L111-L112
Added lines #L111 - L112 were not covered by tests
Check warning on line 48 in plugins/plugins/sentinel/filter.go
codecov / codecov/patch
plugins/plugins/sentinel/filter.go#L47-L48
Added lines #L47 - L48 were not covered by tests
Check warning on line 54 in plugins/plugins/sentinel/filter.go
codecov / codecov/patch
plugins/plugins/sentinel/filter.go#L54
Added line #L54 was not covered by tests
Check warning on line 130 in plugins/plugins/sentinel/filter.go
codecov / codecov/patch
plugins/plugins/sentinel/filter.go#L128-L130
Added lines #L128 - L130 were not covered by tests
Check warning on line 34 in plugins/plugins/sentinel/rules/circuitbreaker.go
codecov / codecov/patch
plugins/plugins/sentinel/rules/circuitbreaker.go#L33-L34
Added lines #L33 - L34 were not covered by tests
Check warning on line 40 in plugins/plugins/sentinel/rules/circuitbreaker.go
codecov / codecov/patch
plugins/plugins/sentinel/rules/circuitbreaker.go#L40
Added line #L40 was not covered by tests
Check warning on line 45 in plugins/plugins/sentinel/rules/circuitbreaker.go
codecov / codecov/patch
plugins/plugins/sentinel/rules/circuitbreaker.go#L44-L45
Added lines #L44 - L45 were not covered by tests
Check warning on line 33 in plugins/plugins/sentinel/rules/flow.go
codecov / codecov/patch
plugins/plugins/sentinel/rules/flow.go#L32-L33
Added lines #L32 - L33 were not covered by tests
Check warning on line 39 in plugins/plugins/sentinel/rules/flow.go
codecov / codecov/patch
plugins/plugins/sentinel/rules/flow.go#L39
Added line #L39 was not covered by tests
Check warning on line 44 in plugins/plugins/sentinel/rules/flow.go
codecov / codecov/patch
plugins/plugins/sentinel/rules/flow.go#L43-L44
Added lines #L43 - L44 were not covered by tests
Check warning on line 33 in plugins/plugins/sentinel/rules/hotspot.go
codecov / codecov/patch
plugins/plugins/sentinel/rules/hotspot.go#L32-L33
Added lines #L32 - L33 were not covered by tests
Check warning on line 39 in plugins/plugins/sentinel/rules/hotspot.go
codecov / codecov/patch
plugins/plugins/sentinel/rules/hotspot.go#L39
Added line #L39 was not covered by tests
Check warning on line 44 in plugins/plugins/sentinel/rules/hotspot.go
codecov / codecov/patch
plugins/plugins/sentinel/rules/hotspot.go#L43-L44
Added lines #L43 - L44 were not covered by tests
Check warning on line 74 in types/plugins/sentinel/config.go
codecov / codecov/patch
types/plugins/sentinel/config.go#L73-L74
Added lines #L73 - L74 were not covered by tests
Check warning on line 87 in types/plugins/sentinel/config.go
codecov / codecov/patch
types/plugins/sentinel/config.go#L87
Added line #L87 was not covered by tests
Check warning on line 92 in types/plugins/sentinel/config.go
codecov / codecov/patch
types/plugins/sentinel/config.go#L91-L92
Added lines #L91 - L92 were not covered by tests
Check warning on line 100 in types/plugins/sentinel/config.go
codecov / codecov/patch
types/plugins/sentinel/config.go#L99-L100
Added lines #L99 - L100 were not covered by tests
Check warning on line 124 in types/plugins/sentinel/config.go
codecov / codecov/patch
types/plugins/sentinel/config.go#L123-L124
Added lines #L123 - L124 were not covered by tests
Check warning on line 158 in types/plugins/sentinel/config.go
codecov / codecov/patch
types/plugins/sentinel/config.go#L156-L158
Added lines #L156 - L158 were not covered by tests
Check warning on line 176 in types/plugins/sentinel/config.go
codecov / codecov/patch
types/plugins/sentinel/config.go#L175-L176
Added lines #L175 - L176 were not covered by tests