This repository has been archived by the owner on Jul 25, 2022. It is now read-only.
introduce new packages #479
Labels
lifecycle/rotten
Nobody worked on this for 12 months (final aging stage)
Hi all,
I want to discuss a generic question about gardenctl packages.
Currently there only one global package cmd with a very global scope. What you thinking about to introduce packages like this:
It will increase testability, reduce scope, make refactoring simpler, will allow us to use the same packages for testing (currently we use cmd_test and can’t test non-public methods), and as a side effect will let you control our dependencies graph better in terms that gardenctl itself will depend (in the code) on hermesctl but not another way around.
I’m not sure, but I suspect
Target
used everywhere and everything depends on it.In the future, it will let us reuse these submodules independently in other projects?!
The text was updated successfully, but these errors were encountered: