mock

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 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 MockRepository

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

MockRepository is a mock of Repository interface.

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance.

func (*MockRepository) BillOfMaterialsBatchUpload

func (m *MockRepository) BillOfMaterialsBatchUpload(ctx context.Context, boms []serverservice.Bom) (*serverservice.ServerResponse, error)

BillOfMaterialsBatchUpload mocks base method.

func (*MockRepository) EXPECT

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

func (*MockRepository) GetBomInfoByAOCMacAddr

func (m *MockRepository) GetBomInfoByAOCMacAddr(ctx context.Context, macAddr string) (*serverservice.Bom, *serverservice.ServerResponse, error)

GetBomInfoByAOCMacAddr mocks base method.

func (*MockRepository) GetBomInfoByBMCMacAddr

func (m *MockRepository) GetBomInfoByBMCMacAddr(ctx context.Context, macAddr string) (*serverservice.Bom, *serverservice.ServerResponse, error)

GetBomInfoByBMCMacAddr mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) BillOfMaterialsBatchUpload

func (mr *MockRepositoryMockRecorder) BillOfMaterialsBatchUpload(ctx, boms interface{}) *gomock.Call

BillOfMaterialsBatchUpload indicates an expected call of BillOfMaterialsBatchUpload.

func (*MockRepositoryMockRecorder) GetBomInfoByAOCMacAddr

func (mr *MockRepositoryMockRecorder) GetBomInfoByAOCMacAddr(ctx, macAddr interface{}) *gomock.Call

GetBomInfoByAOCMacAddr indicates an expected call of GetBomInfoByAOCMacAddr.

func (*MockRepositoryMockRecorder) GetBomInfoByBMCMacAddr

func (mr *MockRepositoryMockRecorder) GetBomInfoByBMCMacAddr(ctx, macAddr interface{}) *gomock.Call

GetBomInfoByBMCMacAddr indicates an expected call of GetBomInfoByBMCMacAddr.

Jump to

Keyboard shortcuts

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