utils

package
v0.0.0-...-c295410 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 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 cache.Cache

Cache is the global cache in system.

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