mocks

package
v0.2.14-beta.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: MIT Imports: 3 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) GetAtxHeader

func (m *MockatxProvider) GetAtxHeader(arg0 types.ATXID) (*types.ActivationTxHeader, error)

GetAtxHeader mocks base method.

func (*MockatxProvider) GetEpochAtxs

func (m *MockatxProvider) GetEpochAtxs(arg0 types.EpochID) ([]types.ATXID, error)

GetEpochAtxs mocks base method.

type MockatxProviderMockRecorder

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

MockatxProviderMockRecorder is the mock recorder for MockatxProvider.

func (*MockatxProviderMockRecorder) GetAtxHeader

func (mr *MockatxProviderMockRecorder) GetAtxHeader(arg0 interface{}) *gomock.Call

GetAtxHeader indicates an expected call of GetAtxHeader.

func (*MockatxProviderMockRecorder) GetEpochAtxs

func (mr *MockatxProviderMockRecorder) GetEpochAtxs(arg0 interface{}) *gomock.Call

GetEpochAtxs indicates an expected call of GetEpochAtxs.

type Mockcache

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

Mockcache is a mock of cache interface.

func NewMockcache

func NewMockcache(ctrl *gomock.Controller) *Mockcache

NewMockcache creates a new mock instance.

func (*Mockcache) Add

func (m *Mockcache) Add(key, value interface{}) bool

Add mocks base method.

func (*Mockcache) EXPECT

func (m *Mockcache) EXPECT() *MockcacheMockRecorder

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

func (*Mockcache) Get

func (m *Mockcache) Get(key interface{}) (interface{}, bool)

Get mocks base method.

type MockcacheMockRecorder

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

MockcacheMockRecorder is the mock recorder for Mockcache.

func (*MockcacheMockRecorder) Add

func (mr *MockcacheMockRecorder) Add(key, value interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockcacheMockRecorder) Get

func (mr *MockcacheMockRecorder) Get(key interface{}) *gomock.Call

Get indicates an expected call of Get.

type MockmeshProvider

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

MockmeshProvider is a mock of meshProvider interface.

func NewMockmeshProvider

func NewMockmeshProvider(ctrl *gomock.Controller) *MockmeshProvider

NewMockmeshProvider creates a new mock instance.

func (*MockmeshProvider) EXPECT

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

func (*MockmeshProvider) LayerBallots

func (m *MockmeshProvider) LayerBallots(arg0 types.LayerID) ([]*types.Ballot, error)

LayerBallots mocks base method.

type MockmeshProviderMockRecorder

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

MockmeshProviderMockRecorder is the mock recorder for MockmeshProvider.

func (*MockmeshProviderMockRecorder) LayerBallots

func (mr *MockmeshProviderMockRecorder) LayerBallots(arg0 interface{}) *gomock.Call

LayerBallots indicates an expected call of LayerBallots.

Jump to

Keyboard shortcuts

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