mockcache

package
v0.0.0-...-9649b88 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIndexer

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

Mock of Indexer interface

func NewMockIndexer

func NewMockIndexer(ctrl *gomock.Controller) *MockIndexer

func (*MockIndexer) Add

func (_m *MockIndexer) Add(_param0 interface{}) error

func (*MockIndexer) AddIndexers

func (_m *MockIndexer) AddIndexers(_param0 cache.Indexers) error

func (*MockIndexer) ByIndex

func (_m *MockIndexer) ByIndex(_param0 string, _param1 string) ([]interface{}, error)

func (*MockIndexer) Delete

func (_m *MockIndexer) Delete(_param0 interface{}) error

func (*MockIndexer) EXPECT

func (_m *MockIndexer) EXPECT() *_MockIndexerRecorder

func (*MockIndexer) Get

func (_m *MockIndexer) Get(_param0 interface{}) (interface{}, bool, error)

func (*MockIndexer) GetByKey

func (_m *MockIndexer) GetByKey(_param0 string) (interface{}, bool, error)

func (*MockIndexer) GetIndexers

func (_m *MockIndexer) GetIndexers() cache.Indexers

func (*MockIndexer) Index

func (_m *MockIndexer) Index(_param0 string, _param1 interface{}) ([]interface{}, error)

func (*MockIndexer) IndexKeys

func (_m *MockIndexer) IndexKeys(_param0 string, _param1 string) ([]string, error)

func (*MockIndexer) List

func (_m *MockIndexer) List() []interface{}

func (*MockIndexer) ListIndexFuncValues

func (_m *MockIndexer) ListIndexFuncValues(_param0 string) []string

func (*MockIndexer) ListKeys

func (_m *MockIndexer) ListKeys() []string

func (*MockIndexer) Replace

func (_m *MockIndexer) Replace(_param0 []interface{}, _param1 string) error

func (*MockIndexer) Resync

func (_m *MockIndexer) Resync() error

func (*MockIndexer) Update

func (_m *MockIndexer) Update(_param0 interface{}) error

Jump to

Keyboard shortcuts

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