Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoadModuleFunc ¶
type LoadModuleFunc func() (starlark.StringDict, error)
LoadModuleFunc is a concurrency-safe and idempotent function that returns the module when is called from the `load` funcion.
type Runtime ¶
Runtime represents the AsCode runtime, it defines the available modules, the predeclared globals and handles how the `load` function behaves.
func NewRuntime ¶
func NewRuntime(pm *terraform.PluginManager) *Runtime
NewRuntime returns a new Runtime for the given terraform.PluginManager.
Click to show internal directories.
Click to hide internal directories.