pulumi/pkg/resource
joeduffy 5fb014e53c Explicitly track default properties
This changes the RPC interfaces between Lumi and provider ever so
slightly, so that we can track default properties explicitly.  This
is required to perform accurate diffing between inputs provided by
the developer, inputs provided by the system, and outputs.  This is
particularly important for default values that may be indeterminite,
such as those we use in the bridge to auto-generate unique IDs.
Otherwise, we fail to reapply defaults correctly, and trick the
provider into thinking that properties changed when they did not.

This is a small step towards pulumi/lumi#306, in which we will defer
even more responsibility for diffing semantics to the providers.
2017-07-31 18:26:15 -07:00
..
deploy Explicitly track default properties 2017-07-31 18:26:15 -07:00
environment Explicitly track default properties 2017-07-31 18:26:15 -07:00
idl Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
plugin Explicitly track default properties 2017-07-31 18:26:15 -07:00
provider Make assets and archives 1st class 2017-07-14 12:28:43 -07:00
asset.go Add a sig field to Asset/Archive 2017-07-18 09:30:31 -07:00
asset_test.go Add some more asset serialization round-tripping tests 2017-07-17 11:30:10 -07:00
config.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
errors.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
properties.go Explicitly track default properties 2017-07-31 18:26:15 -07:00
properties_diff.go Add diffing logic for assets/archives 2017-07-17 12:11:15 -07:00
properties_diff_test.go Add diffing logic for assets/archives 2017-07-17 12:11:15 -07:00
properties_test.go Add a handy Copy function to PropertyMap 2017-07-21 14:00:30 -07:00
resource.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
resource_id.go Permit -1 for randlen and maxlen 2017-07-15 09:59:44 -07:00
resource_id_test.go Permit -1 for randlen and maxlen 2017-07-15 09:59:44 -07:00
resource_object.go Explicitly track default properties 2017-07-31 18:26:15 -07:00
resource_state.go Explicitly track default properties 2017-07-31 18:26:15 -07:00
urn.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00
urn_test.go Clarify aspects of using the DCO 2017-06-26 14:46:34 -07:00