mockstore

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mockstore is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockOperationRepository

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

MockOperationRepository is a mock of OperationRepository interface.

func NewMockOperationRepository

func NewMockOperationRepository(ctrl *gomock.Controller) *MockOperationRepository

NewMockOperationRepository creates a new mock instance.

func (*MockOperationRepository) Create

func (m *MockOperationRepository) Create(arg0 context.Context, arg1 ...*model.Operation) error

Create mocks base method.

func (*MockOperationRepository) DeleteByResourceID

func (m *MockOperationRepository) DeleteByResourceID(arg0 context.Context, arg1 int64) (int64, error)

DeleteByResourceID mocks base method.

func (*MockOperationRepository) EXPECT

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

func (*MockOperationRepository) FindByNumber

func (m *MockOperationRepository) FindByNumber(arg0 context.Context, arg1 string, arg2 uint64, arg3 string) ([]model.Operation, error)

FindByNumber mocks base method.

func (*MockOperationRepository) FindByVIN added in v0.0.31

func (m *MockOperationRepository) FindByVIN(arg0 context.Context, arg1 string, arg2 uint64, arg3 string) ([]model.Operation, error)

FindByVIN mocks base method.

type MockOperationRepositoryMockRecorder

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

MockOperationRepositoryMockRecorder is the mock recorder for MockOperationRepository.

func (*MockOperationRepositoryMockRecorder) Create

func (mr *MockOperationRepositoryMockRecorder) Create(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockOperationRepositoryMockRecorder) DeleteByResourceID

func (mr *MockOperationRepositoryMockRecorder) DeleteByResourceID(arg0, arg1 interface{}) *gomock.Call

DeleteByResourceID indicates an expected call of DeleteByResourceID.

func (*MockOperationRepositoryMockRecorder) FindByNumber

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

FindByNumber indicates an expected call of FindByNumber.

func (*MockOperationRepositoryMockRecorder) FindByVIN added in v0.0.31

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

FindByVIN indicates an expected call of FindByVIN.

type MockResourceRepository

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

MockResourceRepository is a mock of ResourceRepository interface.

func NewMockResourceRepository

func NewMockResourceRepository(ctrl *gomock.Controller) *MockResourceRepository

NewMockResourceRepository creates a new mock instance.

func (*MockResourceRepository) All

All mocks base method.

func (*MockResourceRepository) Create

func (m *MockResourceRepository) Create(arg0 context.Context, arg1 *model.Resource) error

Create mocks base method.

func (*MockResourceRepository) EXPECT

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

func (*MockResourceRepository) FindByUID

func (m *MockResourceRepository) FindByUID(arg0 context.Context, arg1 string) (*model.Resource, error)

FindByUID mocks base method.

func (*MockResourceRepository) Update

func (m *MockResourceRepository) Update(arg0 context.Context, arg1 *model.Resource) error

Update mocks base method.

type MockResourceRepositoryMockRecorder

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

MockResourceRepositoryMockRecorder is the mock recorder for MockResourceRepository.

func (*MockResourceRepositoryMockRecorder) All

func (mr *MockResourceRepositoryMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockResourceRepositoryMockRecorder) Create

func (mr *MockResourceRepositoryMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockResourceRepositoryMockRecorder) FindByUID

func (mr *MockResourceRepositoryMockRecorder) FindByUID(arg0, arg1 interface{}) *gomock.Call

FindByUID indicates an expected call of FindByUID.

func (*MockResourceRepositoryMockRecorder) Update

func (mr *MockResourceRepositoryMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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