Documentation ¶
Overview ¶
Package optremotedestroy contains functional options to be used with remote stack destroy operations github.com/sdk/v3/go/auto RemoteStack.Destroy(...optremotedestroy.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.Destroy() operation
func ErrorProgressStreams ¶
ErrorProgressStreams allows specifying one or more io.Writers to redirect incremental destroy 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 destroy stdout
type Options ¶
type Options struct { // ProgressStreams allows specifying one or more io.Writers to redirect incremental destroy stdout ProgressStreams []io.Writer // ProgressStreams allows specifying one or more io.Writers to redirect incremental destroy 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.