integration

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

This package contains all the integration suites for the pulumi program. The integration suites are used to test the pulumi program against a real deployed pulumi stack.

Index

Constants

This section is empty.

Variables

View Source
var TestsByExampleName = map[string][]string{
	// contains filtered or unexported fields
}

TestsByExampleName is a map of tests and their test cases. Please use this map to add new tests for examples.

Functions

This section is empty.

Types

type Decoded

type Decoded struct {
	Config *config.Config `yaml:"config"`
}

type Example

type Example struct {
	Name    string
	Decoded *config.Config
}

func DiscoverExample

func DiscoverExample(path string) (*Example, error)

func (*Example) NodesIDs

func (e *Example) NodesIDs() []string

func (*Example) UniqConfigsByNodes

func (e *Example) UniqConfigsByNodes() map[string]*config.NodeConfig

type Integration

type Integration struct {
	Example *Example
	Stack   auto.Stack
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context) (*Integration, error)

func (*Integration) Outputs

func (i *Integration) Outputs() (map[string]interface{}, error)

func (*Integration) UpWithRetry

func (i *Integration) UpWithRetry() error

func (*Integration) Validate

func (i *Integration) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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