package
3.0.0+incompatible
Repository: https://github.com/eitol/terraform-internals.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
NewAdd returns an initialized Validate implementation.
NewApply returns an initialized Apply implementation for the given ViewType.
No description provided by the author
No description provided by the author
NewOutput returns an initialized Output implementation for the given ViewType.
NewPlan returns an initialized Plan implementation for the given ViewType.
NewRefresh returns an initialized Refresh implementation for the given ViewType.
FIXME: the show view should support both human and JSON types.
NewStateLocker returns an initialized StateLocker implementation for the given ViewType.
NewTest returns an implementation of Test configured to respect the settings described in the given arguments.
No description provided by the author
NewValidate returns an initialized Validate implementation for the given ViewType.
Initialize a View with the given streams, a disabled colorize object, and a no-op configSources callback.
# Constants
This version describes the schema of JSON UI messages.
# Structs
The ApplyHuman implementation renders human-readable text logs, suitable for a scrolling terminal.
The ApplyJSON implementation renders streaming JSON logs, suitable for integrating with other software.
No description provided by the author
No description provided by the author
No description provided by the author
The OutputHuman implementation renders outputs in a format equivalent to HCL source.
The OutputJSON implementation renders outputs as JSON values.
The OutputRaw implementation renders single string, number, or boolean output values directly and without quotes or other formatting.
The PlanHuman implementation renders human-readable text logs, suitable for a scrolling terminal.
The PlanJSON implementation renders streaming JSON logs, suitable for integrating with other software.
The RefreshHuman implementation renders human-readable text logs, suitable for a scrolling terminal.
The RefreshJSON implementation renders streaming JSON logs, suitable for integrating with other software.
No description provided by the author
StateLockerHuman is an implementation of StateLocker which prints status to a terminal.
No description provided by the author
The ValidateHuman implementation renders diagnostics in a human-readable form, along with a success/failure message if Terraform is able to execute the validation walk.
The ValidateJSON implementation renders validation results as a JSON object.
View is the base layer for command views, encapsulating a set of I/O streams, a colorize implementation, and implementing a human friendly view for diagnostics.
# Interfaces
Add is the view interface for the "terraform add" command.
The Apply view is used for the apply command.
No description provided by the author
The Output view renders either one or all outputs, depending on whether or not the name argument is empty.
The Plan view is used for the plan command.
The Refresh view is used for the refresh command.
FIXME: this is a temporary partial definition of the view for the show command, in place to allow access to the plan renderer which is now in the views package.
The StateLocker view is used to display locking/unlocking status messages if the state lock process takes longer than expected.
Test is the view interface for the "terraform test" command.
The Validate is used for the validate command.