c76260e957
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. |
||
---|---|---|
.. | ||
doc.go | ||
errors.go | ||
registry_client.go | ||
registry_client_test.go | ||
registry_source.go | ||
registry_source_test.go | ||
types.go |