pulumi

package
v0.0.0-...-89bdd0d Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrBug is returned when a bug is detected in the code.
	ErrBug = errors.New("probably a bug")

	// ErrUnexpected is returned when an unexpected error is encountered.
	ErrUnexpected = errors.New("unexpected")

	// ErrInvalidCode is returned when the pulumi fail to apply.
	ErrInvalidCode = errors.New("invalid Pulumi code")
)

Functions

func Setup

func Setup(ctx context.Context) error

Types

type ProjectConfig

type ProjectConfig struct {
	Stack   string
	Project string
	pulumi.RunFunc
}

type Stack

type Stack interface {
	Up(ctx context.Context, opts ...optup.Option) (auto.UpResult, error)
}

func CreateStack

func CreateStack(ctx context.Context, pc ProjectConfig) (Stack, error)

Jump to

Keyboard shortcuts

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