terraform/plugin/discovery/test-fixtures
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
..
current-style-plugins/mockos_mockarch plugin/discovery: trim off .exe suffix when parsing filenames 2017-07-18 10:00:23 -07:00
legacy-style-plugins plugin/discovery: find plugins in a given set of directories 2017-06-09 14:03:59 -07:00
plugin-cache plugin/discovery: plugin caching mechanism 2017-09-29 14:03:09 -07:00
not-a-dir plugin/discovery: find plugins in a given set of directories 2017-06-09 14:03:59 -07:00