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