filecache

package
Version: v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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) BaseURL added in v0.2.0

func (c *FileCache) BaseURL() string

func (*FileCache) Copy

func (c *FileCache) Copy(src, dst string) error

func (*FileCache) DumpCacheManifest

func (c *FileCache) DumpCacheManifest(namespace, cacheKey string, entries []cache.CacheEntry) error

func (*FileCache) Enabled added in v0.2.0

func (c *FileCache) Enabled() bool

func (FileCache) Env

func (c FileCache) Env() map[string]string

func (*FileCache) Get

func (c *FileCache) Get(namespace string, entry cache.CacheEntry) error

func (*FileCache) Init

func (c *FileCache) Init() error

func (*FileCache) LoadCacheManifest

func (c *FileCache) LoadCacheManifest(namespace, cacheKey string) ([]cache.CacheEntry, error)

func (FileCache) Name

func (c FileCache) Name() string

func (*FileCache) Set

func (c *FileCache) Set(namespace, filePath string) (cache.CacheEntry, error)

func (*FileCache) Writer added in v0.2.0

func (c *FileCache) Writer(namespace string, filename string) (io.WriteCloser, string, error)

Source Files

Jump to

Keyboard shortcuts

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