Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockCommander
- type MockCommanderMockRecorder
- type MockTopology
- func (m *MockTopology) AllNodeIDs() []string
- func (m *MockTopology) EXPECT() *MockTopologyMockRecorder
- func (m *MockTopology) Get(arg0 string) *validators.ValidatorData
- func (m *MockTopology) IsValidator() bool
- func (m *MockTopology) IsValidatorVegaPubKey(arg0 string) bool
- func (m *MockTopology) SelfNodeID() string
- type MockTopologyMockRecorder
- func (mr *MockTopologyMockRecorder) AllNodeIDs() *gomock.Call
- func (mr *MockTopologyMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockTopologyMockRecorder) IsValidator() *gomock.Call
- func (mr *MockTopologyMockRecorder) IsValidatorVegaPubKey(arg0 interface{}) *gomock.Call
- func (mr *MockTopologyMockRecorder) SelfNodeID() *gomock.Call
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 ¶
func (m *MockCommander) EXPECT() *MockCommanderMockRecorder
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 ¶
func (m *MockTopology) EXPECT() *MockTopologyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTopology) Get ¶
func (m *MockTopology) Get(arg0 string) *validators.ValidatorData
Get 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) 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.