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 ¶
CreateDefaultConfig is the equivalent of component.ExtensionFactory.CreateDefaultConfig()
type CreateServiceExtension ¶
type CreateServiceExtension func(context.Context, component.ExtensionCreateSettings, config.Extension) (component.Extension, error)
CreateServiceExtension is the equivalent of component.ExtensionFactory.CreateExtension()
type FactoryOption ¶
type FactoryOption func(o *factory)
FactoryOption apply changes to ExporterOptions.
Click to show internal directories.
Click to hide internal directories.