terraform/plugin/discovery
James Bardin 5f053a2e64 refactor GetProvider
Get provider needs to be provided with the plugin protocol version,
because it can't be imported here directly.

The plugin url types and methods were confusing; replace them with a few
functions to format the urls.
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.go plugin/discovery: handle the -Xn suffix used by auto-installed plugins 2017-06-09 14:03:59 -07:00
find_test.go plugin/discovery: handle the -Xn suffix used by auto-installed plugins 2017-06-09 14:03:59 -07:00
get.go refactor GetProvider 2017-06-09 14:03:59 -07:00
get_test.go check protocol version on plugins 2017-06-09 14:03:59 -07:00
meta.go plugin/discovery: use go-version instead of semver 2017-06-09 14:03:59 -07:00
meta_set.go rename some Constraints methods per code review 2017-06-09 14:03:59 -07:00
meta_set_test.go plugin/discovery: PluginRequirements can specify SHA256 digests 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
requirements.go plugin/discovery: PluginRequirements can specify SHA256 digests 2017-06-09 14:03:59 -07:00
requirements_test.go plugin/discovery: PluginRequirements can specify SHA256 digests 2017-06-09 14:03:59 -07:00
version.go Add Versions.Sort 2017-06-09 14:03:59 -07:00
version_set.go plugin/discovery: PluginRequirements can specify SHA256 digests 2017-06-09 14:03:59 -07:00
version_set_test.go rename some Constraints methods per code review 2017-06-09 14:03:59 -07:00
version_test.go Add Versions.Sort 2017-06-09 14:03:59 -07:00