mocks

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheRepo

type CacheRepo struct {
	mock.Mock
}

CacheRepo is an autogenerated mock type for the CacheRepo type

func (*CacheRepo) Create added in v0.0.11

func (_m *CacheRepo) Create(cache model.Cache, serviceKey string) error

Create provides a mock function with given fields: cache, serviceKey

func (*CacheRepo) DeleteByPath added in v0.0.11

func (_m *CacheRepo) DeleteByPath(paths []model.CachePath) error

DeleteByPath provides a mock function with given fields: paths

func (*CacheRepo) DeleteByTags added in v0.0.11

func (_m *CacheRepo) DeleteByTags(tags []string) error

DeleteByTags provides a mock function with given fields: tags

func (*CacheRepo) Get added in v0.0.11

func (_m *CacheRepo) Get(path string, serviceKey string) (model.Cache, error)

Get provides a mock function with given fields: path, serviceKey

type Cmdable added in v0.0.11

type Cmdable struct {
	mock.Mock
}

Cmdable is an autogenerated mock type for the Cmdable type

func (*Cmdable) AllExist added in v0.0.11

func (_m *Cmdable) AllExist(ctx context.Context, keys ...string) (bool, int, error)

AllExist provides a mock function with given fields: ctx, keys

func (*Cmdable) Append added in v0.0.11

func (_m *Cmdable) Append(ctx context.Context, key string, value string) *v8.IntCmd

Append provides a mock function with given fields: ctx, key, value

func (*Cmdable) BLPop added in v0.0.11

func (_m *Cmdable) BLPop(ctx context.Context, timeout time.Duration, keys ...string) *v8.StringSliceCmd

BLPop provides a mock function with given fields: ctx, timeout, keys

func (*Cmdable) BRPop added in v0.0.11

func (_m *Cmdable) BRPop(ctx context.Context, timeout time.Duration, keys ...string) *v8.StringSliceCmd

BRPop provides a mock function with given fields: ctx, timeout, keys

func (*Cmdable) BRPopLPush added in v0.0.11

func (_m *Cmdable) BRPopLPush(ctx context.Context, source string, destination string, timeout time.Duration) *v8.StringCmd

BRPopLPush provides a mock function with given fields: ctx, source, destination, timeout

func (*Cmdable) BZPopMax added in v0.0.11

func (_m *Cmdable) BZPopMax(ctx context.Context, timeout time.Duration, keys ...string) *v8.ZWithKeyCmd

BZPopMax provides a mock function with given fields: ctx, timeout, keys

func (*Cmdable) BZPopMin added in v0.0.11

func (_m *Cmdable) BZPopMin(ctx context.Context, timeout time.Duration, keys ...string) *v8.ZWithKeyCmd

BZPopMin provides a mock function with given fields: ctx, timeout, keys

func (*Cmdable) BgRewriteAOF added in v0.0.11

func (_m *Cmdable) BgRewriteAOF(ctx context.Context) *v8.StatusCmd

BgRewriteAOF provides a mock function with given fields: ctx

func (*Cmdable) BgSave added in v0.0.11

func (_m *Cmdable) BgSave(ctx context.Context) *v8.StatusCmd

BgSave provides a mock function with given fields: ctx

func (*Cmdable) BitCount added in v0.0.11

func (_m *Cmdable) BitCount(ctx context.Context, key string, bitCount *v8.BitCount) *v8.IntCmd

BitCount provides a mock function with given fields: ctx, key, bitCount

func (*Cmdable) BitField added in v0.0.11

func (_m *Cmdable) BitField(ctx context.Context, key string, args ...interface{}) *v8.IntSliceCmd

BitField provides a mock function with given fields: ctx, key, args

func (*Cmdable) BitOpAnd added in v0.0.11

func (_m *Cmdable) BitOpAnd(ctx context.Context, destKey string, keys ...string) *v8.IntCmd

BitOpAnd provides a mock function with given fields: ctx, destKey, keys

func (*Cmdable) BitOpNot added in v0.0.11

func (_m *Cmdable) BitOpNot(ctx context.Context, destKey string, key string) *v8.IntCmd

BitOpNot provides a mock function with given fields: ctx, destKey, key

func (*Cmdable) BitOpOr added in v0.0.11

func (_m *Cmdable) BitOpOr(ctx context.Context, destKey string, keys ...string) *v8.IntCmd

BitOpOr provides a mock function with given fields: ctx, destKey, keys

func (*Cmdable) BitOpXor added in v0.0.11

func (_m *Cmdable) BitOpXor(ctx context.Context, destKey string, keys ...string) *v8.IntCmd

BitOpXor provides a mock function with given fields: ctx, destKey, keys

func (*Cmdable) BitPos added in v0.0.11

func (_m *Cmdable) BitPos(ctx context.Context, key string, bit int64, pos ...int64) *v8.IntCmd

BitPos provides a mock function with given fields: ctx, key, bit, pos

func (*Cmdable) ClientGetName added in v0.0.11

func (_m *Cmdable) ClientGetName(ctx context.Context) *v8.StringCmd

ClientGetName provides a mock function with given fields: ctx

func (*Cmdable) ClientID added in v0.0.11

func (_m *Cmdable) ClientID(ctx context.Context) *v8.IntCmd

ClientID provides a mock function with given fields: ctx

func (*Cmdable) ClientKill added in v0.0.11

func (_m *Cmdable) ClientKill(ctx context.Context, ipPort string) *v8.StatusCmd

ClientKill provides a mock function with given fields: ctx, ipPort

func (*Cmdable) ClientKillByFilter added in v0.0.11

func (_m *Cmdable) ClientKillByFilter(ctx context.Context, keys ...string) *v8.IntCmd

ClientKillByFilter provides a mock function with given fields: ctx, keys

func (*Cmdable) ClientList added in v0.0.11

func (_m *Cmdable) ClientList(ctx context.Context) *v8.StringCmd

ClientList provides a mock function with given fields: ctx

func (*Cmdable) ClientPause added in v0.0.11

func (_m *Cmdable) ClientPause(ctx context.Context, dur time.Duration) *v8.BoolCmd

ClientPause provides a mock function with given fields: ctx, dur

func (*Cmdable) ClusterAddSlots added in v0.0.11

func (_m *Cmdable) ClusterAddSlots(ctx context.Context, slots ...int) *v8.StatusCmd

ClusterAddSlots provides a mock function with given fields: ctx, slots

func (*Cmdable) ClusterAddSlotsRange added in v0.0.11

func (_m *Cmdable) ClusterAddSlotsRange(ctx context.Context, min int, max int) *v8.StatusCmd

ClusterAddSlotsRange provides a mock function with given fields: ctx, min, max

func (*Cmdable) ClusterCountFailureReports added in v0.0.11

func (_m *Cmdable) ClusterCountFailureReports(ctx context.Context, nodeID string) *v8.IntCmd

ClusterCountFailureReports provides a mock function with given fields: ctx, nodeID

func (*Cmdable) ClusterCountKeysInSlot added in v0.0.11

func (_m *Cmdable) ClusterCountKeysInSlot(ctx context.Context, slot int) *v8.IntCmd

ClusterCountKeysInSlot provides a mock function with given fields: ctx, slot

func (*Cmdable) ClusterDelSlots added in v0.0.11

func (_m *Cmdable) ClusterDelSlots(ctx context.Context, slots ...int) *v8.StatusCmd

ClusterDelSlots provides a mock function with given fields: ctx, slots

func (*Cmdable) ClusterDelSlotsRange added in v0.0.11

func (_m *Cmdable) ClusterDelSlotsRange(ctx context.Context, min int, max int) *v8.StatusCmd

ClusterDelSlotsRange provides a mock function with given fields: ctx, min, max

func (*Cmdable) ClusterFailover added in v0.0.11

func (_m *Cmdable) ClusterFailover(ctx context.Context) *v8.StatusCmd

ClusterFailover provides a mock function with given fields: ctx

func (*Cmdable) ClusterForget added in v0.0.11

func (_m *Cmdable) ClusterForget(ctx context.Context, nodeID string) *v8.StatusCmd

ClusterForget provides a mock function with given fields: ctx, nodeID

func (*Cmdable) ClusterGetKeysInSlot added in v0.0.11

func (_m *Cmdable) ClusterGetKeysInSlot(ctx context.Context, slot int, count int) *v8.StringSliceCmd

ClusterGetKeysInSlot provides a mock function with given fields: ctx, slot, count

func (*Cmdable) ClusterInfo added in v0.0.11

func (_m *Cmdable) ClusterInfo(ctx context.Context) *v8.StringCmd

ClusterInfo provides a mock function with given fields: ctx

func (*Cmdable) ClusterKeySlot added in v0.0.11

