Documentation ¶
Overview ¶
Package mock_beaconing is a generated GoMock package.
Index ¶
- type MockBeaconInserter
- type MockBeaconInserterMockRecorder
- type MockBeaconProvider
- type MockBeaconProviderMockRecorder
- type MockRPC
- type MockRPCMockRecorder
- type MockSegmentProvider
- type MockSegmentProviderMockRecorder
- type MockSegmentStore
- type MockSegmentStoreMockRecorder
- type MockSender
- type MockSenderFactory
- type MockSenderFactoryMockRecorder
- type MockSenderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBeaconInserter ¶
type MockBeaconInserter struct {
// contains filtered or unexported fields
}
MockBeaconInserter is a mock of BeaconInserter interface.
func NewMockBeaconInserter ¶
func NewMockBeaconInserter(ctrl *gomock.Controller) *MockBeaconInserter
NewMockBeaconInserter creates a new mock instance.
func (*MockBeaconInserter) EXPECT ¶
func (m *MockBeaconInserter) EXPECT() *MockBeaconInserterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBeaconInserter) InsertBeacon ¶
func (m *MockBeaconInserter) InsertBeacon(arg0 context.Context, arg1 beacon.Beacon) (beacon.InsertStats, error)
InsertBeacon mocks base method.
type MockBeaconInserterMockRecorder ¶
type MockBeaconInserterMockRecorder struct {
// contains filtered or unexported fields
}
MockBeaconInserterMockRecorder is the mock recorder for MockBeaconInserter.
func (*MockBeaconInserterMockRecorder) InsertBeacon ¶
func (mr *MockBeaconInserterMockRecorder) InsertBeacon(arg0, arg1 interface{}) *gomock.Call
InsertBeacon indicates an expected call of InsertBeacon.
func (*MockBeaconInserterMockRecorder) PreFilter ¶
func (mr *MockBeaconInserterMockRecorder) PreFilter(arg0 interface{}) *gomock.Call
PreFilter indicates an expected call of PreFilter.
type MockBeaconProvider ¶
type MockBeaconProvider struct {
// contains filtered or unexported fields
}
MockBeaconProvider is a mock of BeaconProvider interface.
func NewMockBeaconProvider ¶
func NewMockBeaconProvider(ctrl *gomock.Controller) *MockBeaconProvider
NewMockBeaconProvider creates a new mock instance.
func (*MockBeaconProvider) BeaconsToPropagate ¶
BeaconsToPropagate mocks base method.
func (*MockBeaconProvider) EXPECT ¶
func (m *MockBeaconProvider) EXPECT() *MockBeaconProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBeaconProviderMockRecorder ¶
type MockBeaconProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockBeaconProviderMockRecorder is the mock recorder for MockBeaconProvider.
func (*MockBeaconProviderMockRecorder) BeaconsToPropagate ¶
func (mr *MockBeaconProviderMockRecorder) BeaconsToPropagate(arg0 interface{}) *gomock.Call
BeaconsToPropagate indicates an expected call of BeaconsToPropagate.
type MockRPC ¶
type MockRPC struct {
// contains filtered or unexported fields
}
MockRPC is a mock of RPC interface.
func NewMockRPC ¶
func NewMockRPC(ctrl *gomock.Controller) *MockRPC
NewMockRPC creates a new mock instance.
func (*MockRPC) EXPECT ¶
func (m *MockRPC) EXPECT() *MockRPCMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRPCMockRecorder ¶
type MockRPCMockRecorder struct {
// contains filtered or unexported fields
}
MockRPCMockRecorder is the mock recorder for MockRPC.
func (*MockRPCMockRecorder) RegisterSegment ¶
func (mr *MockRPCMockRecorder) RegisterSegment(arg0, arg1, arg2 interface{}) *gomock.Call
RegisterSegment indicates an expected call of RegisterSegment.
type MockSegmentProvider ¶
type MockSegmentProvider struct {
// contains filtered or unexported fields
}
MockSegmentProvider is a mock of SegmentProvider interface.
func NewMockSegmentProvider ¶
func NewMockSegmentProvider(ctrl *gomock.Controller) *MockSegmentProvider
NewMockSegmentProvider creates a new mock instance.
func (*MockSegmentProvider) EXPECT ¶
func (m *MockSegmentProvider) EXPECT() *MockSegmentProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSegmentProvider) SegmentsToRegister ¶
func (m *MockSegmentProvider) SegmentsToRegister(arg0 context.Context, arg1 segment.Type) ([]beacon.Beacon, error)
SegmentsToRegister mocks base method.
type MockSegmentProviderMockRecorder ¶
type MockSegmentProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockSegmentProviderMockRecorder is the mock recorder for MockSegmentProvider.
func (*MockSegmentProviderMockRecorder) SegmentsToRegister ¶
func (mr *MockSegmentProviderMockRecorder) SegmentsToRegister(arg0, arg1 interface{}) *gomock.Call
SegmentsToRegister indicates an expected call of SegmentsToRegister.
type MockSegmentStore ¶
type MockSegmentStore struct {
// contains filtered or unexported fields
}
MockSegmentStore is a mock of SegmentStore interface.
func NewMockSegmentStore ¶
func NewMockSegmentStore(ctrl *gomock.Controller) *MockSegmentStore
NewMockSegmentStore creates a new mock instance.
func (*MockSegmentStore) EXPECT ¶
func (m *MockSegmentStore) EXPECT() *MockSegmentStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSegmentStore) StoreSegs ¶
func (m *MockSegmentStore) StoreSegs(arg0 context.Context, arg1 []*segment.Meta) (seghandler.SegStats, error)
StoreSegs mocks base method.
type MockSegmentStoreMockRecorder ¶
type MockSegmentStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockSegmentStoreMockRecorder is the mock recorder for MockSegmentStore.
func (*MockSegmentStoreMockRecorder) StoreSegs ¶
func (mr *MockSegmentStoreMockRecorder) StoreSegs(arg0, arg1 interface{}) *gomock.Call
StoreSegs indicates an expected call of StoreSegs.
type MockSender ¶
type MockSender struct {
// contains filtered or unexported fields
}
MockSender is a mock of Sender interface.
func NewMockSender ¶
func NewMockSender(ctrl *gomock.Controller) *MockSender
NewMockSender creates a new mock instance.
func (*MockSender) EXPECT ¶
func (m *MockSender) EXPECT() *MockSenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSender) Send ¶
func (m *MockSender) Send(arg0 context.Context, arg1 *segment.PathSegment) error
Send mocks base method.
type MockSenderFactory ¶
type MockSenderFactory struct {
// contains filtered or unexported fields
}
MockSenderFactory is a mock of SenderFactory interface.
func NewMockSenderFactory ¶
func NewMockSenderFactory(ctrl *gomock.Controller) *MockSenderFactory
NewMockSenderFactory creates a new mock instance.
func (*MockSenderFactory) EXPECT ¶
func (m *MockSenderFactory) EXPECT() *MockSenderFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSenderFactoryMockRecorder ¶
type MockSenderFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockSenderFactoryMockRecorder is the mock recorder for MockSenderFactory.
func (*MockSenderFactoryMockRecorder) NewSender ¶
func (mr *MockSenderFactoryMockRecorder) NewSender(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
NewSender indicates an expected call of NewSender.
type MockSenderMockRecorder ¶
type MockSenderMockRecorder struct {
// contains filtered or unexported fields
}
MockSenderMockRecorder is the mock recorder for MockSender.
func (*MockSenderMockRecorder) Close ¶
func (mr *MockSenderMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockSenderMockRecorder) Send ¶
func (mr *MockSenderMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call
Send indicates an expected call of Send.