Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cache cache.Cache
Cache is the global cache in system.
Functions ¶
func GetRepoFromCache ¶
GetRepoFromCache get repository list from cache, it refreshes the cache if it's empty.
func RefreshCatalogCache ¶
func RefreshCatalogCache() error
RefreshCatalogCache calls registry's API to get repository list and write it to cache.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.