program

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoStateFile = errors.New("no state file")

ErrNoStateFile is returned when the state file is not found.

Functions

This section is empty.

Types

type Context

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

func NewContext

func NewContext(ctx *pulumi.Context, state *State, opts ...pulumi.ResourceOption) *Context

func (*Context) Context

func (c *Context) Context() *pulumi.Context

func (*Context) DumpStateToFile

func (c *Context) DumpStateToFile(deps []pulumi.Resource) error

func (*Context) Options

func (c *Context) Options() []pulumi.ResourceOption

func (*Context) State

func (c *Context) State() *State

type State

type State struct {
	IPAM *ipam.Data `yaml:",omitempty"`
}

func LoadStateFile

func LoadStateFile(ctx *pulumi.Context) (*State, error)

Jump to

Keyboard shortcuts

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