-
Notifications
You must be signed in to change notification settings - Fork 40
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
add informer client code to instance manager generated by codegen #448
add informer client code to instance manager generated by codegen #448
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #448 +/- ##
==========================================
- Coverage 50.38% 50.36% -0.02%
==========================================
Files 33 34 +1
Lines 5216 5218 +2
==========================================
Hits 2628 2628
- Misses 2439 2441 +2
Partials 149 149 ☔ View full report in Codecov by Sentry. |
6901c2b
to
a62ef0b
Compare
…eikoproj#442) Signed-off-by: Yuxuan Zhu <yuxuan_zhu@intuit.com>
Signed-off-by: Yuxuan Zhu <yuxuan_zhu@intuit.com>
Signed-off-by: Yuxuan Zhu <yuxuan_zhu@intuit.com>
Signed-off-by: Yuxuan Zhu <yuxuan_zhu@intuit.com>
…rate Signed-off-by: Yuxuan Zhu <yuxuan_zhu@intuit.com>
Signed-off-by: Yuxuan Zhu <yuxuan_zhu@intuit.com>
f76b8a3
to
faee516
Compare
@@ -1,7 +1,7 @@ | |||
package controllers | |||
|
|||
import ( | |||
v1alpha "github.com/keikoproj/instance-manager/api/v1alpha1" | |||
v1alpha "github.com/keikoproj/instance-manager/api/instancemgr/v1alpha1" |
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.
why change the directory structure?
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.
because we are using the open source code generator to generate the clientset/informer, and they are expecting the apis should have the following directory structure:
api(s)/$group/$version
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.
lgtm
Added informer client code using codegen so component can import client informer code from instance manager.
fixes: #445