mocks

package
v0.77.0-preview.3 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

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 MockCommander

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

MockCommander is a mock of Commander interface.

func NewMockCommander

func NewMockCommander(ctrl *gomock.Controller) *MockCommander

NewMockCommander creates a new mock instance.

func (*MockCommander) Command

func (m *MockCommander) Command(arg0 context.Context, arg1 txn.Command, arg2 protoiface.MessageV1, arg3 func(string, error), arg4 *backoff.ExponentialBackOff)

Command mocks base method.

func (*MockCommander) EXPECT

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

type MockCommanderMockRecorder

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

MockCommanderMockRecorder is the mock recorder for MockCommander.

func (*MockCommanderMockRecorder) Command

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

Command indicates an expected call of Command.

type MockTopology

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

MockTopology is a mock of Topology interface.

func NewMockTopology

func NewMockTopology(ctrl *gomock.Controller) *MockTopology

NewMockTopology creates a new mock instance.

func (*MockTopology) AllNodeIDs

func (m *MockTopology) AllNodeIDs() []string

AllNodeIDs mocks base method.

func (*MockTopology) EXPECT

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

func (*MockTopology) Get

Get mocks base method.

func (*MockTopology) GetTotalVotingPower added in v0.68.0

func (m *MockTopology) GetTotalVotingPower() int64

GetTotalVotingPower mocks base method.

func (*MockTopology) GetVotingPower added in v0.68.0

func (m *MockTopology) GetVotingPower(arg0 string) int64

GetVotingPower mocks base method.

func (*MockTopology) IsValidator

func (m *MockTopology) IsValidator() bool

IsValidator mocks base method.

func (*MockTopology) IsValidatorVegaPubKey

func (m *MockTopology) IsValidatorVegaPubKey(arg0 string) bool

IsValidatorVegaPubKey mocks base method.

func (*MockTopology) SelfNodeID

func (m *MockTopology) SelfNodeID() string

SelfNodeID mocks base method.

type MockTopologyMockRecorder

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

MockTopologyMockRecorder is the mock recorder for MockTopology.

func (*MockTopologyMockRecorder) AllNodeIDs

func (mr *MockTopologyMockRecorder) AllNodeIDs() *gomock.Call

AllNodeIDs indicates an expected call of AllNodeIDs.

func (*MockTopologyMockRecorder) Get

func (mr *MockTopologyMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockTopologyMockRecorder) GetTotalVotingPower added in v0.68.0

func (mr *MockTopologyMockRecorder) GetTotalVotingPower() *gomock.Call

GetTotalVotingPower indicates an expected call of GetTotalVotingPower.

func (*MockTopologyMockRecorder) GetVotingPower added in v0.68.0

func (mr *MockTopologyMockRecorder) GetVotingPower(arg0 interface{}) *gomock.Call

GetVotingPower indicates an expected call of GetVotingPower.

func (*MockTopologyMockRecorder) IsValidator

func (mr *MockTopologyMockRecorder) IsValidator() *gomock.Call

IsValidator indicates an expected call of IsValidator.

func (*MockTopologyMockRecorder) IsValidatorVegaPubKey

func (mr *MockTopologyMockRecorder) IsValidatorVegaPubKey(arg0 interface{}) *gomock.Call

IsValidatorVegaPubKey indicates an expected call of IsValidatorVegaPubKey.

func (*MockTopologyMockRecorder) SelfNodeID

func (mr *MockTopologyMockRecorder) SelfNodeID() *gomock.Call

SelfNodeID indicates an expected call of SelfNodeID.

Jump to

Keyboard shortcuts

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