feat: move ReconcileUtils methods to ResourceOperations accessible from Context#3142
feat: move ReconcileUtils methods to ResourceOperations accessible from Context#3142csviri merged 11 commits intooperator-framework:nextfrom
Conversation
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
|
I was thinking that maybe instead of
Actually, the second solution is rather ugly and would be breaking the API anyway… |
|
Based on my last comment, I think we could keep the |
xstefank
left a comment
There was a problem hiding this comment.
For some reason, I'm allergic tothe word "facade" :D
I think sth like context.operatorUtils(), context.operations(), context.sdkOperations() would be better
Naming is always a good question :) Maybe |
just saw your comment now, why are you allergic? it is actually quite expressing notion |
|
For me utils suffix always impies some static functions... |
|
I'd vote for |
Sounds good, will change it, and finalize the PR. Thank you! |
|
I personally always find facade as an indication of an unnecessary abstraction layer. sound good to me too, now only misses an implementation |
...mework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/ResourceOperations.java
Outdated
Show resolved
Hide resolved
metacosm
left a comment
There was a problem hiding this comment.
I've made a couple of changes to make things clearer and, in some instances, more correct. I will open a subsequent issue regarding the handling of the primary resource, actually.
Signed-off-by: Chris Laprun <metacosm@gmail.com>
Sure, will check those Monday, we can interate on this more. I also want to create few additional issue. Thx! |
…om Context (#3142) Signed-off-by: Attila Mészáros <a_meszaros@apple.com> Signed-off-by: Chris Laprun <metacosm@gmail.com> Co-authored-by: Chris Laprun <metacosm@gmail.com>
…om Context (#3142) Signed-off-by: Attila Mészáros <a_meszaros@apple.com> Signed-off-by: Chris Laprun <metacosm@gmail.com> Co-authored-by: Chris Laprun <metacosm@gmail.com>
Signed-off-by: Attila Mészáros a_meszaros@apple.com