mock_redis

package
v17.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 5 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExpiringHash

type MockExpiringHash[K1 any, K2 any] struct {
	// contains filtered or unexported fields
}

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]) Forget

func (m *MockExpiringHash[K1, K2]) Forget(key K1, hashKey K2)

Forget mocks base method.

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]) Refresh

func (m *MockExpiringHash[K1, K2]) Refresh(ctx context.Context, nextRefresh time.Time) error

Refresh 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.

func (*MockExpiringHash[K1, K2]) Set

func (m *MockExpiringHash[K1, K2]) Set(ctx context.Context, key K1, hashKey K2, value []byte) error

Set mocks base method.

func (*MockExpiringHash[K1, K2]) SetEX

func (m *MockExpiringHash[K1, K2]) SetEX(ctx context.Context, key K1, hashKey K2, value []byte, expiresAt time.Time) error

SetEX mocks base method.

func (*MockExpiringHash[K1, K2]) Unset

func (m *MockExpiringHash[K1, K2]) Unset(ctx context.Context, key K1, hashKey K2) error

Unset mocks base method.

type MockExpiringHashAPI

type MockExpiringHashAPI[K1 any, K2 any] struct {
	// contains filtered or unexported fields
}

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.

func (*MockExpiringHashAPI[K1, K2]) Unset

func (m *MockExpiringHashAPI[K1, K2]) Unset(ctx context.Context, key K1, hashKey K2) error

Unset mocks base method.

type MockExpiringHashAPIGCForCall

type MockExpiringHashAPIGCForCall[K1 any, K2 any] struct {
	*gomock.Call
}

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

type MockExpiringHashAPIScanCall[K1 any, K2 any] struct {
	*gomock.Call
}

MockExpiringHashAPIScanCall wrap *gomock.Call

func (*MockExpiringHashAPIScanCall[K1, K2]) Do

Do rewrite *gomock.Call.Do

func (*MockExpiringHashAPIScanCall[K1, K2]) DoAndReturn

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

type MockExpiringHashAPISetBuilderCall[K1 any, K2 any] struct {
	*gomock.Call
}

MockExpiringHashAPISetBuilderCall wrap *gomock.Call

func (*MockExpiringHashAPISetBuilderCall[K1, K2]) Do

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

Return rewrite *gomock.Call.Return

type MockExpiringHashAPIUnsetCall

type MockExpiringHashAPIUnsetCall[K1 any, K2 any] struct {
	*gomock.Call
}

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 MockExpiringHashForgetCall

type MockExpiringHashForgetCall[K1 any, K2 any] struct {
	*gomock.Call
}

MockExpiringHashForgetCall wrap *gomock.Call

func (*MockExpiringHashForgetCall[K1, K2]) Do

func (c *MockExpiringHashForgetCall[K1, K2]) Do(f func(K1, K2)) *MockExpiringHashForgetCall[K1, K2]

Do rewrite *gomock.Call.Do

func (*MockExpiringHashForgetCall[K1, K2]) DoAndReturn

func (c *MockExpiringHashForgetCall[K1, K2]) DoAndReturn(f func(K1, K2)) *MockExpiringHashForgetCall[K1, K2]

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockExpiringHashForgetCall[K1, K2]) Return

func (c *MockExpiringHashForgetCall[K1, K2]) Return() *MockExpiringHashForgetCall[K1, K2]

Return rewrite *gomock.Call.Return

type MockExpiringHashGCCall

type MockExpiringHashGCCall[K1 any, K2 any] struct {
	*gomock.Call
}

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

type MockExpiringHashGCForCall[K1 any, K2 any] struct {
	*gomock.Call
}

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

type MockExpiringHashGetNameCall[K1 any, K2 any] struct {
	*gomock.Call
}

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

type MockExpiringHashLenCall[K1 any, K2 any] struct {
	*gomock.Call
}

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]) Forget

func (mr *MockExpiringHashMockRecorder[K1, K2]) Forget(key, hashKey any) *MockExpiringHashForgetCall[K1, K2]

Forget indicates an expected call of Forget.

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]) Refresh

func (mr *MockExpiringHashMockRecorder[K1, K2]) Refresh(ctx, nextRefresh any) *MockExpiringHashRefreshCall[K1, K2]

Refresh indicates an expected call of Refresh.

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]) Set

