Documentation ¶
Overview ¶
Package mock_beacon is a generated GoMock package.
Index ¶
- type MockDB
- func (m *MockDB) BeaconSources(arg0 context.Context) ([]addr.IA, error)
- func (m *MockDB) CandidateBeacons(arg0 context.Context, arg1 int, arg2 beacon.Usage, arg3 addr.IA) ([]beacon.Beacon, error)
- func (m *MockDB) EXPECT() *MockDBMockRecorder
- func (m *MockDB) InsertBeacon(arg0 context.Context, arg1 beacon.Beacon, arg2 beacon.Usage) (beacon.InsertStats, error)
- type MockDBMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDB ¶
type MockDB struct {
// contains filtered or unexported fields
}
MockDB is a mock of DB interface.
func NewMockDB ¶
func NewMockDB(ctrl *gomock.Controller) *MockDB
NewMockDB creates a new mock instance.
func (*MockDB) BeaconSources ¶
BeaconSources mocks base method.
func (*MockDB) CandidateBeacons ¶
func (m *MockDB) CandidateBeacons(arg0 context.Context, arg1 int, arg2 beacon.Usage, arg3 addr.IA) ([]beacon.Beacon, error)
CandidateBeacons mocks base method.
func (*MockDB) EXPECT ¶
func (m *MockDB) EXPECT() *MockDBMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDBMockRecorder ¶
type MockDBMockRecorder struct {
// contains filtered or unexported fields
}
MockDBMockRecorder is the mock recorder for MockDB.
func (*MockDBMockRecorder) BeaconSources ¶
func (mr *MockDBMockRecorder) BeaconSources(arg0 interface{}) *gomock.Call
BeaconSources indicates an expected call of BeaconSources.
func (*MockDBMockRecorder) CandidateBeacons ¶
func (mr *MockDBMockRecorder) CandidateBeacons(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CandidateBeacons indicates an expected call of CandidateBeacons.
func (*MockDBMockRecorder) InsertBeacon ¶
func (mr *MockDBMockRecorder) InsertBeacon(arg0, arg1, arg2 interface{}) *gomock.Call
InsertBeacon indicates an expected call of InsertBeacon.
Click to show internal directories.
Click to hide internal directories.