ListAvailableAddonsFromRegistry returns the list of addons from the registry
()
| 700 | |
| 701 | // ListAvailableAddonsFromRegistry returns the list of addons from the registry |
| 702 | func ListAvailableAddonsFromRegistry() ([]types.Addon, error) { |
| 703 | addonData, err := getAddonRegistryWithFallback() |
| 704 | if err != nil { |
| 705 | return nil, err |
| 706 | } |
| 707 | return addonData.Addons, nil |
| 708 | } |
| 709 | |
| 710 | // getAddonRegistryWithFallback retrieves addon data from cache or downloads if stale |
| 711 | // It respects the UpdateInterval setting from global config |
no test coverage detected