mock

package
v5.2.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 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 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

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.

func (*MockPublicKey) Marshal

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

Marshal 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 any) *gomock.Call

Aggregate indicates an expected call of Aggregate.

func (*MockPublicKeyMockRecorder) Copy

Copy indicates an expected call of Copy.

func (*MockPublicKeyMockRecorder) Equals

func (mr *MockPublicKeyMockRecorder) Equals(p2 any) *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

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

func (*MockSecretKey) Marshal

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

Marshal mocks base method.

func (*MockSecretKey) PublicKey

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

PublicKey mocks base method.

func (*MockSecretKey) Sign

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

Sign 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 any) *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

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.

func (*MockSignature) Marshal

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

Marshal mocks base method.

func (*MockSignature) Verify

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

Verify 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 any) *gomock.Call

AggregateVerify indicates an expected call of AggregateVerify.

func (*MockSignatureMockRecorder) Copy

Copy indicates an expected call of Copy.

func (*MockSignatureMockRecorder) Eth2FastAggregateVerify

func (mr *MockSignatureMockRecorder) Eth2FastAggregateVerify(pubKeys, msg any) *gomock.Call

Eth2FastAggregateVerify indicates an expected call of Eth2FastAggregateVerify.

func (*MockSignatureMockRecorder) FastAggregateVerify

func (mr *MockSignatureMockRecorder) FastAggregateVerify(pubKeys, msg any) *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 any) *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