opentofu/config/module
James Bardin 0afd4a9097 Lookup registry module versions during Tree.Load.
Registry modules can't be handled directly by the getter.Storage
implementation, which doesn't know how to handle versions. First see if
we have a matching module stored that satisfies our constraints. If
not, and we're getting or updating, we can look it up in the registry.

This essentially takes the place of a "registry detector" for go-getter,
but required the intermediate step of resolving the version dependency.

This also starts breaking up the huge Tree.Load method into more
manageable parts. It was sorely needed, as indicated by the difficulty
encountered in this refactor. There's still a lot that can be done to
improve this, but at least there are now a few easier to read methods
when we come back to it.
2017-10-27 09:08:15 -04:00
..
test-fixtures failing test for changing intermediate modules 2017-10-27 09:08:15 -04:00
copy_dir.go Add proper build constraints for GH-7273 2016-06-23 08:02:32 -04:00
detector_test.go Use the new regsrc and response packages 2017-10-27 09:08:15 -04:00
get_test.go Lookup registry module versions during Tree.Load. 2017-10-27 09:08:15 -04:00
get.go remove the registryDetector 2017-10-27 09:08:15 -04:00
inode_freebsd.go build: Opt-in to building rather than opt-out 2016-07-29 18:40:31 -05:00
inode_windows.go build: Opt-in to building rather than opt-out 2016-07-29 18:40:31 -05:00
inode.go Fixed broken build for netbsd 2017-02-22 00:30:18 +08:00
module_test.go record the subdirectory in the FolderStorage 2017-09-22 22:03:38 -04:00
module.go implement provider inheritence during loading 2017-10-27 09:08:15 -04:00
registry_test.go a series of test commits 2017-10-27 09:08:15 -04:00
registry.go remove the registryDetector 2017-10-27 09:08:15 -04:00
storage.go Lookup registry module versions during Tree.Load. 2017-10-27 09:08:15 -04:00
testing.go config: add "backend" loading to the Terraform section 2017-01-26 14:33:49 -08:00
tree_gob_test.go terraform: Plan should use module.Tree 2014-09-24 14:56:48 -07:00
tree_gob.go config/module: store the path with the module 2015-04-07 16:37:46 -07:00
tree_test.go failing test for changing intermediate modules 2017-10-27 09:08:15 -04:00
tree.go Lookup registry module versions during Tree.Load. 2017-10-27 09:08:15 -04:00
validate_provider_alias.go config: smarter provider alias usage validation 2016-12-16 16:47:32 -08:00
versions_test.go Use the new regsrc and response packages 2017-10-27 09:08:15 -04:00
versions.go Use the new regsrc and response packages 2017-10-27 09:08:15 -04:00