Documentation ¶
Index ¶
- type S3Cache
- func (c *S3Cache) BaseURL() string
- func (c *S3Cache) DumpCacheManifest(namespace, cacheKey string, entries []cache.CacheEntry) error
- func (c *S3Cache) Enabled() bool
- func (c S3Cache) Env() map[string]string
- func (c *S3Cache) Get(namespace string, entry cache.CacheEntry) error
- func (c *S3Cache) Init() error
- func (c *S3Cache) LoadCacheManifest(namespace, cacheKey string) ([]cache.CacheEntry, error)
- func (c S3Cache) Name() string
- func (c *S3Cache) Set(namespace, filePath string) (cache.CacheEntry, error)
- func (c *S3Cache) Writer(namespace string, filename string) (io.WriteCloser, string, error)
- type S3Writer
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) LoadCacheManifest ¶
func (c *S3Cache) LoadCacheManifest(namespace, cacheKey string) ([]cache.CacheEntry, error)
Click to show internal directories.
Click to hide internal directories.