helpers

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolValueOrNull

func BoolValueOrNull(v *bool) types.Bool

func CheckAndGetIfNumericString added in v1.5.0

func CheckAndGetIfNumericString(s string) (bool, float64)

func DoesTfStringSliceContainEmptyValue added in v1.5.0

func DoesTfStringSliceContainEmptyValue(tfValues []types.String) bool

func EnumForDocs

func EnumForDocs(stringArray []string) string

func Int64ValueOrNull

func Int64ValueOrNull(v *int) types.Int64

func IsTfStringSliceUnique added in v1.5.0

func IsTfStringSliceUnique(tfValues []types.String) bool

func StringPointerSliceOrNull added in v1.4.0

func StringPointerSliceOrNull(vs []types.String) []*string

func StringSliceOrNull added in v1.4.0

func StringSliceOrNull(vs []*string) []types.String

func StringValueOrNull

func StringValueOrNull(v *string) types.String

func StringValuesSliceFromTfSlice added in v1.5.0

func StringValuesSliceFromTfSlice(vs []types.String) []string

StringValuesSliceFromTfSlice Note - types.String.ValueString() can throw exception in case of having Null

func TfStringSliceConverter added in v1.4.0

func TfStringSliceConverter(plan []types.String, state []types.String) ([]*string, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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