mock_keyvalue

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_keyvalue 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) Delete

func (m *MockStore) Delete(key string) 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(key string) (string, error)

Get mocks base method

func (*MockStore) GetAllWithPrefixed

func (m *MockStore) GetAllWithPrefixed(keyPrefix string) ([]keyvalue.KeyValue, error)

GetAllWithPrefixed mocks base method

func (*MockStore) Set

func (m *MockStore) Set(key, value string) error

Set mocks base method

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore

func (*MockStoreMockRecorder) Delete

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

Delete indicates an expected call of Delete

func (*MockStoreMockRecorder) Get

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

Get indicates an expected call of Get

func (*MockStoreMockRecorder) GetAllWithPrefixed

func (mr *MockStoreMockRecorder) GetAllWithPrefixed(keyPrefix interface{}) *gomock.Call

GetAllWithPrefixed indicates an expected call of GetAllWithPrefixed

func (*MockStoreMockRecorder) Set

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