Documentation ¶
Index ¶
- type RedisBackedCache
- func (r *RedisBackedCache) Check() error
- func (r *RedisBackedCache) Clear() error
- func (r *RedisBackedCache) Delete(filePath string) error
- func (r *RedisBackedCache) Deploy() error
- func (r *RedisBackedCache) Flush(fs api.FileSystem) error
- func (r *RedisBackedCache) FunctionInjector() api.CacheConfigInjector
- func (r *RedisBackedCache) Init() error
- func (r *RedisBackedCache) Join(elem ...string) string
- func (r *RedisBackedCache) ListFiles(pathGlob string) ([]api.FileInfo, error)
- func (r *RedisBackedCache) OpenReader(filePath string, startAt int64) (io.ReadCloser, error)
- func (r *RedisBackedCache) OpenWriter(filePath string) (io.WriteCloser, error)
- func (r *RedisBackedCache) Split(path string) []string
- func (r *RedisBackedCache) Stat(filePath string) (api.FileInfo, error)
- func (r *RedisBackedCache) Undeploy() error
- type RedisCacheConfigInjector
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...
Click to show internal directories.
Click to hide internal directories.