func (_m *Cmdable) ClusterKeySlot(ctx context.Context, key string) *v8.IntCmd

ClusterKeySlot provides a mock function with given fields: ctx, key

func (*Cmdable) ClusterMeet added in v0.0.11

func (_m *Cmdable) ClusterMeet(ctx context.Context, host string, port string) *v8.StatusCmd

ClusterMeet provides a mock function with given fields: ctx, host, port

func (*Cmdable) ClusterNodes added in v0.0.11

func (_m *Cmdable) ClusterNodes(ctx context.Context) *v8.StringCmd

ClusterNodes provides a mock function with given fields: ctx

func (*Cmdable) ClusterReplicate added in v0.0.11

func (_m *Cmdable) ClusterReplicate(ctx context.Context, nodeID string) *v8.StatusCmd

ClusterReplicate provides a mock function with given fields: ctx, nodeID

func (*Cmdable) ClusterResetHard added in v0.0.11

func (_m *Cmdable) ClusterResetHard(ctx context.Context) *v8.StatusCmd

ClusterResetHard provides a mock function with given fields: ctx

func (*Cmdable) ClusterResetSoft added in v0.0.11

func (_m *Cmdable) ClusterResetSoft(ctx context.Context) *v8.StatusCmd

ClusterResetSoft provides a mock function with given fields: ctx

func (*Cmdable) ClusterSaveConfig added in v0.0.11

func (_m *Cmdable) ClusterSaveConfig(ctx context.Context) *v8.StatusCmd

ClusterSaveConfig provides a mock function with given fields: ctx

func (*Cmdable) ClusterSlaves added in v0.0.11

func (_m *Cmdable) ClusterSlaves(ctx context.Context, nodeID string) *v8.StringSliceCmd

ClusterSlaves provides a mock function with given fields: ctx, nodeID

func (*Cmdable) ClusterSlots added in v0.0.11

func (_m *Cmdable) ClusterSlots(ctx context.Context) *v8.ClusterSlotsCmd

ClusterSlots provides a mock function with given fields: ctx

func (*Cmdable) Command added in v0.0.11

func (_m *Cmdable) Command(ctx context.Context) *v8.CommandsInfoCmd

Command provides a mock function with given fields: ctx

func (*Cmdable) ConfigGet added in v0.0.11

func (_m *Cmdable) ConfigGet(ctx context.Context, parameter string) *v8.SliceCmd

ConfigGet provides a mock function with given fields: ctx, parameter

func (*Cmdable) ConfigResetStat added in v0.0.11

func (_m *Cmdable) ConfigResetStat(ctx context.Context) *v8.StatusCmd

ConfigResetStat provides a mock function with given fields: ctx

func (*Cmdable) ConfigRewrite added in v0.0.11

func (_m *Cmdable) ConfigRewrite(ctx context.Context) *v8.StatusCmd

ConfigRewrite provides a mock function with given fields: ctx

func (*Cmdable) ConfigSet added in v0.0.11

func (_m *Cmdable) ConfigSet(ctx context.Context, parameter string, value string) *v8.StatusCmd

ConfigSet provides a mock function with given fields: ctx, parameter, value

func (*Cmdable) DBSize added in v0.0.11

func (_m *Cmdable) DBSize(ctx context.Context) *v8.IntCmd

DBSize provides a mock function with given fields: ctx

func (*Cmdable) DebugObject added in v0.0.11

func (_m *Cmdable) DebugObject(ctx context.Context, key string) *v8.StringCmd

DebugObject provides a mock function with given fields: ctx, key

func (*Cmdable) Decr added in v0.0.11

func (_m *Cmdable) Decr(ctx context.Context, key string) *v8.IntCmd

Decr provides a mock function with given fields: ctx, key

func (*Cmdable) DecrBy added in v0.0.11

func (_m *Cmdable) DecrBy(ctx context.Context, key string, decrement int64) *v8.IntCmd

DecrBy provides a mock function with given fields: ctx, key, decrement

func (*Cmdable) Del added in v0.0.11

func (_m *Cmdable) Del(ctx context.Context, keys ...string) *v8.IntCmd

Del provides a mock function with given fields: ctx, keys

func (*Cmdable) Dump added in v0.0.11

func (_m *Cmdable) Dump(ctx context.Context, key string) *v8.StringCmd

Dump provides a mock function with given fields: ctx, key

func (*Cmdable) Echo added in v0.0.11

func (_m *Cmdable) Echo(ctx context.Context, message interface{}) *v8.StringCmd

Echo provides a mock function with given fields: ctx, message

func (*Cmdable) Eval added in v0.0.11

func (_m *Cmdable) Eval(ctx context.Context, script string, keys []string, args ...interface{}) *v8.Cmd

Eval provides a mock function with given fields: ctx, script, keys, args

func (*Cmdable) EvalSha added in v0.0.11

func (_m *Cmdable) EvalSha(ctx context.Context, sha1 string, keys []string, args ...interface{}) *v8.Cmd

EvalSha provides a mock function with given fields: ctx, sha1, keys, args

func (*Cmdable) Exists added in v0.0.11

func (_m *Cmdable) Exists(ctx context.Context, keys ...string) *v8.IntCmd

Exists provides a mock function with given fields: ctx, keys

func (*Cmdable) Expire added in v0.0.11

func (_m *Cmdable) Expire(ctx context.Context, key string, expiration time.Duration) *v8.BoolCmd

Expire provides a mock function with given fields: ctx, key, expiration

func (*Cmdable) ExpireAt added in v0.0.11

func (_m *Cmdable) ExpireAt(ctx context.Context, key string, tm time.Time) *v8.BoolCmd

ExpireAt provides a mock function with given fields: ctx, key, tm

func (*Cmdable) FlushAll added in v0.0.11

func (_m *Cmdable) FlushAll(ctx context.Context) *v8.StatusCmd

FlushAll provides a mock function with given fields: ctx

func (*Cmdable) FlushAllAsync added in v0.0.11

func (_m *Cmdable) FlushAllAsync(ctx context.Context) *v8.StatusCmd

FlushAllAsync provides a mock function with given fields: ctx

func (*Cmdable) FlushDB added in v0.0.11

func (_m *Cmdable) FlushDB(ctx context.Context) *v8.StatusCmd

FlushDB provides a mock function with given fields: ctx

func (*Cmdable) FlushDBAsync added in v0.0.11

func (_m *Cmdable) FlushDBAsync(ctx context.Context) *v8.StatusCmd

FlushDBAsync provides a mock function with given fields: ctx

func (*Cmdable) GeoAdd added in v0.0.11

func (_m *Cmdable) GeoAdd(ctx context.Context, key string, geoLocation ...*v8.GeoLocation) *v8.IntCmd

GeoAdd provides a mock function with given fields: ctx, key, geoLocation

func (*Cmdable) GeoDist added in v0.0.11

func (_m *Cmdable) GeoDist(ctx context.Context, key string, member1 string, member2 string, unit string) *v8.FloatCmd

GeoDist provides a mock function with given fields: ctx, key, member1, member2, unit

func (*Cmdable) GeoHash added in v0.0.11

func (_m *Cmdable) GeoHash(ctx context.Context, key string, members ...string) *v8.StringSliceCmd

GeoHash provides a mock function with given fields: ctx, key, members

func (*Cmdable) GeoPos added in v0.0.11

func (_m *Cmdable) GeoPos(ctx context.Context, key string, members ...string) *v8.GeoPosCmd

GeoPos provides a mock function with given fields: ctx, key, members

func (*Cmdable) GeoRadius added in v0.0.11

func (_m *Cmdable) GeoRadius(ctx context.Context, key string, longitude float64, latitude float64, query *v8.GeoRadiusQuery) *v8.GeoLocationCmd

GeoRadius provides a mock function with given fields: ctx, key, longitude, latitude, query

func (*Cmdable) GeoRadiusByMember added in v0.0.11

func (_m *Cmdable) GeoRadiusByMember(ctx context.Context, key string, member string, query *v8.GeoRadiusQuery) *v8.GeoLocationCmd

GeoRadiusByMember provides a mock function with given fields: ctx, key, member, query

func (*Cmdable) GeoRadiusByMemberStore added in v0.0.11

func (_m *Cmdable) GeoRadiusByMemberStore(ctx context.Context, key string, member string, query *v8.GeoRadiusQuery) *v8.IntCmd

GeoRadiusByMemberStore provides a mock function with given fields: ctx, key, member, query

func (*Cmdable) GeoRadiusStore added in v0.0.11

func (_m *Cmdable) GeoRadiusStore(ctx context.Context, key string, longitude float64, latitude float64, query *v8.GeoRadiusQuery) *v8.IntCmd

GeoRadiusStore provides a mock function with given fields: ctx, key, longitude, latitude, query

func (*Cmdable) Get added in v0.0.11

func (_m *Cmdable) Get(ctx context.Context, key string) *v8.StringCmd

Get provides a mock function with given fields: ctx, key

func (*Cmdable) GetBit added in v0.0.11

func (_m *Cmdable) GetBit(ctx context.Context, key string, offset int64) *v8.IntCmd

GetBit provides a mock function with given fields: ctx, key, offset

func (*Cmdable) GetDel added in v0.0.11

func (_m *Cmdable) GetDel(ctx context.Context, key string) *v8.StringCmd

GetDel provides a mock function with given fields: ctx, key

func (*Cmdable) GetEx added in v0.0.11

func (_m *Cmdable) GetEx(ctx context.Context, key string, expiration time.Duration) *v8.StringCmd

GetEx provides a mock function with given fields: ctx, key, expiration

func (*Cmdable) GetRange added in v0.0.11

func (_m *Cmdable) GetRange(ctx context.Context, key string, start int64, end int64) *v8.StringCmd

GetRange provides a mock function with given fields: ctx, key, start, end

func (*Cmdable) GetSet added in v0.0.11

func (_m *Cmdable) GetSet(ctx context.Context, key string, value interface{}) *v8.StringCmd

GetSet provides a mock function with given fields: ctx, key, value

func (*Cmdable) HDel added in v0.0.11

func (_m *Cmdable) HDel(ctx context.Context, key string, fields ...string) *v8.IntCmd

HDel provides a mock function with given fields: ctx, key, fields

func (*Cmdable) HExists added in v0.0.11

func (_m *Cmdable) HExists(ctx context.Context, key string, field string) *v8.BoolCmd

HExists provides a mock function with given fields: ctx, key, field

func (*Cmdable) HGet added in v0.0.11

func (_m *Cmdable) HGet(ctx context.Context, key string, field string) *v8.StringCmd

HGet provides a mock function with given fields: ctx, key, field

func (*Cmdable) HGetAll added in v0.0.11

func (_m *Cmdable) HGetAll(ctx context.Context, key string) *v8.StringStringMapCmd

HGetAll provides a mock function with given fields: ctx, key

func (*Cmdable) HIncrBy added in v0.0.11

func (_m *Cmdable) HIncrBy(ctx context.Context, key string, field string, incr int64) *v8.IntCmd

HIncrBy provides a mock function with given fields: ctx, key, field, incr

func (*Cmdable) HIncrByFloat added in v0.0.11

func (_m *Cmdable) HIncrByFloat(ctx context.Context, key string, field string, incr float64) *v8.FloatCmd

HIncrByFloat provides a mock function with given fields: ctx, key, field, incr

func (*Cmdable) HKeys added in v0.0.11

func (_m *Cmdable) HKeys(ctx context.Context, key string) *v8.StringSliceCmd

HKeys provides a mock function with given fields: ctx, key

func (*Cmdable) HLen added in v0.0.11

func (_m *Cmdable) HLen(ctx context.Context, key string) *v8.IntCmd

HLen provides a mock function with given fields: ctx, key

func (*Cmdable) HMGet added in v0.0.11

func (_m *Cmdable) HMGet(ctx context.Context, key string, fields ...string) *v8.SliceCmd

HMGet provides a mock function with given fields: ctx, key, fields

func (*Cmdable) HMSet added in v0.0.11

func (_m *Cmdable) HMSet(ctx context.Context, key string, values ...interface{}) *v8.BoolCmd

HMSet provides a mock function with given fields: ctx, key, values

func (*Cmdable) HRandField added in v0.0.11

func (_m *Cmdable) HRandField(ctx context.Context, key string, count int, withValues bool) *v8.StringSliceCmd

HRandField provides a mock function with given fields: ctx, key, count, withValues

func (*Cmdable) HScan added in v0.0.11

func (_m *Cmdable) HScan(ctx context.Context, key string, cursor uint64, match string, count int64) *v8.ScanCmd

HScan provides a mock function with given fields: ctx, key, cursor, match, count

func (*Cmdable) HSet added in v0.0.11

func (_m *Cmdable) HSet(ctx context.Context, key string, values ...interface{}) *v8.IntCmd

HSet provides a mock function with given fields: ctx, key, values

func (*Cmdable) HSetNX added in v0.0.11

func (_m *Cmdable) HSetNX(ctx context.Context, key string, field string, value interface{}) *v8.BoolCmd

HSetNX provides a mock function with given fields: ctx, key, field, value

func (*Cmdable) HSetTTL added in v0.0.11

func (_m *Cmdable) HSetTTL(ctx context.Context, key string, values map[string]interface{}, TTL time.Duration) error

HSetTTL provides a mock function with given fields: ctx, key, values, TTL

func (*Cmdable) HVals added in v0.0.11

func (_m *Cmdable) HVals(ctx context.Context, key string) *v8.StringSliceCmd

HVals provides a mock function with given fields: ctx, key

func (*Cmdable) Incr added in v0.0.11

func (_m *Cmdable) Incr(ctx context.Context, key string) *v8.IntCmd

Incr provides a mock function with given fields: ctx, key

func (*Cmdable) IncrBy added in v0.0.11

func (_m *Cmdable) IncrBy(ctx context.Context, key string, value int64) *v8.IntCmd

IncrBy provides a mock function with given fields: ctx, key, value

func (*Cmdable) IncrByFloat added in v0.0.11

func (_m *Cmdable) IncrByFloat(ctx context.Context, key string, value float64) *v8.FloatCmd

IncrByFloat provides a mock function with given fields: ctx, key, value

func (*Cmdable) Info added in v0.0.11

func (_m *Cmdable) Info(ctx context.Context, section ...string) *v8.StringCmd

Info provides a mock function with given fields: ctx, section

func (*Cmdable) Keys added in v0.0.11

func (_m *Cmdable) Keys(ctx context.Context, pattern string) *v8.StringSliceCmd

Keys provides a mock function with given fields: ctx, pattern

func (*Cmdable) LIndex added in v0.0.11

func (_m *Cmdable) LIndex(ctx context.Context, key string, index int64) *v8.StringCmd

LIndex provides a mock function with given fields: ctx, key, index

func (*Cmdable) LInsert added in v0.0.11

func (_m *Cmdable) LInsert(ctx context.Context, key string, op string, pivot interface{}, value interface{}) *v8.IntCmd

LInsert provides a mock function with given fields: ctx, key, op, pivot, value

func (*Cmdable) LInsertAfter added in v0.0.11

func (_m *Cmdable) LInsertAfter(ctx context.Context, key string, pivot interface{}, value interface{}) *v8.IntCmd

LInsertAfter provides a mock function with given fields: ctx, key, pivot, value

func (*Cmdable) LInsertBefore added in v0.0.11

func (_m *Cmdable) LInsertBefore(ctx context.Context, key string, pivot interface{}, value interface{}) *v8.IntCmd

LInsertBefore provides a mock function with given fields: ctx, key, pivot, value

func (*Cmdable) LLen added in v0.0.11

func (_m *Cmdable) LLen(ctx context.Context, key string) *v8.IntCmd

LLen provides a mock function with given fields: ctx, key

func (*Cmdable) LMove added in v0.0.11

func (_m *Cmdable) LMove(ctx context.Context, source string, destination string, srcpos string, destpos string) *v8.StringCmd

LMove provides a mock function with given fields: ctx, source, destination, srcpos, destpos

func (*Cmdable) LPop added in v0.0.11

func (_m *Cmdable) LPop(ctx context.Context, key string) *v8.StringCmd

LPop provides a mock function with given fields: ctx, key

func (*Cmdable) LPopCount added in v0.0.11

func (_m *Cmdable) LPopCount(ctx context.Context, key string, count int) *v8.StringSliceCmd

LPopCount provides a mock function with given fields: ctx, key, count

func (*Cmdable) LPos added in v0.0.11

func (_m *Cmdable) LPos(ctx context.Context, key string, value string, args v8.LPosArgs) *v8.IntCmd

LPos provides a mock function with given fields: ctx, key, value, args

func (*Cmdable) LPosCount added in v0.0.11

func (_m *Cmdable) LPosCount(ctx context.Context, key string, value string, count int64, args v8.LPosArgs) *v8.IntSliceCmd

LPosCount provides a mock function with given fields: ctx, key, value, count, args

func (*Cmdable) LPush added in v0.0.11

func (_m *Cmdable) LPush(ctx context.Context, key string, values ...interface{}) *v8.IntCmd

LPush provides a mock function with given fields: ctx, key, values

func (*Cmdable) LPushX added in v0.0.11

func (_m *Cmdable) LPushX(ctx context.Context, key string, values ...interface{}) *v8.IntCmd

LPushX provides a mock function with given fields: ctx, key, values

func (*Cmdable) LRange added in v0.0.11

func (_m *Cmdable) LRange(ctx context.Context, key string, start int64, stop int64) *v8.StringSliceCmd

LRange provides a mock function with given fields: ctx, key, start, stop

func (*Cmdable) LRem added in v0.0.11

func (_m *Cmdable) LRem(ctx context.Context, key string, count int64, value interface{}) *v8.IntCmd

LRem provides a mock function with given fields: ctx, key, count, value

func (*Cmdable) LSet added in v0.0.11

func (_m *Cmdable) LSet(ctx context.Context, key string, index int64, value interface{}) *v8.StatusCmd

LSet provides a mock function with given fields: ctx, key, index, value

func (*Cmdable) LTrim added in v0.0.11

func (_m *Cmdable) LTrim(ctx context.Context, key string, start int64, stop int64) *v8.StatusCmd

LTrim provides a mock function with given fields: ctx, key, start, stop

func (*Cmdable) LastSave added in v0.0.11

func (_m *Cmdable) LastSave(ctx context.Context) *v8.IntCmd

LastSave provides a mock function with given fields: ctx

func (*Cmdable) MGet added in v0.0.11

func (_m *Cmdable) MGet(ctx context.Context, keys ...string) *v8.SliceCmd

MGet provides a mock function with given fields: ctx, keys

func (*Cmdable) MSet added in v0.0.11

func (_m *Cmdable) MSet(ctx context.Context, values ...interface{}) *v8.StatusCmd

MSet provides a mock function with given fields: ctx, values

func (*Cmdable) MSetNX added in v0.0.11

func (_m *Cmdable) MSetNX(ctx context.Context, values ...interface{}) *v8.BoolCmd

MSetNX provides a mock function with given fields: ctx, values

func (*Cmdable) MemoryUsage added in v0.0.11

func (_m *Cmdable) MemoryUsage(ctx context.Context, key string, samples ...int) *v8.IntCmd

MemoryUsage provides a mock function with given fields: ctx, key, samples

func (*Cmdable) Migrate added in v0.0.11

func (_m *Cmdable) Migrate(ctx context.Context, host string, port string, key string, db int, timeout time.Duration) *v8.StatusCmd

Migrate provides a mock function with given fields: ctx, host, port, key, db, timeout

func (*Cmdable) Move added in v0.0.11

func (_m *Cmdable) Move(ctx context.Context, key string, db int) *v8.BoolCmd

Move provides a mock function with given fields: ctx, key, db

func (*Cmdable) ObjectEncoding added in v0.0.11

func (_m *Cmdable) ObjectEncoding(ctx context.Context, key string) *v8.StringCmd

ObjectEncoding provides a mock function with given fields: ctx, key

func (*Cmdable) ObjectIdleTime added in v0.0.11

func (_m *Cmdable) ObjectIdleTime(ctx context.Context, key string) *v8.DurationCmd

ObjectIdleTime provides a mock function with given fields: ctx, key

func (*Cmdable) ObjectRefCount added in v0.0.11

func (_m *Cmdable) ObjectRefCount(ctx context.Context, key string) *v8.IntCmd

ObjectRefCount provides a mock function with given fields: ctx, key

func (*Cmdable) OptimisticLockTx added in v0.0.11

func (_m *Cmdable) OptimisticLockTx(ctx context.Context, maxRetries int, txFn func(*v8.Tx) error, keys ...string) error

OptimisticLockTx provides a mock function with given fields: ctx, maxRetries, txFn, keys

func (*Cmdable) PExpire added in v0.0.11

func (_m *Cmdable) PExpire(ctx context.Context, key string, expiration time.Duration) *v8.BoolCmd

PExpire provides a mock function with given fields: ctx, key, expiration

func (*Cmdable) PExpireAt added in v0.0.11

func (_m *Cmdable) PExpireAt(ctx context.Context, key string, tm time.Time) *v8.BoolCmd

PExpireAt provides a mock function with given fields: ctx, key, tm

func (*Cmdable) PFAdd added in v0.0.11

func (_m *Cmdable) PFAdd(ctx context.Context, key string, els ...interface{}) *v8.IntCmd

PFAdd provides a mock function with given fields: ctx, key, els

func (*Cmdable) PFCount added in v0.0.11

func (_m *Cmdable) PFCount(ctx context.Context, keys ...string) *v8.IntCmd

PFCount provides a mock function with given fields: ctx, keys

func (*Cmdable) PFMerge added in v0.0.11

func (_m *Cmdable) PFMerge(ctx context.Context, dest string, keys ...string) *v8.StatusCmd

PFMerge provides a mock function with given fields: ctx, dest, keys

func (*Cmdable) PTTL added in v0.0.11

func (_m *Cmdable) PTTL(ctx context.Context, key string) *v8.DurationCmd

PTTL provides a mock function with given fields: ctx, key

func (*Cmdable) Persist added in v0.0.11

func (_m *Cmdable) Persist(ctx context.Context, key string) *v8.BoolCmd

Persist provides a mock function with given fields: ctx, key

func (*Cmdable) Ping added in v0.0.11

func (_m *Cmdable) Ping(ctx context.Context) *v8.StatusCmd

Ping provides a mock function with given fields: ctx

func (*Cmdable) Pipeline added in v0.0.11

func (_m *Cmdable) Pipeline() v8.Pipeliner

Pipeline provides a mock function with given fields:

func (*Cmdable) Pipelined added in v0.0.11

func (_m *Cmdable) Pipelined(ctx context.Context, fn func(v8.Pipeliner) error) ([]v8.Cmder, error)

Pipelined provides a mock function with given fields: ctx, fn

func (*Cmdable) PubSubChannels added in v0.0.11

func (_m *Cmdable) PubSubChannels(ctx context.Context, pattern string) *v8.StringSliceCmd

PubSubChannels provides a mock function with given fields: ctx, pattern

func (*Cmdable) PubSubNumPat added in v0.0.11

func (_m *Cmdable) PubSubNumPat(ctx context.Context) *v8.IntCmd

PubSubNumPat provides a mock function with given fields: ctx

func (*Cmdable) PubSubNumSub added in v0.0.11

func (_m *Cmdable) PubSubNumSub(ctx context.Context, channels ...string) *v8.StringIntMapCmd

PubSubNumSub provides a mock function with given fields: ctx, channels

func (*Cmdable) Publish added in v0.0.11

func (_m *Cmdable) Publish(ctx context.Context, channel string, message interface{}) *v8.IntCmd

Publish provides a mock function with given fields: ctx, channel, message

func (*Cmdable) Quit added in v0.0.11

func (_m *Cmdable) Quit(ctx context.Context) *v8.StatusCmd

Quit provides a mock function with given fields: ctx

func (*Cmdable) RPop added in v0.0.11

func (_m *Cmdable) RPop(ctx context.Context, key string) *v8.StringCmd

RPop provides a mock function with given fields: ctx, key

func (*Cmdable) RPopLPush added in v0.0.11

func (_m *Cmdable) RPopLPush(ctx context.Context, source string, destination string) *v8.StringCmd

RPopLPush provides a mock function with given fields: ctx, source, destination

func (*Cmdable) RPush added in v0.0.11

func (_m *Cmdable) RPush(ctx context.Context, key string, values ...interface{}) *v8.IntCmd

RPush provides a mock function with given fields: ctx, key, values

func (*Cmdable) RPushX added in v0.0.11

func (_m *Cmdable) RPushX(ctx context.Context, key string, values ...interface{}) *v8.IntCmd

RPushX provides a mock function with given fields: ctx, key, values

func (*Cmdable) RandomKey added in v0.0.11

func (_m *Cmdable) RandomKey(ctx context.Context) *v8.StringCmd

RandomKey provides a mock function with given fields: ctx

func (*Cmdable) ReadOnly added in v0.0.11

func (_m *Cmdable) ReadOnly(ctx context.Context) *v8.StatusCmd

ReadOnly provides a mock function with given fields: ctx

func (*Cmdable) ReadWrite added in v0.0.11

func (_m *Cmdable) ReadWrite(ctx context.Context) *v8.StatusCmd

ReadWrite provides a mock function with given fields: ctx

func (*Cmdable) Rename added in v0.0.11

func (_m *Cmdable) Rename(ctx context.Context, key string, newkey string) *v8.StatusCmd

Rename provides a mock function with given fields: ctx, key, newkey

func (*Cmdable) RenameNX added in v0.0.11

func (_m *Cmdable) RenameNX(ctx context.Context, key string, newkey string) *v8.BoolCmd

RenameNX provides a mock function with given fields: ctx, key, newkey

func (*Cmdable) Restore added in v0.0.11

func (_m *Cmdable) Restore(ctx context.Context, key string, ttl time.Duration, value string) *v8.StatusCmd

Restore provides a mock function with given fields: ctx, key, ttl, value

func (*Cmdable) RestoreReplace added in v0.0.11

func (_m *Cmdable) RestoreReplace(ctx context.Context, key string, ttl time.Duration, value string) *v8.StatusCmd

RestoreReplace provides a mock function with given fields: ctx, key, ttl, value

func (*Cmdable) SAdd added in v0.0.11

func (_m *Cmdable) SAdd(ctx context.Context, key string, members ...interface{}) *v8.IntCmd

SAdd provides a mock function with given fields: ctx, key, members

func (*Cmdable) SAddTTL added in v0.0.11

func (_m *Cmdable) SAddTTL(ctx context.Context, key string, TTL time.Duration, members ...interface{}) error

SAddTTL provides a mock function with given fields: ctx, key, TTL, members

func (*Cmdable) SCard added in v0.0.11

func (_m *Cmdable) SCard(ctx context.Context, key string) *v8.IntCmd

SCard provides a mock function with given fields: ctx, key

func (*Cmdable) SDiff added in v0.0.11

func (_m *Cmdable) SDiff(ctx context.Context, keys ...string) *v8.StringSliceCmd

SDiff provides a mock function with given fields: ctx, keys

func (*Cmdable) SDiffStore added in v0.0.11

func (_m *Cmdable) SDiffStore(ctx context.Context, destination string, keys ...string) *v8.IntCmd

SDiffStore provides a mock function with given fields: ctx, destination, keys

func (*Cmdable) SInter added in v0.0.11

func (_m *Cmdable) SInter(ctx context.Context, keys ...string) *v8.StringSliceCmd

SInter provides a mock function with given fields: ctx, keys

func (*Cmdable) SInterStore added in v0.0.11

func (_m *Cmdable) SInterStore(ctx context.Context, destination string, keys ...string) *v8.IntCmd

SInterStore provides a mock function with given fields: ctx, destination, keys

func (*Cmdable) SIsMember added in v0.0.11

func (_m *Cmdable) SIsMember(ctx context.Context, key string, member interface{}) *v8.BoolCmd

SIsMember provides a mock function with given fields: ctx, key, member

func (*Cmdable) SMIsMember added in v0.0.11

func (_m *Cmdable) SMIsMember(ctx context.Context, key string, members ...interface{}) *v8.BoolSliceCmd

SMIsMember provides a mock function with given fields: ctx, key, members

func (*Cmdable) SMembers added in v0.0.11

func (_m *Cmdable) SMembers(ctx context.Context, key string) *v8.StringSliceCmd

SMembers provides a mock function with given fields: ctx, key

func (*Cmdable) SMembersMap added in v0.0.11

func (_m *Cmdable) SMembersMap(ctx context.Context, key string) *v8.StringStructMapCmd

SMembersMap provides a mock function with given fields: ctx, key

func (*Cmdable) SMove added in v0.0.11

func (_m *Cmdable) SMove(ctx context.Context, source string, destination string, member interface{}) *v8.BoolCmd

SMove provides a mock function with given fields: ctx, source, destination, member

func (*Cmdable) SPop added in v0.0.11

func (_m *Cmdable) SPop(ctx context.Context, key string) *v8.StringCmd

SPop provides a mock function with given fields: ctx, key

func (*Cmdable) SPopN added in v0.0.11

func (_m *Cmdable) SPopN(ctx context.Context, key string, count int64) *v8.StringSliceCmd

SPopN provides a mock function with given fields: ctx, key, count

func (*Cmdable) SRandMember added in v0.0.11

func (_m *Cmdable) SRandMember(ctx context.Context, key string) *v8.StringCmd

SRandMember provides a mock function with given fields: ctx, key

func (*Cmdable) SRandMemberN added in v0.0.11

func (_m *Cmdable) SRandMemberN(ctx context.Context, key string, count int64) *v8.StringSliceCmd

SRandMemberN provides a mock function with given fields: ctx, key, count

func (*Cmdable) SRem added in v0.0.11

func (_m *Cmdable) SRem(ctx context.Context, key string, members ...interface{}) *v8.IntCmd

SRem provides a mock function with given fields: ctx, key, members

func (*Cmdable) SScan added in v0.0.11

func (_m *Cmdable) SScan(ctx context.Context, key string, cursor uint64, match string, count int64) *v8.ScanCmd

SScan provides a mock function with given fields: ctx, key, cursor, match, count

func (*Cmdable) SUnion added in v0.0.11

func (_m *Cmdable) SUnion(ctx context.Context, keys ...string) *v8.StringSliceCmd

SUnion provides a mock function with given fields: ctx, keys

func (*Cmdable) SUnionStore added in v0.0.11

func (_m *Cmdable) SUnionStore(ctx context.Context, destination string, keys ...string) *v8.IntCmd

SUnionStore provides a mock function with given fields: ctx, destination, keys

func (*Cmdable) Save added in v0.0.11

func (_m *Cmdable) Save(ctx context.Context) *v8.StatusCmd

Save provides a mock function with given fields: ctx

func (*Cmdable) Scan added in v0.0.11

func (_m *Cmdable) Scan(ctx context.Context, cursor uint64, match string, count int64) *v8.ScanCmd

Scan provides a mock function with given fields: ctx, cursor, match, count

func (*Cmdable) ScanType added in v0.0.11

func (_m *Cmdable) ScanType(ctx context.Context, cursor uint64, match string, count int64, keyType string) *v8.ScanCmd

ScanType provides a mock function with given fields: ctx, cursor, match, count, keyType

func (*Cmdable) ScriptExists added in v0.0.11

func (_m *Cmdable) ScriptExists(ctx context.Context, hashes ...string) *v8.BoolSliceCmd

ScriptExists provides a mock function with given fields: ctx, hashes

func (*Cmdable) ScriptFlush added in v0.0.11

func (_m *Cmdable) ScriptFlush(ctx context.Context) *v8.StatusCmd

ScriptFlush provides a mock function with given fields: ctx

func (*Cmdable) ScriptKill added in v0.0.11

func (_m *Cmdable) ScriptKill(ctx context.Context) *v8.StatusCmd

ScriptKill provides a mock function with given fields: ctx

func (*Cmdable) ScriptLoad added in v0.0.11

func (_m *Cmdable) ScriptLoad(ctx context.Context, script string) *v8.StringCmd

ScriptLoad provides a mock function with given fields: ctx, script

func (*Cmdable) Set added in v0.0.11

func (_m *Cmdable) Set(ctx context.Context, key string, value interface{}, expiration time.Duration) *v8.StatusCmd

Set provides a mock function with given fields: ctx, key, value, expiration

func (*Cmdable) SetArgs added in v0.0.11

func (_m *Cmdable) SetArgs(ctx context.Context, key string, value interface{}, a v8.SetArgs) *v8.StatusCmd

SetArgs provides a mock function with given fields: ctx, key, value, a

func (*Cmdable) SetBit added in v0.0.11

func (_m *Cmdable) SetBit(ctx context.Context, key string, offset int64, value int) *v8.IntCmd

SetBit provides a mock function with given fields: ctx, key, offset, value

func (*Cmdable) SetEX added in v0.0.11

func (_m *Cmdable) SetEX(ctx context.Context, key string, value interface{}, expiration time.Duration) *v8.StatusCmd

SetEX provides a mock function with given fields: ctx, key, value, expiration

func (*Cmdable) SetNX added in v0.0.11

func (_m *Cmdable) SetNX(ctx context.Context, key string, value interface{}, expiration time.Duration) *v8.BoolCmd

SetNX provides a mock function with given fields: ctx, key, value, expiration

func (*Cmdable) SetRange added in v0.0.11

func (_m *Cmdable) SetRange(ctx context.Context, key string, offset int64, value string) *v8.IntCmd

SetRange provides a mock function with given fields: ctx, key, offset, value

func (*Cmdable) SetXX added in v0.0.11

func (_m *Cmdable) SetXX(ctx context.Context, key string, value interface{}, expiration time.Duration) *v8.BoolCmd

SetXX provides a mock function with given fields: ctx, key, value, expiration

func (*Cmdable) Shutdown added in v0.0.11

func (_m *Cmdable) Shutdown(ctx context.Context) *v8.StatusCmd

Shutdown provides a mock function with given fields: ctx

func (*Cmdable) ShutdownNoSave added in v0.0.11

func (_m *Cmdable) ShutdownNoSave(ctx context.Context) *v8.StatusCmd

ShutdownNoSave provides a mock function with given fields: ctx

func (*Cmdable) ShutdownSave added in v0.0.11

func (_m *Cmdable) ShutdownSave(ctx context.Context) *v8.StatusCmd

ShutdownSave provides a mock function with given fields: ctx

func (*Cmdable) SlaveOf added in v0.0.11

func (_m *Cmdable) SlaveOf(ctx context.Context, host string, port string) *v8.StatusCmd

SlaveOf provides a mock function with given fields: ctx, host, port

func (*Cmdable) Sort added in v0.0.11

func (_m *Cmdable) Sort(ctx context.Context, key string, sort *v8.Sort) *v8.StringSliceCmd

Sort provides a mock function with given fields: ctx, key, sort

func (*Cmdable) SortInterfaces added in v0.0.11

func (_m *Cmdable) SortInterfaces(ctx context.Context, key string, sort *v8.Sort) *v8.SliceCmd

SortInterfaces provides a mock function with given fields: ctx, key, sort

func (*Cmdable) SortStore added in v0.0.11

func (_m *Cmdable) SortStore(ctx context.Context, key string, store string, sort *v8.Sort) *v8.IntCmd

SortStore provides a mock function with given fields: ctx, key, store, sort

func (*Cmdable) StrLen added in v0.0.11

func (_m *Cmdable) StrLen(ctx context.Context, key string) *v8.IntCmd

StrLen provides a mock function with given fields: ctx, key

func (*Cmdable) TTL added in v0.0.11

func (_m *Cmdable) TTL(ctx context.Context, key string) *v8.DurationCmd

TTL provides a mock function with given fields: ctx, key

func (*Cmdable) Time added in v0.0.11

func (_m *Cmdable) Time(ctx context.Context) *v8.TimeCmd

Time provides a mock function with given fields: ctx

func (*Cmdable) Touch added in v0.0.11

func (_m *Cmdable) Touch(ctx context.Context, keys ...string) *v8.IntCmd

Touch provides a mock function with given fields: ctx, keys

func (*Cmdable) TxPipeline added in v0.0.11

func (_m *Cmdable) TxPipeline() v8.Pipeliner

TxPipeline provides a mock function with given fields:

func (*Cmdable) TxPipelined added in v0.0.11

func (_m *Cmdable) TxPipelined(ctx context.Context, fn func(v8.Pipeliner) error) ([]v8.Cmder, error)

TxPipelined provides a mock function with given fields: ctx, fn

func (*Cmdable) Type added in v0.0.11

func (_m *Cmdable) Type(ctx context.Context, key string) *v8.StatusCmd

Type provides a mock function with given fields: ctx, key

func (_m *Cmdable) Unlink(ctx context.Context, keys ...string) *v8.IntCmd

Unlink provides a mock function with given fields: ctx, keys

func (*Cmdable) XAck added in v0.0.11

func (_m *Cmdable) XAck(ctx context.Context, stream string, group string, ids ...string) *v8.IntCmd

XAck provides a mock function with given fields: ctx, stream, group, ids

func (*Cmdable) XAdd added in v0.0.11

func (_m *Cmdable) XAdd(ctx context.Context, a *v8.XAddArgs) *v8.StringCmd

XAdd provides a mock function with given fields: ctx, a

func (*Cmdable) XClaim added in v0.0.11

func (_m *Cmdable) XClaim(ctx context.Context, a *v8.XClaimArgs) *v8.XMessageSliceCmd

XClaim provides a mock function with given fields: ctx, a

func (*Cmdable) XClaimJustID added in v0.0.11

func (_m *Cmdable) XClaimJustID(ctx context.Context, a *v8.XClaimArgs) *v8.StringSliceCmd

XClaimJustID provides a mock function with given fields: ctx, a

func (*Cmdable) XDel added in v0.0.11

func (_m *Cmdable) XDel(ctx context.Context, stream string, ids ...string) *v8.IntCmd

XDel provides a mock function with given fields: ctx, stream, ids

func (*Cmdable) XGroupCreate added in v0.0.11

func (_m *Cmdable) XGroupCreate(ctx context.Context, stream string, group string, start string) *v8.StatusCmd

XGroupCreate provides a mock function with given fields: ctx, stream, group, start

func (*Cmdable) XGroupCreateMkStream added in v0.0.11

func (_m *Cmdable) XGroupCreateMkStream(ctx context.Context, stream string, group string, start string) *v8.StatusCmd

XGroupCreateMkStream provides a mock function with given fields: ctx, stream, group, start

func (*Cmdable) XGroupDelConsumer added in v0.0.11

func (_m *Cmdable) XGroupDelConsumer(ctx context.Context, stream string, group string, consumer string) *v8.IntCmd

XGroupDelConsumer provides a mock function with given fields: ctx, stream, group, consumer

func (*Cmdable) XGroupDestroy added in v0.0.11

func (_m *Cmdable) XGroupDestroy(ctx context.Context, stream string, group string) *v8.IntCmd

XGroupDestroy provides a mock function with given fields: ctx, stream, group

func (*Cmdable) XGroupSetID added in v0.0.11

func (_m *Cmdable) XGroupSetID(ctx context.Context, stream string, group string, start string) *v8.StatusCmd

XGroupSetID provides a mock function with given fields: ctx, stream, group, start

func (*Cmdable) XInfoConsumers added in v0.0.11

func (_m *Cmdable) XInfoConsumers(ctx context.Context, key string, group string) *v8.XInfoConsumersCmd

XInfoConsumers provides a mock function with given fields: ctx, key, group

func (*Cmdable) XInfoGroups added in v0.0.11

func (_m *Cmdable) XInfoGroups(ctx context.Context, key string) *v8.XInfoGroupsCmd

XInfoGroups provides a mock function with given fields: ctx, key

func (*Cmdable) XInfoStream added in v0.0.11

func (_m *Cmdable) XInfoStream(ctx context.Context, key string) *v8.XInfoStreamCmd

XInfoStream provides a mock function with given fields: ctx, key

func (*Cmdable) XLen added in v0.0.11

func (_m *Cmdable) XLen(ctx context.Context, stream string) *v8.IntCmd

XLen provides a mock function with given fields: ctx, stream

func (*Cmdable) XPending added in v0.0.11

func (_m *Cmdable) XPending(ctx context.Context, stream string, group string) *v8.XPendingCmd

XPending provides a mock function with given fields: ctx, stream, group

func (*Cmdable) XPendingExt added in v0.0.11

func (_m *Cmdable) XPendingExt(ctx context.Context, a *v8.XPendingExtArgs) *v8.XPendingExtCmd

XPendingExt provides a mock function with given fields: ctx, a

func (*Cmdable) XRange added in v0.0.11

func (_m *Cmdable) XRange(ctx context.Context, stream string, start string, stop string) *v8.XMessageSliceCmd

XRange provides a mock function with given fields: ctx, stream, start, stop

func (*Cmdable) XRangeN added in v0.0.11

func (_m *Cmdable) XRangeN(ctx context.Context, stream string, start string, stop string, count int64) *v8.XMessageSliceCmd

XRangeN provides a mock function with given fields: ctx, stream, start, stop, count

func (*Cmdable) XRead added in v0.0.11

func (_m *Cmdable) XRead(ctx context.Context, a *v8.XReadArgs) *v8.XStreamSliceCmd

XRead provides a mock function with given fields: ctx, a

func (*Cmdable) XReadGroup added in v0.0.11

func (_m *Cmdable) XReadGroup(ctx context.Context, a *v8.XReadGroupArgs) *v8.XStreamSliceCmd

XReadGroup provides a mock function with given fields: ctx, a

func (*Cmdable) XReadStreams added in v0.0.11

func (_m *Cmdable) XReadStreams(ctx context.Context, streams ...string) *v8.XStreamSliceCmd

XReadStreams provides a mock function with given fields: ctx, streams

func (*Cmdable) XRevRange added in v0.0.11

func (_m *Cmdable) XRevRange(ctx context.Context, stream string, start string, stop string) *v8.XMessageSliceCmd

XRevRange provides a mock function with given fields: ctx, stream, start, stop

func (*Cmdable) XRevRangeN added in v0.0.11

func (_m *Cmdable) XRevRangeN(ctx context.Context, stream string, start string, stop string, count int64) *v8.XMessageSliceCmd

XRevRangeN provides a mock function with given fields: ctx, stream, start, stop, count

func (*Cmdable) XTrim added in v0.0.11

func (_m *Cmdable) XTrim(ctx context.Context, key string, maxLen int64) *v8.IntCmd

XTrim provides a mock function with given fields: ctx, key, maxLen

func (*Cmdable) XTrimApprox added in v0.0.11

func (_m *Cmdable) XTrimApprox(ctx context.Context, key string, maxLen int64) *v8.IntCmd

XTrimApprox provides a mock function with given fields: ctx, key, maxLen

func (*Cmdable) ZAdd added in v0.0.11

func (_m *Cmdable) ZAdd(ctx context.Context, key string, members ...*v8.Z) *v8.IntCmd

ZAdd provides a mock function with given fields: ctx, key, members

func (*Cmdable) ZAddCh added in v0.0.11

func (_m *Cmdable) ZAddCh(ctx context.Context, key string, members ...*v8.Z) *v8.IntCmd

ZAddCh provides a mock function with given fields: ctx, key, members

func (*Cmdable) ZAddNX added in v0.0.11

func (_m *Cmdable) ZAddNX(ctx context.Context, key string, members ...*v8.Z) *v8.IntCmd

ZAddNX provides a mock function with given fields: ctx, key, members

func (*Cmdable) ZAddNXCh added in v0.0.11

func (_m *Cmdable) ZAddNXCh(ctx context.Context, key string, members ...*v8.Z) *v8.IntCmd

ZAddNXCh provides a mock function with given fields: ctx, key, members

func (*Cmdable) ZAddXX added in v0.0.11

func (_m *Cmdable) ZAddXX(ctx context.Context, key string, members ...*v8.Z) *v8.IntCmd

ZAddXX provides a mock function with given fields: ctx, key, members

func (*Cmdable) ZAddXXCh added in v0.0.11

func (_m *Cmdable) ZAddXXCh(ctx context.Context, key string, members ...*v8.Z) *v8.IntCmd

ZAddXXCh provides a mock function with given fields: ctx, key, members

func (*Cmdable) ZCard added in v0.0.11

func (_m *Cmdable) ZCard(ctx context.Context, key string) *v8.IntCmd

ZCard provides a mock function with given fields: ctx, key

func (*Cmdable) ZCount added in v0.0.11

func (_m *Cmdable) ZCount(ctx context.Context, key string, min string, max string) *v8.IntCmd

ZCount provides a mock function with given fields: ctx, key, min, max

func (*Cmdable) ZDiff added in v0.0.11

func (_m *Cmdable) ZDiff(ctx context.Context, keys ...string) *v8.StringSliceCmd

ZDiff provides a mock function with given fields: ctx, keys

func (*Cmdable) ZDiffStore added in v0.0.11

func (_m *Cmdable) ZDiffStore(ctx context.Context, destination string, keys ...string) *v8.IntCmd

ZDiffStore provides a mock function with given fields: ctx, destination, keys

func (*Cmdable) ZDiffWithScores added in v0.0.11

func (_m *Cmdable) ZDiffWithScores(ctx context.Context, keys ...string) *v8.ZSliceCmd

ZDiffWithScores provides a mock function with given fields: ctx, keys

func (*Cmdable) ZIncr added in v0.0.11

func (_m *Cmdable) ZIncr(ctx context.Context, key string, member *v8.Z) *v8.FloatCmd

ZIncr provides a mock function with given fields: ctx, key, member

func (*Cmdable) ZIncrBy added in v0.0.11

func (_m *Cmdable) ZIncrBy(ctx context.Context, key string, increment float64, member string) *v8.FloatCmd

ZIncrBy provides a mock function with given fields: ctx, key, increment, member

func (*Cmdable) ZIncrNX added in v0.0.11

func (_m *Cmdable) ZIncrNX(ctx context.Context, key string, member *v8.Z) *v8.FloatCmd

ZIncrNX provides a mock function with given fields: ctx, key, member

func (*Cmdable) ZIncrXX added in v0.0.11

func (_m *Cmdable) ZIncrXX(ctx context.Context, key string, member *v8.Z) *v8.FloatCmd

ZIncrXX provides a mock function with given fields: ctx, key, member

func (*Cmdable) ZInter added in v0.0.11

func (_m *Cmdable) ZInter(ctx context.Context, store *v8.ZStore) *v8.StringSliceCmd

ZInter provides a mock function with given fields: ctx, store

func (*Cmdable) ZInterStore added in v0.0.11

func (_m *Cmdable) ZInterStore(ctx context.Context, destination string, store *v8.ZStore) *v8.IntCmd

ZInterStore provides a mock function with given fields: ctx, destination, store

func (*Cmdable) ZInterWithScores added in v0.0.11

func (_m *Cmdable) ZInterWithScores(ctx context.Context, store *v8.ZStore) *v8.ZSliceCmd

ZInterWithScores provides a mock function with given fields: ctx, store

func (*Cmdable) ZLexCount added in v0.0.11

func (_m *Cmdable) ZLexCount(ctx context.Context, key string, min string, max string) *v8.IntCmd

ZLexCount provides a mock function with given fields: ctx, key, min, max

func (*Cmdable) ZMScore added in v0.0.11

func (_m *Cmdable) ZMScore(ctx context.Context, key string, members ...string) *v8.FloatSliceCmd

ZMScore provides a mock function with given fields: ctx, key, members

func (*Cmdable) ZPopMax added in v0.0.11

func (_m *Cmdable) ZPopMax(ctx context.Context, key string, count ...int64) *v8.ZSliceCmd

ZPopMax provides a mock function with given fields: ctx, key, count

func (*Cmdable) ZPopMin added in v0.0.11

func (_m *Cmdable) ZPopMin(ctx context.Context, key string, count ...int64) *v8.ZSliceCmd

ZPopMin provides a mock function with given fields: ctx, key, count

func (*Cmdable) ZRandMember added in v0.0.11

func (_m *Cmdable) ZRandMember(ctx context.Context, key string, count int, withScores bool) *v8.StringSliceCmd

ZRandMember provides a mock function with given fields: ctx, key, count, withScores

func (*Cmdable) ZRange added in v0.0.11

func (_m *Cmdable) ZRange(ctx context.Context, key string, start int64, stop int64) *v8.StringSliceCmd

ZRange provides a mock function with given fields: ctx, key, start, stop

func (*Cmdable) ZRangeByLex added in v0.0.11

func (_m *Cmdable) ZRangeByLex(ctx context.Context, key string, opt *v8.ZRangeBy) *v8.StringSliceCmd

ZRangeByLex provides a mock function with given fields: ctx, key, opt

func (*Cmdable) ZRangeByScore added in v0.0.11

func (_m *Cmdable) ZRangeByScore(ctx context.Context, key string, opt *v8.ZRangeBy) *v8.StringSliceCmd

ZRangeByScore provides a mock function with given fields: ctx, key, opt

func (*Cmdable) ZRangeByScoreWithScores added in v0.0.11

func (_m *Cmdable) ZRangeByScoreWithScores(ctx context.Context, key string, opt *v8.ZRangeBy) *v8.ZSliceCmd

ZRangeByScoreWithScores provides a mock function with given fields: ctx, key, opt

func (*Cmdable) ZRangeWithScores added in v0.0.11

func (_m *Cmdable) ZRangeWithScores(ctx context.Context, key string, start int64, stop int64) *v8.ZSliceCmd

ZRangeWithScores provides a mock function with given fields: ctx, key, start, stop

func (*Cmdable) ZRank added in v0.0.11

func (_m *Cmdable) ZRank(ctx context.Context, key string, member string) *v8.IntCmd

ZRank provides a mock function with given fields: ctx, key, member

func (*Cmdable) ZRem added in v0.0.11

func (_m *Cmdable) ZRem(ctx context.Context, key string, members ...interface{}) *v8.IntCmd

ZRem provides a mock function with given fields: ctx, key, members

func (*Cmdable) ZRemRangeByLex added in v0.0.11

func (_m *Cmdable) ZRemRangeByLex(ctx context.Context, key string, min string, max string) *v8.IntCmd

ZRemRangeByLex provides a mock function with given fields: ctx, key, min, max

func (*Cmdable) ZRemRangeByRank added in v0.0.11

func (_m *Cmdable) ZRemRangeByRank(ctx context.Context, key string, start int64, stop int64) *v8.IntCmd

ZRemRangeByRank provides a mock function with given fields: ctx, key, start, stop

func (*Cmdable) ZRemRangeByScore added in v0.0.11

func (_m *Cmdable) ZRemRangeByScore(ctx context.Context, key string, min string, max string) *v8.IntCmd

ZRemRangeByScore provides a mock function with given fields: ctx, key, min, max

func (*Cmdable) ZRevRange added in v0.0.11

func (_m *Cmdable) ZRevRange(ctx context.Context, key string, start int64, stop int64) *v8.StringSliceCmd

ZRevRange provides a mock function with given fields: ctx, key, start, stop

func (*Cmdable) ZRevRangeByLex added in v0.0.11

func (_m *Cmdable) ZRevRangeByLex(ctx context.Context, key string, opt *v8.ZRangeBy) *v8.StringSliceCmd

ZRevRangeByLex provides a mock function with given fields: ctx, key, opt

func (*Cmdable) ZRevRangeByScore added in v0.0.11

