tinkerbell / cluster-api-provider-tinkerbell

Cluster API Infrastructure Provider
Apache License 2.0
91 stars 35 forks source link

Reorganize and rename packages for improved cognitive load #379

Closed jacobweinstock closed 1 month ago

jacobweinstock commented 1 month ago

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: