mocks

package
v0.73.0-preview.13 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockBlockService added in v0.56.0

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

MockBlockService is a mock of BlockService interface.

func NewMockBlockService added in v0.56.0

func NewMockBlockService(ctrl *gomock.Controller) *MockBlockService

NewMockBlockService creates a new mock instance.

func (*MockBlockService) EXPECT added in v0.56.0

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

func (*MockBlockService) GetLastBlock added in v0.56.0

func (m *MockBlockService) GetLastBlock(arg0 context.Context) (entities.Block, error)

GetLastBlock mocks base method.

type MockBlockServiceMockRecorder added in v0.56.0

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

MockBlockServiceMockRecorder is the mock recorder for MockBlockService.

func (*MockBlockServiceMockRecorder) GetLastBlock added in v0.56.0

func (mr *MockBlockServiceMockRecorder) GetLastBlock(arg0 interface{}) *gomock.Call

GetLastBlock indicates an expected call of GetLastBlock.

type MockCoreServiceClient

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

MockCoreServiceClient is a mock of CoreServiceClient interface.

func NewMockCoreServiceClient

func NewMockCoreServiceClient(ctrl *gomock.Controller) *MockCoreServiceClient

NewMockCoreServiceClient creates a new mock instance.

func (*MockCoreServiceClient) CheckRawTransaction

CheckRawTransaction mocks base method.

func (*MockCoreServiceClient) CheckTransaction

CheckTransaction mocks base method.

func (*MockCoreServiceClient) EXPECT

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

func (*MockCoreServiceClient) GetSpamStatistics added in v0.67.0

GetSpamStatistics mocks base method.

func (*MockCoreServiceClient) GetVegaTime

GetVegaTime mocks base method.

func (*MockCoreServiceClient) LastBlockHeight

LastBlockHeight mocks base method.

func (*MockCoreServiceClient) ObserveEventBus

ObserveEventBus mocks base method.

func (*MockCoreServiceClient) PropagateChainEvent

PropagateChainEvent mocks base method.

func (*MockCoreServiceClient) Statistics

Statistics mocks base method.

func (*MockCoreServiceClient) SubmitRawTransaction

SubmitRawTransaction mocks base method.

func (*MockCoreServiceClient) SubmitTransaction

SubmitTransaction mocks base method.

type MockCoreServiceClientMockRecorder

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

MockCoreServiceClientMockRecorder is the mock recorder for MockCoreServiceClient.

func (*MockCoreServiceClientMockRecorder) CheckRawTransaction

func (mr *MockCoreServiceClientMockRecorder) CheckRawTransaction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CheckRawTransaction indicates an expected call of CheckRawTransaction.

func (*MockCoreServiceClientMockRecorder) CheckTransaction

func (mr *MockCoreServiceClientMockRecorder) CheckTransaction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CheckTransaction indicates an expected call of CheckTransaction.

func (*MockCoreServiceClientMockRecorder) GetSpamStatistics added in v0.67.0

