Documentation ¶
Index ¶
- func ConvertStringSet(set *schema.Set) []string
- func FormatPrivilegeActionsForConfig[T any](actions []T) string
- func GetBoolPointer(b bool) *bool
- func GetEnv(key, fallback string) string
- func GetIntPointer(number int) *int
- func GetStringPointer(s string) *string
- func InterfaceSliceToStringSlice(data []interface{}) []string
- func Intersection(a, b []int) (c []int)
- func StringSliceToInterfaceSlice(strings []string) []interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertStringSet ¶ added in v1.17.0
func FormatPrivilegeActionsForConfig ¶ added in v1.22.0
func GetBoolPointer ¶ added in v1.16.1
func GetIntPointer ¶ added in v1.16.1
func GetStringPointer ¶ added in v1.16.1
func InterfaceSliceToStringSlice ¶
func InterfaceSliceToStringSlice(data []interface{}) []string
func Intersection ¶
Copied from https://siongui.github.io/2018/03/09/go-match-common-element-in-two-array/
func StringSliceToInterfaceSlice ¶
func StringSliceToInterfaceSlice(strings []string) []interface{}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.