mock_cache

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mock_cache is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) Add

func (m *MockStore) Add(arg0 interface{}) error

Add mocks base method

func (*MockStore) Delete

func (m *MockStore) Delete(arg0 interface{}) error

Delete 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 interface{}) (interface{}, bool, error)

Get mocks base method

func (*MockStore) GetByKey

func (m *MockStore) GetByKey(arg0 string) (interface{}, bool, error)

GetByKey mocks base method

func (*MockStore) List

func (m *MockStore) List() []interface{}

List mocks base method

func (*MockStore) ListKeys

func (m *MockStore) ListKeys() []string

ListKeys mocks base method

func (*MockStore) Replace

func (m *MockStore) Replace(arg0 []interface{}, arg1 string) error

Replace mocks base method

func (*MockStore) Resync

func (m *MockStore) Resync() error

Resync mocks base method

func (*MockStore) Update

func (m *MockStore) Update(arg0 interface{}) error

Update mocks base method

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore

func (*MockStoreMockRecorder) Add

func (mr *MockStoreMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add

func (*MockStoreMockRecorder) Delete

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

Delete indicates an expected call of Delete

func (*MockStoreMockRecorder) Get

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

Get indicates an expected call of Get

func (*MockStoreMockRecorder) GetByKey

func (mr *MockStoreMockRecorder) GetByKey(arg0 interface{}) *gomock.Call

GetByKey indicates an expected call of GetByKey

func (*MockStoreMockRecorder) List

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

List indicates an expected call of List

func (*MockStoreMockRecorder) ListKeys

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

ListKeys indicates an expected call of ListKeys

func (*MockStoreMockRecorder) Replace

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

Replace indicates an expected call of Replace

func (*MockStoreMockRecorder) Resync

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

Resync indicates an expected call of Resync

func (*MockStoreMockRecorder) Update

func (mr *MockStoreMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

Jump to

Keyboard shortcuts

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