mocks

package
v0.0.0-...-a07a55b Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT-0 Imports: 4 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 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) All

func (m *MockStore) All(arg0 context.Context, arg1 *string) (types.ProductRange, error)

All mocks base method.

func (*MockStore) Delete

func (m *MockStore) Delete(arg0 context.Context, arg1 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(arg0 context.Context, arg1 string) (*types.Product, error)

Get mocks base method.

func (*MockStore) Put

func (m *MockStore) Put(arg0 context.Context, arg1 types.Product) error

Put mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) All

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

All indicates an expected call of All.

func (*MockStoreMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockStoreMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockStoreMockRecorder) Put

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

Put indicates an expected call of Put.

Jump to

Keyboard shortcuts

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