-
Notifications
You must be signed in to change notification settings - Fork 34
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
Object types #777
Object types #777
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #777 +/- ##
==========================================
+ Coverage 80.20% 81.43% +1.22%
==========================================
Files 64 77 +13
Lines 4492 6206 +1714
==========================================
+ Hits 3603 5054 +1451
- Misses 600 782 +182
- Partials 289 370 +81
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@Boomatang I would appreciate your 👀 on this PR 🙇♂️ |
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 see what is being done and kinda why it is being done. What I am concerned about is the adding of yet more interfaces and structs that we need to be aware of.
My mind is in two places over wide interfaces compared to deep interfaces. What is your view on the abstraction and abstracting to early?
I plan to write common (reusable) controller mappers and generic (reusable) controllers that can be used by any policy type. This is kind of preparation work for it. A building block needed for those common controllers. |
Signed-off-by: Eguzki Astiz Lezaun <eastizle@redhat.com>
Signed-off-by: Eguzki Astiz Lezaun <eastizle@redhat.com>
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.
Looks good to me and is a good stepping stone to something better
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.
Comment was to approve, not mark as changes requested
What
Type
interface for all Gateway API typesPolicy
interface: it should not have anything related to kuadrant.Useful types to write common controller mappers and controllers that can be used by any policy type.
Work being done as part of #530
This is part of a series of PR's that will end up with a new controller that will only reconcile limitador limits configuration.