pulumi/pkg/engine
joeduffy 250bcb9751 Add a --json flag to the preview command
This change adds a --json flag to the preview command, enabling
basic JSON serialization of preview plans. This effectively flattens
the engine event stream into a preview structure that contains a list
of steps, diagnostics, and summary information. Each step contains
the deep serialization of resource state, in addition to metadata about
the step, such as what kind of operation it entails.

This is a partial implementation of pulumi/pulumi#2390. In particular,
we only support --json on the `preview` command itself, and not `up`,
meaning that it isn't possible to serialize the result of an actual
deployment yet (thereby limiting what you can do with outputs, etc).
2019-04-25 17:36:31 -07:00
..
destroy.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
diff.go Use Go Modules for dependency tracking 2019-04-10 08:37:51 +04:00
engine.go Add an API for importing stack outputs (#2180) 2018-11-14 13:33:35 -08:00
errors.go Show a better error message when decrypting fails (#1815) 2018-08-22 15:32:54 -07:00
events.go Add a --json flag to the preview command 2019-04-25 17:36:31 -07:00
eventsink.go Make a smattering of CLI UX improvements 2018-09-24 08:43:46 -07:00
lifecycle_test.go Add an ignoreChanges resource option (#2657) 2019-04-22 13:54:48 -07:00
plan.go Remove uses of plugins in the snapshot (#2662) 2019-04-23 09:53:44 -07:00
plugins.go Remove uses of plugins in the snapshot (#2662) 2019-04-23 09:53:44 -07:00
plugins_test.go Load default providers deterministically (#2590) 2019-03-26 13:29:34 -07:00
project.go Add license headers 2018-05-22 15:02:47 -07:00
refresh.go Use result.Result in more places. (#2568) 2019-03-19 16:21:50 -07:00
snapshot.go Remove uses of plugins in the snapshot (#2662) 2019-04-23 09:53:44 -07:00
update.go Remove uses of plugins in the snapshot (#2662) 2019-04-23 09:53:44 -07:00