redis_cache

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: MIT Imports: 15 Imported by: 0

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