mocks

package
v0.33.18-fix-throttle Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLocal

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

MockLocal is a mock of Local interface.

func NewMockLocal

func NewMockLocal(ctrl *gomock.Controller) *MockLocal

NewMockLocal creates a new mock instance.

func (*MockLocal) Address

func (m *MockLocal) Address() string

Address mocks base method.

func (*MockLocal) EXPECT

func (m *MockLocal) EXPECT() *MockLocalMockRecorder

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

func (*MockLocal) NodeID

func (m *MockLocal) NodeID() flow.Identifier

NodeID mocks base method.

func (*MockLocal) NotMeFilter

func (m *MockLocal) NotMeFilter() flow.IdentityFilter

NotMeFilter mocks base method.

func (*MockLocal) Sign

func (m *MockLocal) Sign(arg0 []byte, arg1 hash.Hasher) (crypto.Signature, error)

Sign mocks base method.

func (*MockLocal) SignFunc

func (m *MockLocal) SignFunc(arg0 []byte, arg1 hash.Hasher, arg2 func(crypto.PrivateKey, []byte, hash.Hasher) (crypto.Signature, error)) (crypto.Signature, error)

SignFunc mocks base method.

type MockLocalMockRecorder

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

MockLocalMockRecorder is the mock recorder for MockLocal.

func (*MockLocalMockRecorder) Address

func (mr *MockLocalMockRecorder) Address() *gomock.Call

Address indicates an expected call of Address.

func (*MockLocalMockRecorder) NodeID

func (mr *MockLocalMockRecorder) NodeID() *gomock.Call

NodeID indicates an expected call of NodeID.

func (*MockLocalMockRecorder) NotMeFilter

func (mr *MockLocalMockRecorder) NotMeFilter() *gomock.Call

NotMeFilter indicates an expected call of NotMeFilter.

func (*MockLocalMockRecorder) Sign

func (mr *MockLocalMockRecorder) Sign(arg0, arg1 interface{}) *gomock.Call

Sign indicates an expected call of Sign.

func (*MockLocalMockRecorder) SignFunc

func (mr *MockLocalMockRecorder) SignFunc(arg0, arg1, arg2 interface{}) *gomock.Call

SignFunc indicates an expected call of SignFunc.

type MockRequester

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

MockRequester is a mock of Requester interface.

func NewMockRequester

func NewMockRequester(ctrl *gomock.Controller) *MockRequester

NewMockRequester creates a new mock instance.

func (*MockRequester) EXPECT

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

func (*MockRequester) EntityByID

func (m *MockRequester) EntityByID(arg0 flow.Identifier, arg1 flow.IdentityFilter)

EntityByID mocks base method.

func (*MockRequester) Force

func (m *MockRequester) Force()

Force mocks base method.

func (*MockRequester) Query added in v0.15.0

func (m *MockRequester) Query(arg0 flow.Identifier, arg1 flow.IdentityFilter)

Query mocks base method.

type MockRequesterMockRecorder

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

MockRequesterMockRecorder is the mock recorder for MockRequester.

func (*MockRequesterMockRecorder) EntityByID

func (mr *MockRequesterMockRecorder) EntityByID(arg0, arg1 interface{}) *gomock.Call

EntityByID indicates an expected call of EntityByID.

func (*MockRequesterMockRecorder) Force

func (mr *MockRequesterMockRecorder) Force() *gomock.Call

Force indicates an expected call of Force.

func (*MockRequesterMockRecorder) Query added in v0.15.0

func (mr *MockRequesterMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call

Query indicates an expected call of Query.

Jump to

Keyboard shortcuts

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