mocks

package
v0.3.9-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 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 MockOracle

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

MockOracle is a mock of Oracle interface.

func NewMockOracle

func NewMockOracle(ctrl *gomock.Controller) *MockOracle

NewMockOracle creates a new mock instance.

func (*MockOracle) ActiveSet

func (m *MockOracle) ActiveSet(arg0 context.Context, arg1 types.EpochID) ([]types.ATXID, error)

ActiveSet mocks base method.

func (*MockOracle) EXPECT

func (m *MockOracle) EXPECT() *MockOracleMockRecorder

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

type MockOracleMockRecorder

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

MockOracleMockRecorder is the mock recorder for MockOracle.

func (*MockOracleMockRecorder) ActiveSet

func (mr *MockOracleMockRecorder) ActiveSet(arg0, arg1 interface{}) *gomock.Call

ActiveSet indicates an expected call of ActiveSet.

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

func (m *MockPostSetupProvider) ComputeProviders() []activation.PostSetupProvider

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.

Jump to

Keyboard shortcuts

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