mock

package
v4.0.0-...-ae7b6de Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 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

type PublicKey struct {
	// contains filtered or unexported fields
}

MockPublicKey is a mock of PublicKey interface.

func NewPublicKey

func NewPublicKey(ctrl *gomock.Controller) *PublicKey

NewPublicKey creates a new mock instance.

func (*PublicKey) Aggregate

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

Aggregate mocks base method.

func (*PublicKey) Copy

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

Copy mocks base method.

func (*PublicKey) EXPECT

func (m *PublicKey) EXPECT() *PublicKeyMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*PublicKey) Equals

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

Equals mocks base method.

func (*PublicKey) IsInfinite

func (m *PublicKey) IsInfinite() bool

IsInfinite mocks base method.

func (*PublicKey) Marshal

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

Marshal mocks base method.

type PublicKeyMockRecorder

type PublicKeyMockRecorder struct {
	// contains filtered or unexported fields
}

MockPublicKeyMockRecorder is the mock recorder for MockPublicKey.

func (*PublicKeyMockRecorder) Aggregate

func (mr *PublicKeyMockRecorder) Aggregate(p2 interface{}) *gomock.Call

Aggregate indicates an expected call of Aggregate.

func (*PublicKeyMockRecorder) Copy

func (mr *PublicKeyMockRecorder) Copy() *gomock.Call

Copy indicates an expected call of Copy.

func (*PublicKeyMockRecorder) Equals

func (mr *PublicKeyMockRecorder) Equals(p2 interface{}) *gomock.Call

Equals indicates an expected call of Equals.

func (*PublicKeyMockRecorder) IsInfinite

func (mr *PublicKeyMockRecorder) IsInfinite() *gomock.Call

IsInfinite indicates an expected call of IsInfinite.

func (*PublicKeyMockRecorder) Marshal

func (mr *PublicKeyMockRecorder) Marshal() *gomock.Call

Marshal indicates an expected call of Marshal.

type SecretKey

type SecretKey struct {
	// contains filtered or unexported fields
}

MockSecretKey is a mock of SecretKey interface.

func NewSecretKey

func NewSecretKey(ctrl *gomock.Controller) *SecretKey

NewSecretKey creates a new mock instance.

func (*SecretKey) EXPECT

func (m *SecretKey) EXPECT() *SecretKeyMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*SecretKey) Marshal

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

Marshal mocks base method.

func (*SecretKey) PublicKey

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

PublicKey mocks base method.

func (*SecretKey) Sign

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

Sign mocks base method.

type SecretKeyMockRecorder

type SecretKeyMockRecorder struct {
	// contains filtered or unexported fields
}

MockSecretKeyMockRecorder is the mock recorder for MockSecretKey.

func (*SecretKeyMockRecorder) Marshal

func (mr *SecretKeyMockRecorder) Marshal() *gomock.Call

Marshal indicates an expected call of Marshal.

func (*SecretKeyMockRecorder) PublicKey

func (mr *SecretKeyMockRecorder) PublicKey() *gomock.Call

PublicKey indicates an expected call of PublicKey.

func (*SecretKeyMockRecorder) Sign

func (mr *SecretKeyMockRecorder) Sign(msg interface{}) *gomock.Call

Sign indicates an expected call of Sign.

type Signature

type Signature struct {
	// contains filtered or unexported fields
}

MockSignature is a mock of Signature interface.

func NewSignature

func NewSignature(ctrl *gomock.Controller) *Signature

NewSignature creates a new mock instance.

func (*Signature) AggregateVerify

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

AggregateVerify mocks base method.

func (*Signature) Copy

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

Copy mocks base method.

func (*Signature) EXPECT

func (m *Signature) EXPECT() *SignatureMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*Signature) Eth2FastAggregateVerify

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

Eth2FastAggregateVerify mocks base method.

func (*Signature) FastAggregateVerify

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

FastAggregateVerify mocks base method.

func (*Signature) Marshal

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

Marshal mocks base method.

func (*Signature) Verify

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

Verify mocks base method.

type SignatureMockRecorder

type SignatureMockRecorder struct {
	// contains filtered or unexported fields
}

MockSignatureMockRecorder is the mock recorder for MockSignature.

func (*SignatureMockRecorder) AggregateVerify

func (mr *SignatureMockRecorder) AggregateVerify(pubKeys, msgs interface{}) *gomock.Call

AggregateVerify indicates an expected call of AggregateVerify.

func (*SignatureMockRecorder) Copy

func (mr *SignatureMockRecorder) Copy() *gomock.Call

Copy indicates an expected call of Copy.

func (*SignatureMockRecorder) Eth2FastAggregateVerify

func (mr *SignatureMockRecorder) Eth2FastAggregateVerify(pubKeys, msg interface{}) *gomock.Call

Eth2FastAggregateVerify indicates an expected call of Eth2FastAggregateVerify.

func (*SignatureMockRecorder) FastAggregateVerify

func (mr *SignatureMockRecorder) FastAggregateVerify(pubKeys, msg interface{}) *gomock.Call

FastAggregateVerify indicates an expected call of FastAggregateVerify.

func (*SignatureMockRecorder) Marshal

func (mr *SignatureMockRecorder) Marshal() *gomock.Call

Marshal indicates an expected call of Marshal.

func (*SignatureMockRecorder) Verify

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