mock_state

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_state is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New added in v0.4.0

func New(logger logger.Logger) state.Store

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

func (m *MockStore) BulkDelete(arg0 []state.DeleteRequest) error

BulkDelete mocks base method.

func (*MockStore) BulkGet

func (m *MockStore) BulkGet(arg0 []state.GetRequest) (bool, []state.BulkGetResponse, error)

BulkGet mocks base method.

func (*MockStore) BulkSet

func (m *MockStore) BulkSet(arg0 []state.SetRequest) error

BulkSet mocks base method.

func (*MockStore) Delete

func (m *MockStore) Delete(arg0 *state.DeleteRequest) 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) Features

func (m *MockStore) Features() []state.Feature

Features mocks base method.

func (*MockStore) Get

func (m *MockStore) Get(arg0 *state.GetRequest) (*state.GetResponse, error)

Get mocks base method.

func (*MockStore) Init

func (m *MockStore) Init(arg0 state.Metadata) error

Init mocks base method.

func (*MockStore) Ping

func (m *MockStore) Ping() error

BulkSet mocks base method.

func (*MockStore) Set

func (m *MockStore) Set(arg0 *state.SetRequest) error

Set mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) BulkDelete

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

BulkDelete indicates an expected call of BulkDelete.

func (*MockStoreMockRecorder) BulkGet

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

BulkGet indicates an expected call of BulkGet.

func (*MockStoreMockRecorder) BulkSet

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

BulkSet indicates an expected call of BulkSet.

func (*MockStoreMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockStoreMockRecorder) Features

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

Features indicates an expected call of Features.

func (*MockStoreMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockStoreMockRecorder) Init

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

Init indicates an expected call of Init.

func (*MockStoreMockRecorder) Set

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

Set indicates an expected call of Set.

type MockTransactionalStore

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

MockTransactionalStore is a mock of TransactionalStore interface.

func NewMockTransactionalStore

func NewMockTransactionalStore(ctrl *gomock.Controller) *MockTransactionalStore

NewMockTransactionalStore creates a new mock instance.

func (*MockTransactionalStore) EXPECT

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

func (*MockTransactionalStore) Init

Init mocks base method.

func (*MockTransactionalStore) Multi

Multi mocks base method.

type MockTransactionalStoreMockRecorder

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

MockTransactionalStoreMockRecorder is the mock recorder for MockTransactionalStore.

func (*MockTransactionalStoreMockRecorder) Init

func (mr *MockTransactionalStoreMockRecorder) Init(arg0 interface{}) *gomock.Call

Init indicates an expected call of Init.

func (*MockTransactionalStoreMockRecorder) Multi

func (mr *MockTransactionalStoreMockRecorder) Multi(arg0 interface{}) *gomock.Call

Multi indicates an expected call of Multi.

Jump to

Keyboard shortcuts

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