Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Allow WithConfig to create dynamic configs #220

Merged
merged 1 commit into from
May 5, 2022
Merged

Allow WithConfig to create dynamic configs #220

merged 1 commit into from
May 5, 2022

Conversation

scothis
Copy link
Contributor

@scothis scothis commented May 3, 2022

WithConfig#Config is now a function that has access to the context and
the current config. A custom config can be created for a specific parent
resource.

This would be a breaking change to WithConfig, except that it has not been released yet.

Signed-off-by: Scott Andrews andrewssc@vmware.com

WithConfig#Config is now a function that has access to the context and
the current config. A custom config can be created for a specific parent
resource.

Signed-off-by: Scott Andrews <andrewssc@vmware.com>
@codecov
Copy link

codecov bot commented May 3, 2022

Codecov Report

Merging #220 (456dff3) into main (2ac8d0c) will decrease coverage by 0.29%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##             main     #220      +/-   ##
==========================================
- Coverage   62.14%   61.84%   -0.30%     
==========================================
  Files           9        9              
  Lines         906      912       +6     
==========================================
+ Hits          563      564       +1     
- Misses        325      329       +4     
- Partials       18       19       +1     
Impacted Files Coverage Δ
reconcilers/reconcilers.go 79.34% <33.33%> (-0.66%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2ac8d0c...456dff3. Read the comment docs.

@scothis scothis merged commit 09aa7e9 into vmware-labs:main May 5, 2022
@scothis scothis deleted the dynamic-config branch May 5, 2022 23:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants