mock_store

package
v0.0.0-...-6bf1803 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_store is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProductStore

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

MockProductStore is a mock of ProductStore interface

func NewMockProductStore

func NewMockProductStore(ctrl *gomock.Controller) *MockProductStore

NewMockProductStore creates a new mock instance

func (*MockProductStore) EXPECT

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

func (*MockProductStore) GetProductByID

func (m *MockProductStore) GetProductByID(ID uint) (*store0.Product, error)

GetProductByID mocks base method

func (*MockProductStore) SetProducts

func (m *MockProductStore) SetProducts(products ...*store0.Product) (*store0.ProductTransaction, error)

SetProducts mocks base method

type MockProductStoreMockRecorder

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

MockProductStoreMockRecorder is the mock recorder for MockProductStore

func (*MockProductStoreMockRecorder) GetProductByID

func (mr *MockProductStoreMockRecorder) GetProductByID(ID interface{}) *gomock.Call

GetProductByID indicates an expected call of GetProductByID

func (*MockProductStoreMockRecorder) SetProducts

func (mr *MockProductStoreMockRecorder) SetProducts(products ...interface{}) *gomock.Call

SetProducts indicates an expected call of SetProducts

type MockUnderlyingStore

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

MockUnderlyingStore is a mock of UnderlyingStore interface

func NewMockUnderlyingStore

func NewMockUnderlyingStore(ctrl *gomock.Controller) *MockUnderlyingStore

NewMockUnderlyingStore creates a new mock instance

func (*MockUnderlyingStore) EXPECT

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

func (*MockUnderlyingStore) Read

func (m *MockUnderlyingStore) Read(table, key string, value interface{}) (interface{}, error)

Read mocks base method

func (*MockUnderlyingStore) Write

func (m *MockUnderlyingStore) Write(table string, value ...interface{}) error

Write mocks base method

func (*MockUnderlyingStore) WriteAndBlock

func (m *MockUnderlyingStore) WriteAndBlock(table string, value ...interface{}) (store.Transaction, error)

WriteAndBlock mocks base method

type MockUnderlyingStoreMockRecorder

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

MockUnderlyingStoreMockRecorder is the mock recorder for MockUnderlyingStore

func (*MockUnderlyingStoreMockRecorder) Read

func (mr *MockUnderlyingStoreMockRecorder) Read(table, key, value interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockUnderlyingStoreMockRecorder) Write

func (mr *MockUnderlyingStoreMockRecorder) Write(table interface{}, value ...interface{}) *gomock.Call

Write indicates an expected call of Write

func (*MockUnderlyingStoreMockRecorder) WriteAndBlock

func (mr *MockUnderlyingStoreMockRecorder) WriteAndBlock(table interface{}, value ...interface{}) *gomock.Call

WriteAndBlock indicates an expected call of WriteAndBlock

type Mocklogger

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

Mocklogger is a mock of logger interface

func NewMocklogger

func NewMocklogger(ctrl *gomock.Controller) *Mocklogger

NewMocklogger creates a new mock instance

func (*Mocklogger) Debugf

func (m *Mocklogger) Debugf(msg string, args ...interface{})

Debugf mocks base method

func (*Mocklogger) Debugw

func (m *Mocklogger) Debugw(msg string, keysAndValues ...interface{})

Debugw mocks base method

func (*Mocklogger) EXPECT

func (m *Mocklogger) EXPECT() *MockloggerMockRecorder

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

func (*Mocklogger) Infof

func (m *Mocklogger) Infof(msg string, args ...interface{})

Infof mocks base method

type MockloggerMockRecorder

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

MockloggerMockRecorder is the mock recorder for Mocklogger

func (*MockloggerMockRecorder) Debugf

func (mr *MockloggerMockRecorder) Debugf(msg interface{}, args ...interface{}) *gomock.Call

Debugf indicates an expected call of Debugf

func (*MockloggerMockRecorder) Debugw

func (mr *MockloggerMockRecorder) Debugw(msg interface{}, keysAndValues ...interface{}) *gomock.Call

Debugw indicates an expected call of Debugw

func (*MockloggerMockRecorder) Infof

func (mr *MockloggerMockRecorder) Infof(msg interface{}, args ...interface{}) *gomock.Call

Infof indicates an expected call of Infof

Jump to

Keyboard shortcuts

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