optnewstack

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewStackOpt

type NewStackOpt interface {
	Apply(*NewStackOptions)
}

func DisableAutoDestroy

func DisableAutoDestroy() NewStackOpt

DisableAutoDestroy will skip running `pulumi destroy` at the end of the test.

func EnableAutoDestroy

func EnableAutoDestroy() NewStackOpt

EnableAutoDestroy will ensure run `pulumi destroy` at the end of the test.

func WithOpts

func WithOpts(opts ...auto.LocalWorkspaceOption) NewStackOpt

WithOpts adds additional workspace options for the context of the run.

type NewStackOptions

type NewStackOptions struct {
	SkipDestroy bool
	Opts        []auto.LocalWorkspaceOption
}

func Defaults

func Defaults() NewStackOptions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL