mock_committee

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_committee is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCommittee

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

MockCommittee is a mock of Committee interface

func NewMockCommittee

func NewMockCommittee(ctrl *gomock.Controller) *MockCommittee

NewMockCommittee creates a new mock instance

func (*MockCommittee) EXPECT

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

func (*MockCommittee) HeightByTime

func (m *MockCommittee) HeightByTime(arg0 time.Time) (uint64, error)

HeightByTime mocks base method

func (*MockCommittee) LatestHeight

func (m *MockCommittee) LatestHeight() uint64

LatestHeight mocks base method

func (*MockCommittee) NativeBucketsByEpoch added in v0.2.3

func (m *MockCommittee) NativeBucketsByEpoch(arg0 uint64) ([]*types.Bucket, error)

NativeBucketsByEpoch mocks base method

func (*MockCommittee) PutNativePollByEpoch added in v0.2.3

func (m *MockCommittee) PutNativePollByEpoch(arg0 uint64, arg1 time.Time, arg2 []*types.Bucket) error

PutNativePollByEpoch mocks base method

func (*MockCommittee) RawDataByHeight added in v0.2.4

func (m *MockCommittee) RawDataByHeight(arg0 uint64) ([]*types.Bucket, []*types.Registration, time.Time, error)

RawDataByHeight mocks base method

func (*MockCommittee) ResultByHeight

func (m *MockCommittee) ResultByHeight(arg0 uint64) (*types.ElectionResult, error)

ResultByHeight mocks base method

func (*MockCommittee) Start

func (m *MockCommittee) Start(arg0 context.Context) error

Start mocks base method

func (*MockCommittee) Status added in v0.1.6

func (m *MockCommittee) Status() committee.STATUS

Status mocks base method

func (*MockCommittee) Stop

func (m *MockCommittee) Stop(arg0 context.Context) error

Stop mocks base method

type MockCommitteeMockRecorder

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

MockCommitteeMockRecorder is the mock recorder for MockCommittee

func (*MockCommitteeMockRecorder) HeightByTime

func (mr *MockCommitteeMockRecorder) HeightByTime(arg0 interface{}) *gomock.Call

HeightByTime indicates an expected call of HeightByTime

func (*MockCommitteeMockRecorder) LatestHeight

func (mr *MockCommitteeMockRecorder) LatestHeight() *gomock.Call

LatestHeight indicates an expected call of LatestHeight

func (*MockCommitteeMockRecorder) NativeBucketsByEpoch added in v0.2.3

func (mr *MockCommitteeMockRecorder) NativeBucketsByEpoch(arg0 interface{}) *gomock.Call

NativeBucketsByEpoch indicates an expected call of NativeBucketsByEpoch

func (*MockCommitteeMockRecorder) PutNativePollByEpoch added in v0.2.3

func (mr *MockCommitteeMockRecorder) PutNativePollByEpoch(arg0, arg1, arg2 interface{}) *gomock.Call

PutNativePollByEpoch indicates an expected call of PutNativePollByEpoch

func (*MockCommitteeMockRecorder) RawDataByHeight added in v0.2.4

func (mr *MockCommitteeMockRecorder) RawDataByHeight(arg0 interface{}) *gomock.Call

RawDataByHeight indicates an expected call of RawDataByHeight

func (*MockCommitteeMockRecorder) ResultByHeight

func (mr *MockCommitteeMockRecorder) ResultByHeight(arg0 interface{}) *gomock.Call

ResultByHeight indicates an expected call of ResultByHeight

func (*MockCommitteeMockRecorder) Start

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

Start indicates an expected call of Start

func (*MockCommitteeMockRecorder) Status added in v0.1.6

func (mr *MockCommitteeMockRecorder) Status() *gomock.Call

Status indicates an expected call of Status

func (*MockCommitteeMockRecorder) Stop

func (mr *MockCommitteeMockRecorder) Stop(arg0 interface{}) *gomock.Call

Stop indicates an expected call of Stop

Jump to

Keyboard shortcuts

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