-
-
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
Commits on Jun 10, 2024
-
Factor out
applyInstance
function fromapply_bundle.go
(WIP)Signed-off-by: Ilya Dmitrichenko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 677a996 - Browse repository at this point
Copy the full SHA 677a996View commit details -
Adapt
applyInstance
function to suiteapply.go
(WIP)Signed-off-by: Ilya Dmitrichenko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dcbf2f7 - Browse repository at this point
Copy the full SHA dcbf2f7View commit details -
Get rid of global state from
applyInstance
(WIP)Signed-off-by: Ilya Dmitrichenko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d33ffb6 - Browse repository at this point
Copy the full SHA d33ffb6View commit details -
Correct
isStandaloneInstance
logicSigned-off-by: Ilya Dmitrichenko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a7181f5 - Browse repository at this point
Copy the full SHA a7181f5View commit details -
Create
internal/{apply,dyff,log}
(WIP)Signed-off-by: Ilya Dmitrichenko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0ff53bc - Browse repository at this point
Copy the full SHA 0ff53bcView commit details -
Undo moving of some logger function reliant on shared state
Signed-off-by: Ilya Dmitrichenko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e6526f7 - Browse repository at this point
Copy the full SHA e6526f7View commit details -
Split up applier logic into multiple functions
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]>
Configuration menu - View commit details
-
Copy full SHA for 90a26a3 - Browse repository at this point
Copy the full SHA 90a26a3View commit details -
- 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]>
Configuration menu - View commit details
-
Copy full SHA for 3448c57 - Browse repository at this point
Copy the full SHA 3448c57View commit details -
Simplify inteface definition to work with a bare function
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]>
Configuration menu - View commit details
-
Copy full SHA for 1564099 - Browse repository at this point
Copy the full SHA 1564099View commit details -
Refine ownership conflict error messages and fix associated tests
Signed-off-by: Ilya Dmitrichenko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b8686f0 - Browse repository at this point
Copy the full SHA b8686f0View commit details