Skip to content
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: Setup function per api group #1827

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

MisterMX
Copy link
Collaborator

@MisterMX MisterMX commented Aug 4, 2023

Description of your changes

This encapsulates all controller setups in a dedicated Setup function per API group. It reduces the size and complexity of the root setup function in pkg/controller/aws.go.

This change required the moving a some helper code files (i.e. tags.go) into their own utils packages.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

n.a.

@MisterMX MisterMX requested a review from haarchri August 4, 2023 09:14
Signed-off-by: Maximilian Blatt (external expert on behalf of DB Netz) <maximilian.blatt-extern@deutschebahn.com>
@MisterMX MisterMX merged commit 8585099 into crossplane-contrib:master Aug 28, 2023
8 checks passed
@MisterMX MisterMX deleted the refactor/setup branch August 28, 2023 08:03
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.

2 participants