opentofu/internal/providers
James Bardin 53901a7e62 Add basic global schema cache
Add a single global schema cache for providers. This allows multiple
provider instances to share a single copy of the schema, and prevents
loading the schema multiple times for a given provider type during a
single command.

This does not currently work with some provider releases, which are
using GetProviderSchema to trigger certain initializations. A new server
capability will be introduced to trigger reloading their schemas, but
not store duplicate results.
2023-07-06 10:37:35 -04:00
..
addressed_types_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
addressed_types.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
doc.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
factory.go remove unused factory functions 2023-07-06 10:37:35 -04:00
provider.go Add basic global schema cache 2023-07-06 10:37:35 -04:00
schema_cache.go Add basic global schema cache 2023-07-06 10:37:35 -04:00
schemas.go Add basic global schema cache 2023-07-06 10:37:35 -04:00