mocks

package
v0.95.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Host added in v0.20.0

type Host struct {
	mock.Mock
}

Host is an autogenerated mock type for the Host type

func (*Host) GetExporters added in v0.20.0

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

GetExporters provides a mock function with given fields:

func (*Host) GetExtensions added in v0.20.0

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

GetExtensions provides a mock function with given fields:

func (*Host) GetFactory added in v0.20.0

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 added in v0.20.0

func (_m *Host) ReportFatalError(err error)

ReportFatalError provides a mock function with given fields: err

type MetricsConsumer added in v0.72.0

type MetricsConsumer struct {
	mock.Mock
}

MetricsConsumer is an autogenerated mock type for the MetricsConsumer type

func (*MetricsConsumer) Capabilities added in v0.72.0

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

func (*MetricsConsumer) ConsumeMetrics added in v0.72.0

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

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

func (*MetricsConsumer) Shutdown added in v0.72.0

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

Shutdown provides a mock function with given fields: ctx

func (*MetricsConsumer) Start added in v0.72.0

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 added in v0.27.0

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