Documentation ¶
Index ¶
- func Base64EncodeStringMap(m map[string]interface{}) map[string]interface{}
- func BuildId(meta metav1.ObjectMeta) string
- func ConvertMap(src map[string]interface{}) map[string]string
- func ExpandBase64MapToByteMap(m map[string]interface{}) map[string][]byte
- func ExpandMapToResourceList(m map[string]interface{}) (*api.ResourceList, error)
- func ExpandStringMap(m map[string]interface{}) map[string]string
- func ExpandStringMapToByteMap(m map[string]interface{}) map[string][]byte
- func ExpandStringSlice(s []interface{}) []string
- func FlattenByteMapToBase64Map(m map[string][]byte) map[string]string
- func FlattenByteMapToStringMap(m map[string][]byte) map[string]string
- func FlattenResourceList(l api.ResourceList) map[string]string
- func FlattenStringMap(m map[string]string) map[string]interface{}
- func IdParts(id string) (string, string, error)
- func NewInt64Set(f schema.SchemaSetFunc, in []int64) *schema.Set
- func NewStringSet(f schema.SchemaSetFunc, in []string) *schema.Set
- func PtrToBool(b bool) *bool
- func PtrToInt32(i int32) *int32
- func PtrToInt64(i int64) *int64
- func PtrToString(s string) *string
- func SchemaSetToInt64Array(set *schema.Set) []int64
- func SchemaSetToStringArray(set *schema.Set) []string
- func SliceOfString(slice []interface{}) []string
- func StringIsIntInRange(min int, max int) schema.SchemaValidateFunc
- func ValidateAnnotations(value interface{}, key string) (ws []string, es []error)
- func ValidateGenerateName(value interface{}, key string) (ws []string, es []error)
- func ValidateLabels(value interface{}, key string) (ws []string, es []error)
- func ValidateName(value interface{}, key string) (ws []string, es []error)
- func ValidateTypeStringNullableInt(v interface{}, k string) (ws []string, es []error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64EncodeStringMap ¶
func BuildId ¶
func BuildId(meta metav1.ObjectMeta) string
func ConvertMap ¶
func ExpandMapToResourceList ¶
func ExpandMapToResourceList(m map[string]interface{}) (*api.ResourceList, error)
func ExpandStringMap ¶
func ExpandStringSlice ¶
func ExpandStringSlice(s []interface{}) []string
func FlattenResourceList ¶
func FlattenResourceList(l api.ResourceList) map[string]string
func FlattenStringMap ¶
func NewInt64Set ¶
func NewInt64Set(f schema.SchemaSetFunc, in []int64) *schema.Set
func NewStringSet ¶
func NewStringSet(f schema.SchemaSetFunc, in []string) *schema.Set
func PtrToInt32 ¶
func PtrToInt64 ¶
func PtrToString ¶
func SchemaSetToInt64Array ¶
func SchemaSetToStringArray ¶
func SliceOfString ¶
func SliceOfString(slice []interface{}) []string
func StringIsIntInRange ¶
func StringIsIntInRange(min int, max int) schema.SchemaValidateFunc
func ValidateAnnotations ¶
func ValidateGenerateName ¶
func ValidateLabels ¶
func ValidateName ¶
func ValidateTypeStringNullableInt ¶
validateTypeStringNullableInt provides custom error messaging for TypeString ints Some arguments require an int value or unspecified, empty field.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.