Documentation ¶
Index ¶
- type Extensions
- func (exts Extensions) NotifyPipelineNotReady() error
- func (exts Extensions) NotifyPipelineReady() error
- func (exts Extensions) ShutdownAll(ctx context.Context) error
- func (exts Extensions) StartAll(ctx context.Context, host component.Host) error
- func (exts Extensions) ToMap() map[config.ComponentID]component.Extension
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extensions ¶
type Extensions map[config.ComponentID]*builtExtension
Extensions is a map of extensions created from extension configs.
func Build ¶
func Build( settings component.TelemetrySettings, buildInfo component.BuildInfo, config *config.Config, factories map[config.Type]component.ExtensionFactory, ) (Extensions, error)
Build builds Extensions from config.
func (Extensions) NotifyPipelineNotReady ¶
func (exts Extensions) NotifyPipelineNotReady() error
func (Extensions) NotifyPipelineReady ¶
func (exts Extensions) NotifyPipelineReady() error
func (Extensions) ShutdownAll ¶
func (exts Extensions) ShutdownAll(ctx context.Context) error
ShutdownAll stops all exporters.
func (Extensions) ToMap ¶
func (exts Extensions) ToMap() map[config.ComponentID]component.Extension
Click to show internal directories.
Click to hide internal directories.