Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockPublicKey
- func (m *MockPublicKey) Aggregate(p2 common.PublicKey) common.PublicKey
- func (m *MockPublicKey) Copy() common.PublicKey
- func (m *MockPublicKey) EXPECT() *MockPublicKeyMockRecorder
- func (m *MockPublicKey) Equals(p2 common.PublicKey) bool
- func (m *MockPublicKey) IsInfinite() bool
- func (m *MockPublicKey) Marshal() []byte
- type MockPublicKeyMockRecorder
- func (mr *MockPublicKeyMockRecorder) Aggregate(p2 interface{}) *gomock.Call
- func (mr *MockPublicKeyMockRecorder) Copy() *gomock.Call
- func (mr *MockPublicKeyMockRecorder) Equals(p2 interface{}) *gomock.Call
- func (mr *MockPublicKeyMockRecorder) IsInfinite() *gomock.Call
- func (mr *MockPublicKeyMockRecorder) Marshal() *gomock.Call
- type MockSecretKey
- type MockSecretKeyMockRecorder
- type MockSignature
- func (m *MockSignature) AggregateVerify(pubKeys []common.PublicKey, msgs [][32]byte) bool
- func (m *MockSignature) Copy() common.Signature
- func (m *MockSignature) EXPECT() *MockSignatureMockRecorder
- func (m *MockSignature) Eth2FastAggregateVerify(pubKeys []common.PublicKey, msg [32]byte) bool
- func (m *MockSignature) FastAggregateVerify(pubKeys []common.PublicKey, msg [32]byte) bool
- func (m *MockSignature) Marshal() []byte
- func (m *MockSignature) Verify(pubKey common.PublicKey, msg []byte) bool
- type MockSignatureMockRecorder
- func (mr *MockSignatureMockRecorder) AggregateVerify(pubKeys, msgs interface{}) *gomock.Call
- func (mr *MockSignatureMockRecorder) Copy() *gomock.Call
- func (mr *MockSignatureMockRecorder) Eth2FastAggregateVerify(pubKeys, msg interface{}) *gomock.Call
- func (mr *MockSignatureMockRecorder) FastAggregateVerify(pubKeys, msg interface{}) *gomock.Call
- func (mr *MockSignatureMockRecorder) Marshal() *gomock.Call
- func (mr *MockSignatureMockRecorder) Verify(pubKey, msg interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPublicKey ¶
type MockPublicKey struct {
// contains filtered or unexported fields
}
MockPublicKey is a mock of PublicKey interface.
func NewMockPublicKey ¶
func NewMockPublicKey(ctrl *gomock.Controller) *MockPublicKey
NewMockPublicKey creates a new mock instance.
func (*MockPublicKey) Aggregate ¶
func (m *MockPublicKey) Aggregate(p2 common.PublicKey) common.PublicKey
Aggregate mocks base method.
func (*MockPublicKey) Copy ¶
func (m *MockPublicKey) Copy() common.PublicKey
Copy mocks base method.
func (*MockPublicKey) EXPECT ¶
func (m *MockPublicKey) EXPECT() *MockPublicKeyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPublicKey) Equals ¶
func (m *MockPublicKey) Equals(p2 common.PublicKey) bool
Equals mocks base method.
func (*MockPublicKey) IsInfinite ¶
func (m *MockPublicKey) IsInfinite() bool
IsInfinite mocks base method.
type MockPublicKeyMockRecorder ¶
type MockPublicKeyMockRecorder struct {
// contains filtered or unexported fields
}
MockPublicKeyMockRecorder is the mock recorder for MockPublicKey.
func (*MockPublicKeyMockRecorder) Aggregate ¶
func (mr *MockPublicKeyMockRecorder) Aggregate(p2 interface{}) *gomock.Call
Aggregate indicates an expected call of Aggregate.
func (*MockPublicKeyMockRecorder) Copy ¶
func (mr *MockPublicKeyMockRecorder) Copy() *gomock.Call
Copy indicates an expected call of Copy.
func (*MockPublicKeyMockRecorder) Equals ¶
func (mr *MockPublicKeyMockRecorder) Equals(p2 interface{}) *gomock.Call
Equals indicates an expected call of Equals.
func (*MockPublicKeyMockRecorder) IsInfinite ¶
func (mr *MockPublicKeyMockRecorder) IsInfinite() *gomock.Call
IsInfinite indicates an expected call of IsInfinite.
func (*MockPublicKeyMockRecorder) Marshal ¶
func (mr *MockPublicKeyMockRecorder) Marshal() *gomock.Call
Marshal indicates an expected call of Marshal.
type MockSecretKey ¶
type MockSecretKey struct {
// contains filtered or unexported fields
}
MockSecretKey is a mock of SecretKey interface.
func NewMockSecretKey ¶
func NewMockSecretKey(ctrl *gomock.Controller) *MockSecretKey
NewMockSecretKey creates a new mock instance.
func (*MockSecretKey) EXPECT ¶
func (m *MockSecretKey) EXPECT() *MockSecretKeyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecretKey) PublicKey ¶
func (m *MockSecretKey) PublicKey() common.PublicKey
PublicKey mocks base method.
type MockSecretKeyMockRecorder ¶
type MockSecretKeyMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretKeyMockRecorder is the mock recorder for MockSecretKey.
func (*MockSecretKeyMockRecorder) Marshal ¶
func (mr *MockSecretKeyMockRecorder) Marshal() *gomock.Call
Marshal indicates an expected call of Marshal.
func (*MockSecretKeyMockRecorder) PublicKey ¶
func (mr *MockSecretKeyMockRecorder) PublicKey() *gomock.Call
PublicKey indicates an expected call of PublicKey.
func (*MockSecretKeyMockRecorder) Sign ¶
func (mr *MockSecretKeyMockRecorder) Sign(msg interface{}) *gomock.Call
Sign indicates an expected call of Sign.
type MockSignature ¶
type MockSignature struct {
// contains filtered or unexported fields
}
MockSignature is a mock of Signature interface.
func NewMockSignature ¶
func NewMockSignature(ctrl *gomock.Controller) *MockSignature
NewMockSignature creates a new mock instance.
func (*MockSignature) AggregateVerify ¶
func (m *MockSignature) AggregateVerify(pubKeys []common.PublicKey, msgs [][32]byte) bool
AggregateVerify mocks base method.
func (*MockSignature) Copy ¶
func (m *MockSignature) Copy() common.Signature
Copy mocks base method.
func (*MockSignature) EXPECT ¶
func (m *MockSignature) EXPECT() *MockSignatureMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSignature) Eth2FastAggregateVerify ¶
func (m *MockSignature) Eth2FastAggregateVerify(pubKeys []common.PublicKey, msg [32]byte) bool
Eth2FastAggregateVerify mocks base method.
func (*MockSignature) FastAggregateVerify ¶
func (m *MockSignature) FastAggregateVerify(pubKeys []common.PublicKey, msg [32]byte) bool
FastAggregateVerify mocks base method.
type MockSignatureMockRecorder ¶
type MockSignatureMockRecorder struct {
// contains filtered or unexported fields
}
MockSignatureMockRecorder is the mock recorder for MockSignature.
func (*MockSignatureMockRecorder) AggregateVerify ¶
func (mr *MockSignatureMockRecorder) AggregateVerify(pubKeys, msgs interface{}) *gomock.Call
AggregateVerify indicates an expected call of AggregateVerify.
func (*MockSignatureMockRecorder) Copy ¶
func (mr *MockSignatureMockRecorder) Copy() *gomock.Call
Copy indicates an expected call of Copy.
func (*MockSignatureMockRecorder) Eth2FastAggregateVerify ¶
func (mr *MockSignatureMockRecorder) Eth2FastAggregateVerify(pubKeys, msg interface{}) *gomock.Call
Eth2FastAggregateVerify indicates an expected call of Eth2FastAggregateVerify.
func (*MockSignatureMockRecorder) FastAggregateVerify ¶
func (mr *MockSignatureMockRecorder) FastAggregateVerify(pubKeys, msg interface{}) *gomock.Call
FastAggregateVerify indicates an expected call of FastAggregateVerify.
func (*MockSignatureMockRecorder) Marshal ¶
func (mr *MockSignatureMockRecorder) Marshal() *gomock.Call
Marshal indicates an expected call of Marshal.
func (*MockSignatureMockRecorder) Verify ¶
func (mr *MockSignatureMockRecorder) Verify(pubKey, msg interface{}) *gomock.Call
Verify indicates an expected call of Verify.