Documentation ¶
Overview ¶
Package optremotepreview contains functional options to be used with remote stack preview operations github.com/sdk/v3/go/auto RemoteStack.Preview(...optremotepreview.Option)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option interface {
ApplyOption(*Options)
}
Option is a parameter to be applied to a Stack.Preview() operation
func ErrorProgressStreams ¶
ErrorProgressStreams allows specifying one or more io.Writers to redirect incremental preview stderr
func EventStreams ¶
func EventStreams(channels ...chan<- events.EngineEvent) Option
EventStreams allows specifying one or more channels to receive the Pulumi event stream
func ProgressStreams ¶
ProgressStreams allows specifying one or more io.Writers to redirect incremental preview stdout
type Options ¶
type Options struct { // ProgressStreams allows specifying one or more io.Writers to redirect incremental preview stdout ProgressStreams []io.Writer // ErrorProgressStreams allows specifying one or more io.Writers to redirect incremental preview stderr ErrorProgressStreams []io.Writer // EventStreams allows specifying one or more channels to receive the Pulumi event stream EventStreams []chan<- events.EngineEvent }
Options is an implementation detail
Click to show internal directories.
Click to hide internal directories.