mock

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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

func (m *MockConsumerAPI) Close() error

Close mocks base method.

func (*MockConsumerAPI) EXPECT

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

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

func (m *MockProducerAPI) Close() error

Close mocks base method.

func (*MockProducerAPI) EXPECT

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

Close indicates an expected call of Close.

Jump to

Keyboard shortcuts

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