mock_types

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0, MIT Imports: 10 Imported by: 1

Documentation

Overview

Package mock_types is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockChainDealManager

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

MockChainDealManager is a mock of ChainDealManager interface.

func NewMockChainDealManager

func NewMockChainDealManager(ctrl *gomock.Controller) *MockChainDealManager

NewMockChainDealManager creates a new mock instance.

func (*MockChainDealManager) EXPECT

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

func (*MockChainDealManager) WaitForPublishDeals

WaitForPublishDeals mocks base method.

type MockChainDealManagerMockRecorder

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

MockChainDealManagerMockRecorder is the mock recorder for MockChainDealManager.

func (*MockChainDealManagerMockRecorder) WaitForPublishDeals

func (mr *MockChainDealManagerMockRecorder) WaitForPublishDeals(arg0, arg1, arg2 interface{}) *gomock.Call

WaitForPublishDeals indicates an expected call of WaitForPublishDeals.

type MockCommpCalculator added in v1.4.0

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

MockCommpCalculator is a mock of CommpCalculator interface.

func NewMockCommpCalculator added in v1.4.0

func NewMockCommpCalculator(ctrl *gomock.Controller) *MockCommpCalculator

NewMockCommpCalculator creates a new mock instance.

func (*MockCommpCalculator) ComputeDataCid added in v1.4.0

func (m *MockCommpCalculator) ComputeDataCid(arg0 context.Context, arg1 abi.UnpaddedPieceSize, arg2 io.Reader) (abi.PieceInfo, error)

ComputeDataCid mocks base method.

func (*MockCommpCalculator) EXPECT added in v1.4.0

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

type MockCommpCalculatorMockRecorder added in v1.4.0

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

MockCommpCalculatorMockRecorder is the mock recorder for MockCommpCalculator.

func (*MockCommpCalculatorMockRecorder) ComputeDataCid added in v1.4.0

func (mr *MockCommpCalculatorMockRecorder) ComputeDataCid(arg0, arg1, arg2 interface{}) *gomock.Call

ComputeDataCid indicates an expected call of ComputeDataCid.

type MockDealPublisher

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

MockDealPublisher is a mock of DealPublisher interface.

func NewMockDealPublisher

func NewMockDealPublisher(ctrl *gomock.Controller) *MockDealPublisher

NewMockDealPublisher creates a new mock instance.

func (*MockDealPublisher) EXPECT

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

func (*MockDealPublisher) Publish

Publish mocks base method.

type MockDealPublisherMockRecorder

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

MockDealPublisherMockRecorder is the mock recorder for MockDealPublisher.

func (*MockDealPublisherMockRecorder) Publish

func (mr *MockDealPublisherMockRecorder) Publish(arg0, arg1 interface{}) *gomock.Call

Publish indicates an expected call of Publish.

type MockIndexProvider added in v1.5.1

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

MockIndexProvider is a mock of IndexProvider interface.

func NewMockIndexProvider added in v1.5.1

func NewMockIndexProvider(ctrl *gomock.Controller) *MockIndexProvider

NewMockIndexProvider creates a new mock instance.

func (*MockIndexProvider) AnnounceBoostDeal added in v1.5.1

func (m *MockIndexProvider) AnnounceBoostDeal(arg0 context.Context, arg1 *types.ProviderDealState) (cid.Cid, error)

AnnounceBoostDeal mocks base method.

func (*MockIndexProvider) EXPECT added in v1.5.1

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

func (*MockIndexProvider) Enabled added in v1.5.1

func (m *MockIndexProvider) Enabled() bool

Enabled mocks base method.

func (*MockIndexProvider) Start added in v1.5.1

func (m *MockIndexProvider) Start(arg0 context.Context)

Start mocks base method.

type MockIndexProviderMockRecorder added in v1.5.1

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

MockIndexProviderMockRecorder is the mock recorder for MockIndexProvider.

func (*MockIndexProviderMockRecorder) AnnounceBoostDeal added in v1.5.1

func (mr *MockIndexProviderMockRecorder) AnnounceBoostDeal(arg0, arg1 interface{}) *gomock.Call

AnnounceBoostDeal indicates an expected call of AnnounceBoostDeal.

func (*MockIndexProviderMockRecorder) Enabled added in v1.5.1

func (mr *MockIndexProviderMockRecorder) Enabled() *gomock.Call

Enabled indicates an expected call of Enabled.

func (*MockIndexProviderMockRecorder) Start added in v1.5.1

func (mr *MockIndexProviderMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start.

type MockPieceAdder

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

MockPieceAdder is a mock of PieceAdder interface.

func NewMockPieceAdder

func NewMockPieceAdder(ctrl *gomock.Controller) *MockPieceAdder

NewMockPieceAdder creates a new mock instance.

func (*MockPieceAdder) AddPiece

AddPiece mocks base method.

func (*MockPieceAdder) EXPECT

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

type MockPieceAdderMockRecorder

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

MockPieceAdderMockRecorder is the mock recorder for MockPieceAdder.

func (*MockPieceAdderMockRecorder) AddPiece

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

AddPiece indicates an expected call of AddPiece.

Jump to

Keyboard shortcuts

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