Documentation ¶
Overview ¶
Package repl provides the structs and functions necessary to run REPL for OpenTofu. The REPL allows experimentation of OpenTofu interpolations without having to run a OpenTofu configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatValue ¶
FormatValue formats a value in a way that resembles OpenTofu language syntax and uses the type conversion functions where necessary to indicate exactly what type it is given, so that equality test failures can be quickly understood.
Types ¶
type Session ¶
type Session struct { // Scope is the evaluation scope where expressions will be evaluated. Scope *lang.Scope }
Session represents the state for a single REPL session.
Click to show internal directories.
Click to hide internal directories.