func (w *WhiteList) String() string {
	if len(w.matrix) == 0 {
		return "empty whitelist"
	}
	sorted := []string{}
	for one := range w.matrix {
		sorted = append(sorted, one)
	}
	sort.Strings(sorted)
	result := []string{}
	for _, one := range sorted {
		result = append(result, fmt.Sprintf(" - controller cloud type %q supports %v", one, w.matrix[one].SortedValues()))
	}
	return strings.Join(result, "\n")
}
// String constructs user friendly white list representation.
String constructs user friendly white list representation.
// String constructs user friendly white list representation .
func (w *WhiteList) String() string {
	if len(w.matrix) == 0 {
		return "empty whitelist"
	}
	sorted := []string{}
	for one := range w.matrix {
		sorted = append(sorted, one)
	}
	sort.Strings(sorted)
	result := []string{}
	for _, one := range sorted {
		result = append(result, fmt.Sprintf(" - controller cloud type %q supports %v", one, w.matrix[one].SortedValues()))
	}
	return strings.Join(result, "\n")
}
func ( w * WhiteList ) String ( ) string { if len ( w . matrix ) == 0 { return " " } sorted := [ ] string { } for one := range w . matrix { sorted = append ( sorted , one ) } sort . Strings ( sorted ) result := [ ] string { } for _ , one := range sorted { result = append ( result , fmt . Sprintf ( " " , one , w . matrix [ one ] . SortedValues ( ) ) ) } return strings . Join ( result , " \n " ) }
String constructs user friendly white list representation.
String constructs user friendly white list representation .