utils

package
v0.0.0-...-f7de4c5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2016 License: Apache-2.0, BSD-3-Clause, CC-BY-3.0, + 3 more Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Cache is the global cache in system.
	Cache cache.Cache
)

Functions

func GetRepoFromCache

func GetRepoFromCache() ([]string, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL