pulumi/pkg/backend/display.go
Matt Ellis db079b1b0a Emit richer events for resource steps
The engine now emits events with richer metadata during the
ResourceOutputs and ResourcePre callbacks. The CLI can then use this
information to decide if it should display the event or not and how
much of the event to display.

Options dealing with what to display and how to display it have moved
into the CLI and the engine now emits all information for each event.
2018-03-09 13:11:42 -08:00

14 lines
717 B
Go

// Copyright 2016-2017, Pulumi Corporation. All rights reserved.
package backend
import "github.com/pulumi/pulumi/pkg/diag/colors"
// DisplayOptions controls how the output of events are rendered
type DisplayOptions struct {
Color colors.Colorization // colorization to apply to events.
ShowConfig bool // true if we should show configuration information.
ShowReplacementSteps bool // true to show the replacement steps in the plan.
ShowSames bool // true to show the resources that aren't updated in addition to updates.
Summary bool // true if we should only summarize resources and operations.
}