Documentation ¶
Index ¶
- type FileCache
- func (c *FileCache) BaseURL() string
- func (c *FileCache) Copy(src, dst string) error
- func (c *FileCache) DumpCacheManifest(namespace, cacheKey string, entries []cache.CacheEntry) error
- func (c *FileCache) Enabled() bool
- func (c FileCache) Env() map[string]string
- func (c *FileCache) Get(namespace string, entry cache.CacheEntry) error
- func (c *FileCache) Init() error
- func (c *FileCache) LoadCacheManifest(namespace, cacheKey string) ([]cache.CacheEntry, error)
- func (c FileCache) Name() string
- func (c *FileCache) Set(namespace, filePath string) (cache.CacheEntry, error)
- func (c *FileCache) Writer(namespace string, filename string) (io.WriteCloser, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileCache ¶
type FileCache struct {
CacheDir string `hcl:"cache_dir"`
}
func (*FileCache) DumpCacheManifest ¶
func (c *FileCache) DumpCacheManifest(namespace, cacheKey string, entries []cache.CacheEntry) error
func (*FileCache) LoadCacheManifest ¶
func (c *FileCache) LoadCacheManifest(namespace, cacheKey string) ([]cache.CacheEntry, error)
Click to show internal directories.
Click to hide internal directories.