opentofu/internal/providercache
Martin Atkins 807267d1b5 internal/providercache: Installation from HTTP URLs and local archives
When a provider source produces an HTTP URL location we'll expect it to
resolve to a zip file, which we'll first download to a temporary
directory and then treat it like a local archive.

When a provider source produces a local archive path we'll expect it to
be a zip file and extract it into the target directory.

This does not yet include an implementation of installing from an
already-unpacked local directory. That will follow in a subsequent commit,
likely following a similar principle as in Dir.LinkFromOtherCache.
2020-03-25 11:29:48 -07:00
..
testdata/cachedir providercache: A package to encapsulate management of provider cache dirs 2020-03-25 11:29:48 -07:00
cached_provider.go providercache: A package to encapsulate management of provider cache dirs 2020-03-25 11:29:48 -07:00
dir_modify_test.go internal/providercache: Linking from one cache to another 2020-03-25 11:29:48 -07:00
dir_modify.go internal/providercache: Installation from HTTP URLs and local archives 2020-03-25 11:29:48 -07:00
dir_test.go providercache: A package to encapsulate management of provider cache dirs 2020-03-25 11:29:48 -07:00
dir.go providercache: A package to encapsulate management of provider cache dirs 2020-03-25 11:29:48 -07:00
doc.go providercache: A package to encapsulate management of provider cache dirs 2020-03-25 11:29:48 -07:00
installer_events.go internal/providercache: First pass of the actual install process 2020-03-25 11:29:48 -07:00
installer.go internal/providercache: Installation from HTTP URLs and local archives 2020-03-25 11:29:48 -07:00
package_install.go internal/providercache: Installation from HTTP URLs and local archives 2020-03-25 11:29:48 -07:00