mock_mgcache

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_mgcache is a generated GoMock package.

Package mock_mgcache is a generated GoMock package.

Package mock_mgcache is a generated GoMock package.

Package mock_mgcache is a generated GoMock package.

Package mock_mgcache is a generated GoMock package.

Package mock_mgcache is a generated GoMock package.

Package mock_mgcache is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBigcacheInterface

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

MockBigcacheInterface is a mock of BigcacheInterface interface.

func NewMockBigcacheInterface

func NewMockBigcacheInterface(ctrl *gomock.Controller) *MockBigcacheInterface

NewMockBigcacheInterface creates a new mock instance.

func (*MockBigcacheInterface) Delete

func (m *MockBigcacheInterface) Delete(key string) error

Delete mocks base method.

func (*MockBigcacheInterface) EXPECT

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

func (*MockBigcacheInterface) Get

func (m *MockBigcacheInterface) Get(key string) ([]byte, error)

Get mocks base method.

func (*MockBigcacheInterface) Set

func (m *MockBigcacheInterface) Set(key string, entry []byte) error

Set mocks base method.

type MockBigcacheInterfaceMockRecorder

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

MockBigcacheInterfaceMockRecorder is the mock recorder for MockBigcacheInterface.

func (*MockBigcacheInterfaceMockRecorder) Delete

func (mr *MockBigcacheInterfaceMockRecorder) Delete(key interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockBigcacheInterfaceMockRecorder) Get

func (mr *MockBigcacheInterfaceMockRecorder) Get(key interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockBigcacheInterfaceMockRecorder) Set

func (mr *MockBigcacheInterfaceMockRecorder) Set(key, entry interface{}) *gomock.Call

Set indicates an expected call of Set.

type MockICodec

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

MockICodec is a mock of ICodec interface.

func NewMockICodec

func NewMockICodec(ctrl *gomock.Controller) *MockICodec

NewMockICodec creates a new mock instance.

func (*MockICodec) Decode

func (m *MockICodec) Decode(bytes []byte, valuePtr interface{}) error

Decode mocks base method.

func (*MockICodec) EXPECT

func (m *MockICodec) EXPECT() *MockICodecMockRecorder

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

func (*MockICodec) Encode

func (m *MockICodec) Encode(arg0 interface{}) ([]byte, error)

Encode mocks base method.

type MockICodecMockRecorder

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

MockICodecMockRecorder is the mock recorder for MockICodec.

func (*MockICodecMockRecorder) Decode

func (mr *MockICodecMockRecorder) Decode(bytes, valuePtr interface{}) *gomock.Call

Decode indicates an expected call of Decode.

func (*MockICodecMockRecorder) Encode

func (mr *MockICodecMockRecorder) Encode(arg0 interface{}) *gomock.Call

Encode indicates an expected call of Encode.

type MockIDistributedRefresher

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

MockIDistributedRefresher is a mock of IDistributedRefresher interface.

func NewMockIDistributedRefresher

func NewMockIDistributedRefresher(ctrl *gomock.Controller) *MockIDistributedRefresher

NewMockIDistributedRefresher creates a new mock instance.

func (*MockIDistributedRefresher) EXPECT

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

func (*MockIDistributedRefresher) Notify

func (m *MockIDistributedRefresher) Notify(key string) error

Notify mocks base method.

type MockIDistributedRefresherMockRecorder

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

MockIDistributedRefresherMockRecorder is the mock recorder for MockIDistributedRefresher.

func (*MockIDistributedRefresherMockRecorder) Notify

func (mr *MockIDistributedRefresherMockRecorder) Notify(key interface{}) *gomock.Call

Notify indicates an expected call of Notify.

type MockIFallbackStorage

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

MockIFallbackStorage is a mock of IFallbackStorage interface.

func NewMockIFallbackStorage

func NewMockIFallbackStorage(ctrl *gomock.Controller) *MockIFallbackStorage

NewMockIFallbackStorage creates a new mock instance.

func (*MockIFallbackStorage) EXPECT

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

func (*MockIFallbackStorage) GetBytes

func (m *MockIFallbackStorage) GetBytes(key string) ([]byte, error)

GetBytes mocks base method.

func (*MockIFallbackStorage) Invalidate

func (m *MockIFallbackStorage) Invalidate(key string) error

Invalidate mocks base method.

type MockIFallbackStorageMockRecorder

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

MockIFallbackStorageMockRecorder is the mock recorder for MockIFallbackStorage.

func (*MockIFallbackStorageMockRecorder) GetBytes

func (mr *MockIFallbackStorageMockRecorder) GetBytes(key interface{}) *gomock.Call

GetBytes indicates an expected call of GetBytes.

func (*MockIFallbackStorageMockRecorder) Invalidate

func (mr *MockIFallbackStorageMockRecorder) Invalidate(key interface{}) *gomock.Call

