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: encapsulate metadata in a struct #365

Merged
merged 1 commit into from
Jun 21, 2024
Merged

refactor: encapsulate metadata in a struct #365

merged 1 commit into from
Jun 21, 2024

Conversation

pmalek
Copy link
Member

@pmalek pmalek commented Jun 21, 2024

What this PR does / why we need it:

Refactors the metadata info so that it's the information is not available through exported variables but via a function that returns values from unexported variables.

This allows e.g. EE build to fill in its own metadata.Info and pass it around.

Special notes for your reviewer:

This is used in https://github.com/Kong/gateway-operator-enterprise/pull/194

@pmalek pmalek added this to the KGO v1.3.x milestone Jun 21, 2024
@pmalek pmalek requested a review from a team as a code owner June 21, 2024 11:50
@pmalek pmalek self-assigned this Jun 21, 2024
@pmalek pmalek merged commit cc48e68 into main Jun 21, 2024
20 checks passed
@pmalek pmalek deleted the metadata-arg branch June 21, 2024 13:01
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