Documentation ¶
Index ¶
- type FloatString
- func (v FloatString) Equal(o attr.Value) bool
- func (v FloatString) StringSemanticEquals(ctx context.Context, otherValuable basetypes.StringValuable) (bool, diag.Diagnostics)
- func (v FloatString) ToFloat64Value(_ context.Context) (basetypes.Float64Value, diag.Diagnostics)
- func (v FloatString) Type(_ context.Context) attr.Type
- func (v FloatString) ValueFloat64() float64
- func (v FloatString) ValueFloat64Pointer() *float64
- type FloatStringType
- func (t FloatStringType) Equal(o attr.Type) bool
- func (t FloatStringType) String() string
- func (t FloatStringType) Validate(ctx context.Context, in tftypes.Value, path path.Path) (diags diag.Diagnostics)
- func (t FloatStringType) ValueFromString(ctx context.Context, in basetypes.StringValue) (basetypes.StringValuable, diag.Diagnostics)
- func (t FloatStringType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t FloatStringType) ValueType(ctx context.Context) attr.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FloatString ¶
type FloatString struct {
basetypes.StringValue
}
func NewFloatStringNull ¶
func NewFloatStringNull() FloatString
func NewFloatStringPointerValue ¶
func NewFloatStringPointerValue(value *string) FloatString
func NewFloatStringUnknown ¶
func NewFloatStringUnknown() FloatString
func NewFloatStringValue ¶
func NewFloatStringValue(value string) FloatString
func (FloatString) StringSemanticEquals ¶
func (v FloatString) StringSemanticEquals(ctx context.Context, otherValuable basetypes.StringValuable) (bool, diag.Diagnostics)
func (FloatString) ToFloat64Value ¶
func (v FloatString) ToFloat64Value(_ context.Context) (basetypes.Float64Value, diag.Diagnostics)
func (FloatString) ValueFloat64 ¶
func (v FloatString) ValueFloat64() float64
func (FloatString) ValueFloat64Pointer ¶
func (v FloatString) ValueFloat64Pointer() *float64
type FloatStringType ¶
type FloatStringType struct {
basetypes.StringType
}
func (FloatStringType) String ¶
func (t FloatStringType) String() string
func (FloatStringType) Validate ¶
func (t FloatStringType) Validate(ctx context.Context, in tftypes.Value, path path.Path) (diags diag.Diagnostics)
func (FloatStringType) ValueFromString ¶
func (t FloatStringType) ValueFromString(ctx context.Context, in basetypes.StringValue) (basetypes.StringValuable, diag.Diagnostics)
func (FloatStringType) ValueFromTerraform ¶
Click to show internal directories.
Click to hide internal directories.