opentofu/plugin/discovery
Martin Atkins 551bc9c4a4 plugin/discovery: build plugin clients
These new methods ClientConfig and Client provide the bridge into the
main plugin infrastructure by configuring and instantiating (respectively)
a client object for the referenced plugin.

This stops short of getting the proxy object from the client since that
then requires referencing the interface for the plugin kind, which would
then create a dependency on the main terraform package which we'd rather
avoid here. It'll be the responsibility of the caller in the command
package to do the final wiring to get a provider instance out of a
provider plugin client.
2017-06-09 14:03:59 -07:00
..
test-fixtures plugin/discovery: find plugins in a given set of directories 2017-06-09 14:03:59 -07:00
find_test.go plugin/discovery: find plugins in a given set of directories 2017-06-09 14:03:59 -07:00
find.go plugin/discovery: find plugins in a given set of directories 2017-06-09 14:03:59 -07:00
meta_set_test.go plugin/discovery: helpers for wrangling plugin versions 2017-06-09 14:03:59 -07:00
meta_set.go plugin/discovery: helpers for wrangling plugin versions 2017-06-09 14:03:59 -07:00
meta_test.go plugin/discovery: SHA256() method to get the hash of each plugin 2017-06-09 14:03:59 -07:00
meta.go plugin/discovery: build plugin clients 2017-06-09 14:03:59 -07:00