Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockConsumerAPI
- func (m *MockConsumerAPI) Close() error
- func (m *MockConsumerAPI) EXPECT() *MockConsumerAPIMockRecorder
- func (m *MockConsumerAPI) LogsFrom(arg0 *v1.BatchArrowRecords) ([]plog.Logs, error)
- func (m *MockConsumerAPI) MetricsFrom(arg0 *v1.BatchArrowRecords) ([]pmetric.Metrics, error)
- func (m *MockConsumerAPI) TracesFrom(arg0 *v1.BatchArrowRecords) ([]ptrace.Traces, error)
- type MockConsumerAPIMockRecorder
- type MockProducerAPI
- func (m *MockProducerAPI) BatchArrowRecordsFromLogs(arg0 plog.Logs) (*v1.BatchArrowRecords, error)
- func (m *MockProducerAPI) BatchArrowRecordsFromMetrics(arg0 pmetric.Metrics) (*v1.BatchArrowRecords, error)
- func (m *MockProducerAPI) BatchArrowRecordsFromTraces(arg0 ptrace.Traces) (*v1.BatchArrowRecords, error)
- func (m *MockProducerAPI) Close() error
- func (m *MockProducerAPI) EXPECT() *MockProducerAPIMockRecorder
- type MockProducerAPIMockRecorder
- func (mr *MockProducerAPIMockRecorder) BatchArrowRecordsFromLogs(arg0 any) *gomock.Call
- func (mr *MockProducerAPIMockRecorder) BatchArrowRecordsFromMetrics(arg0 any) *gomock.Call
- func (mr *MockProducerAPIMockRecorder) BatchArrowRecordsFromTraces(arg0 any) *gomock.Call
- func (mr *MockProducerAPIMockRecorder) Close() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConsumerAPI ¶
type MockConsumerAPI struct {
// contains filtered or unexported fields
}
MockConsumerAPI is a mock of ConsumerAPI interface.
func NewMockConsumerAPI ¶
func NewMockConsumerAPI(ctrl *gomock.Controller) *MockConsumerAPI
NewMockConsumerAPI creates a new mock instance.
func (*MockConsumerAPI) EXPECT ¶
func (m *MockConsumerAPI) EXPECT() *MockConsumerAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConsumerAPI) LogsFrom ¶
func (m *MockConsumerAPI) LogsFrom(arg0 *v1.BatchArrowRecords) ([]plog.Logs, error)
LogsFrom mocks base method.
func (*MockConsumerAPI) MetricsFrom ¶
func (m *MockConsumerAPI) MetricsFrom(arg0 *v1.BatchArrowRecords) ([]pmetric.Metrics, error)
MetricsFrom mocks base method.
func (*MockConsumerAPI) TracesFrom ¶
func (m *MockConsumerAPI) TracesFrom(arg0 *v1.BatchArrowRecords) ([]ptrace.Traces, error)
TracesFrom mocks base method.
type MockConsumerAPIMockRecorder ¶
type MockConsumerAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockConsumerAPIMockRecorder is the mock recorder for MockConsumerAPI.
func (*MockConsumerAPIMockRecorder) Close ¶
func (mr *MockConsumerAPIMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockConsumerAPIMockRecorder) LogsFrom ¶
func (mr *MockConsumerAPIMockRecorder) LogsFrom(arg0 any) *gomock.Call
LogsFrom indicates an expected call of LogsFrom.
func (*MockConsumerAPIMockRecorder) MetricsFrom ¶
func (mr *MockConsumerAPIMockRecorder) MetricsFrom(arg0 any) *gomock.Call
MetricsFrom indicates an expected call of MetricsFrom.
func (*MockConsumerAPIMockRecorder) TracesFrom ¶
func (mr *MockConsumerAPIMockRecorder) TracesFrom(arg0 any) *gomock.Call
TracesFrom indicates an expected call of TracesFrom.
type MockProducerAPI ¶
type MockProducerAPI struct {
// contains filtered or unexported fields
}
MockProducerAPI is a mock of ProducerAPI interface.
func NewMockProducerAPI ¶
func NewMockProducerAPI(ctrl *gomock.Controller) *MockProducerAPI
NewMockProducerAPI creates a new mock instance.
func (*MockProducerAPI) BatchArrowRecordsFromLogs ¶
func (m *MockProducerAPI) BatchArrowRecordsFromLogs(arg0 plog.Logs) (*v1.BatchArrowRecords, error)
BatchArrowRecordsFromLogs mocks base method.
func (*MockProducerAPI) BatchArrowRecordsFromMetrics ¶
func (m *MockProducerAPI) BatchArrowRecordsFromMetrics(arg0 pmetric.Metrics) (*v1.BatchArrowRecords, error)
BatchArrowRecordsFromMetrics mocks base method.
func (*MockProducerAPI) BatchArrowRecordsFromTraces ¶
func (m *MockProducerAPI) BatchArrowRecordsFromTraces(arg0 ptrace.Traces) (*v1.BatchArrowRecords, error)
BatchArrowRecordsFromTraces mocks base method.
func (*MockProducerAPI) EXPECT ¶
func (m *MockProducerAPI) EXPECT() *MockProducerAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockProducerAPIMockRecorder ¶
type MockProducerAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockProducerAPIMockRecorder is the mock recorder for MockProducerAPI.
func (*MockProducerAPIMockRecorder) BatchArrowRecordsFromLogs ¶
func (mr *MockProducerAPIMockRecorder) BatchArrowRecordsFromLogs(arg0 any) *gomock.Call
BatchArrowRecordsFromLogs indicates an expected call of BatchArrowRecordsFromLogs.
func (*MockProducerAPIMockRecorder) BatchArrowRecordsFromMetrics ¶
func (mr *MockProducerAPIMockRecorder) BatchArrowRecordsFromMetrics(arg0 any) *gomock.Call
BatchArrowRecordsFromMetrics indicates an expected call of BatchArrowRecordsFromMetrics.
func (*MockProducerAPIMockRecorder) BatchArrowRecordsFromTraces ¶
func (mr *MockProducerAPIMockRecorder) BatchArrowRecordsFromTraces(arg0 any) *gomock.Call
BatchArrowRecordsFromTraces indicates an expected call of BatchArrowRecordsFromTraces.
func (*MockProducerAPIMockRecorder) Close ¶
func (mr *MockProducerAPIMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.