mocks

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 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 Host

type Host struct {
	mock.Mock
}

Host is an autogenerated mock type for the Host type

func (*Host) GetExporters

func (_m *Host) GetExporters() map[pipeline.Signal]map[component.ID]component.Component

GetExporters provides a mock function with given fields:

func (*Host) GetExtensions

func (_m *Host) GetExtensions() map[component.ID]component.Component

GetExtensions provides a mock function with given fields:

func (*Host) GetFactory

func (_m *Host) GetFactory(kind component.Kind, componentType component.Type) component.Factory

GetFactory provides a mock function with given fields: kind, componentType

func (*Host) ReportFatalError

func (_m *Host) ReportFatalError(err error)

ReportFatalError provides a mock function with given fields: err

type MetricsConsumer

type MetricsConsumer struct {
	mock.Mock
}

MetricsConsumer is an autogenerated mock type for the MetricsConsumer type

func (*MetricsConsumer) Capabilities

func (_m *MetricsConsumer) Capabilities() consumer.Capabilities

func (*MetricsConsumer) ConsumeMetrics

func (_m *MetricsConsumer) ConsumeMetrics(ctx context.Context, md pmetric.Metrics) error

ConsumeMetrics provides a mock function with given fields: ctx, md

func (*MetricsConsumer) Shutdown

func (_m *MetricsConsumer) Shutdown(ctx context.Context) error

Shutdown provides a mock function with given fields: ctx

func (*MetricsConsumer) Start

func (_m *MetricsConsumer) Start(ctx context.Context, host component.Host) error

Start provides a mock function with given fields: ctx, host

type TracesConsumer

type TracesConsumer struct {
	mock.Mock
}

TracesConsumer is an autogenerated mock type for the TracesConsumer type

func (*TracesConsumer) Capabilities

func (_m *TracesConsumer) Capabilities() consumer.Capabilities

func (*TracesConsumer) ConsumeTraces

func (_m *TracesConsumer) ConsumeTraces(ctx context.Context, td ptrace.Traces) error

ConsumeTraces provides a mock function with given fields: ctx, td

Jump to

Keyboard shortcuts

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