()
| 39 | var SOURCES map[string]Source |
| 40 | |
| 41 | func GetRemoteSourcesMap() (map[string]Source, error) { |
| 42 | sources, err := GetRemoteRegistrySources() |
| 43 | if err != nil { |
| 44 | return nil, err |
| 45 | } |
| 46 | SOURCES = ConvertSources(sources) |
| 47 | return SOURCES, nil |
| 48 | } |
| 49 | |
| 50 | type Source struct { |
| 51 | Region string |
no test coverage detected