mocks

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProvider

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

MockProvider is a mock of Provider interface.

func NewMockProvider

func NewMockProvider(ctrl *gomock.Controller) *MockProvider

NewMockProvider creates a new mock instance.

func (*MockProvider) Close

func (m *MockProvider) Close() error

Close mocks base method.

func (*MockProvider) EXPECT

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

func (*MockProvider) GetOpenStores

func (m *MockProvider) GetOpenStores() []storage.Store

GetOpenStores mocks base method.

func (*MockProvider) GetStoreConfig

func (m *MockProvider) GetStoreConfig(arg0 string) (storage.StoreConfiguration, error)

GetStoreConfig mocks base method.

func (*MockProvider) OpenStore

func (m *MockProvider) OpenStore(arg0 string) (storage.Store, error)

OpenStore mocks base method.

func (*MockProvider) SetStoreConfig

func (m *MockProvider) SetStoreConfig(arg0 string, arg1 storage.StoreConfiguration) error

SetStoreConfig mocks base method.

type MockProviderMockRecorder

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

MockProviderMockRecorder is the mock recorder for MockProvider.

func (*MockProviderMockRecorder) Close

func (mr *MockProviderMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockProviderMockRecorder) GetOpenStores

func (mr *MockProviderMockRecorder) GetOpenStores() *gomock.Call

GetOpenStores indicates an expected call of GetOpenStores.

func (*MockProviderMockRecorder) GetStoreConfig

func (mr *MockProviderMockRecorder) GetStoreConfig(arg0 interface{}) *gomock.Call

GetStoreConfig indicates an expected call of GetStoreConfig.

func (*MockProviderMockRecorder) OpenStore

func (mr *MockProviderMockRecorder) OpenStore(arg0 interface{}) *gomock.Call

OpenStore indicates an expected call of OpenStore.

func (*MockProviderMockRecorder) SetStoreConfig

func (mr *MockProviderMockRecorder) SetStoreConfig(arg0, arg1 interface{}) *gomock.Call

SetStoreConfig indicates an expected call of SetStoreConfig.

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

func (m *MockStore) Batch(arg0 []storage.Operation) error

Batch mocks base method.

func (*MockStore) Close

func (m *MockStore) Close() error

Close mocks base method.

func (*MockStore) Delete

func (m *MockStore) Delete(arg0 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) Flush

func (m *MockStore) Flush() error

Flush mocks base method.

func (*MockStore) Get

func (m *MockStore) Get(arg0 string) ([]byte, error)

Get mocks base method.

func (*MockStore) GetBulk

func (m *MockStore) GetBulk(arg0 ...string) ([][]byte, error)

GetBulk mocks base method.

func (*MockStore) GetTags

func (m *MockStore) GetTags(arg0 string) ([]storage.Tag, error)

GetTags mocks base method.

func (*MockStore) Put

func (m *MockStore) Put(arg0 string, arg1 []byte, arg2 ...storage.Tag) error

Put mocks base method.

func (*MockStore) Query

func (m *MockStore) Query(arg0 string, arg1 ...storage.QueryOption) (storage.Iterator, error)

Query mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) Batch

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

Batch indicates an expected call of Batch.

func (*MockStoreMockRecorder) Close

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

Close indicates an expected call of Close.

func (*MockStoreMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockStoreMockRecorder) Flush

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

Flush indicates an expected call of Flush.

func (*MockStoreMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockStoreMockRecorder) GetBulk

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

GetBulk indicates an expected call of GetBulk.

func (*MockStoreMockRecorder) GetTags

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

GetTags indicates an expected call of GetTags.

func (*MockStoreMockRecorder) Put

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

Put indicates an expected call of Put.

func (*MockStoreMockRecorder) Query

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

Query indicates an expected call of Query.

Jump to

Keyboard shortcuts

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