redis_cache

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2022 License: MIT Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisBackedCache

type RedisBackedCache struct {
	api.Plugin

	DeploymentClient services.RedisDeploymentStrategyClient
	Client           redis.UniversalClient
	Config           *services.RedisClientConfig
	// contains filtered or unexported fields
}

func NewRedisBackedCache

func NewRedisBackedCache(deploymentType string) (*RedisBackedCache, error)

func (*RedisBackedCache) Check added in v0.1.5

func (r *RedisBackedCache) Check() error

func (*RedisBackedCache) Clear

func (r *RedisBackedCache) Clear() error

func (*RedisBackedCache) Delete

func (r *RedisBackedCache) Delete(filePath string) error

func (*RedisBackedCache) Deploy

func (r *RedisBackedCache) Deploy() error

func (*RedisBackedCache) Flush

func (r *RedisBackedCache) Flush(fs api.FileSystem) error

func (*RedisBackedCache) FunctionInjector

func (r *RedisBackedCache) FunctionInjector() api.CacheConfigInjector

func (*RedisBackedCache) Init

func (r *RedisBackedCache) Init() error

func (*RedisBackedCache) Join

func (r *RedisBackedCache) Join(elem ...string) string

func (*RedisBackedCache) ListFiles

func (r *RedisBackedCache) ListFiles(pathGlob string) ([]api.FileInfo, error)

func (*RedisBackedCache) OpenReader

func (r *RedisBackedCache) OpenReader(filePath string, startAt int64) (io.ReadCloser, error)

func (*RedisBackedCache) OpenWriter

func (r *RedisBackedCache) OpenWriter(filePath string) (io.WriteCloser, error)

func (*RedisBackedCache) Split

func (r *RedisBackedCache) Split(path string) []string

func (*RedisBackedCache) Stat

func (r *RedisBackedCache) Stat(filePath string) (api.FileInfo, error)

func (*RedisBackedCache) Undeploy

func (r *RedisBackedCache) Undeploy() error

type RedisCacheConfigInjector

type RedisCacheConfigInjector struct {
	// contains filtered or unexported fields
}

func (*RedisCacheConfigInjector) CacheSystem

func (r *RedisCacheConfigInjector) CacheSystem() api.DeployableCache

func (*RedisCacheConfigInjector) ConfigureLambda

func (r *RedisCacheConfigInjector) ConfigureLambda(function *lambda.CreateFunctionInput) error

func (*RedisCacheConfigInjector) ConfigureWhisk

func (r *RedisCacheConfigInjector) ConfigureWhisk(action *whisk.Action) error

WE strongly assume astion.Paramters are injected at runtime...

Jump to

Keyboard shortcuts

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