func (mr *MockCoreServiceClientMockRecorder) GetSpamStatistics(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetSpamStatistics indicates an expected call of GetSpamStatistics.

func (*MockCoreServiceClientMockRecorder) GetVegaTime

func (mr *MockCoreServiceClientMockRecorder) GetVegaTime(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetVegaTime indicates an expected call of GetVegaTime.

func (*MockCoreServiceClientMockRecorder) LastBlockHeight

func (mr *MockCoreServiceClientMockRecorder) LastBlockHeight(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

LastBlockHeight indicates an expected call of LastBlockHeight.

func (*MockCoreServiceClientMockRecorder) ObserveEventBus

func (mr *MockCoreServiceClientMockRecorder) ObserveEventBus(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ObserveEventBus indicates an expected call of ObserveEventBus.

func (*MockCoreServiceClientMockRecorder) PropagateChainEvent

func (mr *MockCoreServiceClientMockRecorder) PropagateChainEvent(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

PropagateChainEvent indicates an expected call of PropagateChainEvent.

func (*MockCoreServiceClientMockRecorder) Statistics

func (mr *MockCoreServiceClientMockRecorder) Statistics(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Statistics indicates an expected call of Statistics.

func (*MockCoreServiceClientMockRecorder) SubmitRawTransaction

func (mr *MockCoreServiceClientMockRecorder) SubmitRawTransaction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

SubmitRawTransaction indicates an expected call of SubmitRawTransaction.

func (*MockCoreServiceClientMockRecorder) SubmitTransaction

func (mr *MockCoreServiceClientMockRecorder) SubmitTransaction(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

SubmitTransaction indicates an expected call of SubmitTransaction.

type MockEventService

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

MockEventService is a mock of EventService interface.

func NewMockEventService

func NewMockEventService(ctrl *gomock.Controller) *MockEventService

NewMockEventService creates a new mock instance.

func (*MockEventService) EXPECT

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

func (*MockEventService) ObserveEvents

func (m *MockEventService) ObserveEvents(arg0 context.Context, arg1 int, arg2 []events.Type, arg3 int, arg4 ...subscribers.EventFilter) (<-chan []*v1.BusEvent, chan<- int)

ObserveEvents mocks base method.

type MockEventServiceMockRecorder

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

MockEventServiceMockRecorder is the mock recorder for MockEventService.

func (*MockEventServiceMockRecorder) ObserveEvents

func (mr *MockEventServiceMockRecorder) ObserveEvents(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call

ObserveEvents indicates an expected call of ObserveEvents.

type MockNetworkHistoryService added in v0.67.0

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

MockNetworkHistoryService is a mock of NetworkHistoryService interface.

func NewMockNetworkHistoryService added in v0.67.0

func NewMockNetworkHistoryService(ctrl *gomock.Controller) *MockNetworkHistoryService

NewMockNetworkHistoryService creates a new mock instance.

func (*MockNetworkHistoryService) CopyHistorySegmentToFile added in v0.67.0

func (m *MockNetworkHistoryService) CopyHistorySegmentToFile(arg0 context.Context, arg1, arg2 string) error

CopyHistorySegmentToFile mocks base method.

func (*MockNetworkHistoryService) EXPECT added in v0.67.0

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

func (*MockNetworkHistoryService) FetchHistorySegment added in v0.67.0

func (m *MockNetworkHistoryService) FetchHistorySegment(arg0 context.Context, arg1 string) (segment.Full, error)

FetchHistorySegment mocks base method.

func (*MockNetworkHistoryService) GetActivePeerIPAddresses added in v0.68.0

func (m *MockNetworkHistoryService) GetActivePeerIPAddresses() []string

GetActivePeerIPAddresses mocks base method.

func (*MockNetworkHistoryService) GetBootstrapPeers added in v0.68.0

func (m *MockNetworkHistoryService) GetBootstrapPeers() []string

GetBootstrapPeers mocks base method.

func (*MockNetworkHistoryService) GetConnectedPeerAddresses added in v0.68.0

func (m *MockNetworkHistoryService) GetConnectedPeerAddresses() ([]string, error)

GetConnectedPeerAddresses mocks base method.

func (*MockNetworkHistoryService) GetHighestBlockHeightHistorySegment added in v0.67.0

func (m *MockNetworkHistoryService) GetHighestBlockHeightHistorySegment() (segment.Full, error)

GetHighestBlockHeightHistorySegment mocks base method.

func (*MockNetworkHistoryService) GetHistorySegmentReader added in v0.71.0

func (m *MockNetworkHistoryService) GetHistorySegmentReader(arg0 context.Context, arg1 string) (io.ReadSeekCloser, int64, error)

GetHistorySegmentReader mocks base method.

func (*MockNetworkHistoryService) GetIpfsAddress added in v0.68.0

func (m *MockNetworkHistoryService) GetIpfsAddress() (string, error)

GetIpfsAddress mocks base method.

func (*MockNetworkHistoryService) GetSwarmKey added in v0.67.0

func (m *MockNetworkHistoryService) GetSwarmKey() string

GetSwarmKey mocks base method.

func (*MockNetworkHistoryService) GetSwarmKeySeed added in v0.68.0

func (m *MockNetworkHistoryService) GetSwarmKeySeed() string

GetSwarmKeySeed mocks base method.

func (*MockNetworkHistoryService) ListAllHistorySegments added in v0.67.0

func (m *MockNetworkHistoryService) ListAllHistorySegments() (segment.Segments[segment.Full], error)

ListAllHistorySegments mocks base method.

type MockNetworkHistoryServiceMockRecorder added in v0.67.0

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

MockNetworkHistoryServiceMockRecorder is the mock recorder for MockNetworkHistoryService.

func (*MockNetworkHistoryServiceMockRecorder) CopyHistorySegmentToFile added in v0.67.0

func (mr *MockNetworkHistoryServiceMockRecorder) CopyHistorySegmentToFile(arg0, arg1, arg2 interface{}) *gomock.Call

CopyHistorySegmentToFile indicates an expected call of CopyHistorySegmentToFile.

func (*MockNetworkHistoryServiceMockRecorder) FetchHistorySegment added in v0.67.0

func (mr *MockNetworkHistoryServiceMockRecorder) FetchHistorySegment(arg0, arg1 interface{}) *gomock.Call

FetchHistorySegment indicates an expected call of FetchHistorySegment.

func (*MockNetworkHistoryServiceMockRecorder) GetActivePeerIPAddresses added in v0.68.0

func (mr *MockNetworkHistoryServiceMockRecorder) GetActivePeerIPAddresses() *gomock.Call

GetActivePeerIPAddresses indicates an expected call of GetActivePeerIPAddresses.

func (*MockNetworkHistoryServiceMockRecorder) GetBootstrapPeers added in v0.68.0

func (mr *MockNetworkHistoryServiceMockRecorder) GetBootstrapPeers() *gomock.Call

GetBootstrapPeers indicates an expected call of GetBootstrapPeers.

func (*MockNetworkHistoryServiceMockRecorder) GetConnectedPeerAddresses added in v0.68.0

func (mr *MockNetworkHistoryServiceMockRecorder) GetConnectedPeerAddresses() *gomock.Call

GetConnectedPeerAddresses indicates an expected call of GetConnectedPeerAddresses.

func (*MockNetworkHistoryServiceMockRecorder) GetHighestBlockHeightHistorySegment added in v0.67.0

func (mr *MockNetworkHistoryServiceMockRecorder) GetHighestBlockHeightHistorySegment() *gomock.Call

GetHighestBlockHeightHistorySegment indicates an expected call of GetHighestBlockHeightHistorySegment.

func (*MockNetworkHistoryServiceMockRecorder) GetHistorySegmentReader added in v0.71.0

func (mr *MockNetworkHistoryServiceMockRecorder) GetHistorySegmentReader(arg0, arg1 interface{}) *gomock.Call

GetHistorySegmentReader indicates an expected call of GetHistorySegmentReader.

func (*MockNetworkHistoryServiceMockRecorder) GetIpfsAddress added in v0.68.0

func (mr *MockNetworkHistoryServiceMockRecorder) GetIpfsAddress() *gomock.Call

GetIpfsAddress indicates an expected call of GetIpfsAddress.

func (*MockNetworkHistoryServiceMockRecorder) GetSwarmKey added in v0.67.0

GetSwarmKey indicates an expected call of GetSwarmKey.

func (*MockNetworkHistoryServiceMockRecorder) GetSwarmKeySeed added in v0.68.0

func (mr *MockNetworkHistoryServiceMockRecorder) GetSwarmKeySeed() *gomock.Call

GetSwarmKeySeed indicates an expected call of GetSwarmKeySeed.

func (*MockNetworkHistoryServiceMockRecorder) ListAllHistorySegments added in v0.67.0

func (mr *MockNetworkHistoryServiceMockRecorder) ListAllHistorySegments() *gomock.Call

ListAllHistorySegments indicates an expected call of ListAllHistorySegments.

Jump to

Keyboard shortcuts

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