package
1.12.0-alpha20250213
Repository: https://github.com/hashicorp/terraform.git
Documentation: pkg.go.dev
# Functions
New returns a new initialized local backend.
NewWithBackend returns a new local backend initialized with a dedicated backend for non-enhanced behavior.
TestLocal returns a configured Local struct with temporary paths and in-memory ContextOpts.
TestLocalProvider modifies the ContextOpts of the *Local parameter to have a provider with the given name.
TestNewLocalNoDefault is a factory for creating a TestLocalNoDefaultState.
TestNewLocalSingle is a factory for creating a TestLocalSingleState.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Local is an implementation of EnhancedBackend that performs all operations locally.
StateHook is a hook that continuously updates the state by calling WriteState on a statemgr.Full.
No description provided by the author
TestLocalNoDefaultState is a backend implementation that wraps Local and modifies it to support named states, but not the default state.
TestLocalSingleState is a backend implementation that wraps Local and modifies it to only support single states (returns ErrWorkspacesNotSupported for multi-state operations).
No description provided by the author