Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockCommander
- type MockCommanderMockRecorder
- type MockMultiSigTopology
- func (m *MockMultiSigTopology) EXPECT() *MockMultiSigTopologyMockRecorder
- func (m *MockMultiSigTopology) ExcessSigners(arg0 []string) bool
- func (m *MockMultiSigTopology) GetSigners() []string
- func (m *MockMultiSigTopology) GetThreshold() uint32
- func (m *MockMultiSigTopology) IsSigner(arg0 string) bool
- type MockMultiSigTopologyMockRecorder
- func (mr *MockMultiSigTopologyMockRecorder) ExcessSigners(arg0 interface{}) *gomock.Call
- func (mr *MockMultiSigTopologyMockRecorder) GetSigners() *gomock.Call
- func (mr *MockMultiSigTopologyMockRecorder) GetThreshold() *gomock.Call
- func (mr *MockMultiSigTopologyMockRecorder) IsSigner(arg0 interface{}) *gomock.Call
- type MockNodeWallets
- type MockNodeWalletsMockRecorder
- type MockNotary
- func (m *MockNotary) EXPECT() *MockNotaryMockRecorder
- func (m *MockNotary) IsSigned(arg0 context.Context, arg1 string, arg2 v1.NodeSignatureKind) ([]v1.NodeSignature, bool)
- func (m *MockNotary) OfferSignatures(arg0 v1.NodeSignatureKind, arg1 func(string) []byte)
- func (m *MockNotary) StartAggregate(arg0 string, arg1 v1.NodeSignatureKind, arg2 []byte)
- type MockNotaryMockRecorder
- type MockSignatures
- func (m *MockSignatures) ClearStaleSignatures()
- func (m *MockSignatures) EXPECT() *MockSignaturesMockRecorder
- func (m *MockSignatures) EmitValidatorAddedSignatures(arg0 context.Context, arg1, arg2 string, arg3 time.Time) error
- func (m *MockSignatures) EmitValidatorRemovedSignatures(arg0 context.Context, arg1, arg2 string, arg3 time.Time) error
- func (m *MockSignatures) OfferSignatures()
- func (m *MockSignatures) PreparePromotionsSignatures(arg0 context.Context, arg1 time.Time, arg2 uint64, ...)
- func (m *MockSignatures) PrepareValidatorSignatures(arg0 context.Context, arg1 []validators.NodeIDAddress, arg2 uint64, arg3 bool)
- func (m *MockSignatures) RestorePendingSignatures(arg0 *v10.ToplogySignatures)
- func (m *MockSignatures) SerialisePendingSignatures() *v10.ToplogySignatures
- func (m *MockSignatures) SetNonce(arg0 time.Time)
- type MockSignaturesMockRecorder
- func (mr *MockSignaturesMockRecorder) ClearStaleSignatures() *gomock.Call
- func (mr *MockSignaturesMockRecorder) EmitValidatorAddedSignatures(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSignaturesMockRecorder) EmitValidatorRemovedSignatures(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSignaturesMockRecorder) OfferSignatures() *gomock.Call
- func (mr *MockSignaturesMockRecorder) PreparePromotionsSignatures(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockSignaturesMockRecorder) PrepareValidatorSignatures(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSignaturesMockRecorder) RestorePendingSignatures(arg0 interface{}) *gomock.Call
- func (mr *MockSignaturesMockRecorder) SerialisePendingSignatures() *gomock.Call
- func (mr *MockSignaturesMockRecorder) SetNonce(arg0 interface{}) *gomock.Call
- type MockTimeService
- type MockTimeServiceMockRecorder
- type MockValidatorPerformance
- func (m *MockValidatorPerformance) BeginBlock(arg0 context.Context, arg1 string)
- func (m *MockValidatorPerformance) Deserialize(arg0 *v10.ValidatorPerformance)
- func (m *MockValidatorPerformance) EXPECT() *MockValidatorPerformanceMockRecorder
- func (m *MockValidatorPerformance) Reset()
- func (m *MockValidatorPerformance) Serialize() *v10.ValidatorPerformance
- func (m *MockValidatorPerformance) ValidatorPerformanceScore(arg0 string, arg1, arg2 int64, arg3 decimal.Decimal) decimal.Decimal
- type MockValidatorPerformanceMockRecorder
- func (mr *MockValidatorPerformanceMockRecorder) BeginBlock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockValidatorPerformanceMockRecorder) Deserialize(arg0 interface{}) *gomock.Call
- func (mr *MockValidatorPerformanceMockRecorder) Reset() *gomock.Call
- func (mr *MockValidatorPerformanceMockRecorder) Serialize() *gomock.Call
- func (mr *MockValidatorPerformanceMockRecorder) ValidatorPerformanceScore(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockValidatorTopology
- func (m *MockValidatorTopology) AllVegaPubKeys() []string
- func (m *MockValidatorTopology) EXPECT() *MockValidatorTopologyMockRecorder
- func (m *MockValidatorTopology) GetTotalVotingPower() int64
- func (m *MockValidatorTopology) GetVotingPower(arg0 string) int64
- func (m *MockValidatorTopology) IsTendermintValidator(arg0 string) bool
- func (m *MockValidatorTopology) IsValidator() bool
- func (m *MockValidatorTopology) IsValidatorVegaPubKey(arg0 string) bool
- func (m *MockValidatorTopology) SelfVegaPubKey() string
- type MockValidatorTopologyMockRecorder
- func (mr *MockValidatorTopologyMockRecorder) AllVegaPubKeys() *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) GetTotalVotingPower() *gomock.Call
- func (mr *MockValidatorTopologyMockRecorder) GetVotingPower(arg0 interface{}) *gomock.Call
- 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) SelfVegaPubKey() *gomock.Call
- type MockWallet
- type MockWalletMockRecorder
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