mocks

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: AGPL-3.0 Imports: 6 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 MockNetwork

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

MockNetwork is a mock of Network interface

func NewMockNetwork

func NewMockNetwork(ctrl *gomock.Controller) *MockNetwork

NewMockNetwork creates a new mock instance

func (*MockNetwork) EXPECT

func (m *MockNetwork) EXPECT() *MockNetworkMockRecorder

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

func (*MockNetwork) Register

func (m *MockNetwork) Register(arg0 string, arg1 network.Engine) (network.Conduit, error)

Register mocks base method

type MockNetworkMockRecorder

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

MockNetworkMockRecorder is the mock recorder for MockNetwork

func (*MockNetworkMockRecorder) Register

func (mr *MockNetworkMockRecorder) Register(arg0, arg1 interface{}) *gomock.Call

Register indicates an expected call of Register

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

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

Jump to

Keyboard shortcuts

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