Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory(
	cfgType config.Type,
	createDefaultConfig CreateDefaultConfig,
	createServiceExtension CreateServiceExtension,
	options ...FactoryOption) component.ExtensionFactory

    NewFactory returns a component.ExtensionFactory.

    Types

    type CreateDefaultConfig

    type CreateDefaultConfig func() config.Extension

      CreateDefaultConfig is the equivalent of component.ExtensionFactory.CreateDefaultConfig()

      type CreateServiceExtension

        CreateServiceExtension is the equivalent of component.ExtensionFactory.CreateExtension()

        type FactoryOption

        type FactoryOption func(o *factory)

          FactoryOption apply changes to ExporterOptions.

          func WithCustomUnmarshaler

          func WithCustomUnmarshaler(customUnmarshaler component.CustomUnmarshaler) FactoryOption

            WithCustomUnmarshaler implements component.ConfigUnmarshaler.

            Source Files