pulumi/sdk/go/common/resource
Pat Gavlin 249140242e
Add support for provider-side preview. (#5443)
These changes add support for provider-side previews of create and
update operations, which allows resource providers to supply output
property values for resources that are being created or updated during a
preview.

If a plugin supports provider-side preview, its create/update methods
will be invoked during previews with the `preview` property set to true.
It is the responsibility of the provider to fill in any output
properties that are known before returning. It is a best practice for
providers to only fill in property values that are guaranteed to be
identical if the preview were instead an update (i.e. only those output
properties whose values can be conclusively determined without
actually performing the create/update operation should be populated).
Providers that support previews must accept unknown values in their
create and update methods.

If a plugin does not support provider-side preview, the inputs to a
create or update operation will be propagated to the outputs as they are
today.

Fixes #4992.
2020-10-09 13:13:55 -07:00
..
config Add the ability to copy configs between stacks (#4971) 2020-07-17 11:14:10 +01:00
plugin Add support for provider-side preview. (#5443) 2020-10-09 13:13:55 -07:00
asset.go support jar files 2020-08-10 14:15:35 -07:00
asset_test.go add initial pull-request workflow (#5276) 2020-09-09 13:37:03 -07:00
custom_timeouts.go move pkg/resource -> sdk/go/common/resource, but leave nested resource packages 2020-03-18 13:36:19 -07:00
errors.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
properties.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
properties_diff.go move pkg/resource -> sdk/go/common/resource, but leave nested resource packages 2020-03-18 13:36:19 -07:00
properties_diff_test.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
properties_path.go Implement PropertyPath.Add. (#4976) 2020-07-07 14:45:36 -07:00
properties_path_test.go Implement PropertyPath.Add. (#4976) 2020-07-07 14:45:36 -07:00
properties_test.go fix unknown status for secrets wrapping unknowns (#4377) 2020-04-13 22:47:08 +01:00
resource_goal.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
resource_id.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
resource_id_test.go move pkg/resource -> sdk/go/common/resource, but leave nested resource packages 2020-03-18 13:36:19 -07:00
resource_operation.go move pkg/resource -> sdk/go/common/resource, but leave nested resource packages 2020-03-18 13:36:19 -07:00
resource_state.go Avoid replace on second update with import applied (#4403) 2020-04-15 18:52:40 -07:00
stack.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
status.go move pkg/resource -> sdk/go/common/resource, but leave nested resource packages 2020-03-18 13:36:19 -07:00
urn.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
urn_test.go Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00