func (mr *MockExpiringHashMockRecorder[K1, K2]) Set(ctx, key, hashKey, value any) *MockExpiringHashSetCall[K1, K2]

Set indicates an expected call of Set.

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.

func (*MockExpiringHashMockRecorder[K1, K2]) Unset

func (mr *MockExpiringHashMockRecorder[K1, K2]) Unset(ctx, key, hashKey any) *MockExpiringHashUnsetCall[K1, K2]

Unset indicates an expected call of Unset.

type MockExpiringHashRefreshCall

type MockExpiringHashRefreshCall[K1 any, K2 any] struct {
	*gomock.Call
}

MockExpiringHashRefreshCall wrap *gomock.Call

func (*MockExpiringHashRefreshCall[K1, K2]) Do

Do rewrite *gomock.Call.Do

func (*MockExpiringHashRefreshCall[K1, K2]) DoAndReturn

func (c *MockExpiringHashRefreshCall[K1, K2]) DoAndReturn(f func(context.Context, time.Time) error) *MockExpiringHashRefreshCall[K1, K2]

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockExpiringHashRefreshCall[K1, K2]) Return

func (c *MockExpiringHashRefreshCall[K1, K2]) Return(arg0 error) *MockExpiringHashRefreshCall[K1, K2]

Return rewrite *gomock.Call.Return

type MockExpiringHashScanCall

type MockExpiringHashScanCall[K1 any, K2 any] struct {
	*gomock.Call
}

MockExpiringHashScanCall wrap *gomock.Call

func (*MockExpiringHashScanCall[K1, K2]) Do

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 MockExpiringHashSetCall

type MockExpiringHashSetCall[K1 any, K2 any] struct {
	*gomock.Call
}

MockExpiringHashSetCall wrap *gomock.Call

func (*MockExpiringHashSetCall[K1, K2]) Do

func (c *MockExpiringHashSetCall[K1, K2]) Do(f func(context.Context, K1, K2, []byte) error) *MockExpiringHashSetCall[K1, K2]

Do rewrite *gomock.Call.Do

func (*MockExpiringHashSetCall[K1, K2]) DoAndReturn

func (c *MockExpiringHashSetCall[K1, K2]) DoAndReturn(f func(context.Context, K1, K2, []byte) error) *MockExpiringHashSetCall[K1, K2]

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockExpiringHashSetCall[K1, K2]) Return

func (c *MockExpiringHashSetCall[K1, K2]) Return(arg0 error) *MockExpiringHashSetCall[K1, K2]

Return rewrite *gomock.Call.Return

type MockExpiringHashSetEXCall

type MockExpiringHashSetEXCall[K1 any, K2 any] struct {
	*gomock.Call
}

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 MockExpiringHashUnsetCall

type MockExpiringHashUnsetCall[K1 any, K2 any] struct {
	*gomock.Call
}

MockExpiringHashUnsetCall wrap *gomock.Call

func (*MockExpiringHashUnsetCall[K1, K2]) Do

func (c *MockExpiringHashUnsetCall[K1, K2]) Do(f func(context.Context, K1, K2) error) *MockExpiringHashUnsetCall[K1, K2]

Do rewrite *gomock.Call.Do

func (*MockExpiringHashUnsetCall[K1, K2]) DoAndReturn

func (c *MockExpiringHashUnsetCall[K1, K2]) DoAndReturn(f func(context.Context, K1, K2) error) *MockExpiringHashUnsetCall[K1, K2]

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockExpiringHashUnsetCall[K1, K2]) Return

func (c *MockExpiringHashUnsetCall[K1, K2]) Return(arg0 error) *MockExpiringHashUnsetCall[K1, K2]

Return rewrite *gomock.Call.Return

type MockSetBuilder

type MockSetBuilder[K1 any, K2 any] struct {
	// contains filtered or unexported fields
}

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.

func (*MockSetBuilder[K1, K2]) Set

func (m *MockSetBuilder[K1, K2]) Set(key K1, ttl time.Duration, kvs ...redistool.BuilderKV[K2])

Set mocks base method.

type MockSetBuilderDoCall

type MockSetBuilderDoCall[K1 any, K2 any] struct {
	*gomock.Call
}

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

type MockSetBuilderSetCall[K1 any, K2 any] struct {
	*gomock.Call
}

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

Jump to

Keyboard shortcuts

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