terraform/internal/getproviders
Kristin Laemmert 8d28d73de3 getproviders: add a registry-specific error and modify output when a
provider is not found.

Previously a user would see the following error even if terraform was
only searching the local filesystem:

"provider registry registry.terraform.io does not have a provider named
...."

This PR adds a registry-specific error type and modifies the MultiSource
installer to check for registry errors. It will return the
registry-specific error message if there is one, but if not the error
message will list all locations searched.
2020-05-20 11:04:11 -04:00
..
testdata internal/getproviders: fix panic with invalid path parts (#24940) 2020-05-13 13:16:09 -04:00
doc.go internal/getproviders: Query a provider registry 2020-01-10 09:41:27 -08:00
errors.go getproviders: add a registry-specific error and modify output when a 2020-05-20 11:04:11 -04:00
filesystem_mirror_source.go getproviders: add a registry-specific error and modify output when a 2020-05-20 11:04:11 -04:00
filesystem_mirror_source_test.go internal/getproviders: fix panic with invalid path parts (#24940) 2020-05-13 13:16:09 -04:00
filesystem_search.go internal/getproviders: fix panic with invalid path parts (#24940) 2020-05-13 13:16:09 -04:00
http_mirror_source.go getproviders: add a registry-specific error and modify output when a 2020-05-20 11:04:11 -04:00
legacy_lookup.go command: Rework 0.13upgrade sub-command 2020-05-07 11:38:55 -04:00
legacy_lookup_test.go internal: Fix LookupLegacyProvider 2020-05-08 12:29:25 -04:00
memoize_source.go getproviders: add a registry-specific error and modify output when a 2020-05-20 11:04:11 -04:00
memoize_source_test.go getproviders: add a registry-specific error and modify output when a 2020-05-20 11:04:11 -04:00
mock_source.go getproviders: add a registry-specific error and modify output when a 2020-05-20 11:04:11 -04:00
multi_source.go getproviders: add a registry-specific error and modify output when a 2020-05-20 11:04:11 -04:00
multi_source_test.go getproviders: add a registry-specific error and modify output when a 2020-05-20 11:04:11 -04:00
package_authentication.go internal: Verify provider signatures on install 2020-04-17 13:57:19 -04:00
package_authentication_test.go internal: Verify provider signatures on install 2020-04-17 13:57:19 -04:00
public_keys.go internal: Verify provider signatures on install 2020-04-17 13:57:19 -04:00
registry_client.go getproviders: add a registry-specific error and modify output when a 2020-05-20 11:04:11 -04:00
registry_client_test.go internal/getproviders: Retry failed HTTP requests 2020-05-13 09:48:41 -04:00
registry_source.go getproviders: add a registry-specific error and modify output when a 2020-05-20 11:04:11 -04:00
registry_source_test.go internal/getproviders: Retry failed HTTP requests 2020-05-13 09:48:41 -04:00
source.go getproviders: add a registry-specific error and modify output when a 2020-05-20 11:04:11 -04:00
types.go getproviders: move protocol compatibility functions into registry client (#24846) 2020-05-11 13:49:12 -04:00