1
0
mirror of https://github.com/mayflower/docker-ls.git synced 2025-11-28 00:01:09 +03:00

API level token caching, statistics.

This commit is contained in:
Christian Speckner
2016-02-17 14:39:35 +01:00
parent 0f202ef651
commit 07cf002b17
15 changed files with 284 additions and 13 deletions

13
lib/cache_hints.go Normal file
View File

@@ -0,0 +1,13 @@
package lib
func cacheHintRegistryList() string {
return "catalog:"
}
func cacheHintTagList(repository string) string {
return "pull:" + repository
}
func cacheHintTagDetails(repository string) string {
return "pull:" + repository
}