Documentation ¶
Overview ¶
Package optdestroy contains functional options to be used with stack destroy operations github.com/sdk/v2/go/x/auto Stack.Destroy(...optdestroy.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 DebugLogging ¶ added in v2.17.2
func DebugLogging(debugOpts debug.LoggingOptions) Option
func EventStreams ¶ added in v2.23.0
func EventStreams(channels ...chan<- events.EngineEvent) Option
EventStreams allows specifying one or more channels to receive the Pulumi event stream
func Parallel ¶
Parallel is the number of resource operations to run in parallel at once during the destroy (1 for no parallelism). Defaults to unbounded. (default 2147483647)
func ProgressStreams ¶ added in v2.10.1
ProgressStreams allows specifying one or more io.Writers to redirect incremental destroy output
func TargetDependents ¶
func TargetDependents() Option
TargetDependents allows updating of dependent targets discovered but not specified in the Target list
type Options ¶
type Options struct { // Parallel is the number of resource operations to run in parallel at once // (1 for no parallelism). Defaults to unbounded. (default 2147483647) Parallel int // Message (optional) to associate with the destroy operation Message string // Specify an exclusive list of resource URNs to update Target []string // Allows updating of dependent targets discovered but not specified in the Target list TargetDependents bool // ProgressStreams allows specifying one or more io.Writers to redirect incremental destroy output ProgressStreams []io.Writer // EventStreams allows specifying one or more channels to receive the Pulumi event stream EventStreams []chan<- events.EngineEvent // DebugLogOpts specifies additional settings for debug logging DebugLogOpts debug.LoggingOptions }
Options is an implementation detail