Skip to content

Conversation

jacobweinstock
Copy link
Member

@jacobweinstock jacobweinstock commented Jun 26, 2024

Description

Packages in Go should generally be singular in name. So the pkg controllers was renamed to controller. The 2 controllers, tinkerbellcluster and tinkerbellmachine were put into their own packages. This was done to help improve the cognitive load for understanding and maintaining this repo.

Additional files in the machine package were created to also help with the cognitive load of that controller.

Note

No functionality has been changed.

Why is this needed

Fixes: #

How Has This Been Tested?

How are existing users impacted? What migration steps/scripts do we need?

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

Packages in Go should generally be singular
in name. So the pkg `controllers` was renamed to
`controller`. The 2 controllers, tinkerbellcluster
and tinkerbellmachine were put into their own packages.
This was done to help improve the cognitive load for
understanding and maintaining this repo.

Additional files in the machine package were created
to also help with the cognitive load of that controller.

Signed-off-by: Jacob Weinstock <[email protected]>
Clean up missed from the reorg.

Signed-off-by: Jacob Weinstock <[email protected]>
@jacobweinstock jacobweinstock removed the request for review from chrisdoherty4 June 26, 2024 18:55
@jacobweinstock jacobweinstock mentioned this pull request Jun 26, 2024
3 tasks
@jacobweinstock jacobweinstock merged commit 99d924a into tinkerbell:main Jun 28, 2024
@jacobweinstock jacobweinstock deleted the file-reorg branch June 28, 2024 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant