Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FriendlyDiagnostic ¶
type FriendlyDiagnostic = types.FriendlyDiagnostic
type NullHCLString ¶
type NullHCLString = types.NullHCLString
type OptionType ¶
type OptionType string
const ( OptionTypeString OptionType = "string" OptionTypeNumber OptionType = "number" OptionTypeBoolean OptionType = "bool" OptionTypeListString OptionType = "list(string)" )
type Output ¶
type Output struct {
Parameters []ParameterWithSource `json:"parameters"`
Files map[string]*hcl.File `json:"files"`
}
type ParameterFormType ¶
type ParameterFormType string
const ( ParameterFormTypeDefault ParameterFormType = "" ParameterFormTypeRadio ParameterFormType = "radio" ParameterFormTypeSlider ParameterFormType = "slider" ParameterFormTypeInput ParameterFormType = "input" ParameterFormTypeDropdown ParameterFormType = "dropdown" ParameterFormTypeCheckbox ParameterFormType = "checkbox" ParameterFormTypeSwitch ParameterFormType = "switch" ParameterFormTypeMultiSelect ParameterFormType = "multi-select" ParameterFormTypeTagSelect ParameterFormType = "tag-select" ParameterFormTypeTextArea ParameterFormType = "textarea" ParameterFormTypeError ParameterFormType = "error" )
type ParameterWithSource ¶
type ParameterWithSource struct {
types.Parameter
Uuid uuid.UUID `json:"uuid"`
TypeRange hcl.Range `json:"type_range"`
DefRange hcl.Range `json:"def_range"`
}
func WithSource ¶
func WithSource(p []types.Parameter) []ParameterWithSource
type PreviewOutput ¶
type PreviewOutput struct {
Output *Output `json:"output"`
Diags types.Diagnostics `json:"diags"`
// ParserLogs are trivy logs that occur during parsing the
// Terraform files. This is useful for debugging issues with the
// invalid terraform syntax.
ParserLogs []ParserLog `json:"parser_logs,omitempty"`
}
type WorkspaceOwner ¶
type WorkspaceOwner = types.WorkspaceOwner
Click to show internal directories.
Click to hide internal directories.