automock

package
v0.0.0-...-a52e8f6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PageableIndexer

type PageableIndexer struct {
	mock.Mock
}

PageableIndexer is an autogenerated mock type for the PageableIndexer type

func (*PageableIndexer) ByIndex

func (_m *PageableIndexer) ByIndex(indexName string, indexKey string) ([]interface{}, error)

ByIndex provides a mock function with given fields: indexName, indexKey

func (*PageableIndexer) GetByKey

func (_m *PageableIndexer) GetByKey(key string) (interface{}, bool, error)

GetByKey provides a mock function with given fields: key

func (*PageableIndexer) IndexKeys

func (_m *PageableIndexer) IndexKeys(indexName string, indexKey string) ([]string, error)

IndexKeys provides a mock function with given fields: indexName, indexKey

type PageableStore

type PageableStore struct {
	mock.Mock
}

PageableStore is an autogenerated mock type for the PageableStore type

func (*PageableStore) GetByKey

func (_m *PageableStore) GetByKey(key string) (interface{}, bool, error)

GetByKey provides a mock function with given fields: key

func (*PageableStore) List

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

List provides a mock function with given fields:

func (*PageableStore) ListKeys

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

ListKeys provides a mock function with given fields:

Jump to

Keyboard shortcuts

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