Documentation ¶
Index ¶
- Constants
- Variables
- func ConvertMapInterfaceMapString(v interface{}) interface{}
- func DeleteSVGsFromFileSystem()
- func FlattenMap(prefix string, src map[string]interface{}, dest map[string]interface{})
- func GetPlatform() string
- func IsClosed(ch chan struct{}) bool
- func RecursiveCastMapStringInterfaceToMapStringInterface(in map[string]interface{}) map[string]interface{}
- func SliceContains(elements []string, name string) bool
- func ToMapStringInterface(mp interface{}) map[string]interface{}
- func WriteSVGsOnFileSystem(comp *v1alpha1.ComponentDefinition)
Constants ¶
View Source
const ( HelmChartURL = "https://meshery.io/charts/" HelmChartName = "meshery" HelmChartOperatorName = "meshery-operator" )
View Source
const UI = "../../ui/public/static/img/meshmodels" //Relative to cmd/main.go
Variables ¶
View Source
var UISVGPaths = make([]string, 1)
Functions ¶
func ConvertMapInterfaceMapString ¶
func ConvertMapInterfaceMapString(v interface{}) interface{}
ConvertMapInterfaceMapString converts map[interface{}]interface{} => map[string]interface{}
It will also convert []interface{} => []string
func DeleteSVGsFromFileSystem ¶ added in v0.6.45
func DeleteSVGsFromFileSystem()
func FlattenMap ¶
FlattenMap flattens the given map and writes the flattened map in the dest
func GetPlatform ¶ added in v0.6.82
func GetPlatform() string
func RecursiveCastMapStringInterfaceToMapStringInterface ¶
func RecursiveCastMapStringInterfaceToMapStringInterface(in map[string]interface{}) map[string]interface{}
RecursiveCastMapStringInterfaceToMapStringInterface will convert a map[string]interface{} recursively => map[string]interface{}
func SliceContains ¶ added in v0.6.48
func ToMapStringInterface ¶
func ToMapStringInterface(mp interface{}) map[string]interface{}
ToMapStringInterface takes in data of type interface and returns a map[string]interface{} from that data
If the conversion fails then returns an empty map
func WriteSVGsOnFileSystem ¶ added in v0.6.45
func WriteSVGsOnFileSystem(comp *v1alpha1.ComponentDefinition)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.