registry

package
v1.3000030.2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(options ...Option)

Register adds the options to the registry.

func Reset

func Reset()

Reset sets registry to nil.

Types

type Option

type Option func(factories *otelcol.Factories)

func Options

func Options() []Option

Options getter for registry.

func WithExporter

func WithExporter(factory exporter.Factory) Option

WithExporter sets the exporter factory in the factories. Will overwrite duplicate types.

func WithExtension

func WithExtension(factory extension.Factory) Option

WithExtension sets the extension factory in the factories. Will overwrite duplicate types.

func WithProcessor

func WithProcessor(factory processor.Factory) Option

WithProcessor sets the processor factory in the factories. Will overwrite duplicate types.

func WithReceiver

func WithReceiver(factory receiver.Factory) Option

WithReceiver sets the receiver factory in the factories. Will overwrite duplicate types.

Jump to

Keyboard shortcuts

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