opentofu/internal/plugin6
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
..
convert [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
mock_proto [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
grpc_error.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
grpc_provider_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
grpc_provider.go Add basic global schema cache 2023-07-06 10:37:35 -04:00
serve.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00