mock

package
v4.2.1-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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) Aggregate added in v4.2.0

func (m *PublicKey) Aggregate(p2 common.PublicKey) common.PublicKey

Aggregate mocks base method.

func (*PublicKey) Copy added in v4.2.0

func (m *PublicKey) Copy() common.PublicKey

Copy mocks base method.

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) Equals added in v4.2.0

func (m *PublicKey) Equals(p2 common.PublicKey) bool

Equals mocks base method.

func (*PublicKey) IsInfinite added in v4.2.0

func (m *PublicKey) IsInfinite() bool

IsInfinite mocks base method.

func (*PublicKey) Marshal added in v4.2.0

func (m *PublicKey) Marshal() []byte

Marshal 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.

func (*SecretKey) Marshal added in v4.2.0

func (m *SecretKey) Marshal() []byte

Marshal mocks base method.

func (*SecretKey) PublicKey added in v4.2.0

func (m *SecretKey) PublicKey() common.PublicKey

PublicKey mocks base method.

func (*SecretKey) Sign added in v4.2.0

func (m *SecretKey) Sign(msg []byte) common.Signature

Sign mocks base method.

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

func (m *Signature) AggregateVerify(pubKeys []common.PublicKey, msgs [][32]byte) bool

AggregateVerify mocks base method.

func (*Signature) Copy added in v4.2.0

func (m *Signature) Copy() common.Signature

Copy 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

func (m *Signature) Eth2FastAggregateVerify(pubKeys []common.PublicKey, msg [32]byte) bool

Eth2FastAggregateVerify mocks base method.

func (*Signature) FastAggregateVerify added in v4.2.0

func (m *Signature) FastAggregateVerify(pubKeys []common.PublicKey, msg [32]byte) bool

FastAggregateVerify mocks base method.

func (*Signature) Marshal added in v4.2.0

func (m *Signature) Marshal() []byte

Marshal mocks base method.

func (*Signature) Verify added in v4.2.0

func (m *Signature) Verify(pubKey common.PublicKey, msg []byte) bool

Verify 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL