helpers

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SchemaVersion int64 = 1

Functions

func AttrValueSetBool

func AttrValueSetBool(obj *types.Bool, data any) (d diag.Diagnostics, err error)

func AttrValueSetFloat64

func AttrValueSetFloat64(obj *types.Float64, data any) (d diag.Diagnostics, err error)

func AttrValueSetInt64

func AttrValueSetInt64(obj *types.Int64, data any) (d diag.Diagnostics, err error)

func AttrValueSetJsonString

func AttrValueSetJsonString(obj *types.String, data any, trim bool) (d diag.Diagnostics, err error)

func AttrValueSetListString

func AttrValueSetListString(obj *types.List, data any, trim bool) (d diag.Diagnostics, err error)

func AttrValueSetString

func AttrValueSetString(obj *types.String, data any, trim bool) (d diag.Diagnostics, err error)

func DefaultValue

func DefaultValue(v attr.Value) tfsdk.AttributePlanModifier

DefaultValue is a helper to instantiate a defaultValueAttributePlanModifier.

func TrimAwxString

func TrimAwxString(in string) (out string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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