Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockLocal
- func (m *MockLocal) Address() string
- func (m *MockLocal) EXPECT() *MockLocalMockRecorder
- func (m *MockLocal) NodeID() flow.Identifier
- func (m *MockLocal) NotMeFilter() flow.IdentityFilter
- func (m *MockLocal) Sign(arg0 []byte, arg1 hash.Hasher) (crypto.Signature, error)
- func (m *MockLocal) SignFunc(arg0 []byte, arg1 hash.Hasher, ...) (crypto.Signature, error)
- type MockLocalMockRecorder
- func (mr *MockLocalMockRecorder) Address() *gomock.Call
- func (mr *MockLocalMockRecorder) NodeID() *gomock.Call
- func (mr *MockLocalMockRecorder) NotMeFilter() *gomock.Call
- func (mr *MockLocalMockRecorder) Sign(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLocalMockRecorder) SignFunc(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockRequester
- type MockRequesterMockRecorder
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) EXPECT ¶
func (m *MockLocal) EXPECT() *MockLocalMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLocal) NotMeFilter ¶
func (m *MockLocal) NotMeFilter() flow.IdentityFilter
NotMeFilter 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 ¶
func (m *MockRequester) EXPECT() *MockRequesterMockRecorder
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) 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.