internal

package
v0.86.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExporter

type MockExporter struct {
	Logs []plog.Logs
	// contains filtered or unexported fields
}

func NewMockExporter

func NewMockExporter() *MockExporter

func (*MockExporter) AcceptedLogCount

func (e *MockExporter) AcceptedLogCount() int

func (*MockExporter) Capabilities

func (e *MockExporter) Capabilities() consumer.Capabilities

func (*MockExporter) ConsumeLogs

func (e *MockExporter) ConsumeLogs(_ context.Context, ld plog.Logs) error

func (*MockExporter) DeliveredLogCount

func (e *MockExporter) DeliveredLogCount() int

func (*MockExporter) SetDestAvailable

func (e *MockExporter) SetDestAvailable(available bool)

type MockReceiver

type MockReceiver struct {
	ProduceCount int
	NextConsumer consumer.Logs
	// contains filtered or unexported fields
}

func (*MockReceiver) LastConsumeResult

func (m *MockReceiver) LastConsumeResult() error

func (*MockReceiver) Start

func (m *MockReceiver) Start()

Jump to

Keyboard shortcuts

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