Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockMetricSink
- func (m *MockMetricSink) EXPECT() *MockMetricSinkMockRecorder
- func (m *MockMetricSink) Flush(arg0 context.Context, arg1 []samplers.InterMetric) error
- func (m *MockMetricSink) FlushOtherSamples(ctx context.Context, samples []ssf.SSFSample)
- func (m *MockMetricSink) Name() string
- func (m *MockMetricSink) Start(traceClient *trace.Client) error
- type MockMetricSinkFactory
- type MockMetricSinkMockRecorder
- func (mr *MockMetricSinkMockRecorder) Flush(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMetricSinkMockRecorder) FlushOtherSamples(ctx, samples interface{}) *gomock.Call
- func (mr *MockMetricSinkMockRecorder) Name() *gomock.Call
- func (mr *MockMetricSinkMockRecorder) Start(traceClient interface{}) *gomock.Call
- type MockSpanSink
- type MockSpanSinkFactory
- type MockSpanSinkMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMetricSink ¶
type MockMetricSink struct {
// contains filtered or unexported fields
}
MockMetricSink is a mock of MetricSink interface.
func NewMockMetricSink ¶
func NewMockMetricSink(ctrl *gomock.Controller) *MockMetricSink
NewMockMetricSink creates a new mock instance.
func (*MockMetricSink) EXPECT ¶
func (m *MockMetricSink) EXPECT() *MockMetricSinkMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMetricSink) Flush ¶
func (m *MockMetricSink) Flush(arg0 context.Context, arg1 []samplers.InterMetric) error
Flush mocks base method.
func (*MockMetricSink) FlushOtherSamples ¶
func (m *MockMetricSink) FlushOtherSamples(ctx context.Context, samples []ssf.SSFSample)
FlushOtherSamples mocks base method.
type MockMetricSinkFactory ¶
type MockMetricSinkFactory struct { Controller *gomock.Controller Sinks map[string]*MockMetricSink }
func (*MockMetricSinkFactory) CreateMetricSink ¶
func (factory *MockMetricSinkFactory) CreateMetricSink( server *veneur.Server, name string, logger *logrus.Entry, config veneur.Config, sinkConfig veneur.MetricSinkConfig, ) (sinks.MetricSink, error)
type MockMetricSinkMockRecorder ¶
type MockMetricSinkMockRecorder struct {
// contains filtered or unexported fields
}
MockMetricSinkMockRecorder is the mock recorder for MockMetricSink.
func (*MockMetricSinkMockRecorder) Flush ¶
func (mr *MockMetricSinkMockRecorder) Flush(arg0, arg1 interface{}) *gomock.Call
Flush indicates an expected call of Flush.
func (*MockMetricSinkMockRecorder) FlushOtherSamples ¶
func (mr *MockMetricSinkMockRecorder) FlushOtherSamples(ctx, samples interface{}) *gomock.Call
FlushOtherSamples indicates an expected call of FlushOtherSamples.
func (*MockMetricSinkMockRecorder) Name ¶
func (mr *MockMetricSinkMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockMetricSinkMockRecorder) Start ¶
func (mr *MockMetricSinkMockRecorder) Start(traceClient interface{}) *gomock.Call
Start indicates an expected call of Start.
type MockSpanSink ¶
type MockSpanSink struct {
// contains filtered or unexported fields
}
MockSpanSink is a mock of SpanSink interface.
func NewMockSpanSink ¶
func NewMockSpanSink(ctrl *gomock.Controller) *MockSpanSink
NewMockSpanSink creates a new mock instance.
func (*MockSpanSink) EXPECT ¶
func (m *MockSpanSink) EXPECT() *MockSpanSinkMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSpanSinkFactory ¶
type MockSpanSinkFactory struct { Controller *gomock.Controller Sinks map[string]*MockSpanSink }
func (*MockSpanSinkFactory) CreateSpanSink ¶
type MockSpanSinkMockRecorder ¶
type MockSpanSinkMockRecorder struct {
// contains filtered or unexported fields
}
MockSpanSinkMockRecorder is the mock recorder for MockSpanSink.
func (*MockSpanSinkMockRecorder) Flush ¶
func (mr *MockSpanSinkMockRecorder) Flush() *gomock.Call
Flush indicates an expected call of Flush.
func (*MockSpanSinkMockRecorder) Ingest ¶
func (mr *MockSpanSinkMockRecorder) Ingest(arg0 interface{}) *gomock.Call
Ingest indicates an expected call of Ingest.
func (*MockSpanSinkMockRecorder) Name ¶
func (mr *MockSpanSinkMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockSpanSinkMockRecorder) Start ¶
func (mr *MockSpanSinkMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start.