-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
Refactor cmd/timoni
and extract reconciler logic to dedicated package
#366
Refactor cmd/timoni
and extract reconciler logic to dedicated package
#366
Conversation
errors.Decribe
and runtimebuild.BuildFiles
from cmd/timoni
cmd/timoni
987f974
to
ffa58de
Compare
b191e4c
to
16617a1
Compare
de904bc
to
0b9f5d7
Compare
@stefanprodan I've rebased and made it green, there is still some work, but maybe woth a quick review whenever you have a chance? |
d4e85da
to
8e2703d
Compare
8e2703d
to
ecc8139
Compare
@errordeveloper looks great so far. Will you be adding deletion to the reconciler package? |
I can add deletion methods in this PR or leave for another one, what would you prefer? |
I would leave it for another PR, this has lots of good things already, thank you! |
cmd/timoni
cmd/timoni
and extract reconciler logic to dedicated package
Ok, I have cleaned up most of the commits, just the last two need some attention. I can resolve sometime soon, but feel free to do it if you would like to merge. |
ecc8139
to
ab21055
Compare
Signed-off-by: Ilya Dmitrichenko <[email protected]>
Signed-off-by: Ilya Dmitrichenko <[email protected]>
Signed-off-by: Ilya Dmitrichenko <[email protected]>
Signed-off-by: Ilya Dmitrichenko <[email protected]>
ab21055
to
330e28f
Compare
all done now! |
Signed-off-by: Ilya Dmitrichenko <[email protected]>
Signed-off-by: Ilya Dmitrichenko <[email protected]>
Provide an interactive and non-interactive version that have different logging, ensure reasonanble level of reuse within each implementation Signed-off-by: Ilya Dmitrichenko <[email protected]>
- rename `apply.InstanceApplier` to `reconciler.Reconciler` - use separate files inside the package - move interactive functions to dedicated `reconciler.InteractiveReconciler` type Signed-off-by: Ilya Dmitrichenko <[email protected]>
It turns out that a bare function is not treated the same way as a struct when it comes to matching it to an interface Signed-off-by: Ilya Dmitrichenko <[email protected]>
Signed-off-by: Ilya Dmitrichenko <[email protected]>
330e28f
to
b8686f0
Compare
@stefanprodan should be good to merge now! |
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
Thanks @errordeveloper 🥇
Towards: #10