Documentation ¶
Index ¶
- func JSONSliceOfInterfaceToSliceOfMaps(input []interface{}) ([]map[interface{}]interface{}, error)
- func JSONToMapOfInterfaces(input string) (map[string]interface{}, error)
- func MakeId(s []byte) string
- func MapsOfInterfacesToMapsOfStrings(input map[interface{}]interface{}) map[string]interface{}
- func MapsOfStringsToMapsOfInterfaces(input map[string]interface{}) map[interface{}]interface{}
- func SliceOfInterfacesToSliceOfStrings(input []interface{}) ([]string, error)
- func SliceOfMapsOfStringsToSliceOfMapsOfInterfaces(input []map[string]interface{}) []map[interface{}]interface{}
- func YAMLSliceOfInterfaceToSliceOfMaps(input []interface{}) ([]map[interface{}]interface{}, error)
- func YAMLToMapOfInterfaces(input string) (map[interface{}]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONSliceOfInterfaceToSliceOfMaps ¶
func JSONSliceOfInterfaceToSliceOfMaps(input []interface{}) ([]map[interface{}]interface{}, error)
JSONSliceOfInterfaceToSliceOfMaps takes a slice of JSON strings as input and returns a slice of map[interface{}]interface{}
func JSONToMapOfInterfaces ¶
JSONToMapOfInterfaces takes a JSON string as input and returns a map[string]interface{}
func MakeId ¶
MakeId takes a byte representation of a resource and returns a stable string ID for it.
func MapsOfInterfacesToMapsOfStrings ¶
func MapsOfInterfacesToMapsOfStrings(input map[interface{}]interface{}) map[string]interface{}
MapsOfInterfacesToMapsOfStrings takes map[interface{}]interface{} and returns map[string]interface{}
func MapsOfStringsToMapsOfInterfaces ¶
func MapsOfStringsToMapsOfInterfaces(input map[string]interface{}) map[interface{}]interface{}
MapsOfStringsToMapsOfInterfaces takes map[string]interface{} and returns map[interface{}]interface{}
func SliceOfInterfacesToSliceOfStrings ¶
SliceOfInterfacesToSliceOfStrings takes a slice of interfaces and converts it to a slice of strings
func SliceOfMapsOfStringsToSliceOfMapsOfInterfaces ¶
func SliceOfMapsOfStringsToSliceOfMapsOfInterfaces(input []map[string]interface{}) []map[interface{}]interface{}
SliceOfMapsOfStringsToSliceOfMapsOfInterfaces takes a slice of map[string]interface{} and returns a slice of map[interface{}]interface{}
func YAMLSliceOfInterfaceToSliceOfMaps ¶
func YAMLSliceOfInterfaceToSliceOfMaps(input []interface{}) ([]map[interface{}]interface{}, error)
YAMLSliceOfInterfaceToSliceOfMaps takes a slice of interfaces as input and returns a slice of map[interface{}]interface{}
func YAMLToMapOfInterfaces ¶
YAMLToMapOfInterfaces takes a YAML string as input and returns a map[interface{}]interface{}
Types ¶
This section is empty.