Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIngest ¶
type MockIngest struct {
// contains filtered or unexported fields
}
MockIngest is a mock of Ingest interface.
func NewMockIngest ¶
func NewMockIngest(ctrl *gomock.Controller) *MockIngest
NewMockIngest creates a new mock instance.
func (*MockIngest) EXPECT ¶
func (m *MockIngest) EXPECT() *MockIngestMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIngest) IngestMetric ¶
func (m *MockIngest) IngestMetric(metric *samplers.UDPMetric)
IngestMetric mocks base method.
type MockIngestMockRecorder ¶
type MockIngestMockRecorder struct {
// contains filtered or unexported fields
}
MockIngestMockRecorder is the mock recorder for MockIngest.
func (*MockIngestMockRecorder) IngestMetric ¶
func (mr *MockIngestMockRecorder) IngestMetric(metric interface{}) *gomock.Call
IngestMetric indicates an expected call of IngestMetric.
type MockSource ¶
type MockSource struct {
// contains filtered or unexported fields
}
MockSource is a mock of Source interface.
func NewMockSource ¶
func NewMockSource(ctrl *gomock.Controller) *MockSource
NewMockSource creates a new mock instance.
func (*MockSource) EXPECT ¶
func (m *MockSource) EXPECT() *MockSourceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSourceConfig ¶
type MockSourceConfig struct {
// contains filtered or unexported fields
}
MockSourceConfig is a mock of SourceConfig interface.
func NewMockSourceConfig ¶
func NewMockSourceConfig(ctrl *gomock.Controller) *MockSourceConfig
NewMockSourceConfig creates a new mock instance.
func (*MockSourceConfig) EXPECT ¶
func (m *MockSourceConfig) EXPECT() *MockSourceConfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSourceConfigMockRecorder ¶
type MockSourceConfigMockRecorder struct {
// contains filtered or unexported fields
}
MockSourceConfigMockRecorder is the mock recorder for MockSourceConfig.
type MockSourceFactory ¶
type MockSourceFactory struct { Controller *gomock.Controller Sources map[string]*MockSource }
type MockSourceMockRecorder ¶
type MockSourceMockRecorder struct {
// contains filtered or unexported fields
}
MockSourceMockRecorder is the mock recorder for MockSource.
func (*MockSourceMockRecorder) Name ¶
func (mr *MockSourceMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockSourceMockRecorder) Start ¶
func (mr *MockSourceMockRecorder) Start(ingest interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockSourceMockRecorder) Stop ¶
func (mr *MockSourceMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.