mocks

package
v0.76.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

Jump to

Keyboard shortcuts

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