Documentation ¶
Index ¶
- func BoolPtr(input bool) *bool
- func Int64Ptr(input int64) *int64
- func IsBlank(input string) bool
- func RandomString(length int) string
- func RemoveNewLinesAndTabs(input string) string
- func StringPtr(input string) *string
- func StringSliceElementsAreUnique(slice []string) bool
- type ResourceNameFormatter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsBlank ¶
IsBlank returns true when the provided string is empty or only contains whitespace characters
func RandomString ¶
RandomString creates a random string of the given length
func RemoveNewLinesAndTabs ¶ added in v1.5.0
RemoveNewLinesAndTabs removes all new lines and tabs from a string
func StringSliceElementsAreUnique ¶
StringSliceElementsAreUnique checks if the given string slice contains unique elements only
Types ¶
type ResourceNameFormatter ¶
ResourceNameFormatter interface for the library to format resource name with a terraform managed string when configured
func NewResourceNameFormatter ¶
func NewResourceNameFormatter(prefix string, suffix string) ResourceNameFormatter
NewResourceNameFormatter creates a new formatter instance for the given prefix and suffix
Click to show internal directories.
Click to hide internal directories.