-
Notifications
You must be signed in to change notification settings - Fork 859
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 provider generator #5839
Conversation
/cc @FogDong |
64c56c3
to
3be88aa
Compare
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #5839 +/- ##
==========================================
- Coverage 61.35% 61.28% -0.07%
==========================================
Files 224 224
Lines 31121 31121
==========================================
- Hits 19093 19073 -20
- Misses 10233 10254 +21
+ Partials 1795 1794 -1
Flags with carried forward coverage won't be shown. Click here to find out more. see 14 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
7e99262
to
cd627a0
Compare
Signed-off-by: iyear <ljyngup@gmail.com>
cd627a0
to
cb6a900
Compare
Signed-off-by: iyear <ljyngup@gmail.com>
cb6a900
to
140f8d8
Compare
Description of your changes
Part of #5364
This is initial impl of provider generator. The impl is a bit hacky currently and I will refactor it in the future. So it's helpful to just look into testings instead of impl code.
How it works:
map[string]github.com/kubevela/pkg/cue/cuex/runtime.ProviderFn
in target go file.Format
.I have:
make reviewable
to ensure this PR is ready for review.backport release-x.y
labels to auto-backport this PR if necessary.How has this code been tested
Special notes for your reviewer