Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockCommander
- type MockCommanderMockRecorder
- type MockValidatorTopology
- func (m *MockValidatorTopology) EXPECT() *MockValidatorTopologyMockRecorder
- func (m *MockValidatorTopology) IsTendermintValidator(arg0 string) bool
- func (m *MockValidatorTopology) IsValidator() bool
- func (m *MockValidatorTopology) IsValidatorVegaPubKey(arg0 string) bool
- func (m *MockValidatorTopology) Len() int
- func (m *MockValidatorTopology) SelfVegaPubKey() string
- type MockValidatorTopologyMockRecorder
- func (mr *MockValidatorTopologyMockRecorder) IsTendermintValidator(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) IsValidator() *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) IsValidatorVegaPubKey(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) Len() *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) SelfVegaPubKey() *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) CommandSync ¶
func (m *MockCommander) CommandSync(arg0 context.Context, arg1 txn.Command, arg2 protoiface.MessageV1, arg3 func(string, error), arg4 *backoff.ExponentialBackOff)
CommandSync 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.
func (*MockCommanderMockRecorder) CommandSync ¶
func (mr *MockCommanderMockRecorder) CommandSync(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
CommandSync indicates an expected call of CommandSync.
type MockValidatorTopology ¶
type MockValidatorTopology struct {
// contains filtered or unexported fields
}
MockValidatorTopology is a mock of ValidatorTopology interface.
func NewMockValidatorTopology ¶
func NewMockValidatorTopology(ctrl *gomock.Controller) *MockValidatorTopology
NewMockValidatorTopology creates a new mock instance.
func (*MockValidatorTopology) EXPECT ¶
func (m *MockValidatorTopology) EXPECT() *MockValidatorTopologyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockValidatorTopology) IsTendermintValidator ¶
func (m *MockValidatorTopology) IsTendermintValidator(arg0 string) bool
IsTendermintValidator mocks base method.
func (*MockValidatorTopology) IsValidator ¶
func (m *MockValidatorTopology) IsValidator() bool
IsValidator mocks base method.
func (*MockValidatorTopology) IsValidatorVegaPubKey ¶
func (m *MockValidatorTopology) IsValidatorVegaPubKey(arg0 string) bool
IsValidatorVegaPubKey mocks base method.
func (*MockValidatorTopology) Len ¶
func (m *MockValidatorTopology) Len() int
Len mocks base method.
func (*MockValidatorTopology) SelfVegaPubKey ¶
func (m *MockValidatorTopology) SelfVegaPubKey() string
SelfVegaPubKey mocks base method.
type MockValidatorTopologyMockRecorder ¶
type MockValidatorTopologyMockRecorder struct {
// contains filtered or unexported fields
}
MockValidatorTopologyMockRecorder is the mock recorder for MockValidatorTopology.
func (*MockValidatorTopologyMockRecorder) IsTendermintValidator ¶
func (mr *MockValidatorTopologyMockRecorder) IsTendermintValidator(arg0 interface{}) *gomock.Call
IsTendermintValidator indicates an expected call of IsTendermintValidator.
func (*MockValidatorTopologyMockRecorder) IsValidator ¶
func (mr *MockValidatorTopologyMockRecorder) IsValidator() *gomock.Call
IsValidator indicates an expected call of IsValidator.
func (*MockValidatorTopologyMockRecorder) IsValidatorVegaPubKey ¶
func (mr *MockValidatorTopologyMockRecorder) IsValidatorVegaPubKey(arg0 interface{}) *gomock.Call
IsValidatorVegaPubKey indicates an expected call of IsValidatorVegaPubKey.
func (*MockValidatorTopologyMockRecorder) Len ¶
func (mr *MockValidatorTopologyMockRecorder) Len() *gomock.Call
Len indicates an expected call of Len.
func (*MockValidatorTopologyMockRecorder) SelfVegaPubKey ¶
func (mr *MockValidatorTopologyMockRecorder) SelfVegaPubKey() *gomock.Call
SelfVegaPubKey indicates an expected call of SelfVegaPubKey.