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