mocks

package
v0.3.2-beta.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: MIT Imports: 6 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 MockAtxProvider

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

MockAtxProvider is a mock of AtxProvider interface.

func NewMockAtxProvider

func NewMockAtxProvider(ctrl *gomock.Controller) *MockAtxProvider

NewMockAtxProvider creates a new mock instance.

func (*MockAtxProvider) EXPECT

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

func (*MockAtxProvider) GetFullAtx

func (m *MockAtxProvider) GetFullAtx(arg0 types.ATXID) (*types.VerifiedActivationTx, error)

GetFullAtx mocks base method.

type MockAtxProviderMockRecorder

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

MockAtxProviderMockRecorder is the mock recorder for MockAtxProvider.

func (*MockAtxProviderMockRecorder) GetFullAtx

func (mr *MockAtxProviderMockRecorder) GetFullAtx(arg0 interface{}) *gomock.Call

GetFullAtx indicates an expected call of GetFullAtx.

type MockNetworkIdentity

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

MockNetworkIdentity is a mock of NetworkIdentity interface.

func NewMockNetworkIdentity

func NewMockNetworkIdentity(ctrl *gomock.Controller) *MockNetworkIdentity

NewMockNetworkIdentity creates a new mock instance.

func (*MockNetworkIdentity) EXPECT

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

func (*MockNetworkIdentity) ID

func (m *MockNetworkIdentity) ID() peer.ID

ID mocks base method.

type MockNetworkIdentityMockRecorder

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

MockNetworkIdentityMockRecorder is the mock recorder for MockNetworkIdentity.

func (*MockNetworkIdentityMockRecorder) ID

ID indicates an expected call of ID.

type MockPostSetupProvider

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

MockPostSetupProvider is a mock of PostSetupProvider interface.

func NewMockPostSetupProvider

func NewMockPostSetupProvider(ctrl *gomock.Controller) *MockPostSetupProvider

NewMockPostSetupProvider creates a new mock instance.

func (*MockPostSetupProvider) Benchmark

Benchmark mocks base method.

func (*MockPostSetupProvider) ComputeProviders

ComputeProviders mocks base method.

func (*MockPostSetupProvider) Config

Config mocks base method.

func (*MockPostSetupProvider) EXPECT

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

func (*MockPostSetupProvider) Status

Status mocks base method.

type MockPostSetupProviderMockRecorder

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

MockPostSetupProviderMockRecorder is the mock recorder for MockPostSetupProvider.

func (*MockPostSetupProviderMockRecorder) Benchmark

func (mr *MockPostSetupProviderMockRecorder) Benchmark(arg0 interface{}) *gomock.Call

Benchmark indicates an expected call of Benchmark.

func (*MockPostSetupProviderMockRecorder) ComputeProviders

func (mr *MockPostSetupProviderMockRecorder) ComputeProviders() *gomock.Call

ComputeProviders indicates an expected call of ComputeProviders.

func (*MockPostSetupProviderMockRecorder) Config

Config indicates an expected call of Config.

func (*MockPostSetupProviderMockRecorder) Status

Status indicates an expected call of Status.

type MockSyncer

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

MockSyncer is a mock of Syncer interface.

func NewMockSyncer

func NewMockSyncer(ctrl *gomock.Controller) *MockSyncer

NewMockSyncer creates a new mock instance.

func (*MockSyncer) EXPECT

func (m *MockSyncer) EXPECT() *MockSyncerMockRecorder

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

func (*MockSyncer) IsSynced

func (m *MockSyncer) IsSynced(arg0 context.Context) bool

IsSynced mocks base method.

func (*MockSyncer) Start

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

Start mocks base method.

type MockSyncerMockRecorder

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

MockSyncerMockRecorder is the mock recorder for MockSyncer.

func (*MockSyncerMockRecorder) IsSynced

func (mr *MockSyncerMockRecorder) IsSynced(arg0 interface{}) *gomock.Call

IsSynced indicates an expected call of IsSynced.

func (*MockSyncerMockRecorder) Start

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

Start indicates an expected call of Start.

type MockTxValidator

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

MockTxValidator is a mock of TxValidator interface.

func NewMockTxValidator

func NewMockTxValidator(ctrl *gomock.Controller) *MockTxValidator

NewMockTxValidator creates a new mock instance.

func (*MockTxValidator) EXPECT

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

func (*MockTxValidator) VerifyAndCacheTx

func (m *MockTxValidator) VerifyAndCacheTx(arg0 context.Context, arg1 []byte) error

VerifyAndCacheTx mocks base method.

type MockTxValidatorMockRecorder

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

MockTxValidatorMockRecorder is the mock recorder for MockTxValidator.

func (*MockTxValidatorMockRecorder) VerifyAndCacheTx

func (mr *MockTxValidatorMockRecorder) VerifyAndCacheTx(arg0, arg1 interface{}) *gomock.Call

VerifyAndCacheTx indicates an expected call of VerifyAndCacheTx.

Jump to

Keyboard shortcuts

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