Documentation ¶
Index ¶
Constants ¶
View Source
const LRUImagesCacheVersion = "1"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LRUImagesCache ¶
type LRUImagesCache struct {
CacheDir string
}
var CommonLRUImagesCache *LRUImagesCache
func NewLRUImagesCache ¶
func NewLRUImagesCache(cacheDir string) *LRUImagesCache
func (*LRUImagesCache) AccessImage ¶
func (cache *LRUImagesCache) AccessImage(ctx context.Context, imageRef string) error
func (*LRUImagesCache) GetImageLastAccessTime ¶
type LRUImagesCacheRecord ¶
Click to show internal directories.
Click to hide internal directories.