terraform/internal/getproviders
Martin Atkins 8eff19e48f internal/getproviders: Initial implementation of FilesystemMirrorSource
This is a basic implementation of FilesystemMirrorSource for now aimed
only at the specific use-case of scanning the cache of provider plugins
Terraform will keep under the ".terraform" directory, as part of our
interim provider installer implementation for Terraform 0.13.

The full functionality of this will grow out in later work when we
implement explicit local filesystem mirrors, but for now the goal is to
use this just to inspect the work done by the automatic installer once
we switch it to the new provider-FQN-aware directory structure.

The various FIXME comments in this are justified by the limited intended
scope of this initial implementation, and they should be resolved by
later work to use FilesystemMirrorSource explicitly for user-specified
provider package mirrors.
2020-02-25 10:30:03 -05:00
..
testdata/filesystem-mirror internal/getproviders: Initial implementation of FilesystemMirrorSource 2020-02-25 10:30:03 -05:00
doc.go internal/getproviders: Query a provider registry 2020-01-10 09:41:27 -08:00
errors.go internal/getproviders: Query a provider registry 2020-01-10 09:41:27 -08:00
filesystem_mirror_source.go internal/getproviders: Initial implementation of FilesystemMirrorSource 2020-02-25 10:30:03 -05:00
filesystem_mirror_source_test.go internal/getproviders: Initial implementation of FilesystemMirrorSource 2020-02-25 10:30:03 -05:00
http_mirror_source.go internal/getproviders: Stub out the two mirror sources 2020-01-10 09:41:27 -08:00
legacy_lookup.go internal/getproviders: LookupLegacyProvider 2020-01-22 09:02:22 -08:00
legacy_lookup_test.go internal/getproviders: LookupLegacyProvider 2020-01-22 09:02:22 -08:00
memoize_source.go internal/getproviders: MemoizeSource for local caching of source responses 2020-01-10 09:41:27 -08:00
multi_source.go internal/getproviders: LookupLegacyProvider 2020-01-22 09:02:22 -08:00
registry_client.go internal/getproviders: Include Provider and Version in PackageMeta 2020-02-25 10:30:03 -05:00
registry_client_test.go internal/getproviders: LookupLegacyProvider 2020-01-22 09:02:22 -08:00
registry_source.go internal/getproviders: LookupLegacyProvider 2020-01-22 09:02:22 -08:00
registry_source_test.go internal/getproviders: Include Provider and Version in PackageMeta 2020-02-25 10:30:03 -05:00
source.go internal/getproviders: Source interface for generalization 2020-01-10 09:41:27 -08:00
types.go internal/getproviders: Initial implementation of FilesystemMirrorSource 2020-02-25 10:30:03 -05:00