terraform/internal/providercache
Kristin Laemmert 60321b41e8
getproviders: move protocol compatibility functions into registry client (#24846)
* internal/registry source: return error if requested provider version protocols are not supported

* getproviders: move responsibility for protocol compatibility checks into the registry client

The original implementation had the providercache checking the provider
metadata for protocol compatibility, but this is only relevant for the
registry source so it made more sense to move the logic into
getproviders.

This also addresses an issue where we were pulling the metadata for
every provider version until we found one that was supported. I've
extended the registry client to unmarshal the protocols in
`ProviderVersions` so we can filter through that list, instead of
pulling each version's metadata.
2020-05-11 13:49:12 -04:00
..
testdata internal: Verify provider signatures on install 2020-04-17 13:57:19 -04:00
cached_provider.go internal/providercache: Hashing of contents of cached packages 2020-04-06 09:24:23 -07:00
cached_provider_test.go internal/providercache: Hashing of contents of cached packages 2020-04-06 09:24:23 -07:00
dir.go tools/terraform-bundle: refactor to use new provider installer and provider directory layouts (#24629) 2020-04-21 17:09:29 -04:00
dir_modify.go internal: Verify provider signatures on install 2020-04-17 13:57:19 -04:00
dir_modify_test.go Fix broken test due to function rename 2020-04-22 10:52:49 -04:00
dir_test.go tools/terraform-bundle: refactor to use new provider installer and provider directory layouts (#24629) 2020-04-21 17:09:29 -04:00
doc.go providercache: A package to encapsulate management of provider cache dirs 2020-03-25 11:29:48 -07:00
installer.go getproviders: move protocol compatibility functions into registry client (#24846) 2020-05-11 13:49:12 -04:00
installer_events.go internal: Verify provider signatures on install 2020-04-17 13:57:19 -04:00
installer_test.go getproviders: move protocol compatibility functions into registry client (#24846) 2020-05-11 13:49:12 -04:00
lock_file.go internal/providercache: Fix positions on selections file/dir 2020-04-06 09:24:23 -07:00
package_install.go internal: Verify provider signatures on install 2020-04-17 13:57:19 -04:00