terraform/internal/getproviders
Martin Atkins c76260e957 internal/getproviders: Query a provider registry
Our existing provider installer was originally built to work with
releases.hashicorp.com and later retrofitted to talk to the official
Terraform Registry. It also assumes a flat namespace of providers.

We're starting a new one here, copying and adapting code from the old one
as necessary, so that we can build out this new API while retaining all
of the existing functionality and then cut over to this new implementation
in a later step.

Here we're creating a foundational component for the new installer, which
is a mechanism to query for the available versions and download locations
of a particular provider.

Subsequent commits in this package will introduce other Source
implementations for installing from network and filesystem mirrors.
2020-01-10 09:41:27 -08:00
..
doc.go internal/getproviders: Query a provider registry 2020-01-10 09:41:27 -08:00
errors.go internal/getproviders: Query a provider registry 2020-01-10 09:41:27 -08:00
registry_client.go internal/getproviders: Query a provider registry 2020-01-10 09:41:27 -08:00
registry_client_test.go internal/getproviders: Query a provider registry 2020-01-10 09:41:27 -08:00
registry_source.go internal/getproviders: Query a provider registry 2020-01-10 09:41:27 -08:00
registry_source_test.go internal/getproviders: Query a provider registry 2020-01-10 09:41:27 -08:00
types.go internal/getproviders: Query a provider registry 2020-01-10 09:41:27 -08:00