Help us shape the future of Go! Take the 2026 Go Developer Survey

conversion

package
v0.13.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolValueToPointer added in v0.6.3

func BoolValueToPointer(s basetypes.BoolValue) *bool

BoolValueToPointer converts basetypes.BoolValue to a pointer to bool. It returns nil if the value is null or unknown.

func Int64ValueToPointer added in v0.6.3

func Int64ValueToPointer(s basetypes.Int64Value) *int64

Int64ValueToPointer converts basetypes.Int64Value to a pointer to int64. It returns nil if the value is null or unknown.

func StringValueToPointer added in v0.6.3

func StringValueToPointer(s basetypes.StringValue) *string

StringValueToPointer converts basetypes.StringValue to a pointer to string. It returns nil if the value is null or unknown.

func ToOptStringMap

func ToOptStringMap(tfMap map[string]attr.Value) (*map[string]string, error)

func ToString

func ToString(ctx context.Context, v attr.Value) (string, error)

func ToTerraformStringMap

func ToTerraformStringMap(ctx context.Context, m map[string]string) (basetypes.MapValue, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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