-
Notifications
You must be signed in to change notification settings - Fork 338
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: Initial support for Gateway API #789
Conversation
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
…troller into feat-gateway-api
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #789 +/- ##
==========================================
- Coverage 33.14% 32.58% -0.57%
==========================================
Files 67 69 +2
Lines 7142 7274 +132
==========================================
+ Hits 2367 2370 +3
- Misses 4505 4634 +129
Partials 270 270
Continue to review full report at Codecov.
|
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
This comment has been minimized.
This comment has been minimized.
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
} | ||
} | ||
|
||
func (c *gatewayController) sync(ctx context.Context, ev *types.Event) error { |
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.
I can not see the logic for syncing to APISIX in sync
method.
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.
As I wrote in the description of the PR.
Note: This feature is still under development, and the route has not yet been published to the Apache APISIX Gateway
Only initial support in this PR. Mainly to implement the synchronization of the Gateway resource status.
Once all features are submitted through a PR, then this PR will be huge. @gxthrj
93b28b4
to
b6b6e2c
Compare
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
b6b6e2c
to
e647ee2
Compare
Please answer these questions before submitting a pull request
Why submit this pull request?
Related issues
feat: GatewayAPI Support #644
New feature or improvement
Describe the details and related test reports.
In this version, the initial Gateway API support has been added, and a switch has been added to control whether to enable this feature. So it can be safely merged.
Changes in this PR:
Note: This feature is still under development, and the route has not yet been published to the Apache APISIX Gateway