terraform/config/module
Martin Atkins 288f7c00e4 config/module: allow registry download sources to be relative paths
It's not always easy or convenient for a web application to determine its
own absolute URL to return, so here we pragmatically allow the download
source string from a registry to be a path relative to the download
endpoint.

Since X-Terraform-Get is a go-getter string, not all valid values are
valid URLs and so we sniff for certain relative-path-looking prefixes
in order to decide whether to apply the relative lookup transform.
2017-10-30 10:37:25 -07: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 update test for error condition 2017-10-27 09:08:15 -04:00
get.go remove the registryDetector 2017-10-27 09:08:15 -04:00
get_test.go config/module: allow registry download sources to be relative paths 2017-10-30 10:37:25 -07:00
inode.go Fixed broken build for netbsd 2017-02-22 00:30:18 +08: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
module.go implement provider inheritence during loading 2017-10-27 09:08:15 -04:00
module_test.go add credentials to module.Storage 2017-10-27 16:16:35 -04:00
registry.go config/module: allow registry download sources to be relative paths 2017-10-30 10:37:25 -07:00
registry_test.go config/module: allow registry download sources to be relative paths 2017-10-30 10:37:25 -07:00
storage.go Storage.GetModule 2017-10-27 19:17:26 -04:00
storage_test.go Storage.GetModule 2017-10-27 19:17:26 -04:00
testing.go rename ModuleStorage to Storage 2017-10-27 13:11:21 -04:00
tree.go rename ModuleStorage to Storage 2017-10-27 13:11:21 -04:00
tree_gob.go config/module: store the path with the module 2015-04-07 16:37:46 -07:00
tree_gob_test.go add credentials to module.Storage 2017-10-27 16:16:35 -04:00
tree_test.go add credentials to module.Storage 2017-10-27 16:16:35 -04:00
validate_provider_alias.go config: smarter provider alias usage validation 2016-12-16 16:47:32 -08:00
versions.go Use the new regsrc and response packages 2017-10-27 09:08:15 -04:00
versions_test.go Use the new regsrc and response packages 2017-10-27 09:08:15 -04:00