Documentation ¶
Index ¶
- func NewTfListNestedType[T attr.Value](ctx context.Context) tfListNestedType[T]
- func NewTfMapNestedType[T attr.Value](ctx context.Context) tfMapNestedType[T]
- type TfBoolType
- func (t TfBoolType) Equal(o attr.Type) bool
- func (t TfBoolType) String() string
- func (t TfBoolType) ValueFromBool(ctx context.Context, in basetypes.BoolValue) (basetypes.BoolValuable, diag.Diagnostics)
- func (t TfBoolType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t TfBoolType) ValueType(ctx context.Context) attr.Value
- type TfBoolValue
- type TfInt64Type
- func (t TfInt64Type) Equal(o attr.Type) bool
- func (t TfInt64Type) String() string
- func (t TfInt64Type) ValueFromInt64(ctx context.Context, in basetypes.Int64Value) (basetypes.Int64Valuable, diag.Diagnostics)
- func (t TfInt64Type) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t TfInt64Type) ValueType(ctx context.Context) attr.Value
- type TfInt64Value
- type TfListNestedValue
- func (t TfListNestedValue[T]) ElementType(ctx context.Context) attr.Type
- func (v TfListNestedValue[T]) Equal(o attr.Value) bool
- func (t TfListNestedValue[T]) MarshalJSON() ([]byte, error)
- func (v TfListNestedValue[T]) ToListValue(ctx context.Context) (basetypes.ListValue, diag.Diagnostics)
- func (t TfListNestedValue[T]) ToSetValue(ctx context.Context) (basetypes.SetValue, diag.Diagnostics)
- func (t TfListNestedValue[T]) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v TfListNestedValue[T]) Type(ctx context.Context) attr.Type
- func (t *TfListNestedValue[T]) UnmarshalJSON(data []byte) error
- type TfMapNestedValue
- func NewNullTfMapNestedValue[T attr.Value](ctx context.Context) TfMapNestedValue[T]
- func NewTfMapNestedValue[T attr.Value](ctx context.Context, elements map[string]attr.Value) (TfMapNestedValue[T], diag.Diagnostics)
- func NewTfMapNestedValueMust[T attr.Value](ctx context.Context, elements map[string]attr.Value) TfMapNestedValue[T]
- func NewUnknownTfMapNestedValue[T attr.Value](ctx context.Context) TfMapNestedValue[T]
- type TfNumberType
- func (t TfNumberType) Equal(o attr.Type) bool
- func (t TfNumberType) String() string
- func (t TfNumberType) ValueFromNumber(ctx context.Context, in basetypes.NumberValue) (basetypes.NumberValuable, diag.Diagnostics)
- func (t TfNumberType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t TfNumberType) ValueType(ctx context.Context) attr.Value
- type TfNumberValue
- type TfStringType
- func (t TfStringType) Equal(o attr.Type) bool
- func (t TfStringType) String() string
- func (t TfStringType) ValueFromString(ctx context.Context, in basetypes.StringValue) (basetypes.StringValuable, diag.Diagnostics)
- func (t TfStringType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t TfStringType) ValueType(ctx context.Context) attr.Value
- type TfStringValue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTfListNestedType ¶
Types ¶
type TfBoolType ¶
func (TfBoolType) String ¶
func (t TfBoolType) String() string
func (TfBoolType) ValueFromBool ¶
func (t TfBoolType) ValueFromBool(ctx context.Context, in basetypes.BoolValue) (basetypes.BoolValuable, diag.Diagnostics)
func (TfBoolType) ValueFromTerraform ¶
type TfBoolValue ¶
func (TfBoolValue) MarshalJSON ¶
func (t TfBoolValue) MarshalJSON() ([]byte, error)
func (*TfBoolValue) UnmarshalJSON ¶
func (t *TfBoolValue) UnmarshalJSON(data []byte) error
type TfInt64Type ¶
func (TfInt64Type) String ¶
func (t TfInt64Type) String() string
func (TfInt64Type) ValueFromInt64 ¶
func (t TfInt64Type) ValueFromInt64(ctx context.Context, in basetypes.Int64Value) (basetypes.Int64Valuable, diag.Diagnostics)
func (TfInt64Type) ValueFromTerraform ¶
type TfInt64Value ¶
type TfInt64Value struct {
basetypes.Int64Value
}
func (TfInt64Value) MarshalJSON ¶
func (t TfInt64Value) MarshalJSON() ([]byte, error)
func (*TfInt64Value) UnmarshalJSON ¶
func (t *TfInt64Value) UnmarshalJSON(data []byte) error
type TfListNestedValue ¶
TfListNestedValue represents a Terraform Plugin Framework List value`.
func NewListNestedObjectValueOfNull ¶
func NewListNestedObjectValueOfNull[T attr.Value](ctx context.Context) TfListNestedValue[T]
func NewListNestedObjectValueOfUnknown ¶
func NewListNestedObjectValueOfUnknown[T attr.Value](ctx context.Context) TfListNestedValue[T]
func (TfListNestedValue[T]) ElementType ¶
func (t TfListNestedValue[T]) ElementType(ctx context.Context) attr.Type
func (TfListNestedValue[T]) MarshalJSON ¶
func (t TfListNestedValue[T]) MarshalJSON() ([]byte, error)
func (TfListNestedValue[T]) ToListValue ¶
func (v TfListNestedValue[T]) ToListValue(ctx context.Context) (basetypes.ListValue, diag.Diagnostics)
func (TfListNestedValue[T]) ToSetValue ¶
func (t TfListNestedValue[T]) ToSetValue(ctx context.Context) (basetypes.SetValue, diag.Diagnostics)
func (TfListNestedValue[T]) ToTerraformValue ¶
func (TfListNestedValue[T]) Type ¶
func (v TfListNestedValue[T]) Type(ctx context.Context) attr.Type
func (*TfListNestedValue[T]) UnmarshalJSON ¶
func (t *TfListNestedValue[T]) UnmarshalJSON(data []byte) error
type TfMapNestedValue ¶
func NewNullTfMapNestedValue ¶
func NewNullTfMapNestedValue[T attr.Value](ctx context.Context) TfMapNestedValue[T]
func NewTfMapNestedValue ¶
func NewTfMapNestedValue[T attr.Value](ctx context.Context, elements map[string]attr.Value) (TfMapNestedValue[T], diag.Diagnostics)
func NewTfMapNestedValueMust ¶
func NewUnknownTfMapNestedValue ¶
func NewUnknownTfMapNestedValue[T attr.Value](ctx context.Context) TfMapNestedValue[T]
func (TfMapNestedValue[T]) ToTerraformValue ¶
ToTerraformValue returns the data contained in the Map as a tftypes.Value.
func (*TfMapNestedValue[T]) UnmarshalJSON ¶
func (v *TfMapNestedValue[T]) UnmarshalJSON(data []byte) error
type TfNumberType ¶
type TfNumberType struct {
basetypes.NumberType
}
func (TfNumberType) String ¶
func (t TfNumberType) String() string
func (TfNumberType) ValueFromNumber ¶
func (t TfNumberType) ValueFromNumber(ctx context.Context, in basetypes.NumberValue) (basetypes.NumberValuable, diag.Diagnostics)
func (TfNumberType) ValueFromTerraform ¶
type TfNumberValue ¶
type TfNumberValue struct {
basetypes.NumberValue
}
func (TfNumberValue) MarshalJSON ¶
func (t TfNumberValue) MarshalJSON() ([]byte, error)
func (TfNumberValue) ToNumberValue ¶
func (t TfNumberValue) ToNumberValue(ctx context.Context) (basetypes.NumberValue, diag.Diagnostics)
func (*TfNumberValue) UnmarshalJSON ¶
func (t *TfNumberValue) UnmarshalJSON(data []byte) error
type TfStringType ¶
type TfStringType struct {
basetypes.StringType
}
func (TfStringType) String ¶
func (t TfStringType) String() string
func (TfStringType) ValueFromString ¶
func (t TfStringType) ValueFromString(ctx context.Context, in basetypes.StringValue) (basetypes.StringValuable, diag.Diagnostics)
func (TfStringType) ValueFromTerraform ¶
type TfStringValue ¶
type TfStringValue struct {
basetypes.StringValue
}
func NewTfStringValue ¶ added in v0.41.0
func NewTfStringValue(value string) TfStringValue
func (TfStringValue) MarshalJSON ¶
func (t TfStringValue) MarshalJSON() ([]byte, error)
func (*TfStringValue) UnmarshalJSON ¶
func (t *TfStringValue) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.