mirror of https://github.com/pulumi/pulumi.git
936cab0c22
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 |
||
---|---|---|
.. | ||
config | ||
deploy | ||
plugin | ||
provider | ||
stack | ||
testdata | ||
asset.go | ||
asset_test.go | ||
errors.go | ||
properties.go | ||
properties_diff.go | ||
properties_diff_test.go | ||
properties_test.go | ||
resource_goal.go | ||
resource_id.go | ||
resource_id_test.go | ||
resource_state.go | ||
stack.go | ||
status.go | ||
urn.go | ||
urn_test.go |