typeutil

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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) Equal

func (v FloatString) Equal(o attr.Value) bool

func (FloatString) StringSemanticEquals

func (v FloatString) StringSemanticEquals(ctx context.Context, otherValuable basetypes.StringValuable) (bool, diag.Diagnostics)

func (FloatString) ToFloat64Value

func (FloatString) Type

func (v FloatString) Type(_ context.Context) attr.Type

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) Equal

func (t FloatStringType) Equal(o attr.Type) bool

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 (FloatStringType) ValueFromTerraform

func (t FloatStringType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (FloatStringType) ValueType

func (t FloatStringType) ValueType(ctx context.Context) attr.Value

Jump to

Keyboard shortcuts

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