Documentation ¶
Index ¶
- type BuiltExtensions
- func (bes *BuiltExtensions) GetExtensions() map[config.ComponentID]component.Extension
- func (bes *BuiltExtensions) HandleZPages(w http.ResponseWriter, r *http.Request)
- func (bes *BuiltExtensions) NotifyPipelineNotReady() error
- func (bes *BuiltExtensions) NotifyPipelineReady() error
- func (bes *BuiltExtensions) ShutdownAll(ctx context.Context) error
- func (bes *BuiltExtensions) StartAll(ctx context.Context, host component.Host) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuiltExtensions ¶
type BuiltExtensions struct {
// contains filtered or unexported fields
}
BuiltExtensions is a map of extensions created from extension configs.
func Build ¶
func Build( ctx context.Context, settings component.TelemetrySettings, buildInfo component.BuildInfo, extensionsConfigs map[config.ComponentID]config.Extension, serviceExtensions []config.ComponentID, factories map[config.Type]component.ExtensionFactory, ) (*BuiltExtensions, error)
Build builds BuiltExtensions from config.
func (*BuiltExtensions) GetExtensions ¶
func (bes *BuiltExtensions) GetExtensions() map[config.ComponentID]component.Extension
func (*BuiltExtensions) HandleZPages ¶
func (bes *BuiltExtensions) HandleZPages(w http.ResponseWriter, r *http.Request)
func (*BuiltExtensions) NotifyPipelineNotReady ¶
func (bes *BuiltExtensions) NotifyPipelineNotReady() error
func (*BuiltExtensions) NotifyPipelineReady ¶
func (bes *BuiltExtensions) NotifyPipelineReady() error
func (*BuiltExtensions) ShutdownAll ¶
func (bes *BuiltExtensions) ShutdownAll(ctx context.Context) error
ShutdownAll stops all extensions.
Click to show internal directories.
Click to hide internal directories.