Documentation
¶
Index ¶
- func NonEmptyListOrDefault[T any](ctx context.Context, original types.List, elemType attr.Type, slice []T) (types.List, diag.Diagnostics)
- func NonEmptySetOrDefault[T any](ctx context.Context, original types.Set, elemType attr.Type, slice []T) (types.Set, diag.Diagnostics)
- func NonEmptyStringishPointerValue[T ~string](ptr *T) types.String
- func NonEmptyStringishValue[T ~string](value T) types.String
- func StringishPointerValue[T ~string](ptr *T) types.String
- func StringishValue[T ~string](value T) types.String
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NonEmptyListOrDefault ¶ added in v0.13.1
func NonEmptySetOrDefault ¶ added in v0.13.1
func NonEmptyStringishValue ¶
func StringishPointerValue ¶
StringishPointerValue converts a pointer to a string-like type to a Terraform types.String value.
func StringishValue ¶
StringishValue converts a value of any string-like type T to a Terraform types.String.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.