-
Notifications
You must be signed in to change notification settings - Fork 278
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
Move all Kinds into the package kinds #2244
Conversation
Hi @robertvolkmann |
You're right, I can also move them one level up. In the end, the registration of the kinds is no longer part of the |
I think the end goal is twofold
The clab package registering kinds is OK, because it does not prevent points 1 and 2 above to be achieved. |
Yes, so in #1944 the plan was to have a specific kind_registry that you can query with kind name and retrieve additional information about that kind. One of the issues was e.g. the creadentials, they are set as a global var in the package. Also in that PR I wanted to move the kind implementations into kinds/types which in my view made sense. In the End this is not the most essenstial step in providing clab as a proper library, which amongst others includes decoupling the cmd package from the rest, but this is definetely a step in the right direction. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2244 +/- ##
==========================================
- Coverage 52.12% 51.32% -0.80%
==========================================
Files 172 174 +2
Lines 12714 16605 +3891
==========================================
+ Hits 6627 8523 +1896
- Misses 5174 7163 +1989
- Partials 913 919 +6
|
Continuation of #1944