Documentation ¶
Index ¶
- func AnyMatch[T any](ss []T, filter func(T) bool) bool
- func BoolValueOrNull(v *bool) types.Bool
- func CheckAndGetIfNumericString(s string) (bool, float64)
- func DoesTfListContainsEmptyValue(tfValues types.List) bool
- func EnumForDocs(stringArray []string) string
- func Filter[T any](ss []T, filter func(T) bool) (retVal []T)
- func FindDuplicates[T int | string](es []T, stopAfterFirst bool) []T
- func FindFirst[T any](ss []T, filter func(T) bool) (retVal T)
- func Int64ValueOrNull(v *int) types.Int64
- func IsAllNilFields(x interface{}) bool
- func IsBlank(s string) bool
- func IsKnown(e attr.Value) bool
- func IsTfStringSliceUnique(tfList types.List) bool
- func IsTrue(v types.Bool) bool
- func IsUnique[T int | string](es []T) bool
- func Map[T any, S any](ss []T, f func(T) S) (retVal []S)
- func StringPointerSliceToTfList(vs []*string) types.List
- func StringValueIfNotEqual(v *string, notEqualTo string) types.String
- func StringValueOrNull(v *string) types.String
- func TfListStringConverter(plan types.List, state types.List) ([]*string, bool)
- func TfListToStringPointerSlice(vs types.List) []*string
- func TfListToStringSlice(tfList types.List) []*string
- func TrimDoubleQuotesIfPresent(s string) string
- func Xor(values ...attr.Value) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolValueOrNull ¶
func CheckAndGetIfNumericString ¶ added in v1.5.0
func DoesTfListContainsEmptyValue ¶ added in v1.7.0
func EnumForDocs ¶
func FindDuplicates ¶ added in v1.7.0
func Int64ValueOrNull ¶
func IsAllNilFields ¶ added in v1.10.0
func IsAllNilFields(x interface{}) bool
func IsTfStringSliceUnique ¶ added in v1.5.0
func StringPointerSliceToTfList ¶ added in v1.7.0
func StringValueIfNotEqual ¶ added in v1.11.0
func StringValueOrNull ¶
func TfListStringConverter ¶ added in v1.7.0
func TfListToStringPointerSlice ¶ added in v1.7.0
func TfListToStringSlice ¶ added in v1.9.0
func TrimDoubleQuotesIfPresent ¶ added in v1.7.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.