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]) 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]) Scan(ctx context.Context, key K1, cb redistool.ScanCallback) error
- func (m *MockExpiringHashAPI[K1, K2]) SetBuilder() redistool.SetBuilder[K1, K2]
- func (m *MockExpiringHashAPI[K1, K2]) Unset(ctx context.Context, key K1, hashKey K2) 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 MockExpiringHashAPIMockRecorder
- func (mr *MockExpiringHashAPIMockRecorder[K1, K2]) GCFor(keys, transactional any) *MockExpiringHashAPIGCForCall[K1, K2]
- func (mr *MockExpiringHashAPIMockRecorder[K1, K2]) Scan(ctx, key, cb any) *MockExpiringHashAPIScanCall[K1, K2]
- func (mr *MockExpiringHashAPIMockRecorder[K1, K2]) SetBuilder() *MockExpiringHashAPISetBuilderCall[K1, K2]
- func (mr *MockExpiringHashAPIMockRecorder[K1, K2]) Unset(ctx, key, hashKey any) *MockExpiringHashAPIUnsetCall[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 MockExpiringHashAPISetBuilderCall
- func (c *MockExpiringHashAPISetBuilderCall[K1, K2]) Do(f func() redistool.SetBuilder[K1, K2]) *MockExpiringHashAPISetBuilderCall[K1, K2]
- func (c *MockExpiringHashAPISetBuilderCall[K1, K2]) DoAndReturn(f func() redistool.SetBuilder[K1, K2]) *MockExpiringHashAPISetBuilderCall[K1, K2]
- func (c *MockExpiringHashAPISetBuilderCall[K1, K2]) Return(arg0 redistool.SetBuilder[K1, K2]) *MockExpiringHashAPISetBuilderCall[K1, K2]
- type MockExpiringHashAPIUnsetCall
- func (c *MockExpiringHashAPIUnsetCall[K1, K2]) Do(f func(context.Context, K1, K2) error) *MockExpiringHashAPIUnsetCall[K1, K2]
- func (c *MockExpiringHashAPIUnsetCall[K1, K2]) DoAndReturn(f func(context.Context, K1, K2) error) *MockExpiringHashAPIUnsetCall[K1, K2]
- func (c *MockExpiringHashAPIUnsetCall[K1, K2]) Return(arg0 error) *MockExpiringHashAPIUnsetCall[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]) 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 MockSetBuilder
- type MockSetBuilderDoCall
- func (c *MockSetBuilderDoCall[K1, K2]) Do(f func(context.Context) error) *MockSetBuilderDoCall[K1, K2]
- func (c *MockSetBuilderDoCall[K1, K2]) DoAndReturn(f func(context.Context) error) *MockSetBuilderDoCall[K1, K2]
- func (c *MockSetBuilderDoCall[K1, K2]) Return(arg0 error) *MockSetBuilderDoCall[K1, K2]
- type MockSetBuilderMockRecorder
- type MockSetBuilderSetCall
- func (c *MockSetBuilderSetCall[K1, K2]) Do(f func(K1, time.Duration, ...redistool.BuilderKV[K2])) *MockSetBuilderSetCall[K1, K2]
- func (c *MockSetBuilderSetCall[K1, K2]) DoAndReturn(f func(K1, time.Duration, ...redistool.BuilderKV[K2])) *MockSetBuilderSetCall[K1, K2]
- func (c *MockSetBuilderSetCall[K1, K2]) Return() *MockSetBuilderSetCall[K1, K2]
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]) 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]) Scan ¶
func (m *MockExpiringHashAPI[K1, K2]) Scan(ctx context.Context, key K1, cb redistool.ScanCallback) error
Scan mocks base method.
func (*MockExpiringHashAPI[K1, K2]) SetBuilder ¶
func (m *MockExpiringHashAPI[K1, K2]) SetBuilder() redistool.SetBuilder[K1, K2]
SetBuilder 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 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]) Scan ¶
func (mr *MockExpiringHashAPIMockRecorder[K1, K2]) Scan(ctx, key, cb any) *MockExpiringHashAPIScanCall[K1, K2]
Scan indicates an expected call of Scan.
func (*MockExpiringHashAPIMockRecorder[K1, K2]) SetBuilder ¶
func (mr *MockExpiringHashAPIMockRecorder[K1, K2]) SetBuilder() *MockExpiringHashAPISetBuilderCall[K1, K2]
SetBuilder indicates an expected call of SetBuilder.
func (*MockExpiringHashAPIMockRecorder[K1, K2]) Unset ¶
func (mr *MockExpiringHashAPIMockRecorder[K1, K2]) Unset(ctx, key, hashKey any) *MockExpiringHashAPIUnsetCall[K1, K2]
Unset indicates an expected call of Unset.
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 MockExpiringHashAPISetBuilderCall ¶
MockExpiringHashAPISetBuilderCall wrap *gomock.Call
func (*MockExpiringHashAPISetBuilderCall[K1, K2]) Do ¶
func (c *MockExpiringHashAPISetBuilderCall[K1, K2]) Do(f func() redistool.SetBuilder[K1, K2]) *MockExpiringHashAPISetBuilderCall[K1, K2]
Do rewrite *gomock.Call.Do
func (*MockExpiringHashAPISetBuilderCall[K1, K2]) DoAndReturn ¶
func (c *MockExpiringHashAPISetBuilderCall[K1, K2]) DoAndReturn(f func() redistool.SetBuilder[K1, K2]) *MockExpiringHashAPISetBuilderCall[K1, K2]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockExpiringHashAPISetBuilderCall[K1, K2]) Return ¶
func (c *MockExpiringHashAPISetBuilderCall[K1, K2]) Return(arg0 redistool.SetBuilder[K1, K2]) *MockExpiringHashAPISetBuilderCall[K1, K2]
Return rewrite *gomock.Call.Return
type MockExpiringHashAPIUnsetCall ¶
MockExpiringHashAPIUnsetCall wrap *gomock.Call
func (*MockExpiringHashAPIUnsetCall[K1, K2]) Do ¶
func (c *MockExpiringHashAPIUnsetCall[K1, K2]) Do(f func(context.Context, K1, K2) error) *MockExpiringHashAPIUnsetCall[K1, K2]
Do rewrite *gomock.Call.Do
func (*MockExpiringHashAPIUnsetCall[K1, K2]) DoAndReturn ¶
func (c *MockExpiringHashAPIUnsetCall[K1, K2]) DoAndReturn(f func(context.Context, K1, K2) error) *MockExpiringHashAPIUnsetCall[K1, K2]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockExpiringHashAPIUnsetCall[K1, K2]) Return ¶
func (c *MockExpiringHashAPIUnsetCall[K1, K2]) Return(arg0 error) *MockExpiringHashAPIUnsetCall[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]) 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 MockSetBuilder ¶
MockSetBuilder is a mock of SetBuilder interface.
func NewMockSetBuilder ¶
func NewMockSetBuilder[K1 any, K2 any](ctrl *gomock.Controller) *MockSetBuilder[K1, K2]
NewMockSetBuilder creates a new mock instance.
func (*MockSetBuilder[K1, K2]) Do ¶
func (m *MockSetBuilder[K1, K2]) Do(arg0 context.Context) error
Do mocks base method.
func (*MockSetBuilder[K1, K2]) EXPECT ¶
func (m *MockSetBuilder[K1, K2]) EXPECT() *MockSetBuilderMockRecorder[K1, K2]
EXPECT returns an object that allows the caller to indicate expected use.
type MockSetBuilderDoCall ¶
MockSetBuilderDoCall wrap *gomock.Call
func (*MockSetBuilderDoCall[K1, K2]) Do ¶
func (c *MockSetBuilderDoCall[K1, K2]) Do(f func(context.Context) error) *MockSetBuilderDoCall[K1, K2]
Do rewrite *gomock.Call.Do
func (*MockSetBuilderDoCall[K1, K2]) DoAndReturn ¶
func (c *MockSetBuilderDoCall[K1, K2]) DoAndReturn(f func(context.Context) error) *MockSetBuilderDoCall[K1, K2]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSetBuilderDoCall[K1, K2]) Return ¶
func (c *MockSetBuilderDoCall[K1, K2]) Return(arg0 error) *MockSetBuilderDoCall[K1, K2]
Return rewrite *gomock.Call.Return
type MockSetBuilderMockRecorder ¶
type MockSetBuilderMockRecorder[K1 any, K2 any] struct { // contains filtered or unexported fields }
MockSetBuilderMockRecorder is the mock recorder for MockSetBuilder.
func (*MockSetBuilderMockRecorder[K1, K2]) Do ¶
func (mr *MockSetBuilderMockRecorder[K1, K2]) Do(arg0 any) *MockSetBuilderDoCall[K1, K2]
Do indicates an expected call of Do.
func (*MockSetBuilderMockRecorder[K1, K2]) Set ¶
func (mr *MockSetBuilderMockRecorder[K1, K2]) Set(key, ttl any, kvs ...any) *MockSetBuilderSetCall[K1, K2]
Set indicates an expected call of Set.
type MockSetBuilderSetCall ¶
MockSetBuilderSetCall wrap *gomock.Call
func (*MockSetBuilderSetCall[K1, K2]) Do ¶
func (c *MockSetBuilderSetCall[K1, K2]) Do(f func(K1, time.Duration, ...redistool.BuilderKV[K2])) *MockSetBuilderSetCall[K1, K2]
Do rewrite *gomock.Call.Do
func (*MockSetBuilderSetCall[K1, K2]) DoAndReturn ¶
func (c *MockSetBuilderSetCall[K1, K2]) DoAndReturn(f func(K1, time.Duration, ...redistool.BuilderKV[K2])) *MockSetBuilderSetCall[K1, K2]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSetBuilderSetCall[K1, K2]) Return ¶
func (c *MockSetBuilderSetCall[K1, K2]) Return() *MockSetBuilderSetCall[K1, K2]
Return rewrite *gomock.Call.Return