This PR addresses issue #249. I have modified the getConfigVolume method to extract the configuration creation for each provider into an interface implemented by each corresponding struct
Initially, my idea was to place the provider structs in an internal package. However, the analyzeCommand does not export any parameters, and I didn't want to change that in this PR since I don't have enough context on the code.
I also considered refactoring other elements, such as separating the analyzeCommand itself from the execution context (which is currently also added to analyzeCommand). However, I decided not to address this in this PR because I wasn't entirely sure about the scope of the issue
@eemcmullan Should I address what I mention in this PR as well? Is there anything else I'm missing regarding the issue?
This PR addresses issue #249. I have modified the
getConfigVolume
method to extract the configuration creation for each provider into an interface implemented by each corresponding structInitially, my idea was to place the provider structs in an internal package. However, the
analyzeCommand
does not export any parameters, and I didn't want to change that in this PR since I don't have enough context on the code.I also considered refactoring other elements, such as separating the
analyzeCommand
itself from the execution context (which is currently also added toanalyzeCommand
). However, I decided not to address this in this PR because I wasn't entirely sure about the scope of the issue@eemcmullan Should I address what I mention in this PR as well? Is there anything else I'm missing regarding the issue?
Thanks!
CC @jmle