pulumi

package
v0.0.0-...-4099afb Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// EnvAutomaionAPIAddr is an environment variable name for API server address.
	EnvAutomaionAPIAddr = "AUTOMATION_API_HTTP_ADDR" //nolint: gosec // This is not credentials
)

Variables

This section is empty.

Functions

Types

type Pulumi

type Pulumi struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, logger *zap.Logger, name, workDir, command string, diff bool) (*Pulumi, error)

func (*Pulumi) AttachToAPIServer

func (p *Pulumi) AttachToAPIServer(addr string)

func (*Pulumi) Destroy

func (p *Pulumi) Destroy(ctx context.Context) error

func (*Pulumi) GetConfig

func (p *Pulumi) GetConfig(name string) (string, error)

func (*Pulumi) GetMode

func (p *Pulumi) GetMode() string

func (*Pulumi) IsPreview

func (p *Pulumi) IsPreview() bool

func (*Pulumi) Preview

func (p *Pulumi) Preview(ctx context.Context, realtimeSteamToStdout bool) ([]events.EngineEvent, error)

func (*Pulumi) Up

func (p *Pulumi) Up(ctx context.Context) error

Jump to

Keyboard shortcuts

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