pulumi/pkg/resource
Matt Ellis 936cab0c22 Add a version property to checkpoints
This takes the existing `apitype.Checkpoint` type and renames it to
`apitype.CheckpointV1` locking in the shape. In addition, we introduce
a `apitype.VersionedCheckpoint` type, which holds a version number and
a json document representing a checkpoint at that version. Now, when
reading a checkpoint, the CLI can determine if it's in a format it
understands, and fail gracefully if it is not.

While the CLI understands the older checkpoint version, it always
writes the newest version format, meaning that if you manage a
fire-and-forget stack with this version of the CLI, it will be
un-readable by previous versions.

Stacks managed by Pulumi.com are not impacted by this change.

Fixes: #887
2018-03-10 13:03:05 -08:00
..
config Filter secrets from Pulumi's outputs 2018-03-09 13:23:25 -08:00
deploy Improve error messages output by the CLI (#1011) 2018-03-09 15:43:16 -08:00
plugin Improve error messages output by the CLI (#1011) 2018-03-09 15:43:16 -08:00
provider Implement the Python langhost RPC server 2018-02-23 19:33:02 -08:00
stack Add a version property to checkpoints 2018-03-10 13:03:05 -08:00
testdata Fix asset bugs; write more tests 2017-10-24 09:00:11 -07:00
asset.go Close assets while creating ZIP archives. 2017-12-12 10:38:27 -08:00
asset_test.go Close assets while creating ZIP archives. 2017-12-12 10:38:27 -08:00
errors.go Rename pulumi-fabric to pulumi 2017-09-21 19:18:21 -07:00
properties.go Introduce Output<T> and update Resource construction code to properly handle it. (#834) 2018-02-05 14:44:23 -08:00
properties_diff.go Add diffing logic for assets/archives 2017-07-17 12:11:15 -07:00
properties_diff_test.go Rework asset identity and exposure of old assets. (#548) 2017-11-12 11:45:13 -08:00
properties_test.go Tolerate computed and output properties 2017-08-03 11:01:38 -07:00
resource_goal.go Save resource dependency information in the checkpoint file 2018-02-21 17:49:09 -08:00
resource_id.go Remove a few outdated references (#997) 2018-03-04 13:34:20 -08:00
resource_id_test.go Reparameterize NewUniqueHex/ID 2017-12-10 07:44:11 -08:00
resource_state.go Save resource dependency information in the checkpoint file 2018-02-21 17:49:09 -08:00
stack.go Elide the root stack in parent URNs 2017-12-05 13:41:26 -08:00
status.go Wire up Lumi to the new runtime strategy 2017-09-04 11:35:21 -07:00
urn.go Remove a few outdated references (#997) 2018-03-04 13:34:20 -08:00
urn_test.go Eliminate type redundancy 2018-02-28 12:44:55 -08:00