terraform/plugin
Martin Atkins 879899d434 plugin/discovery: plugin caching mechanism
For users that have metered or slow internet connections it is annoying
to have Terraform constantly re-downloading the same files when they
initialize many separate directories.

To help such users, here we add an opt-in mechanism to use a local
directory as a read-through cache. When enabled, any plugin download will
be skipped if a suitable file already exists in the cache directory. If
the desired plugin isn't in the cache, it will be downloaded into the
cache for use next time.

This mechanism also serves to reduce total disk usage by allowing
plugin files to be shared between many configurations, as long as the
target system isn't Windows and supports either hardlinks or symlinks.
2017-09-29 14:03:09 -07:00
..
discovery plugin/discovery: plugin caching mechanism 2017-09-29 14:03:09 -07:00
client.go specify a logger for go-plugin 2017-08-15 14:34:04 -04:00
plugin.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
plugin_test.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
resource_provider.go plugin: implement ResourceProvider.Stop 2016-10-25 12:08:36 -07:00
resource_provider_test.go plugin: implement ResourceProvider.Stop 2016-10-25 12:08:36 -07:00
resource_provisioner.go plugin: add ResourceProvisioner.Stop API 2017-01-26 15:03:27 -08:00
resource_provisioner_test.go plugin: add ResourceProvisioner.Stop API 2017-01-26 15:03:27 -08:00
serve.go plugin: bump protocol version 2017-03-01 14:42:33 -08:00
ui_input.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
ui_input_test.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
ui_output.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00
ui_output_test.go Use hashicorp/go-plugin for plugin system 2016-05-10 14:14:47 -04:00