pulumi/pkg/operations
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
..
testdata Don't include pending-delete resources in tree representation (#902) 2018-02-12 08:47:09 -08:00
operations.go Add support for `pulumi logs --since` when targeting cloud backend (#756) 2017-12-21 17:16:45 -08:00
operations_aws.go Have MakeKey fail if `namespace` contains a colon 2018-03-08 11:52:48 -08:00
operations_cloud_aws.go Introduce config.Key 2018-03-08 10:52:25 -08:00
operations_cloud_aws_test.go Fix long line 2018-01-30 10:52:42 -08:00
resources.go Introduce config.Key 2018-03-08 10:52:25 -08:00
resources_test.go Add a version property to checkpoints 2018-03-10 13:03:05 -08:00