mock

package
v0.0.0-...-c39517e Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSet

type MockSet struct {
	// contains filtered or unexported fields
}

MockSet is a mock of Set interface.

func NewMockSet

func NewMockSet(ctrl *gomock.Controller) *MockSet

NewMockSet creates a new mock instance.

func (*MockSet) Close

func (m *MockSet) Close()

Close mocks base method.

func (*MockSet) EXPECT

func (m *MockSet) EXPECT() *MockSetMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSet) SAdd

func (m *MockSet) SAdd(arg0 context.Context, arg1 string, arg2 ...string) error

SAdd mocks base method.

func (*MockSet) SMembers

func (m *MockSet) SMembers(arg0 context.Context, arg1 string) ([]string, error)

SMembers mocks base method.

func (*MockSet) SPopN

func (m *MockSet) SPopN(arg0 context.Context, arg1 string, arg2 int64) ([]string, error)

SPopN mocks base method.

func (*MockSet) SRem

func (m *MockSet) SRem(arg0 context.Context, arg1 string, arg2 ...string) error

SRem mocks base method.

type MockSetMockRecorder

type MockSetMockRecorder struct {
	// contains filtered or unexported fields
}

MockSetMockRecorder is the mock recorder for MockSet.

func (*MockSetMockRecorder) Close

func (mr *MockSetMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockSetMockRecorder) SAdd

func (mr *MockSetMockRecorder) SAdd(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

SAdd indicates an expected call of SAdd.

func (*MockSetMockRecorder) SMembers

func (mr *MockSetMockRecorder) SMembers(arg0, arg1 interface{}) *gomock.Call

SMembers indicates an expected call of SMembers.

func (*MockSetMockRecorder) SPopN

func (mr *MockSetMockRecorder) SPopN(arg0, arg1, arg2 interface{}) *gomock.Call

SPopN indicates an expected call of SPopN.

func (*MockSetMockRecorder) SRem

func (mr *MockSetMockRecorder) SRem(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

SRem indicates an expected call of SRem.

type MockSortedSet

type MockSortedSet struct {
	// contains filtered or unexported fields
}

MockSortedSet is a mock of SortedSet interface.

func NewMockSortedSet

func NewMockSortedSet(ctrl *gomock.Controller) *MockSortedSet

NewMockSortedSet creates a new mock instance.

func (*MockSortedSet) Close

func (m *MockSortedSet) Close()

Close mocks base method.

func (*MockSortedSet) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSortedSet) ZAdd

func (m *MockSortedSet) ZAdd(arg0 context.Context, arg1 string, arg2 ...*kv.Z) error

ZAdd mocks base method.

func (*MockSortedSet) ZRangeByScore

func (m *MockSortedSet) ZRangeByScore(arg0 context.Context, arg1 string, arg2 *kv.ZRangeBy) ([]string, error)

ZRangeByScore mocks base method.

func (*MockSortedSet) ZRem

func (m *MockSortedSet) ZRem(arg0 context.Context, arg1 string, arg2 ...interface{}) error

ZRem mocks base method.

type MockSortedSetMockRecorder

type MockSortedSetMockRecorder struct {
	// contains filtered or unexported fields
}

MockSortedSetMockRecorder is the mock recorder for MockSortedSet.

func (*MockSortedSetMockRecorder) Close

func (mr *MockSortedSetMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockSortedSetMockRecorder) ZAdd

func (mr *MockSortedSetMockRecorder) ZAdd(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ZAdd indicates an expected call of ZAdd.

func (*MockSortedSetMockRecorder) ZRangeByScore

func (mr *MockSortedSetMockRecorder) ZRangeByScore(arg0, arg1, arg2 interface{}) *gomock.Call

ZRangeByScore indicates an expected call of ZRangeByScore.

func (*MockSortedSetMockRecorder) ZRem

func (mr *MockSortedSetMockRecorder) ZRem(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ZRem indicates an expected call of ZRem.

type MockStore

type MockStore struct {
	// contains filtered or unexported fields
}

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) Close

func (m *MockStore) Close()

Close mocks base method.

func (*MockStore) Del

func (m *MockStore) Del(arg0 context.Context, arg1 string, arg2 ...string) error

Del mocks base method.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStore) Get

func (m *MockStore) Get(arg0 context.Context, arg1, arg2 string) ([]byte, error)

Get mocks base method.

func (*MockStore) Keys

func (m *MockStore) Keys(arg0 context.Context, arg1 string) ([]string, error)

Keys mocks base method.

func (*MockStore) MGet

func (m *MockStore) MGet(arg0 context.Context, arg1 string, arg2 []string) (map[string][]byte, error)

MGet mocks base method.

func (*MockStore) MSet

func (m *MockStore) MSet(arg0 context.Context, arg1 string, arg2 map[string]interface{}) error

MSet mocks base method.

func (*MockStore) MSetNX

func (m *MockStore) MSetNX(arg0 context.Context, arg1 string, arg2 map[string]interface{}) (bool, error)

MSetNX mocks base method.

func (*MockStore) Set

func (m *MockStore) Set(arg0 context.Context, arg1, arg2 string, arg3 interface{}, arg4 time.Duration) error

Set mocks base method.

func (*MockStore) SetNX

func (m *MockStore) SetNX(arg0 context.Context, arg1, arg2 string, arg3 interface{}, arg4 time.Duration) (bool, error)

SetNX mocks base method.

type MockStoreMockRecorder

type MockStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) Close

func (mr *MockStoreMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockStoreMockRecorder) Del

func (mr *MockStoreMockRecorder) Del(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Del indicates an expected call of Del.

func (*MockStoreMockRecorder) Get

func (mr *MockStoreMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockStoreMockRecorder) Keys

func (mr *MockStoreMockRecorder) Keys(arg0, arg1 interface{}) *gomock.Call

Keys indicates an expected call of Keys.

func (*MockStoreMockRecorder) MGet

func (mr *MockStoreMockRecorder) MGet(arg0, arg1, arg2 interface{}) *gomock.Call

MGet indicates an expected call of MGet.

func (*MockStoreMockRecorder) MSet

func (mr *MockStoreMockRecorder) MSet(arg0, arg1, arg2 interface{}) *gomock.Call

MSet indicates an expected call of MSet.

func (*MockStoreMockRecorder) MSetNX

func (mr *MockStoreMockRecorder) MSetNX(arg0, arg1, arg2 interface{}) *gomock.Call

MSetNX indicates an expected call of MSetNX.

func (*MockStoreMockRecorder) Set

func (mr *MockStoreMockRecorder) Set(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Set indicates an expected call of Set.

func (*MockStoreMockRecorder) SetNX

func (mr *MockStoreMockRecorder) SetNX(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

SetNX indicates an expected call of SetNX.

Jump to

Keyboard shortcuts

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