redis

package
v0.0.0-...-f1e43fe Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DIR_LIST_MARKER = "\x00"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisClusterStore

type RedisClusterStore struct {
	UniversalRedisStore
}

func (*RedisClusterStore) GetName

func (store *RedisClusterStore) GetName() string

func (*RedisClusterStore) Initialize

func (store *RedisClusterStore) Initialize(configuration util.Configuration) (err error)

type RedisStore

type RedisStore struct {
	UniversalRedisStore
}

func (*RedisStore) GetName

func (store *RedisStore) GetName() string

func (*RedisStore) Initialize

func (store *RedisStore) Initialize(configuration util.Configuration) (err error)

type UniversalRedisStore

type UniversalRedisStore struct {
	Client redis.UniversalClient
}

func (*UniversalRedisStore) BeginTransaction

func (store *UniversalRedisStore) BeginTransaction(ctx context.Context) (context.Context, error)

func (*UniversalRedisStore) CommitTransaction

func (store *UniversalRedisStore) CommitTransaction(ctx context.Context) error

func (*UniversalRedisStore) DeleteEntry

func (store *UniversalRedisStore) DeleteEntry(ctx context.Context, fullpath filer2.FullPath) (err error)

func (*UniversalRedisStore) FindEntry

func (store *UniversalRedisStore) FindEntry(ctx context.Context, fullpath filer2.FullPath) (entry *filer2.Entry, err error)

func (*UniversalRedisStore) InsertEntry

func (store *UniversalRedisStore) InsertEntry(ctx context.Context, entry *filer2.Entry) (err error)

func (*UniversalRedisStore) ListDirectoryEntries

func (store *UniversalRedisStore) ListDirectoryEntries(ctx context.Context, fullpath filer2.FullPath, startFileName string, inclusive bool,
	limit int) (entries []*filer2.Entry, err error)

func (*UniversalRedisStore) RollbackTransaction

func (store *UniversalRedisStore) RollbackTransaction(ctx context.Context) error

func (*UniversalRedisStore) UpdateEntry

func (store *UniversalRedisStore) UpdateEntry(ctx context.Context, entry *filer2.Entry) (err error)

Jump to

Keyboard shortcuts

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