Commit 45ab52e
Add API for GEP-3171 (#3283)
* Create index.md
* Create metadata.yaml
* Update index.md
* Update metadata.yaml
* Remove 'omitempty' from Fraction fields
* Split MirrorPercent into two fields: MirrorPercent and MirrorFraction.
* Update index.md
* Add config examples.
* Add Existing Support Table
* Update field names to avoid 'stuttering' in names.
* Update geps/gep-3171/index.md
Co-authored-by: Rob Scott <[email protected]>
* Add Fraction type
* Add percent and fraction to HTTPRequestMirrorFilter
* Update apis/v1/httproute_types.go
Co-authored-by: Rob Scott <[email protected]>
* Update apis/v1/shared_types.go
Co-authored-by: Rob Scott <[email protected]>
* Add CEL validation to Fraction type
* Add CEL validation to HttpRequestMirrorFilter
Also updated field descriptions to match the validation. Removed the default value for Percent.
* Add CEL validation test for HTTPRequestMirrorFilter
* Ran /hack/update-codegen.sh
* Update httproute_experimental_test.go
* Update httproute_experimental_test.go
* Update httproute_experimental_test.go
* Update httproute_types.go
* Reran /hack/update-codegen.sh
* Update httproute_experimental_test.go
* Make Denominator field a pointer to distinguish between 0 and unset
Co-authored-by: Rob Scott <[email protected]>
* Change Percent to be a pointer to distinguish between 0 and unset
Co-authored-by: Rob Scott <[email protected]>
* Update httproute_experimental_test.go
* Update httproute_experimental_test.go
* Format httproute_types.go
* Make Fraction a pointer
* Update httproute_experimental_test.go
* Reran hack/update-codegen.sh
* Updating to test CEL validation
* Updating to test CEL validation
* Update httproute_types.go
* Update httproute_experimental_test.go
* Update httproute_experimental_test.go
* Update httproute_experimental_test.go
* Update httproute_types.go
* Update httproute_experimental_test.go
* Update httproute_types.go
* Update httproute_types.go
* testing
* Update httproute_types.go
* Ran hack/update-codegen.sh
* format shared_types.go
* Update httproute_types.go
* Update httproute_experimental_test.go
* Update httproute_types.go
* Update httproute_types.go
* reran hack/update-codegen.sh
* Update httproute_types.go
* Update httproute_experimental_test.go
* Reran hack/update-codegen.sh
* Added RequestMirror validation to GRPCRoute
* Create grcproute_experimental_test.go
* Update grcproute_experimental_test.go
* Update grpcroute_types.go
* Update grcproute_experimental_test.go
* Ran hack/update-codegen.sh
* Update grcproute_experimental_test.go
* Update grcproute_experimental_test.go
* Update Copyright Year
* Update pkg/test/cel/grcproute_experimental_test.go
Co-authored-by: Rob Scott <[email protected]>
* Update httproute_experimental_test.go
* Update grcproute_experimental_test.go
---------
Co-authored-by: Rob Scott <[email protected]>1 parent 689c1cf commit 45ab52e
File tree
15 files changed
+744
-19
lines changed- apis
- applyconfiguration
- apis/v1
- internal
- v1
- config/crd
- experimental
- standard
- pkg
- generated/openapi
- test/cel
15 files changed
+744
-19
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
| 553 | + | |
| 554 | + | |
553 | 555 | | |
554 | 556 | | |
555 | 557 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
757 | 757 | | |
758 | 758 | | |
759 | 759 | | |
| 760 | + | |
| 761 | + | |
760 | 762 | | |
761 | 763 | | |
762 | 764 | | |
| |||
1153 | 1155 | | |
1154 | 1156 | | |
1155 | 1157 | | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
1156 | 1181 | | |
1157 | 1182 | | |
1158 | 1183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
855 | 855 | | |
856 | 856 | | |
857 | 857 | | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments