mock_beaconing

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mock_beaconing is a generated GoMock package.

Index

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

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.

func (*MockBeaconInserter) PreFilter

func (m *MockBeaconInserter) PreFilter(arg0 beacon.Beacon) error

PreFilter 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

func (m *MockBeaconProvider) BeaconsToPropagate(arg0 context.Context) ([]beacon.Beacon, error)

BeaconsToPropagate mocks base method.

func (*MockBeaconProvider) EXPECT

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.

func (*MockRPC) RegisterSegment

func (m *MockRPC) RegisterSegment(arg0 context.Context, arg1 segment.Meta, arg2 net.Addr) error

RegisterSegment mocks base method.

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

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

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) Close

func (m *MockSender) Close() error

Close mocks base method.

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

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

func (*MockSenderFactory) NewSender

func (m *MockSenderFactory) NewSender(arg0 context.Context, arg1 addr.IA, arg2 uint16, arg3 *net.UDPAddr) (beaconing.Sender, error)

NewSender mocks base method.

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.

Jump to

Keyboard shortcuts

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