()
| 37 | } |
| 38 | |
| 39 | func AvailableProfiles() []string { |
| 40 | names := make([]string, 0, len(profiles)) |
| 41 | for name := range profiles { |
| 42 | names = append(names, name) |
| 43 | } |
| 44 | sort.Strings(names) |
| 45 | return names |
| 46 | } |
| 47 | |
| 48 | func GetProfile(name string) (VariantOverride, error) { |
| 49 | profile, ok := profiles[name] |
no outgoing calls