pulumi/pkg/codegen/hcl2
Pat Gavlin d07c3698e5
[codegen/{hcl2,schema}] Abstract package loading. (#4975)
Instead of requiring a plugin host for package loading in the HCL2
binder, define a much narrower interface that exposes the ability to
fetch the schema for a package at a specific version. This interface is
defined in the schema package, which also exposes a caching loader that
is backed by provider plugins.

These changes also add some convenience methods to `*schema.Package` for
fast access to particular resources and functions.

Related to #1635.
2020-07-07 14:45:18 -07:00
..
model [hcl2] Fix tokenless body item printing. (#4974) 2020-07-07 13:46:26 -07:00
syntax [hcl2] Fix tokenless body item printing. (#4974) 2020-07-07 13:46:26 -07:00
binder.go [codegen/{hcl2,schema}] Abstract package loading. (#4975) 2020-07-07 14:45:18 -07:00
binder_nodes.go [codegen] Add support for caching package schemas. (#4534) 2020-04-30 13:22:24 -07:00
binder_resource.go [codegen/*] Add support for resource options. (#4925) 2020-06-29 16:33:52 -07:00
binder_schema.go [codegen/{hcl2,schema}] Abstract package loading. (#4975) 2020-07-07 14:45:18 -07:00
binder_schema_test.go [codegen/{hcl2,schema}] Abstract package loading. (#4975) 2020-07-07 14:45:18 -07:00
binder_test.go [codegen] Add support for caching package schemas. (#4534) 2020-04-30 13:22:24 -07:00
component.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
config.go Codegen: collect imports from function calls. (#4445) 2020-04-21 10:24:42 -07:00
diagnostics.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
functions.go [codegen/*] Add support for explicit secrets. (#4927) 2020-06-30 11:35:24 -07:00
intrinsics.go [Go Program Gen] Improved type handling and invokes (#4749) 2020-06-05 18:52:00 -07:00
invoke.go [codegen/nodejs] Await invokes in async contexts. (#4598) 2020-05-11 10:21:56 -07:00
local.go Codegen: collect imports from function calls. (#4445) 2020-04-21 10:24:42 -07:00
output.go Codegen: collect imports from function calls. (#4445) 2020-04-21 10:24:42 -07:00
program.go Resolve referenced packages for every TF program (#4636) 2020-05-15 19:18:07 +02:00
resource.go [codegen/*] Add support for resource options. (#4925) 2020-06-29 16:33:52 -07:00
rewrite_apply.go [codegen/hcl2] Fix iterator apply rewrites. (#4589) 2020-05-07 12:15:40 -07:00
rewrite_apply_test.go [codegen/hcl2] Fix iterator apply rewrites. (#4589) 2020-05-07 12:15:40 -07:00
rewrite_convert.go [codegen/hcl2] Fixes for RewriteConversions. (#4743) 2020-06-02 12:00:35 -07:00
rewrite_convert_test.go [codegen/hcl2] Fixes for RewriteConversions. (#4743) 2020-06-02 12:00:35 -07:00
rewrite_properties.go [codegen/*] Add support for resource options. (#4925) 2020-06-29 16:33:52 -07:00
type.go Various codegen updates. (#4424) 2020-04-16 16:44:34 -07:00
utilities.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00