We are passing in the configuration details to the plugin from the ncConfig file via the common package
|
providersToLoad[provider.tag] = module(provider.configPath); |
here the parameter for taking the configuration details from the ncConfig file is named options.
|
const ncAwsPlugin = options => { |
Similarly, the GCP plugin is also taking in the configuration details as a parameter named options.
|
const ncGcpPlugin = options => { |
It would be easy to understand if we rename the options as configuration details
We are passing in the configuration details to the plugin from the ncConfig file via the common package
nodecloud/packages/common/core/base-provider.js
Line 58 in c859719
here the parameter for taking the configuration details from the ncConfig file is named
options.nodecloud/packages/aws-plugin/index.js
Line 4 in c859719
Similarly, the GCP plugin is also taking in the configuration details as a parameter named
options.nodecloud/packages/gcp-plugin/index.js
Line 13 in c859719
It would be easy to understand if we rename the
optionsasconfiguration details