Invalidate indicates an expected call of Invalidate.

type MockIStorage

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

MockIStorage is a mock of IStorage interface.

func NewMockIStorage

func NewMockIStorage(ctrl *gomock.Controller) *MockIStorage

NewMockIStorage creates a new mock instance.

func (*MockIStorage) EXPECT

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

func (*MockIStorage) Get

func (m *MockIStorage) Get(key string, value interface{}) error

Get mocks base method.

func (*MockIStorage) GetBytes

func (m *MockIStorage) GetBytes(key string) ([]byte, error)

GetBytes mocks base method.

func (*MockIStorage) Invalidate

func (m *MockIStorage) Invalidate(key string) error

Invalidate mocks base method.

func (*MockIStorage) Refresh

func (m *MockIStorage) Refresh(key string) ([]byte, error)

Refresh mocks base method.

func (*MockIStorage) Set

func (m *MockIStorage) Set(key string, value interface{}) error

Set mocks base method.

type MockIStorageMockRecorder

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

MockIStorageMockRecorder is the mock recorder for MockIStorage.

func (*MockIStorageMockRecorder) Get

func (mr *MockIStorageMockRecorder) Get(key, value interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockIStorageMockRecorder) GetBytes

func (mr *MockIStorageMockRecorder) GetBytes(key interface{}) *gomock.Call

GetBytes indicates an expected call of GetBytes.

func (*MockIStorageMockRecorder) Invalidate

func (mr *MockIStorageMockRecorder) Invalidate(key interface{}) *gomock.Call

Invalidate indicates an expected call of Invalidate.

func (*MockIStorageMockRecorder) Refresh

func (mr *MockIStorageMockRecorder) Refresh(key interface{}) *gomock.Call

Refresh indicates an expected call of Refresh.

func (*MockIStorageMockRecorder) Set

func (mr *MockIStorageMockRecorder) Set(key, value interface{}) *gomock.Call

Set indicates an expected call of Set.

type MockPubSubClientInterface

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

MockPubSubClientInterface is a mock of PubSubClientInterface interface.

func NewMockPubSubClientInterface

func NewMockPubSubClientInterface(ctrl *gomock.Controller) *MockPubSubClientInterface

NewMockPubSubClientInterface creates a new mock instance.

func (*MockPubSubClientInterface) EXPECT

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

func (*MockPubSubClientInterface) Publish

func (m *MockPubSubClientInterface) Publish(ctx context.Context, channel string, message interface{}) *redis.IntCmd

Publish mocks base method.

func (*MockPubSubClientInterface) Subscribe

func (m *MockPubSubClientInterface) Subscribe(ctx context.Context, channels ...string) *redis.PubSub

Subscribe mocks base method.

type MockPubSubClientInterfaceMockRecorder

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

MockPubSubClientInterfaceMockRecorder is the mock recorder for MockPubSubClientInterface.

func (*MockPubSubClientInterfaceMockRecorder) Publish

func (mr *MockPubSubClientInterfaceMockRecorder) Publish(ctx, channel, message interface{}) *gomock.Call

Publish indicates an expected call of Publish.

func (*MockPubSubClientInterfaceMockRecorder) Subscribe

func (mr *MockPubSubClientInterfaceMockRecorder) Subscribe(ctx interface{}, channels ...interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe.

type MockRedisClientInterface

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

MockRedisClientInterface is a mock of RedisClientInterface interface.

func NewMockRedisClientInterface

func NewMockRedisClientInterface(ctrl *gomock.Controller) *MockRedisClientInterface

NewMockRedisClientInterface creates a new mock instance.

func (*MockRedisClientInterface) Del

Del mocks base method.

func (*MockRedisClientInterface) EXPECT

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

func (*MockRedisClientInterface) Get

Get mocks base method.

func (*MockRedisClientInterface) Set

func (m *MockRedisClientInterface) Set(ctx context.Context, key string, value interface{}, expiration time.Duration) *redis.StatusCmd

Set mocks base method.

type MockRedisClientInterfaceMockRecorder

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

MockRedisClientInterfaceMockRecorder is the mock recorder for MockRedisClientInterface.

func (*MockRedisClientInterfaceMockRecorder) Del

func (mr *MockRedisClientInterfaceMockRecorder) Del(ctx interface{}, keys ...interface{}) *gomock.Call

Del indicates an expected call of Del.

func (*MockRedisClientInterfaceMockRecorder) Get

func (mr *MockRedisClientInterfaceMockRecorder) Get(ctx, key interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockRedisClientInterfaceMockRecorder) Set

func (mr *MockRedisClientInterfaceMockRecorder) Set(ctx, key, value, expiration interface{}) *gomock.Call

Set indicates an expected call of Set.

Jump to

Keyboard shortcuts

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