kuadrant-operator
kuadrant-operator copied to clipboard
extend .proto definitions
Define gateway API types as proto messages and expand our own Policy type.
Changes things around and added fields that seemed useful.
I did not went to the v0.1: we should have a discussion about how we want to version things first imo.
I also added a script to use protoc to generate descriptions (hopefully, it will work for others)
./pkg/extension/grpc/generate_proto.sh v0
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 80.61%. Comparing base (
9ca8620) to head (cd7918f). Report is 4 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #1362 +/- ##
==========================================
- Coverage 80.64% 80.61% -0.04%
==========================================
Files 93 93
Lines 8787 8814 +27
==========================================
+ Hits 7086 7105 +19
- Misses 1413 1421 +8
Partials 288 288
| Flag | Coverage Δ | |
|---|---|---|
| bare-k8s-integration | 22.59% <0.00%> (+0.15%) |
:arrow_up: |
| controllers-integration | 65.72% <0.00%> (-0.51%) |
:arrow_down: |
| envoygateway-integration | 37.18% <0.00%> (-0.45%) |
:arrow_down: |
| gatewayapi-integration | 17.92% <0.00%> (-0.21%) |
:arrow_down: |
| istio-integration | 50.00% <0.00%> (-0.01%) |
:arrow_down: |
| unit | 21.34% <100.00%> (+0.19%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Components | Coverage Δ | |
|---|---|---|
| api (u) | 81.50% <ø> (ø) |
|
| internal (u) | 81.88% <100.00%> (-0.10%) |
:arrow_down: |
| pkg (u) | 49.70% <100.00%> (+3.99%) |
:arrow_up: |
| Files with missing lines | Coverage Δ | |
|---|---|---|
| internal/extension/manager.go | 2.14% <ø> (ø) |
|
| internal/extension/oop.go | 46.45% <ø> (-3.15%) |
:arrow_down: |
| internal/extension/reconciler.go | 87.85% <100.00%> (+0.23%) |
:arrow_up: |
| pkg/cel/ext/kuadrant.go | 87.36% <100.00%> (+4.51%) |
:arrow_up: |
| pkg/extension/controller/controller.go | 25.61% <ø> (ø) |
|
| pkg/extension/utils/utils.go | 93.75% <ø> (ø) |
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
bot, really?