helpers

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 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 ExtractDataIfSearchResult added in v0.1.2

func ExtractDataIfSearchResult(in map[string]any) (out map[string]any, d diag.Diagnostics, err error)

func GetFirstSetEnvVar added in v0.1.2

func GetFirstSetEnvVar(envVars ...string) string

func Str2Bool added in v0.1.2

func Str2Bool(val string) bool

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