Documentation
¶
Index ¶
- Variables
- func PulumiRun[rArgs resourceArgs, pRes resources](ctx *Context, ...) (pRes, error)
- type Context
- func (c *Context) ClusterName() string
- func (c *Context) Context() *pulumi.Context
- func (c *Context) DumpStateToFile(deps []pulumi.Resource) error
- func (c *Context) FullName() string
- func (c *Context) Options() []pulumi.ResourceOption
- func (c *Context) State() *State
- func (c *Context) StatePath() string
- type State
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 ¶
func PulumiRun ¶ added in v0.1.0
func PulumiRun[rArgs resourceArgs, pRes resources]( ctx *Context, res func(*pulumi.Context, string, rArgs, ...pulumi.ResourceOption) (pRes, error), id string, args rArgs, additionalOptions ...pulumi.ResourceOption, ) (pRes, error)
PulumiRun is a wrapper for all pulumi resources in the program. Additional pulumi options will be added to the global option array.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func NewContext ¶
func (*Context) ClusterName ¶ added in v0.1.0
func (*Context) Options ¶
func (c *Context) Options() []pulumi.ResourceOption
Click to show internal directories.
Click to hide internal directories.