variable

package
v1.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Converter

func Converter(plan *ResourceModel, state *ResourceModel, converterType commons.ConverterType) (*variable.Variable, bool)

func UpdateStateAfterRead

func UpdateStateAfterRead(res *sdkVariable.ReadVariableOutput, state *ResourceModel)

Types

type ConditionModel

type ConditionModel struct {
	Operator types.String `tfsdk:"operator"`
	Value    types.String `tfsdk:"value"`
	Values   types.List   `tfsdk:"values"`
}

type ResourceModel

type ResourceModel struct {
	ID              types.String      `tfsdk:"id"`
	Scope           types.String      `tfsdk:"scope"`
	ScopeId         types.String      `tfsdk:"scope_id"`
	Key             types.String      `tfsdk:"key"`
	Type            types.String      `tfsdk:"type"`
	Value           types.String      `tfsdk:"value"`
	IsSensitive     types.Bool        `tfsdk:"is_sensitive"`
	IsOverridable   types.Bool        `tfsdk:"is_overridable"`
	IsRequired      types.Bool        `tfsdk:"is_required"`
	Description     types.String      `tfsdk:"description"`
	ValueConditions []*ConditionModel `tfsdk:"value_conditions"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL