Documentation ¶
Overview ¶
Package mock_redis is a generated GoMock package.
Package mock_redis is a generated GoMock package.
Package mock_redis is a generated GoMock package.
Index ¶
- type MockExpiringHash
- func (m *MockExpiringHash[K1, K2]) DelEX(ctx context.Context, key K1, hashkKey K2) error
- func (m *MockExpiringHash[K1, K2]) EXPECT() *MockExpiringHashMockRecorder[K1, K2]
- func (m *MockExpiringHash[K1, K2]) GC() func(context.Context) (int, error)
- func (m *MockExpiringHash[K1, K2]) GCFor(keys []K1) func(context.Context) (int, error)
- func (m *MockExpiringHash[K1, K2]) GetName() string
- func (m *MockExpiringHash[K1, K2]) Len(ctx context.Context, key K1) (int64, error)
- func (m *MockExpiringHash[K1, K2]) Scan(ctx context.Context, key K1, cb redistool.ScanCallback) error
- func (m *MockExpiringHash[K1, K2]) SetEX(ctx context.Context, key K1, hashKey K2, value []byte, expiresAt time.Time) error
- type MockExpiringHashAPI
- func (m *MockExpiringHashAPI[K1, K2]) EXPECT() *MockExpiringHashAPIMockRecorder[K1, K2]
- func (m *MockExpiringHashAPI[K1, K2]) GCFor(keys []K1, transactional bool) func(context.Context) (int, error)
- func (m *MockExpiringHashAPI[K1, K2]) IOBuilder() redistool.IOBuilder[K1, K2]
- func (m *MockExpiringHashAPI[K1, K2]) Scan(ctx context.Context, key K1, cb redistool.ScanCallback) error
- type MockExpiringHashAPIGCForCall
- func (c *MockExpiringHashAPIGCForCall[K1, K2]) Do(f func([]K1, bool) func(context.Context) (int, error)) *MockExpiringHashAPIGCForCall[K1, K2]
- func (c *MockExpiringHashAPIGCForCall[K1, K2]) DoAndReturn(f func([]K1, bool) func(context.Context) (int, error)) *MockExpiringHashAPIGCForCall[K1, K2]
- func (c *MockExpiringHashAPIGCForCall[K1, K2]) Return(arg0 func(context.Context) (int, error)) *MockExpiringHashAPIGCForCall[K1, K2]
- type MockExpiringHashAPIIOBuilderCall
- func (c *MockExpiringHashAPIIOBuilderCall[K1, K2]) Do(f func() redistool.IOBuilder[K1, K2]) *MockExpiringHashAPIIOBuilderCall[K1, K2]
- func (c *MockExpiringHashAPIIOBuilderCall[K1, K2]) DoAndReturn(f func() redistool.IOBuilder[K1, K2]) *MockExpiringHashAPIIOBuilderCall[K1, K2]
- func (c *MockExpiringHashAPIIOBuilderCall[K1, K2]) Return(arg0 redistool.IOBuilder[K1, K2]) *MockExpiringHashAPIIOBuilderCall[K1, K2]
- type MockExpiringHashAPIMockRecorder
- func (mr *MockExpiringHashAPIMockRecorder[K1, K2]) GCFor(keys, transactional any) *MockExpiringHashAPIGCForCall[K1, K2]
- func (mr *MockExpiringHashAPIMockRecorder[K1, K2]) IOBuilder() *MockExpiringHashAPIIOBuilderCall[K1, K2]
- func (mr *MockExpiringHashAPIMockRecorder[K1, K2]) Scan(ctx, key, cb any) *MockExpiringHashAPIScanCall[K1, K2]
- type MockExpiringHashAPIScanCall
- func (c *MockExpiringHashAPIScanCall[K1, K2]) Do(f func(context.Context, K1, redistool.ScanCallback) error) *MockExpiringHashAPIScanCall[K1, K2]
- func (c *MockExpiringHashAPIScanCall[K1, K2]) DoAndReturn(f func(context.Context, K1, redistool.ScanCallback) error) *MockExpiringHashAPIScanCall[K1, K2]
- func (c *MockExpiringHashAPIScanCall[K1, K2]) Return(arg0 error) *MockExpiringHashAPIScanCall[K1, K2]
- type MockExpiringHashDelEXCall
- func (c *MockExpiringHashDelEXCall[K1, K2]) Do(f func(context.Context, K1, K2) error) *MockExpiringHashDelEXCall[K1, K2]
- func (c *MockExpiringHashDelEXCall[K1, K2]) DoAndReturn(f func(context.Context, K1, K2) error) *MockExpiringHashDelEXCall[K1, K2]
- func (c *MockExpiringHashDelEXCall[K1, K2]) Return(arg0 error) *MockExpiringHashDelEXCall[K1, K2]
- type MockExpiringHashGCCall
- func (c *MockExpiringHashGCCall[K1, K2]) Do(f func() func(context.Context) (int, error)) *MockExpiringHashGCCall[K1, K2]
- func (c *MockExpiringHashGCCall[K1, K2]) DoAndReturn(f func() func(context.Context) (int, error)) *MockExpiringHashGCCall[K1, K2]
- func (c *MockExpiringHashGCCall[K1, K2]) Return(arg0 func(context.Context) (int, error)) *MockExpiringHashGCCall[K1, K2]
- type MockExpiringHashGCForCall
- func (c *MockExpiringHashGCForCall[K1, K2]) Do(f func([]K1) func(context.Context) (int, error)) *MockExpiringHashGCForCall[K1, K2]
- func (c *MockExpiringHashGCForCall[K1, K2]) DoAndReturn(f func([]K1) func(context.Context) (int, error)) *MockExpiringHashGCForCall[K1, K2]
- func (c *MockExpiringHashGCForCall[K1, K2]) Return(arg0 func(context.Context) (int, error)) *MockExpiringHashGCForCall[K1, K2]
- type MockExpiringHashGetNameCall
- func (c *MockExpiringHashGetNameCall[K1, K2]) Do(f func() string) *MockExpiringHashGetNameCall[K1, K2]
- func (c *MockExpiringHashGetNameCall[K1, K2]) DoAndReturn(f func() string) *MockExpiringHashGetNameCall[K1, K2]
- func (c *MockExpiringHashGetNameCall[K1, K2]) Return(arg0 string) *MockExpiringHashGetNameCall[K1, K2]
- type MockExpiringHashLenCall
- func (c *MockExpiringHashLenCall[K1, K2]) Do(f func(context.Context, K1) (int64, error)) *MockExpiringHashLenCall[K1, K2]
- func (c *MockExpiringHashLenCall[K1, K2]) DoAndReturn(f func(context.Context, K1) (int64, error)) *MockExpiringHashLenCall[K1, K2]
- func (c *MockExpiringHashLenCall[K1, K2]) Return(arg0 int64, arg1 error) *MockExpiringHashLenCall[K1, K2]
- type MockExpiringHashMockRecorder
- func (mr *MockExpiringHashMockRecorder[K1, K2]) DelEX(ctx, key, hashkKey any) *MockExpiringHashDelEXCall[K1, K2]
- func (mr *MockExpiringHashMockRecorder[K1, K2]) GC() *MockExpiringHashGCCall[K1, K2]
- func (mr *MockExpiringHashMockRecorder[K1, K2]) GCFor(keys any) *MockExpiringHashGCForCall[K1, K2]
- func (mr *MockExpiringHashMockRecorder[K1, K2]) GetName() *MockExpiringHashGetNameCall[K1, K2]
- func (mr *MockExpiringHashMockRecorder[K1, K2]) Len(ctx, key any) *MockExpiringHashLenCall[K1, K2]
- func (mr *MockExpiringHashMockRecorder[K1, K2]) Scan(ctx, key, cb any) *MockExpiringHashScanCall[K1, K2]
- func (mr *MockExpiringHashMockRecorder[K1, K2]) SetEX(ctx, key, hashKey, value, expiresAt any) *MockExpiringHashSetEXCall[K1, K2]
- type MockExpiringHashScanCall
- func (c *MockExpiringHashScanCall[K1, K2]) Do(f func(context.Context, K1, redistool.ScanCallback) error) *MockExpiringHashScanCall[K1, K2]
- func (c *MockExpiringHashScanCall[K1, K2]) DoAndReturn(f func(context.Context, K1, redistool.ScanCallback) error) *MockExpiringHashScanCall[K1, K2]
- func (c *MockExpiringHashScanCall[K1, K2]) Return(arg0 error) *MockExpiringHashScanCall[K1, K2]
- type MockExpiringHashSetEXCall
- func (c *MockExpiringHashSetEXCall[K1, K2]) Do(f func(context.Context, K1, K2, []byte, time.Time) error) *MockExpiringHashSetEXCall[K1, K2]
- func (c *MockExpiringHashSetEXCall[K1, K2]) DoAndReturn(f func(context.Context, K1, K2, []byte, time.Time) error) *MockExpiringHashSetEXCall[K1, K2]
- func (c *MockExpiringHashSetEXCall[K1, K2]) Return(arg0 error) *MockExpiringHashSetEXCall[K1, K2]
- type MockIOBuilder
- func (m *MockIOBuilder[K1, K2]) Do(arg0 context.Context) error
- func (m *MockIOBuilder[K1, K2]) EXPECT() *MockIOBuilderMockRecorder[K1, K2]
- func (m *MockIOBuilder[K1, K2]) Set(keys []K1, ttl time.Duration, kvs ...redistool.BuilderKV[K2])
- func (m *MockIOBuilder[K1, K2]) Unset(keys []K1, hashKeys ...K2)
- type MockIOBuilderDoCall
- type MockIOBuilderMockRecorder
- func (mr *MockIOBuilderMockRecorder[K1, K2]) Do(arg0 any) *MockIOBuilderDoCall[K1, K2]
- func (mr *MockIOBuilderMockRecorder[K1, K2]) Set(keys, ttl any, kvs ...any) *MockIOBuilderSetCall[K1, K2]
- func (mr *MockIOBuilderMockRecorder[K1, K2]) Unset(keys any, hashKeys ...any) *MockIOBuilderUnsetCall[K1, K2]
- type MockIOBuilderSetCall
- func (c *MockIOBuilderSetCall[K1, K2]) Do(f func([]K1, time.Duration, ...redistool.BuilderKV[K2])) *MockIOBuilderSetCall[K1, K2]
- func (c *MockIOBuilderSetCall[K1, K2]) DoAndReturn(f func([]K1, time.Duration, ...redistool.BuilderKV[K2])) *MockIOBuilderSetCall[K1, K2]
- func (c *MockIOBuilderSetCall[K1, K2]) Return() *MockIOBuilderSetCall[K1, K2]
- type MockIOBuilderUnsetCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExpiringHash ¶
MockExpiringHash is a mock of ExpiringHash interface.
func NewMockExpiringHash ¶
func NewMockExpiringHash[K1 any, K2 any](ctrl *gomock.Controller) *MockExpiringHash[K1, K2]
NewMockExpiringHash creates a new mock instance.
func (*MockExpiringHash[K1, K2]) DelEX ¶ added in v17.1.0
func (m *MockExpiringHash[K1, K2]) DelEX(ctx context.Context, key K1, hashkKey K2) error
DelEX mocks base method.
func (*MockExpiringHash[K1, K2]) EXPECT ¶
func (m *MockExpiringHash[K1, K2]) EXPECT() *MockExpiringHashMockRecorder[K1, K2]
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExpiringHash[K1, K2]) GC ¶
func (m *MockExpiringHash[K1, K2]) GC() func(context.Context) (int, error)
GC mocks base method.
func (*MockExpiringHash[K1, K2]) GCFor ¶
func (m *MockExpiringHash[K1, K2]) GCFor(keys []K1) func(context.Context) (int, error)
GCFor mocks base method.
func (*MockExpiringHash[K1, K2]) GetName ¶
func (m *MockExpiringHash[K1, K2]) GetName() string
GetName mocks base method.
func (*MockExpiringHash[K1, K2]) Len ¶
func (m *MockExpiringHash[K1, K2]) Len(ctx context.Context, key K1) (int64, error)
Len mocks base method.
func (*MockExpiringHash[K1, K2]) Scan ¶
func (m *MockExpiringHash[K1, K2]) Scan(ctx context.Context, key K1, cb redistool.ScanCallback) error
Scan mocks base method.
type MockExpiringHashAPI ¶
MockExpiringHashAPI is a mock of ExpiringHashAPI interface.
func NewMockExpiringHashAPI ¶
func NewMockExpiringHashAPI[K1 any, K2 any](ctrl *gomock.Controller) *MockExpiringHashAPI[K1, K2]
NewMockExpiringHashAPI creates a new mock instance.
func (*MockExpiringHashAPI[K1, K2]) EXPECT ¶
func (m *MockExpiringHashAPI[K1, K2]) EXPECT() *MockExpiringHashAPIMockRecorder[K1, K2]
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExpiringHashAPI[K1, K2]) GCFor ¶
func (m *MockExpiringHashAPI[K1, K2]) GCFor(keys []K1, transactional bool) func(context.Context) (int, error)
GCFor mocks base method.
func (*MockExpiringHashAPI[K1, K2]) IOBuilder ¶ added in v17.4.0
func (m *MockExpiringHashAPI[K1, K2]) IOBuilder() redistool.IOBuilder[K1, K2]
IOBuilder mocks base method.
func (*MockExpiringHashAPI[K1, K2]) Scan ¶
func (m *MockExpiringHashAPI[K1, K2]) Scan(ctx context.Context, key K1, cb redistool.ScanCallback) error
Scan mocks base method.
type MockExpiringHashAPIGCForCall ¶
MockExpiringHashAPIGCForCall wrap *gomock.Call
func (*MockExpiringHashAPIGCForCall[K1, K2]) Do ¶
func (c *MockExpiringHashAPIGCForCall[K1, K2]) Do(f func([]K1, bool) func(context.Context) (int, error)) *MockExpiringHashAPIGCForCall[K1, K2]
Do rewrite *gomock.Call.Do
func (*MockExpiringHashAPIGCForCall[K1, K2]) DoAndReturn ¶
func (c *MockExpiringHashAPIGCForCall[K1, K2]) DoAndReturn(f func([]K1, bool) func(context.Context) (int, error)) *MockExpiringHashAPIGCForCall[K1, K2]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockExpiringHashAPIGCForCall[K1, K2]) Return ¶
func (c *MockExpiringHashAPIGCForCall[K1, K2]) Return(arg0 func(context.Context) (int, error)) *MockExpiringHashAPIGCForCall[K1, K2]
Return rewrite *gomock.Call.Return
type MockExpiringHashAPIIOBuilderCall ¶ added in v17.4.0
MockExpiringHashAPIIOBuilderCall wrap *gomock.Call
func (*MockExpiringHashAPIIOBuilderCall[K1, K2]) Do ¶ added in v17.4.0
func (c *MockExpiringHashAPIIOBuilderCall[K1, K2]) Do(f func() redistool.IOBuilder[K1, K2]) *MockExpiringHashAPIIOBuilderCall[K1, K2]
Do rewrite *gomock.Call.Do
func (*MockExpiringHashAPIIOBuilderCall[K1, K2]) DoAndReturn ¶ added in v17.4.0
func (c *MockExpiringHashAPIIOBuilderCall[K1, K2]) DoAndReturn(f func() redistool.IOBuilder[K1, K2]) *MockExpiringHashAPIIOBuilderCall[K1, K2]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockExpiringHashAPIIOBuilderCall[K1, K2]) Return ¶ added in v17.4.0
func (c *MockExpiringHashAPIIOBuilderCall[K1, K2]) Return(arg0 redistool.IOBuilder[K1, K2]) *MockExpiringHashAPIIOBuilderCall[K1, K2]
Return rewrite *gomock.Call.Return
type MockExpiringHashAPIMockRecorder ¶
type MockExpiringHashAPIMockRecorder[K1 any, K2 any] struct { // contains filtered or unexported fields }
MockExpiringHashAPIMockRecorder is the mock recorder for MockExpiringHashAPI.
func (*MockExpiringHashAPIMockRecorder[K1, K2]) GCFor ¶
func (mr *MockExpiringHashAPIMockRecorder[K1, K2]) GCFor(keys, transactional any) *MockExpiringHashAPIGCForCall[K1, K2]
GCFor indicates an expected call of GCFor.
func (*MockExpiringHashAPIMockRecorder[K1, K2]) IOBuilder ¶ added in v17.4.0
func (mr *MockExpiringHashAPIMockRecorder[K1, K2]) IOBuilder() *MockExpiringHashAPIIOBuilderCall[K1, K2]
IOBuilder indicates an expected call of IOBuilder.
func (*MockExpiringHashAPIMockRecorder[K1, K2]) Scan ¶
func (mr *MockExpiringHashAPIMockRecorder[K1, K2]) Scan(ctx, key, cb any) *MockExpiringHashAPIScanCall[K1, K2]
Scan indicates an expected call of Scan.
type MockExpiringHashAPIScanCall ¶
MockExpiringHashAPIScanCall wrap *gomock.Call
func (*MockExpiringHashAPIScanCall[K1, K2]) Do ¶
func (c *MockExpiringHashAPIScanCall[K1, K2]) Do(f func(context.Context, K1, redistool.ScanCallback) error) *MockExpiringHashAPIScanCall[K1, K2]
Do rewrite *gomock.Call.Do
func (*MockExpiringHashAPIScanCall[K1, K2]) DoAndReturn ¶
func (c *MockExpiringHashAPIScanCall[K1, K2]) DoAndReturn(f func(context.Context, K1, redistool.ScanCallback) error) *MockExpiringHashAPIScanCall[K1, K2]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockExpiringHashAPIScanCall[K1, K2]) Return ¶
func (c *MockExpiringHashAPIScanCall[K1, K2]) Return(arg0 error) *MockExpiringHashAPIScanCall[K1, K2]
Return rewrite *gomock.Call.Return
type MockExpiringHashDelEXCall ¶ added in v17.1.0
MockExpiringHashDelEXCall wrap *gomock.Call
func (*MockExpiringHashDelEXCall[K1, K2]) Do ¶ added in v17.1.0
func (c *MockExpiringHashDelEXCall[K1, K2]) Do(f func(context.Context, K1, K2) error) *MockExpiringHashDelEXCall[K1, K2]
Do rewrite *gomock.Call.Do
func (*MockExpiringHashDelEXCall[K1, K2]) DoAndReturn ¶ added in v17.1.0
func (c *MockExpiringHashDelEXCall[K1, K2]) DoAndReturn(f func(context.Context, K1, K2) error) *MockExpiringHashDelEXCall[K1, K2]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockExpiringHashDelEXCall[K1, K2]) Return ¶ added in v17.1.0
func (c *MockExpiringHashDelEXCall[K1, K2]) Return(arg0 error) *MockExpiringHashDelEXCall[K1, K2]
Return rewrite *gomock.Call.Return
type MockExpiringHashGCCall ¶
MockExpiringHashGCCall wrap *gomock.Call
func (*MockExpiringHashGCCall[K1, K2]) Do ¶
func (c *MockExpiringHashGCCall[K1, K2]) Do(f func() func(context.Context) (int, error)) *MockExpiringHashGCCall[K1, K2]
Do rewrite *gomock.Call.Do
func (*MockExpiringHashGCCall[K1, K2]) DoAndReturn ¶
func (c *MockExpiringHashGCCall[K1, K2]) DoAndReturn(f func() func(context.Context) (int, error)) *MockExpiringHashGCCall[K1, K2]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockExpiringHashGCCall[K1, K2]) Return ¶
func (c *MockExpiringHashGCCall[K1, K2]) Return(arg0 func(context.Context) (int, error)) *MockExpiringHashGCCall[K1, K2]
Return rewrite *gomock.Call.Return
type MockExpiringHashGCForCall ¶
MockExpiringHashGCForCall wrap *gomock.Call
func (*MockExpiringHashGCForCall[K1, K2]) Do ¶
func (c *MockExpiringHashGCForCall[K1, K2]) Do(f func([]K1) func(context.Context) (int, error)) *MockExpiringHashGCForCall[K1, K2]
Do rewrite *gomock.Call.Do
func (*MockExpiringHashGCForCall[K1, K2]) DoAndReturn ¶
func (c *MockExpiringHashGCForCall[K1, K2]) DoAndReturn(f func([]K1) func(context.Context) (int, error)) *MockExpiringHashGCForCall[K1, K2]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockExpiringHashGCForCall[K1, K2]) Return ¶
func (c *MockExpiringHashGCForCall[K1, K2]) Return(arg0 func(context.Context) (int, error)) *MockExpiringHashGCForCall[K1, K2]
Return rewrite *gomock.Call.Return
type MockExpiringHashGetNameCall ¶
MockExpiringHashGetNameCall wrap *gomock.Call
func (*MockExpiringHashGetNameCall[K1, K2]) Do ¶
func (c *MockExpiringHashGetNameCall[K1, K2]) Do(f func() string) *MockExpiringHashGetNameCall[K1, K2]
Do rewrite *gomock.Call.Do
func (*MockExpiringHashGetNameCall[K1, K2]) DoAndReturn ¶
func (c *MockExpiringHashGetNameCall[K1, K2]) DoAndReturn(f func() string) *MockExpiringHashGetNameCall[K1, K2]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockExpiringHashGetNameCall[K1, K2]) Return ¶
func (c *MockExpiringHashGetNameCall[K1, K2]) Return(arg0 string) *MockExpiringHashGetNameCall[K1, K2]
Return rewrite *gomock.Call.Return
type MockExpiringHashLenCall ¶
MockExpiringHashLenCall wrap *gomock.Call
func (*MockExpiringHashLenCall[K1, K2]) Do ¶
func (c *MockExpiringHashLenCall[K1, K2]) Do(f func(context.Context, K1) (int64, error)) *MockExpiringHashLenCall[K1, K2]
Do rewrite *gomock.Call.Do
func (*MockExpiringHashLenCall[K1, K2]) DoAndReturn ¶
func (c *MockExpiringHashLenCall[K1, K2]) DoAndReturn(f func(context.Context, K1) (int64, error)) *MockExpiringHashLenCall[K1, K2]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockExpiringHashLenCall[K1, K2]) Return ¶
func (c *MockExpiringHashLenCall[K1, K2]) Return(arg0 int64, arg1 error) *MockExpiringHashLenCall[K1, K2]
Return rewrite *gomock.Call.Return
type MockExpiringHashMockRecorder ¶
type MockExpiringHashMockRecorder[K1 any, K2 any] struct { // contains filtered or unexported fields }
MockExpiringHashMockRecorder is the mock recorder for MockExpiringHash.
func (*MockExpiringHashMockRecorder[K1, K2]) DelEX ¶ added in v17.1.0
func (mr *MockExpiringHashMockRecorder[K1, K2]) DelEX(ctx, key, hashkKey any) *MockExpiringHashDelEXCall[K1, K2]
DelEX indicates an expected call of DelEX.
func (*MockExpiringHashMockRecorder[K1, K2]) GC ¶
func (mr *MockExpiringHashMockRecorder[K1, K2]) GC() *MockExpiringHashGCCall[K1, K2]
GC indicates an expected call of GC.
func (*MockExpiringHashMockRecorder[K1, K2]) GCFor ¶
func (mr *MockExpiringHashMockRecorder[K1, K2]) GCFor(keys any) *MockExpiringHashGCForCall[K1, K2]
GCFor indicates an expected call of GCFor.
func (*MockExpiringHashMockRecorder[K1, K2]) GetName ¶
func (mr *MockExpiringHashMockRecorder[K1, K2]) GetName() *MockExpiringHashGetNameCall[K1, K2]
GetName indicates an expected call of GetName.
func (*MockExpiringHashMockRecorder[K1, K2]) Len ¶
func (mr *MockExpiringHashMockRecorder[K1, K2]) Len(ctx, key any) *MockExpiringHashLenCall[K1, K2]
Len indicates an expected call of Len.
func (*MockExpiringHashMockRecorder[K1, K2]) Scan ¶
func (mr *MockExpiringHashMockRecorder[K1, K2]) Scan(ctx, key, cb any) *MockExpiringHashScanCall[K1, K2]
Scan indicates an expected call of Scan.
func (*MockExpiringHashMockRecorder[K1, K2]) SetEX ¶
func (mr *MockExpiringHashMockRecorder[K1, K2]) SetEX(ctx, key, hashKey, value, expiresAt any) *MockExpiringHashSetEXCall[K1, K2]
SetEX indicates an expected call of SetEX.
type MockExpiringHashScanCall ¶
MockExpiringHashScanCall wrap *gomock.Call
func (*MockExpiringHashScanCall[K1, K2]) Do ¶
func (c *MockExpiringHashScanCall[K1, K2]) Do(f func(context.Context, K1, redistool.ScanCallback) error) *MockExpiringHashScanCall[K1, K2]
Do rewrite *gomock.Call.Do
func (*MockExpiringHashScanCall[K1, K2]) DoAndReturn ¶
func (c *MockExpiringHashScanCall[K1, K2]) DoAndReturn(f func(context.Context, K1, redistool.ScanCallback) error) *MockExpiringHashScanCall[K1, K2]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockExpiringHashScanCall[K1, K2]) Return ¶
func (c *MockExpiringHashScanCall[K1, K2]) Return(arg0 error) *MockExpiringHashScanCall[K1, K2]
Return rewrite *gomock.Call.Return
type MockExpiringHashSetEXCall ¶
MockExpiringHashSetEXCall wrap *gomock.Call
func (*MockExpiringHashSetEXCall[K1, K2]) Do ¶
func (c *MockExpiringHashSetEXCall[K1, K2]) Do(f func(context.Context, K1, K2, []byte, time.Time) error) *MockExpiringHashSetEXCall[K1, K2]
Do rewrite *gomock.Call.Do
func (*MockExpiringHashSetEXCall[K1, K2]) DoAndReturn ¶
func (c *MockExpiringHashSetEXCall[K1, K2]) DoAndReturn(f func(context.Context, K1, K2, []byte, time.Time) error) *MockExpiringHashSetEXCall[K1, K2]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockExpiringHashSetEXCall[K1, K2]) Return ¶
func (c *MockExpiringHashSetEXCall[K1, K2]) Return(arg0 error) *MockExpiringHashSetEXCall[K1, K2]
Return rewrite *gomock.Call.Return
type MockIOBuilder ¶ added in v17.4.0
MockIOBuilder is a mock of IOBuilder interface.
func NewMockIOBuilder ¶ added in v17.4.0
func NewMockIOBuilder[K1 any, K2 any](ctrl *gomock.Controller) *MockIOBuilder[K1, K2]
NewMockIOBuilder creates a new mock instance.
func (*MockIOBuilder[K1, K2]) Do ¶ added in v17.4.0
func (m *MockIOBuilder[K1, K2]) Do(arg0 context.Context) error
Do mocks base method.
func (*MockIOBuilder[K1, K2]) EXPECT ¶ added in v17.4.0
func (m *MockIOBuilder[K1, K2]) EXPECT() *MockIOBuilderMockRecorder[K1, K2]
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIOBuilder[K1, K2]) Set ¶ added in v17.4.0
func (m *MockIOBuilder[K1, K2]) Set(keys []K1, ttl time.Duration, kvs ...redistool.BuilderKV[K2])
Set mocks base method.
func (*MockIOBuilder[K1, K2]) Unset ¶ added in v17.4.0
func (m *MockIOBuilder[K1, K2]) Unset(keys []K1, hashKeys ...K2)
Unset mocks base method.
type MockIOBuilderDoCall ¶ added in v17.4.0
MockIOBuilderDoCall wrap *gomock.Call
func (*MockIOBuilderDoCall[K1, K2]) Do ¶ added in v17.4.0
func (c *MockIOBuilderDoCall[K1, K2]) Do(f func(context.Context) error) *MockIOBuilderDoCall[K1, K2]
Do rewrite *gomock.Call.Do
func (*MockIOBuilderDoCall[K1, K2]) DoAndReturn ¶ added in v17.4.0
func (c *MockIOBuilderDoCall[K1, K2]) DoAndReturn(f func(context.Context) error) *MockIOBuilderDoCall[K1, K2]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIOBuilderDoCall[K1, K2]) Return ¶ added in v17.4.0
func (c *MockIOBuilderDoCall[K1, K2]) Return(arg0 error) *MockIOBuilderDoCall[K1, K2]
Return rewrite *gomock.Call.Return
type MockIOBuilderMockRecorder ¶ added in v17.4.0
MockIOBuilderMockRecorder is the mock recorder for MockIOBuilder.
func (*MockIOBuilderMockRecorder[K1, K2]) Do ¶ added in v17.4.0
func (mr *MockIOBuilderMockRecorder[K1, K2]) Do(arg0 any) *MockIOBuilderDoCall[K1, K2]
Do indicates an expected call of Do.
func (*MockIOBuilderMockRecorder[K1, K2]) Set ¶ added in v17.4.0
func (mr *MockIOBuilderMockRecorder[K1, K2]) Set(keys, ttl any, kvs ...any) *MockIOBuilderSetCall[K1, K2]
Set indicates an expected call of Set.
func (*MockIOBuilderMockRecorder[K1, K2]) Unset ¶ added in v17.4.0
func (mr *MockIOBuilderMockRecorder[K1, K2]) Unset(keys any, hashKeys ...any) *MockIOBuilderUnsetCall[K1, K2]
Unset indicates an expected call of Unset.
type MockIOBuilderSetCall ¶ added in v17.4.0
MockIOBuilderSetCall wrap *gomock.Call
func (*MockIOBuilderSetCall[K1, K2]) Do ¶ added in v17.4.0
func (c *MockIOBuilderSetCall[K1, K2]) Do(f func([]K1, time.Duration, ...redistool.BuilderKV[K2])) *MockIOBuilderSetCall[K1, K2]
Do rewrite *gomock.Call.Do
func (*MockIOBuilderSetCall[K1, K2]) DoAndReturn ¶ added in v17.4.0
func (c *MockIOBuilderSetCall[K1, K2]) DoAndReturn(f func([]K1, time.Duration, ...redistool.BuilderKV[K2])) *MockIOBuilderSetCall[K1, K2]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIOBuilderSetCall[K1, K2]) Return ¶ added in v17.4.0
func (c *MockIOBuilderSetCall[K1, K2]) Return() *MockIOBuilderSetCall[K1, K2]
Return rewrite *gomock.Call.Return
type MockIOBuilderUnsetCall ¶ added in v17.4.0
MockIOBuilderUnsetCall wrap *gomock.Call
func (*MockIOBuilderUnsetCall[K1, K2]) Do ¶ added in v17.4.0
func (c *MockIOBuilderUnsetCall[K1, K2]) Do(f func([]K1, ...K2)) *MockIOBuilderUnsetCall[K1, K2]
Do rewrite *gomock.Call.Do
func (*MockIOBuilderUnsetCall[K1, K2]) DoAndReturn ¶ added in v17.4.0
func (c *MockIOBuilderUnsetCall[K1, K2]) DoAndReturn(f func([]K1, ...K2)) *MockIOBuilderUnsetCall[K1, K2]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockIOBuilderUnsetCall[K1, K2]) Return ¶ added in v17.4.0
func (c *MockIOBuilderUnsetCall[K1, K2]) Return() *MockIOBuilderUnsetCall[K1, K2]
Return rewrite *gomock.Call.Return