exportertest

package module
v0.114.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 26 Imported by: 11

Documentation

Overview

Copyright The OpenTelemetry Authors SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckConsumeContract

func CheckConsumeContract(params CheckConsumeContractParams)

func NewNopFactory

func NewNopFactory() exporter.Factory

NewNopFactory returns an exporter.Factory that constructs nop exporters.

func NewNopSettings

func NewNopSettings() exporter.Settings

NewNopSettings returns a new nop settings for Create* functions.

Types

type CheckConsumeContractParams

type CheckConsumeContractParams struct {
	T                    *testing.T
	NumberOfTestElements int
	Signal               pipeline.Signal
	// ExporterFactory to create an exporter to be tested.
	ExporterFactory exporter.Factory
	ExporterConfig  component.Config
	// ReceiverFactory to create a mock receiver.
	ReceiverFactory receiver.Factory
	ReceiverConfig  component.Config
}

Jump to

Keyboard shortcuts

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