mock

package
v0.0.0-...-532184d Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDataStore

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

MockDataStore is a mock of DataStore interface

func NewMockDataStore

func NewMockDataStore(ctrl *gomock.Controller) *MockDataStore

NewMockDataStore creates a new mock instance

func (*MockDataStore) Connect

Connect mocks base method

func (*MockDataStore) CreateCollection

func (m *MockDataStore) CreateCollection(arg0 context.Context, arg1 string, arg2, arg3 map[string]interface{}) error

CreateCollection mocks base method

func (*MockDataStore) EXPECT

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

func (*MockDataStore) GetCollections

func (m *MockDataStore) GetCollections(arg0 context.Context) ([]datalayer.CollectionVM, error)

GetCollections mocks base method

func (*MockDataStore) GetItem

func (m *MockDataStore) GetItem(arg0 context.Context, arg1, arg2 string) (map[string]interface{}, error)

GetItem mocks base method

func (*MockDataStore) GetItems

func (m *MockDataStore) GetItems(arg0 context.Context, arg1 string, arg2 datalayer.QueryMeta) ([]map[string]interface{}, datalayer.ItemsResponseInfo, error)

GetItems mocks base method

func (*MockDataStore) GetSchema

func (m *MockDataStore) GetSchema(arg0 context.Context, arg1 string) (map[string]interface{}, error)

GetSchema mocks base method

func (*MockDataStore) SaveItem

func (m *MockDataStore) SaveItem(arg0 context.Context, arg1, arg2 string, arg3 map[string]interface{}) error

SaveItem mocks base method

type MockDataStoreMockRecorder

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

MockDataStoreMockRecorder is the mock recorder for MockDataStore

func (*MockDataStoreMockRecorder) Connect

func (mr *MockDataStoreMockRecorder) Connect(arg0 interface{}) *gomock.Call

Connect indicates an expected call of Connect

func (*MockDataStoreMockRecorder) CreateCollection

func (mr *MockDataStoreMockRecorder) CreateCollection(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CreateCollection indicates an expected call of CreateCollection

func (*MockDataStoreMockRecorder) GetCollections

func (mr *MockDataStoreMockRecorder) GetCollections(arg0 interface{}) *gomock.Call

GetCollections indicates an expected call of GetCollections

func (*MockDataStoreMockRecorder) GetItem

func (mr *MockDataStoreMockRecorder) GetItem(arg0, arg1, arg2 interface{}) *gomock.Call

GetItem indicates an expected call of GetItem

func (*MockDataStoreMockRecorder) GetItems

func (mr *MockDataStoreMockRecorder) GetItems(arg0, arg1, arg2 interface{}) *gomock.Call

GetItems indicates an expected call of GetItems

func (*MockDataStoreMockRecorder) GetSchema

func (mr *MockDataStoreMockRecorder) GetSchema(arg0, arg1 interface{}) *gomock.Call

GetSchema indicates an expected call of GetSchema

func (*MockDataStoreMockRecorder) SaveItem

func (mr *MockDataStoreMockRecorder) SaveItem(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SaveItem indicates an expected call of SaveItem

Jump to

Keyboard shortcuts

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