Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Null = &model.Variable{ Name: "null", VariableType: model.NoneType, }
Null represents Pulumi HCL2's `null` variable.
Functions ¶
Types ¶
type DiagnosticsError ¶
type DiagnosticsError struct {
// contains filtered or unexported fields
}
A DiagnosticsError captures HCL2 diagnostics.
func (*DiagnosticsError) Diagnostics ¶
func (e *DiagnosticsError) Diagnostics() hcl.Diagnostics
func (*DiagnosticsError) Error ¶
func (e *DiagnosticsError) Error() string
func (*DiagnosticsError) NewDiagnosticWriter ¶
func (e *DiagnosticsError) NewDiagnosticWriter(w io.Writer, width uint, color bool) hcl.DiagnosticWriter
NewDiagnosticWriter returns an hcl.DiagnosticWriter that can be used to render the error's diagnostics.
func (*DiagnosticsError) String ¶
func (e *DiagnosticsError) String() string
type LanguageGenerator ¶
A LangaugeGenerator generates code for a given Pulumi program to an io.Writer.
Click to show internal directories.
Click to hide internal directories.