MCPcopy
hub / github.com/opentofu/opentofu / Output

Interface Output

internal/command/views/output.go:28–31  ·  view source on GitHub ↗

The Output view renders either one or all outputs, depending on whether or not the name argument is empty.

Source from the content-addressed store, hash-verified

26// The Output view renders either one or all outputs, depending on whether or
27// not the name argument is empty.
28type Output interface {
29 Output(name string, outputs map[string]*states.OutputValue) tfdiags.Diagnostics
30 Diagnostics(diags tfdiags.Diagnostics)
31}
32
33// NewOutput returns an initialized Output implementation for the given ViewType.
34func NewOutput(args arguments.ViewOptions, view *View) Output {

Callers 13

RunMethod · 0.95
TestOutputHuman_singleFunction · 0.95
TestOutput_sensitiveFunction · 0.95
TestOutput_allFunction · 0.95
TestOutputJSON_emptyFunction · 0.95
TestOutput_emptyWarningFunction · 0.95
TestOutputRawFunction · 0.95
TestOutputRaw_allFunction · 0.95
RunMethod · 0.95
DiagnosticsMethod · 0.65
DiagnosticsMethod · 0.65
DiagnosticsMethod · 0.65

Implementers 9

ProvidersSchemaMixedinternal/command/views/providers_schem
ConsoleHumaninternal/command/views/console.go
ConsoleJSONinternal/command/views/console.go
OutputHumaninternal/command/views/output.go
OutputRawinternal/command/views/output.go
OutputJSONinternal/command/views/output.go
GraphHumaninternal/command/views/graph.go
JSONViewinternal/command/views/json_view.go
BackendRemoteHumaninternal/command/views/backend_remote.

Calls

no outgoing calls

Tested by

no test coverage detected