pulumi/pkg/resource
joeduffy 22584e7e37 Make some resource model changes
This commit changes two things about our resource model:

* Stop performing Pulumi Engine-side diffing of resource state.
  Instead, we defer to the resource plugins themselves to determine
  whether a change was made and, if so, the extent of it.  This
  manifests as a simple change to the Diff function; it is done in
  a backwards compatible way so that we continue with legacy diffing
  for existing resource provider plugins.

* Add a Read RPC method for resource providers.  It simply takes a
  resource's ID and URN, plus an optional bag of further qualifying
  state, and it returns the current property state as read back from
  the actual live environment.  Note that the optional bag of state
  must at least include enough additional properties for resources
  wherein the ID is insufficient for the provider to perform a lookup.
  It may, however, include the full bag of prior state, for instance
  in the case of a refresh operation.

This is part of pulumi/pulumi#1108.
2018-04-05 08:14:25 -07:00
..
config Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
deploy Make some resource model changes 2018-04-05 08:14:25 -07:00
plugin Make some resource model changes 2018-04-05 08:14:25 -07:00
provider Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
stack Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
testdata Fix asset bugs; write more tests 2017-10-24 09:00:11 -07:00
asset.go Include richer information in events so that final display can flexibly chose how to present it. (#1088) 2018-03-31 12:08:48 -07:00
asset_test.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
errors.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
properties.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
properties_diff.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
properties_diff_test.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
properties_test.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
resource_goal.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
resource_id.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
resource_id_test.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
resource_state.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
stack.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
status.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
urn.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00
urn_test.go Update the copyright end date to 2018. (#1068) 2018-03-21 12:43:21 -07:00