mocks

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCodecInterface added in v1.0.0

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

MockCodecInterface is a mock of CodecInterface interface.

func NewMockCodecInterface added in v1.0.0

func NewMockCodecInterface(ctrl *gomock.Controller) *MockCodecInterface

NewMockCodecInterface creates a new mock instance.

func (*MockCodecInterface) Clear added in v1.0.0

func (m *MockCodecInterface) Clear() error

Clear mocks base method.

func (*MockCodecInterface) Delete added in v1.0.0

func (m *MockCodecInterface) Delete(key interface{}) error

Delete mocks base method.

func (*MockCodecInterface) EXPECT added in v1.0.0

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

func (*MockCodecInterface) Get added in v1.0.0

func (m *MockCodecInterface) Get(key interface{}) (interface{}, error)

Get mocks base method.

func (*MockCodecInterface) GetStats added in v1.0.0

func (m *MockCodecInterface) GetStats() *codec.Stats

GetStats mocks base method.

func (*MockCodecInterface) GetStore added in v1.0.0

func (m *MockCodecInterface) GetStore() store.StoreInterface

GetStore mocks base method.

func (*MockCodecInterface) GetWithTTL added in v1.1.0

func (m *MockCodecInterface) GetWithTTL(key interface{}) (interface{}, time.Duration, error)

GetWithTTL mocks base method.

func (*MockCodecInterface) Invalidate added in v1.0.0

func (m *MockCodecInterface) Invalidate(options store.InvalidateOptions) error

Invalidate mocks base method.

func (*MockCodecInterface) Set added in v1.0.0

func (m *MockCodecInterface) Set(key, value interface{}, options *store.Options) error

Set mocks base method.

type MockCodecInterfaceMockRecorder added in v1.0.0

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

MockCodecInterfaceMockRecorder is the mock recorder for MockCodecInterface.

func (*MockCodecInterfaceMockRecorder) Clear added in v1.0.0

Clear indicates an expected call of Clear.

func (*MockCodecInterfaceMockRecorder) Delete added in v1.0.0

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

Delete indicates an expected call of Delete.

func (*MockCodecInterfaceMockRecorder) Get added in v1.0.0

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

Get indicates an expected call of Get.

func (*MockCodecInterfaceMockRecorder) GetStats added in v1.0.0

func (mr *MockCodecInterfaceMockRecorder) GetStats() *gomock.Call

GetStats indicates an expected call of GetStats.

func (*MockCodecInterfaceMockRecorder) GetStore added in v1.0.0

func (mr *MockCodecInterfaceMockRecorder) GetStore() *gomock.Call

GetStore indicates an expected call of GetStore.

func (*MockCodecInterfaceMockRecorder) GetWithTTL added in v1.1.0

func (mr *MockCodecInterfaceMockRecorder) GetWithTTL(key interface{}) *gomock.Call

GetWithTTL indicates an expected call of GetWithTTL.

func (*MockCodecInterfaceMockRecorder) Invalidate added in v1.0.0

func (mr *MockCodecInterfaceMockRecorder) Invalidate(options interface{}) *gomock.Call

Invalidate indicates an expected call of Invalidate.

func (*MockCodecInterfaceMockRecorder) Set added in v1.0.0

func (mr *MockCodecInterfaceMockRecorder) Set(key, value, options 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