cachetest

package
v0.42.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package cachetest is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCache

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

MockCache is a mock of Cache interface.

func NewMockCache

func NewMockCache(ctrl *gomock.Controller) *MockCache

NewMockCache creates a new mock instance.

func (*MockCache) Delete

func (m *MockCache) Delete(arg0 string) error

Delete mocks base method.

func (*MockCache) EXPECT

func (m *MockCache) EXPECT() *MockCacheMockRecorder

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

func (*MockCache) Get

func (m *MockCache) Get(arg0 string) (interface{}, error)

Get mocks base method.

func (*MockCache) GetAll

func (m *MockCache) GetAll() (map[string]interface{}, error)

GetAll mocks base method.

func (*MockCache) Put

func (m *MockCache) Put(arg0 string, arg1 interface{}) error

Put mocks base method.

type MockCacheMockRecorder

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

MockCacheMockRecorder is the mock recorder for MockCache.

func (*MockCacheMockRecorder) Delete

func (mr *MockCacheMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockCacheMockRecorder) Get

func (mr *MockCacheMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockCacheMockRecorder) GetAll

func (mr *MockCacheMockRecorder) GetAll() *gomock.Call

GetAll indicates an expected call of GetAll.

func (*MockCacheMockRecorder) Put

func (mr *MockCacheMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call

Put indicates an expected call of Put.

type MockDeleter

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

MockDeleter is a mock of Deleter interface.

func NewMockDeleter

func NewMockDeleter(ctrl *gomock.Controller) *MockDeleter

NewMockDeleter creates a new mock instance.

func (*MockDeleter) Delete

func (m *MockDeleter) Delete(arg0 string) error

Delete mocks base method.

func (*MockDeleter) EXPECT

func (m *MockDeleter) EXPECT() *MockDeleterMockRecorder

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

type MockDeleterMockRecorder

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

MockDeleterMockRecorder is the mock recorder for MockDeleter.

func (*MockDeleterMockRecorder) Delete

func (mr *MockDeleterMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

type MockGetter

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

MockGetter is a mock of Getter interface.

func NewMockGetter

func NewMockGetter(ctrl *gomock.Controller) *MockGetter

NewMockGetter creates a new mock instance.

func (*MockGetter) EXPECT

func (m *MockGetter) EXPECT() *MockGetterMockRecorder

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

func (*MockGetter) Get

func (m *MockGetter) Get(arg0 string) (interface{}, error)

Get mocks base method.

func (*MockGetter) GetAll

func (m *MockGetter) GetAll() (map[string]interface{}, error)

GetAll mocks base method.

type MockGetterMockRecorder

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

MockGetterMockRecorder is the mock recorder for MockGetter.

func (*MockGetterMockRecorder) Get

func (mr *MockGetterMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockGetterMockRecorder) GetAll

func (mr *MockGetterMockRecorder) GetAll() *gomock.Call

GetAll indicates an expected call of GetAll.

type MockPutter

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

MockPutter is a mock of Putter interface.

func NewMockPutter

func NewMockPutter(ctrl *gomock.Controller) *MockPutter

NewMockPutter creates a new mock instance.

func (*MockPutter) EXPECT

func (m *MockPutter) EXPECT() *MockPutterMockRecorder

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

func (*MockPutter) Put

func (m *MockPutter) Put(arg0 string, arg1 interface{}) error

Put mocks base method.

type MockPutterMockRecorder

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

MockPutterMockRecorder is the mock recorder for MockPutter.

func (*MockPutterMockRecorder) Put

func (mr *MockPutterMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call

Put indicates an expected call of Put.

Jump to

Keyboard shortcuts

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