func (_m *Cmdable) ZRevRangeByScore(ctx context.Context, key string, opt *v8.ZRangeBy) *v8.StringSliceCmd

ZRevRangeByScore provides a mock function with given fields: ctx, key, opt

func (*Cmdable) ZRevRangeByScoreWithScores added in v0.0.11

func (_m *Cmdable) ZRevRangeByScoreWithScores(ctx context.Context, key string, opt *v8.ZRangeBy) *v8.ZSliceCmd

ZRevRangeByScoreWithScores provides a mock function with given fields: ctx, key, opt

func (*Cmdable) ZRevRangeWithScores added in v0.0.11

func (_m *Cmdable) ZRevRangeWithScores(ctx context.Context, key string, start int64, stop int64) *v8.ZSliceCmd

ZRevRangeWithScores provides a mock function with given fields: ctx, key, start, stop

func (*Cmdable) ZRevRank added in v0.0.11

func (_m *Cmdable) ZRevRank(ctx context.Context, key string, member string) *v8.IntCmd

ZRevRank provides a mock function with given fields: ctx, key, member

func (*Cmdable) ZScan added in v0.0.11

func (_m *Cmdable) ZScan(ctx context.Context, key string, cursor uint64, match string, count int64) *v8.ScanCmd

ZScan provides a mock function with given fields: ctx, key, cursor, match, count

func (*Cmdable) ZScore added in v0.0.11

func (_m *Cmdable) ZScore(ctx context.Context, key string, member string) *v8.FloatCmd

ZScore provides a mock function with given fields: ctx, key, member

func (*Cmdable) ZUnionStore added in v0.0.11

func (_m *Cmdable) ZUnionStore(ctx context.Context, dest string, store *v8.ZStore) *v8.IntCmd

ZUnionStore provides a mock function with given fields: ctx, dest, store

type Controller added in v0.0.11

type Controller struct {
	mock.Mock
}

Controller is an autogenerated mock type for the Controller type

func (*Controller) CreateService added in v0.0.11

func (_m *Controller) CreateService(_a0 model.Service) error

CreateService provides a mock function with given fields: _a0

func (*Controller) DeleteService added in v0.0.11

func (_m *Controller) DeleteService(key string) error

DeleteService provides a mock function with given fields: key

func (*Controller) GetService added in v0.0.11

func (_m *Controller) GetService(key string) (model.Service, error)

GetService provides a mock function with given fields: key

func (*Controller) GetServices added in v0.0.11

func (_m *Controller) GetServices() ([]model.Service, error)

GetServices provides a mock function with given fields:

func (*Controller) UpsertService added in v0.0.11

func (_m *Controller) UpsertService(_a0 model.Service) error

UpsertService provides a mock function with given fields: _a0

type Logger added in v0.0.11

type Logger struct {
	mock.Mock
}

Logger is an autogenerated mock type for the Logger type

func (*Logger) Debug added in v0.0.11

func (_m *Logger) Debug(args ...interface{})

Debug provides a mock function with given fields: args

func (*Logger) Debugf added in v0.0.11

func (_m *Logger) Debugf(format string, args ...interface{})

Debugf provides a mock function with given fields: format, args

func (*Logger) Debugln added in v0.0.11

func (_m *Logger) Debugln(args ...interface{})

Debugln provides a mock function with given fields: args

func (*Logger) Error added in v0.0.11

func (_m *Logger) Error(args ...interface{})

Error provides a mock function with given fields: args

func (*Logger) Errorf added in v0.0.11

func (_m *Logger) Errorf(format string, args ...interface{})

Errorf provides a mock function with given fields: format, args

func (*Logger) Errorln added in v0.0.11

func (_m *Logger) Errorln(args ...interface{})

Errorln provides a mock function with given fields: args

func (*Logger) Fatal added in v0.0.11

func (_m *Logger) Fatal(args ...interface{})

Fatal provides a mock function with given fields: args

func (*Logger) Fatalf added in v0.0.11

func (_m *Logger) Fatalf(format string, args ...interface{})

Fatalf provides a mock function with given fields: format, args

func (*Logger) Fatalln added in v0.0.11

func (_m *Logger) Fatalln(args ...interface{})

Fatalln provides a mock function with given fields: args

func (*Logger) Info added in v0.0.11

func (_m *Logger) Info(args ...interface{})

Info provides a mock function with given fields: args

func (*Logger) Infof added in v0.0.11

func (_m *Logger) Infof(format string, args ...interface{})

Infof provides a mock function with given fields: format, args

func (*Logger) Infoln added in v0.0.11

func (_m *Logger) Infoln(args ...interface{})

Infoln provides a mock function with given fields: args

func (*Logger) Panic added in v0.0.11

func (_m *Logger) Panic(args ...interface{})

Panic provides a mock function with given fields: args

func (*Logger) Panicf added in v0.0.11

func (_m *Logger) Panicf(format string, args ...interface{})

Panicf provides a mock function with given fields: format, args

func (*Logger) Panicln added in v0.0.11

func (_m *Logger) Panicln(args ...interface{})

Panicln provides a mock function with given fields: args

func (*Logger) Print added in v0.0.11

func (_m *Logger) Print(args ...interface{})

Print provides a mock function with given fields: args

func (*Logger) Printf added in v0.0.11

func (_m *Logger) Printf(format string, args ...interface{})

Printf provides a mock function with given fields: format, args

func (*Logger) Println added in v0.0.11

func (_m *Logger) Println(args ...interface{})

Println provides a mock function with given fields: args

func (*Logger) Trace added in v0.0.11

func (_m *Logger) Trace(args ...interface{})

Trace provides a mock function with given fields: args

func (*Logger) Tracef added in v0.0.11

func (_m *Logger) Tracef(format string, args ...interface{})

Tracef provides a mock function with given fields: format, args

func (*Logger) Traceln added in v0.0.11

func (_m *Logger) Traceln(args ...interface{})

Traceln provides a mock function with given fields: args

func (*Logger) Warn added in v0.0.11

func (_m *Logger) Warn(args ...interface{})

Warn provides a mock function with given fields: args

func (*Logger) Warnf added in v0.0.11

func (_m *Logger) Warnf(format string, args ...interface{})

Warnf provides a mock function with given fields: format, args

func (*Logger) Warning added in v0.0.11

func (_m *Logger) Warning(args ...interface{})

Warning provides a mock function with given fields: args

func (*Logger) Warningf added in v0.0.11

func (_m *Logger) Warningf(format string, args ...interface{})

Warningf provides a mock function with given fields: format, args

func (*Logger) Warningln added in v0.0.11

func (_m *Logger) Warningln(args ...interface{})

Warningln provides a mock function with given fields: args

func (*Logger) Warnln added in v0.0.11

func (_m *Logger) Warnln(args ...interface{})

Warnln provides a mock function with given fields: args

func (*Logger) WithField added in v0.0.11

func (_m *Logger) WithField(key string, value interface{}) log.Logger

WithField provides a mock function with given fields: key, value

func (*Logger) WithFields added in v0.0.11

func (_m *Logger) WithFields(fields log.Fields) log.Logger

WithFields provides a mock function with given fields: fields

type Middleware added in v0.0.11

type Middleware struct {
	mock.Mock
}

Middleware is an autogenerated mock type for the Middleware type

func (*Middleware) MiddlewareFunc added in v0.0.11

func (_m *Middleware) MiddlewareFunc(next http.Handler) http.Handler

MiddlewareFunc provides a mock function with given fields: next

type ServiceRepo

type ServiceRepo struct {
	mock.Mock
}

ServiceRepo is an autogenerated mock type for the ServiceRepo type

func (*ServiceRepo) Create added in v0.0.11

func (_m *ServiceRepo) Create(service model.Service) error

Create provides a mock function with given fields: service

func (*ServiceRepo) Delete added in v0.0.11

func (_m *ServiceRepo) Delete(key string) error

Delete provides a mock function with given fields: key

func (*ServiceRepo) Get added in v0.0.11

func (_m *ServiceRepo) Get(key string) (model.Service, error)

Get provides a mock function with given fields: key

func (*ServiceRepo) GetAll added in v0.0.11

func (_m *ServiceRepo) GetAll() ([]model.Service, error)

GetAll provides a mock function with given fields:

func (*ServiceRepo) Upsert added in v0.0.11

func (_m *ServiceRepo) Upsert(service model.Service) error

Upsert provides a mock function with given fields: service

type ShutdownHook added in v0.0.11

type ShutdownHook struct {
	mock.Mock
}

ShutdownHook is an autogenerated mock type for the ShutdownHook type

func (*ShutdownHook) Execute added in v0.0.11

func (_m *ShutdownHook) Execute()

Execute provides a mock function with given fields:

Jump to

Keyboard shortcuts

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