9b4f15c261
Having this as a method of PluginMeta felt most natural, but unfortunately that means that discovery must depend on plugin and plugin in turn depends on core Terraform, thus making the discovery package hard to use without creating dependency cycles. To resolve this, we invert the dependency and make the plugin package be responsible for instantiating clients given a meta, using a top-level function. |
||
---|---|---|
.. | ||
discovery | ||
client.go | ||
plugin.go | ||
plugin_test.go | ||
resource_provider.go | ||
resource_provider_test.go | ||
resource_provisioner.go | ||
resource_provisioner_test.go | ||
serve.go | ||
ui_input.go | ||
ui_input_test.go | ||
ui_output.go | ||
ui_output_test.go |