Documentation ¶
Index ¶
- func DifferenceBy[T any](list1 []T, list2 []T, predicate func(T, T) bool) ([]T, []T)
- func DocString(inp string) string
- func EmptySetDefault(elemType attr.Type) defaults.Set
- func Int64SetToIntSlice(set types.Set) []int
- func IntPointerToInt64Pointer(value *int) *int64
- func IntersectBy[T any](list1 []T, list2 []T, predicate func(T, T) bool) []T
- func SetIntToInt64OrNull(value int) types.Int64
- func SliceStringToSliceTypesInt64(input []int) []types.Int64
- func SliceStringToSliceTypesString(input []string) []types.String
- func SplitIDToInts(id string, resource_type string) (int, int, error)
- func SplitIDToStrings(id string, resource_type string) (string, string, error)
- func StringSetToStringSlice(set types.Set) []string
- func TypesInt64ToInt64Pointer(value types.Int64) *int64
- func TypesStringSliceToStringSlice(list []types.String) []string
- func UnionBy[T any](list1 []T, list2 []T, predicate func(T, T) bool) []T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DifferenceBy ¶ added in v0.3.7
Same as Difference but with a predicate function to compare elements.
func Int64SetToIntSlice ¶ added in v0.3.5
TF types to API data types
func IntPointerToInt64Pointer ¶ added in v0.3.4
func IntersectBy ¶ added in v0.3.7
Same as Intersect but with a predicate function to compare elements.
func SetIntToInt64OrNull ¶ added in v0.3.3
API data types to TF types
func SliceStringToSliceTypesInt64 ¶ added in v0.3.10
func SliceStringToSliceTypesString ¶ added in v0.3.10
func SplitIDToInts ¶ added in v0.3.18
func SplitIDToStrings ¶ added in v0.3.18
func StringSetToStringSlice ¶ added in v0.3.7
func TypesInt64ToInt64Pointer ¶ added in v0.3.11
func TypesStringSliceToStringSlice ¶ added in v0.3.11
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.