s3cache

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3Cache

type S3Cache struct {
	Bucket    string `hcl:"bucket"`
	Endpoint  string `hcl:"endpoint"`
	AccessKey string `hcl:"access_key"`
	SecretKey string `hcl:"secret_key"`
	Disabled  bool   `hcl:"disabled"`
	// contains filtered or unexported fields
}

func (*S3Cache) DumpCacheManifest

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

func (S3Cache) Env

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

func (*S3Cache) Get

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

func (*S3Cache) Init

func (c *S3Cache) Init() error

func (*S3Cache) LoadCacheManifest

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

func (S3Cache) Name

func (c S3Cache) Name() string

func (*S3Cache) Set

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

Jump to

Keyboard shortcuts

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